|
[PATCH v2] hv: sgx: fix maybe-uninitialized warning for gcc-13
gcc-13 reports a false positive warning when compiling partition_epc() 'vm_config' may be used uninitialized [-Werror=maybe-uninitialized] This patch fixes it by simply initializing 'vm_config' to NUL
gcc-13 reports a false positive warning when compiling partition_epc() 'vm_config' may be used uninitialized [-Werror=maybe-uninitialized] This patch fixes it by simply initializing 'vm_config' to NUL
|
By
Jiaqing Zhao
·
|
|
[PATCH] debian: remove changelog in git source tree
2 messages
The changelog file is automatically generated from git commit history when building, it should not be tracked in git source tree. Signed-off-by: Jiaqing Zhao <jiaqing.zhao@...> --- .gitignore | 1 + de
The changelog file is automatically generated from git commit history when building, it should not be tracked in git source tree. Signed-off-by: Jiaqing Zhao <jiaqing.zhao@...> --- .gitignore | 1 + de
|
By
Jiaqing Zhao
·
|
|
[PATCH] hv: sgx: initialize vm_config outside partition_epc() loop
2 messages
GCC 13 reports "'vm_config' may be used uninitialized" error when compiling partition_epc(). This patch fixes the issue by initializing vm_config outside the loop in partition_epc(). Tracked-On: #8413
GCC 13 reports "'vm_config' may be used uninitialized" error when compiling partition_epc(). This patch fixes the issue by initializing vm_config outside the loop in partition_epc(). Tracked-On: #8413
|
By
Jiaqing Zhao
·
|
|
[PATCH V2 6/6] hv: hide thermal interface from guests
2 messages
Thermal events are delivered through lapic thermal LVT. Currently ACRN does not support delivering those interrupts to guests by virtual lapic. They need to be virtualized to provide guests some therm
Thermal events are delivered through lapic thermal LVT. Currently ACRN does not support delivering those interrupts to guests by virtual lapic. They need to be virtualized to provide guests some therm
|
By
Zhou, Wu
·
|
|
[PATCH V2 3/6] dm: add _CPC to guest ACPI pm tables
2 messages
The optional object _CPC declares an interface that allows OSPM to transition the processor into a performance state based on a continuous range of allowable values. It is associated with HWP on intel
The optional object _CPC declares an interface that allows OSPM to transition the processor into a performance state based on a continuous range of allowable values. It is associated with HWP on intel
|
By
Zhou, Wu
·
|
|
[PATCH V2 2/6] hv: emulate cpuids and MSRs for VHWP
2 messages
Changes made by this patch includes: 1. Emulate HWP and pstate MSRs/CPUIDs. Those are exposed to guest when the GUEST_FLAG_VHWP is set: - CPUID[6].EAX[7,9,10]: MSR_IA32_PM_ENABLE(enabled by hv, always
Changes made by this patch includes: 1. Emulate HWP and pstate MSRs/CPUIDs. Those are exposed to guest when the GUEST_FLAG_VHWP is set: - CPUID[6].EAX[7,9,10]: MSR_IA32_PM_ENABLE(enabled by hv, always
|
By
Zhou, Wu
·
|
|
[PATCH 2/2] hv: bugfix: fix event lost when emulating lock
3 messages
When emulating split lock on a target vcpu, we need to stop other vcpus from running. This is done by vcpu_make_request() and resumed by signal_event(). The problem is those actions are not synchronou
When emulating split lock on a target vcpu, we need to stop other vcpus from running. This is done by vcpu_make_request() and resumed by signal_event(). The problem is those actions are not synchronou
|
By
Zhou, Wu
·
|
|
[PATCH v4] hv: emulate MSR_PLATFORM_INFO (17h)
This patch emulates the PLATFORM_INFO MSR in hypervisor to make it only visible to Service VM, and only processor ratios (bit 15:8, 47:40 and 55:48) and sample part bit (27) are exponsed. This is inte
This patch emulates the PLATFORM_INFO MSR in hypervisor to make it only visible to Service VM, and only processor ratios (bit 15:8, 47:40 and 55:48) and sample part bit (27) are exponsed. This is inte
|
By
Jiaqing Zhao
·
|
|
[PATCH v3] hv: emulate MSR_PLATFORM_INFO (17h)
This patch emulates the PLATFORM_INFO MSR in hypervisor to make it only visible to Service VM, and only processor ratios (bit 15:8, 47:40 and 55:48) and sample part bit (27) are exponsed. This is inte
This patch emulates the PLATFORM_INFO MSR in hypervisor to make it only visible to Service VM, and only processor ratios (bit 15:8, 47:40 and 55:48) and sample part bit (27) are exponsed. This is inte
|
By
Jiaqing Zhao
·
|
|
[PATCH v3] config_tools: add customized parameters in launch script generation logic
2 messages
add customized parameters in the launch script generation logic. If user specify customized parameters in configurator, we will append them to the dm parameters for launching VMs. v1-->v2: 1. escape s
add customized parameters in the launch script generation logic. If user specify customized parameters in configurator, we will append them to the dm parameters for launching VMs. v1-->v2: 1. escape s
|
By
Kunhui Li
·
|
|
[PATCH V2 5/6] config_tools: set VHWP flag for VMs who own pCPUs
Set GUEST_FLAG_VHWP guest flag for VMs who own pCPUs. Windows does not manage CPU frequency in virtualized environment, so this flag is not set for waag. Platforms without HWP capability should not ha
Set GUEST_FLAG_VHWP guest flag for VMs who own pCPUs. Windows does not manage CPU frequency in virtualized environment, so this flag is not set for waag. Platforms without HWP capability should not ha
|
By
Zhou, Wu
·
|
|
[PATCH V2 4/6] hv: Write _CPC to guests' ACPI when VHWP is enabled
When VHWP enabled, return 0 and px_cnt = 0 on ACRN_PMCMD_GET_PX_CNT, so that DM will write _CPC to guests' ACPI. Signed-off-by: Wu Zhou <wu.zhou@...> Reviewed-by: Junjie Mao <junjie.mao@...> --- hyper
When VHWP enabled, return 0 and px_cnt = 0 on ACRN_PMCMD_GET_PX_CNT, so that DM will write _CPC to guests' ACPI. Signed-off-by: Wu Zhou <wu.zhou@...> Reviewed-by: Junjie Mao <junjie.mao@...> --- hyper
|
By
Zhou, Wu
·
|
|
[PATCH V2 1/6] hv: add VHWP guest flag and its helper func
Currently CPU frequency control is hidden to guests, and controlled by hypervisor. While it is sufficient in most cases, some guest OS may still need CPU performance info to make multi-core scheduling
Currently CPU frequency control is hidden to guests, and controlled by hypervisor. While it is sufficient in most cases, some guest OS may still need CPU performance info to make multi-core scheduling
|
By
Zhou, Wu
·
|
|
[PATCH V2 0/6] enable VHWP for guests who owns pCPUs
Background: Currently CPU frequency control is hidden to guests, and controlled by hypervisor. While it is sufficient in most cases, some guest OS may still need CPU performance info to make multi-cor
Background: Currently CPU frequency control is hidden to guests, and controlled by hypervisor. While it is sufficient in most cases, some guest OS may still need CPU performance info to make multi-cor
|
By
Zhou, Wu
·
|
|
[PATCH 1/2] hv: bugfix: prevent reschedule when emulating lock
2 messages
When emulating 0xf0 prefix instruction, the design is to stop other vcpu from running, then skip the 0xf0 prefix and insert a mtf vmexit on next instruction. The problem is that before the target vcpu
When emulating 0xf0 prefix instruction, the design is to stop other vcpu from running, then skip the 0xf0 prefix and insert a mtf vmexit on next instruction. The problem is that before the target vcpu
|
By
Zhou, Wu
·
|
|
[PATCH v2] config_tools: add customized parameters in launch script generation logic
2 messages
add customized parameters in the launch script generation logic. If user specify customized parameters in configurator, we will append them to the dm parameters for launching VMs. v1-->v2: 1. escape s
add customized parameters in the launch script generation logic. If user specify customized parameters in configurator, we will append them to the dm parameters for launching VMs. v1-->v2: 1. escape s
|
By
Kunhui Li
·
|
|
[PATCH v2] config_tools: will load msr driver if no /dev/cpu/#/msr is found
2 messages
`modprobe msr` will be invoked if no /dev/cpu/#/msr is found. If the "msr" module is built-in that check will pass and no `modprobe msr` should be invoked. v1-->v2: renaming some variable to make code
`modprobe msr` will be invoked if no /dev/cpu/#/msr is found. If the "msr" module is built-in that check will pass and no `modprobe msr` should be invoked. v1-->v2: renaming some variable to make code
|
By
Kunhui Li
·
|
|
[PATCH 6/6] hv: hide thermal interface from guests
2 messages
Thermal events are delivered through lapic thermal LVT. Currently ACRN does not support delivering those interrupts to guests by virtual lapic. They need to be virtualized to provide guests some therm
Thermal events are delivered through lapic thermal LVT. Currently ACRN does not support delivering those interrupts to guests by virtual lapic. They need to be virtualized to provide guests some therm
|
By
Zhou, Wu
·
|
|
[PATCH 3/6] dm: add _CPC to guest ACPI pm tables
2 messages
The optional object _CPC declares an interface that allows OSPM to transition the processor into a performance state based on a continuous range of allowable values. It is associated with HWP on intel
The optional object _CPC declares an interface that allows OSPM to transition the processor into a performance state based on a continuous range of allowable values. It is associated with HWP on intel
|
By
Zhou, Wu
·
|
|
[PATCH 0/2] Fix two bugs for split lock emulation
Currently split lock emulation does not work well in CPU sharing scenarios. This has been seen on WAAG, which triggers lots of #AC. The issue is caused by two bugs: 1. When emulating 0xf0 prefix instr
Currently split lock emulation does not work well in CPU sharing scenarios. This has been seen on WAAG, which triggers lots of #AC. The issue is caused by two bugs: 1. When emulating 0xf0 prefix instr
|
By
Zhou, Wu
·
|