acrn-hypervisor/hypervisor/include
Yonghua Huang 0a7bb7340f 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-10 11:42:02 +08:00
..
arch/x86 hv: disable guest MONITOR-WAIT support when SW SRAM is configured 2021-03-10 11:42:02 +08:00
common hv: rename hypercall for hv-emulated device management 2020-12-07 16:25:17 +08:00
debug hv: debug: Enable MMIO UART support 2020-08-27 13:31:17 +08:00
dm HV: remove efi support for SOS 2021-02-25 09:34:29 +08:00
hw HV: deny HV owned PCI bar access from SOS 2021-02-03 14:01:23 +08:00
lib HV: remove efi support for SOS 2021-02-25 09:34:29 +08:00
public hv: rename hypercall for hv-emulated device management 2020-12-07 16:25:17 +08:00