|
[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@...> --- hypervisor/arch/x86/guest/vlapi
From: Chaohong guo <chaohong.guo@...> add @pre for routines and bracks for condition checking in vlapic.c Signed-off-by: Chaohong guo <chaohong.guo@...> --- hypervisor/arch/x86/guest/vlapi
|
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 is NULL. Signed-o
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 is NULL. Signed-o
|
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 <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 <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@...> --- hypervisor/arch/x86/guest/
From: Chaohong guo <chaohong.guo@...> To meet MISRA, remove multiple return in get_vcpu_paging_mode() routine. Signed-off-by: Chaohong guo <chaohong.guo@...> --- hypervisor/arch/x86/guest/
|
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 <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 <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@...> --- hypervisor/inc
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@...> --- hypervisor/inc
|
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 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 function
|
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 - 1 f
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 - 1 f
|
By
YanLiang
· #16456
·
|
|
[PATCH v2] DM USB: xHCI: Fix banned API issue.
In USB mediator, sscanf, strtok and atoi API is banned, so replace them with permitted API function. Signed-off-by: Yang Liang <liang3.yang@...> Reviewed-by: Xiaoguang Wu <xiaoguang.wu@...
In USB mediator, sscanf, strtok and atoi API is banned, so replace them with permitted API function. Signed-off-by: Yang Liang <liang3.yang@...> Reviewed-by: Xiaoguang Wu <xiaoguang.wu@...
|
By
YanLiang
· #15834
·
|
|
[PATCH] DM USB: xHCI: Fix banned API issue.
By
YanLiang
· #15830
·
|
|
[PATCH] DM USB: xHCI: Fix banned API issue.
In USB mediator, sscanf, strtok and atoi API is banned, so replace them with permitted API function. Signed-off-by: Yang Liang <liang3.yang@...> Reviewed-by: Xiaoguang Wu <xiaoguang.wu@...
In USB mediator, sscanf, strtok and atoi API is banned, so replace them with permitted API function. Signed-off-by: Yang Liang <liang3.yang@...> Reviewed-by: Xiaoguang Wu <xiaoguang.wu@...
|
By
YanLiang
· #15800
·
|
|
[PATCH] DM: xHCI: unbind slot id and ndevices relationship.
After mutiple usb devices send enable slot commnad and get slot id each other, address device setup flow is not sorted by slot id. According to current design, it will casue assert failure. This patch
After mutiple usb devices send enable slot commnad and get slot id each other, address device setup flow is not sorted by slot id. According to current design, it will casue assert failure. This patch
|
By
YanLiang
· #15599
·
|
|
[PATCH v4] DM : solve acrn-dm booting failure when pci device initializing fails.
By
YanLiang
· #15102
·
|
|
[PATCH v4] DM : solve acrn-dm booting failure when pci device initializing fails.
The original design, the UOS will boot failed if any vdev_init failed virtual pci device. It causes very bad user experience due to few devices cause the whole UOS can't boot. The patch refines this b
The original design, the UOS will boot failed if any vdev_init failed virtual pci device. It causes very bad user experience due to few devices cause the whole UOS can't boot. The patch refines this b
|
By
YanLiang
· #14868
·
|
|
[PATCH v3] DM : solve acrn-dm booting failure when pci device initializing fails.
The original design, the UOS will boot failed if any vdev_init failed virtual pci device. It causes very bad user experience due to few devices cause the whole UOS can't boot. The patch refines this b
The original design, the UOS will boot failed if any vdev_init failed virtual pci device. It causes very bad user experience due to few devices cause the whole UOS can't boot. The patch refines this b
|
By
YanLiang
· #14811
·
|
|
[PATCH v2] DM : solve acrn-dm booting failure when pci device initializing fails.
This patch solves acrn-dm can't boot successfully after initializing pci device failure. Resource of pci device initialized failure will be released,dsdt table with related pci device irq should be ig
This patch solves acrn-dm can't boot successfully after initializing pci device failure. Resource of pci device initialized failure will be released,dsdt table with related pci device irq should be ig
|
By
YanLiang
· #14640
·
|
|
[PATCH] DM : solve acrn-dm booting failure when pci device initializing fails.
By
YanLiang
· #14636
·
|
|
[PATCH] DM : solve acrn-dm booting failure when pci device initializing fails.
This patch solves acrn-dm can't boot successfully after initializing pci device failure. Resource of pci device initialized failure will be released,dsdt table with related pci device irq should be ig
This patch solves acrn-dm can't boot successfully after initializing pci device failure. Resource of pci device initialized failure will be released,dsdt table with related pci device irq should be ig
|
By
YanLiang
· #14618
·
|