|
[PATCH] HV: Remove unnecssary indent in pm.c
Hi Eddie, Do you mean the space between "include" and "<per_cpu.h>"? I checked coding_guidelines.rst and didn't find the statement about this situation. We use "space" instead of "TAB" in other existi
Hi Eddie, Do you mean the space between "include" and "<per_cpu.h>"? I checked coding_guidelines.rst and didn't find the statement about this situation. We use "space" instead of "TAB" in other existi
|
By
Kaige Fu
· #21143
·
|
|
[PATCH] HV: Add prefix 'p' before 'cpu' to physical cpu related functions
Hi Fei, Thanks for your comment. Actually, it is a TODO of https://lists.projectacrn.org/g/acrn-dev/topic/patch_v3_2_2_hv_reset/31028081?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,160,31028081. IMH
Hi Fei, Thanks for your comment. Actually, it is a TODO of https://lists.projectacrn.org/g/acrn-dev/topic/patch_v3_2_2_hv_reset/31028081?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,160,31028081. IMH
|
By
Kaige Fu
· #21142
·
|
|
[PATCH] HV: Remove unnecssary indent in pm.c
This patch just removes unnecessary indent before #include in pm.c. Signed-off-by: Kaige Fu <kaige.fu@...> --- hypervisor/arch/x86/pm.c | 32 ++++++++++++++++---------------- 1 file changed, 16 i
This patch just removes unnecessary indent before #include in pm.c. Signed-off-by: Kaige Fu <kaige.fu@...> --- hypervisor/arch/x86/pm.c | 32 ++++++++++++++++---------------- 1 file changed, 16 i
|
By
Kaige Fu
· #21135
·
|
|
[PATCH] HV: Add prefix 'p' before 'cpu' to physical cpu related functions
This patch adds prefix 'p' before 'cpu' to physical cpu related functions. And there is no code logic change. Signed-off-by: Kaige Fu <kaige.fu@...> --- hypervisor/arch/x86/boot/cpu_primary.S |
This patch adds prefix 'p' before 'cpu' to physical cpu related functions. And there is no code logic change. Signed-off-by: Kaige Fu <kaige.fu@...> --- hypervisor/arch/x86/boot/cpu_primary.S |
|
By
Kaige Fu
· #21134
·
|
|
[PATCH] HV: move AP_MASK to cpu.h
It is better to use an unified MACRO. So, this patch moves AP_MASK to cpu.h and removes the defination of the MACRO spanning different source files. Signed-off-by: Kaige Fu <kaige.fu@...> --- hy
It is better to use an unified MACRO. So, this patch moves AP_MASK to cpu.h and removes the defination of the MACRO spanning different source files. Signed-off-by: Kaige Fu <kaige.fu@...> --- hy
|
By
Kaige Fu
· #21129
·
|
|
[PATCH v8 5/5] HV: Remove dead loop in stop_cpus
Hi Eddie, Sure. Will check and update it.
Hi Eddie, Sure. Will check and update it.
|
By
Kaige Fu
· #21111
·
|
|
[PATCH v8 5/5] HV: Remove dead loop in stop_cpus
This patch removes dead loop in stop_cpus because timeout never occurs. If target cpu received a NMI and panic, it has called cpu_dead and stop_cpus success. If target cpu is running, an IPI will be d
This patch removes dead loop in stop_cpus because timeout never occurs. If target cpu received a NMI and panic, it has called cpu_dead and stop_cpus success. If target cpu is running, an IPI will be d
|
By
Kaige Fu
· #21105
·
|
|
[PATCH v8 4/5] HV: Reset physical core of lapic_pt vm when shutdown
The physical core of lapic_pt vm should be reset for security and correctness when shutdown the vm. Signed-off-by: Kaige Fu <kaige.fu@...> --- hypervisor/arch/x86/cpu.c | 14 +++++++++++++- hyper
The physical core of lapic_pt vm should be reset for security and correctness when shutdown the vm. Signed-off-by: Kaige Fu <kaige.fu@...> --- hypervisor/arch/x86/cpu.c | 14 +++++++++++++- hyper
|
By
Kaige Fu
· #21104
·
|
|
[PATCH v8 3/5] HV: Reshuffle start_cpus and start_cpu
This patch makes the following changes: - Add one parameter 'mask' to start_cpus for later use. - Set cpu state as DEAD instead of dead loop when fail to start cpu. - Panic when there are any failures
This patch makes the following changes: - Add one parameter 'mask' to start_cpus for later use. - Set cpu state as DEAD instead of dead loop when fail to start cpu. - Panic when there are any failures
|
By
Kaige Fu
· #21103
·
|
|
[PATCH v8 2/5] HV: Kconfig: Remove CPU_UP_TIMEOUT
This patch remove the over design CPU_UP_TIMEOUT and use CPU_UP_TIMEOUT and CPU_DOWN_TIMEOUT instead. Signed-off-by: Kaige Fu <kaige.fu@...> Acked-by: Eddie Dong <eddie.dong@...> --- hyper
This patch remove the over design CPU_UP_TIMEOUT and use CPU_UP_TIMEOUT and CPU_DOWN_TIMEOUT instead. Signed-off-by: Kaige Fu <kaige.fu@...> Acked-by: Eddie Dong <eddie.dong@...> --- hyper
|
By
Kaige Fu
· #21102
·
|
|
[PATCH v8 1/5] HV: Clear DM set guest_flags when shutdown vm
Currently, the previous configurations about guest_flags set by DM will not be cleared when shutdown the vm. Then it might bring issue for the next dm-launched vm. For example, if we create one vm wit
Currently, the previous configurations about guest_flags set by DM will not be cleared when shutdown the vm. Then it might bring issue for the next dm-launched vm. For example, if we create one vm wit
|
By
Kaige Fu
· #21101
·
|
|
[PATCH v8 0/5] Minor fixes about vm and vm_config and lapic_pt vm
This patchset aims at fixing the following issues: - There will be some DM set flags remained after shutdown the vm. This patchset fix it by clear all DM set flags when shutdown the vm. - Since lapic
This patchset aims at fixing the following issues: - There will be some DM set flags remained after shutdown the vm. This patchset fix it by clear all DM set flags when shutdown the vm. - Since lapic
|
By
Kaige Fu
· #21100
·
|
|
[PATCH v7 5/5] HV: Reset physical core of lapic_pt vm when shutdown
Got it. Will do in next version. > > >
Got it. Will do in next version. > > >
|
By
Kaige Fu
· #21062
·
|
|
[PATCH v7 5/5] HV: Reset physical core of lapic_pt vm when shutdown
Hi Eddie, In current stop_cpus, it do like this: 1) make_pcpu_offline (all APs) 2) Wait for all APs offlined 3) If timeout occurs, dead loop For reset_cpus in shutdown_vm, you commented that we should
Hi Eddie, In current stop_cpus, it do like this: 1) make_pcpu_offline (all APs) 2) Wait for all APs offlined 3) If timeout occurs, dead loop For reset_cpus in shutdown_vm, you commented that we should
|
By
Kaige Fu
· #21049
·
|
|
[PATCH v7 3/5] HV: Reshuffle start_cpus and start_cpu
Hi Eddie, The loop isn't necessary. Actually, this is ((1UL << phys_cpu_num) - 1UL) & ~(1UL << 0U)). I test it and it works for me. Yes. As we taked in previous version of the patchset. We will reuse
Hi Eddie, The loop isn't necessary. Actually, this is ((1UL << phys_cpu_num) - 1UL) & ~(1UL << 0U)). I test it and it works for me. Yes. As we taked in previous version of the patchset. We will reuse
|
By
Kaige Fu
· #21047
·
|
|
[PATCH v7 5/5] HV: Reset physical core of lapic_pt vm when shutdown
Hi Eddie, I got your comment. But here is what I think: I refine the stop_cpus to take one more parameter 'mask'. So, we can reuse the stop_cpus here directly instead of doing like the following: 1. m
Hi Eddie, I got your comment. But here is what I think: I refine the stop_cpus to take one more parameter 'mask'. So, we can reuse the stop_cpus here directly instead of doing like the following: 1. m
|
By
Kaige Fu
· #21043
·
|
|
[PATCH v7 2/5] HV: Kconfig: Remove CPU_UP_TIMEOUT
Will use ms.
By
Kaige Fu
· #21041
·
|
|
[PATCH v7 5/5] HV: Reset physical core of lapic_pt vm when shutdown
The physical core of lapic_pt vm should be reset for security and correctness when shutdown the vm. Signed-off-by: Kaige Fu <kaige.fu@...> --- hypervisor/arch/x86/guest/vm.c | 20 +++++++++++++++
The physical core of lapic_pt vm should be reset for security and correctness when shutdown the vm. Signed-off-by: Kaige Fu <kaige.fu@...> --- hypervisor/arch/x86/guest/vm.c | 20 +++++++++++++++
|
By
Kaige Fu
· #21003
·
|
|
[PATCH v7 4/5] HV: Reshuffle the stop_cpus API
This patch makes the following changes: - Add one parameter 'mask' for later use. - Set pcpu state as INVALID when fail to offline cpu. - Panic when there are any failures when stop_cpus in host_enter
This patch makes the following changes: - Add one parameter 'mask' for later use. - Set pcpu state as INVALID when fail to offline cpu. - Panic when there are any failures when stop_cpus in host_enter
|
By
Kaige Fu
· #21002
·
|
|
[PATCH v7 3/5] HV: Reshuffle start_cpus and start_cpu
This patch makes the following changes: - Add one parameter 'mask' to start_cpus for later use. - Set cpu state as INVALID instead of dead loop when fail to start cpu. - Panic when there are any failu
This patch makes the following changes: - Add one parameter 'mask' to start_cpus for later use. - Set cpu state as INVALID instead of dead loop when fail to start cpu. - Panic when there are any failu
|
By
Kaige Fu
· #21001
·
|