mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-21 08:50:27 +00:00
hv:disable iommu snoop control to enable gvt-d by an option
If one of the enabled VT-d DMAR units doesn’t support snoop control, then bit 11 of leaf PET of EPT is not set, since the field is treated as reserved(0) by VT-d hardware implementations not supporting snoop control. GUP IOMMU doesn’t support snoop control, this patch add an option to disable iommu snoop control for gvt-d. v2 -> v3: * refine the MICRO name and description. Tracked-On: #4405 Signed-off-by: Junming Liu <junming.liu@intel.com> Reviewed-by: Wu Binbin <binbin.wu@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -340,3 +340,10 @@ config MCE_ON_PSC_WORKAROUND_DISABLED
|
||||
conditionally applied to the models that may be affected by the issue. However,
|
||||
the software workaround has negative impact on performance. If all the guest OS
|
||||
kernels are trusted, this option may be set for performance.
|
||||
|
||||
config IOMMU_ENFORCE_SNP
|
||||
bool "IOMMU enforce snoop behavior of DMA operation"
|
||||
default n
|
||||
help
|
||||
GPU IOMMU doesn't support snoop control capability,
|
||||
To enable gvt-d,disable IOMMU snoop control by default.
|
||||
|
Reference in New Issue
Block a user