Message ID | 20200731123926.28970-2-paul@xen.org (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | epte_get_entry_emt() modifications | expand |
diff --git a/xen/arch/x86/hvm/mtrr.c b/xen/arch/x86/hvm/mtrr.c index 511c3be1c8..3ad813ed15 100644 --- a/xen/arch/x86/hvm/mtrr.c +++ b/xen/arch/x86/hvm/mtrr.c @@ -830,7 +830,8 @@ int epte_get_entry_emt(struct domain *d, unsigned long gfn, mfn_t mfn, return MTRR_TYPE_UNCACHABLE; } - if ( !is_iommu_enabled(d) && !cache_flush_permitted(d) ) + if ( (!is_iommu_enabled(d) && !cache_flush_permitted(d)) || + is_special_page(mfn_to_page(mfn)) ) { *ipat = 1; return MTRR_TYPE_WRBACK;