acrn-hypervisor/hypervisor/arch/x86/guest
Yonghua Huang 1a011bd91b hv: disable guest MONITOR-WAIT support when SW SRAM is configured
Per-core software SRAM L2 cache may be flushed by 'mwait'
extension instruction, which guest VM may execute to enter
core deep sleep. Such kind of flushing is not expected when
software SRAM is enabled for RTVM.

Hypervisor disables MONITOR-WAIT support on both hypervisor
and VMs sides to protect above software SRAM from being flushed.

This patch disable ACRN guest MONITOR-WAIT support if software
SRAM is configured.

Tracked-On: #5649
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
Reviewed-by: Fei Li <fei1.li@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2021-03-11 09:42:44 +08:00
..
assign.c hv: ptirq: Shouldn't change sid if intx irq mapping was added 2021-01-12 15:23:44 +08:00
ept.c hv: pgtable: rename 'struct memory_ops' to 'struct pgtable' 2021-03-10 11:42:13 +08:00
guest_memory.c hv: Add split-lock emulation for xchg 2020-12-31 11:12:33 +08:00
hyperv.c hv: rename the ACRN_DBG_XXX 2020-01-14 10:21:23 +08:00
instr_emul.c hv: Add split-lock emulation for xchg 2020-12-31 11:12:33 +08:00
pm.c hv: pm: avoid duplicate shutdowns on RTVM 2020-11-11 14:05:39 +08:00
splitlock.c hv: remove bitmap_clear_lock of split-lock after completing emulation 2021-01-13 15:32:27 +08:00
trusty.c hv: pgtable: rename 'struct memory_ops' to 'struct pgtable' 2021-03-10 11:42:13 +08:00
ucode.c remove spin lock for micro code update 2020-06-19 16:13:20 +08:00
vcpu.c hv: keylocker: Support keylocker backup MSRs for Guest VM 2021-02-03 13:54:45 +08:00
vcpuid.c hv: disable guest MONITOR-WAIT support when SW SRAM is configured 2021-03-11 09:42:44 +08:00
ve820.c hv: remove the hardcoding of Software SRAM GPA base 2021-01-30 13:41:02 +08:00
virq.c hv: move split-lock logic into dedicated file 2021-01-08 17:37:20 +08:00
virtual_cr.c hv: keylocker: host keylocker iwkey context switch 2021-02-03 13:54:45 +08:00
vlapic_priv.h hv: add ops to vlapic structure 2019-07-19 16:47:06 +08:00
vlapic.c hv: refine code style 2020-11-26 12:56:28 +08:00
vm_reset.c hv: pm: avoid duplicate shutdowns on RTVM 2020-11-11 14:05:39 +08:00
vm.c hv: disable guest MONITOR-WAIT support when SW SRAM is configured 2021-03-11 09:42:44 +08:00
vmcall.c hv: rename hypercall for hv-emulated device management 2020-12-07 16:25:17 +08:00
vmcs.c hv: keylocker: Support Key Locker feature for guest VM 2021-02-03 13:54:45 +08:00
vmexit.c hv: wrap function to check software SRAM support 2021-03-11 09:42:44 +08:00
vmsr.c hv: disable guest MONITOR-WAIT support when SW SRAM is configured 2021-03-11 09:42:44 +08:00
vmtrr.c hv: vmtrr: remove vcpu structure pointer from vmtrr 2020-03-31 10:57:47 +08:00
vmx_asm.S hv:remove some unnecessary includes 2019-05-07 09:10:13 +08:00
vmx_io.c hv: ept: build 4KB page mapping in EPT for code pages of rtvm 2021-03-03 13:46:49 +08:00