|
Re: [PATCH 04/10] HV: remove few return statement in while loop of copy_gva function
Acked-by: Eddie Dong <eddie.dong@...>
Acked-by: Eddie Dong <eddie.dong@...>
|
By
Eddie Dong
·
#16474
·
|
|
Re: [PATCH 03/10] HV: add #ifdef for include header file
#ifdef
By
Eddie Dong
·
#16473
·
|
|
Re: [PATCH 2/9] HV: define vm_pcpu_ids as inline array to simplify code
Acked-by: Eddie Dong <eddie.dong>
Acked-by: Eddie Dong <eddie.dong>
|
By
Eddie Dong
·
#16472
·
|
|
Re: [PATCH V2 2/4] hv: virq: refine vcpu_inject_hi_exception()
No. "One function only one exit and no goto" is high required.
Thanks.
No. "One function only one exit and no goto" is high required.
Thanks.
|
By
Li, Fei1
·
#16471
·
|
|
Re: [PATCH 1/9] HV: remove unused enum vm_privilege_level
Acked-by: Eddie Dong <eddie.dong>
Please add commit message
Acked-by: Eddie Dong <eddie.dong>
Please add commit message
|
By
Eddie Dong
·
#16470
·
|
|
Re: [PATCH V2 2/4] hv: virq: refine vcpu_inject_hi_exception()
Acked-by: Eddie Dong <eddie.dong@...>
Acked-by: Eddie Dong <eddie.dong@...>
|
By
Eddie Dong
·
#16469
·
|
|
Re: [PATCH V2 1/4] hv: virq: refine vcpu_inject_vlapic_int() has more than one exit point
Acked-by: Eddie Dong <eddie.dong@...>
Acked-by: Eddie Dong <eddie.dong@...>
|
By
Eddie Dong
·
#16468
·
|
|
Re: [PATCH V2 4/4] hv: virq: refine acrn_handle_pending_request() use goto instruction
Should this one be applied earlier than 3/4?
Should this one be applied earlier than 3/4?
|
By
Eddie Dong
·
#16467
·
|
|
Re: [PATCH V2 2/4] hv: virq: refine vcpu_inject_hi_exception()
Can we use GOTO?
By
Eddie Dong
·
#16466
·
|
|
[PATCH 10/10] HV: remove multiple exit/return in routines in the file of vlapic.c
From: Chaohong guo <chaohong.guo@...>
To meet MISRA, remove few return in routines of vlapic.
Signed-off-by: Chaohong guo <chaohong.guo@...>
---
hypervisor/arch/x86/guest/vlapic.c | 229
From: Chaohong guo <chaohong.guo@...>
To meet MISRA, remove few return in routines of vlapic.
Signed-off-by: Chaohong guo <chaohong.guo@...>
---
hypervisor/arch/x86/guest/vlapic.c | 229
|
By
YanLiang
·
#16465
·
|
|
[PATCH 09/10] HV: Remove goto statement in guest.c
From: Chaohong guo <chaohong.guo@...>
To meet MISRA, remove some goto statements in guest.c
Signed-off-by: Chaohong guo <chaohong.guo@...>
---
hypervisor/arch/x86/guest/guest.c | 162
From: Chaohong guo <chaohong.guo@...>
To meet MISRA, remove some goto statements in guest.c
Signed-off-by: Chaohong guo <chaohong.guo@...>
---
hypervisor/arch/x86/guest/guest.c | 162
|
By
YanLiang
·
#16464
·
|
|
[PATCH 08/10] HV: trival changes to meet MISRA
From: Chaohong guo <chaohong.guo@...>
add @pre for routines and bracks for condition checking in vlapic.c
Signed-off-by: Chaohong guo <chaohong.guo@...>
---
From: Chaohong guo <chaohong.guo@...>
add @pre for routines and bracks for condition checking in vlapic.c
Signed-off-by: Chaohong guo <chaohong.guo@...>
---
|
By
YanLiang
·
#16463
·
|
|
[PATCH 07/10] HV: check if the returned target_vcpu pointer is NULL
From: Chaohong guo <chaohong.guo@...>
vcpu_from_vid() might return NULL from code logic. MISRA complain about
this. So, add a checking for the pointer, return ENODEV in case it
From: Chaohong guo <chaohong.guo@...>
vcpu_from_vid() might return NULL from code logic. MISRA complain about
this. So, add a checking for the pointer, return ENODEV in case it
|
By
YanLiang
·
#16462
·
|
|
[PATCH 06/10] HV: add const qualifier for functions' argments in vlapic.c
From: Chaohong guo <chaohong.guo@...>
If a argment is not changed in function, MISRA recommends to add const
qualifier for that argement.
Signed-off-by: Chaohong guo
From: Chaohong guo <chaohong.guo@...>
If a argment is not changed in function, MISRA recommends to add const
qualifier for that argement.
Signed-off-by: Chaohong guo
|
By
YanLiang
·
#16461
·
|
|
[PATCH 05/10] HV: remove multiple return statement in get_vcpu_paging_mode() routine
From: Chaohong guo <chaohong.guo@...>
To meet MISRA, remove multiple return in get_vcpu_paging_mode() routine.
Signed-off-by: Chaohong guo <chaohong.guo@...>
---
From: Chaohong guo <chaohong.guo@...>
To meet MISRA, remove multiple return in get_vcpu_paging_mode() routine.
Signed-off-by: Chaohong guo <chaohong.guo@...>
---
|
By
YanLiang
·
#16460
·
|
|
[PATCH 04/10] HV: remove few return statement in while loop of copy_gva function
From: Chaohong guo <chaohong.guo@...>
The coding style of multiple returns/exit in while loop is not MISRA
compatible. Remove the returns in while loop.
Signed-off-by: Chaohong guo
From: Chaohong guo <chaohong.guo@...>
The coding style of multiple returns/exit in while loop is not MISRA
compatible. Remove the returns in while loop.
Signed-off-by: Chaohong guo
|
By
YanLiang
·
#16459
·
|
|
[PATCH 03/10] HV: add #ifdef for include header file
#ifdef
From: Chaohong guo <chaohong.guo@...>
e820.h file has no ifdef protection for repeated/recursive inclusion.
Just add that.
Signed-off-by: Chaohong guo <chaohong.guo@...>
---
From: Chaohong guo <chaohong.guo@...>
e820.h file has no ifdef protection for repeated/recursive inclusion.
Just add that.
Signed-off-by: Chaohong guo <chaohong.guo@...>
---
|
By
YanLiang
·
#16458
·
|
|
[PATCH 02/10] HV: move global variable into the scope of calling function
From: Chaohong guo <chaohong.guo@...>
The static global variable apicv_apic_access_addr is used only by
vlapic_apicv_get_apic_access_addr(), to remove the warning by MISRA,
move it into
From: Chaohong guo <chaohong.guo@...>
The static global variable apicv_apic_access_addr is used only by
vlapic_apicv_get_apic_access_addr(), to remove the warning by MISRA,
move it into
|
By
YanLiang
·
#16457
·
|
|
[PATCH 01/10] HV: APICBASE_RESERVED definition is not used by any code. Just remove it
From: Chaohong guo <chaohong.guo@...>
To meet MISRA standard, remove unused micro definition
Signed-off-by: Chaohong guo <chaohong.guo@...>
---
hypervisor/arch/x86/guest/vlapic.c | 1 -
From: Chaohong guo <chaohong.guo@...>
To meet MISRA standard, remove unused micro definition
Signed-off-by: Chaohong guo <chaohong.guo@...>
---
hypervisor/arch/x86/guest/vlapic.c | 1 -
|
By
YanLiang
·
#16456
·
|
|
[PATCH 9/9] HV: replace get_vm_from_vmid(0U) with get_sos_vm to remove the assumption that 1st sos's vmid is 0
From: dongshen <dongsheng.x.zhang@...>
Tracked-On: #2143
Signed-off-by: dongshen <dongsheng.x.zhang@...>
---
hypervisor/arch/x86/guest/vm.c | 45
From: dongshen <dongsheng.x.zhang@...>
Tracked-On: #2143
Signed-off-by: dongshen <dongsheng.x.zhang@...>
---
hypervisor/arch/x86/guest/vm.c | 45
|
By
Dongsheng Zhang
·
#16455
·
|