[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xen staging] iommu: restrict stratch page quarantining to specific iommu drivers



commit 23c4e82acd8be8e764013f27172dfeaadf302f91
Author:     Stewart Hildebrand <stewart.hildebrand@xxxxxxx>
AuthorDate: Fri Jul 25 12:13:03 2025 -0400
Commit:     Stefano Stabellini <stefano.stabellini@xxxxxxx>
CommitDate: Fri Jul 25 13:15:49 2025 -0700

    iommu: restrict stratch page quarantining to specific iommu drivers
    
    Scratch page quarantining is tied to specific IOMMU implementations, not
    architectures, so tie it to AMD_IOMMU and INTEL_IOMMU instead of X86.
    
    Fixes: dd7e55a8848c ("iommu: restrict scratch page quarantining to x86")
    Signed-off-by: Stewart Hildebrand <stewart.hildebrand@xxxxxxx>
    Acked-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>
---
 xen/drivers/passthrough/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xen/drivers/passthrough/Kconfig b/xen/drivers/passthrough/Kconfig
index 11aece5f7b..b413c33a4c 100644
--- a/xen/drivers/passthrough/Kconfig
+++ b/xen/drivers/passthrough/Kconfig
@@ -90,5 +90,5 @@ choice
                bool "basic"
        config IOMMU_QUARANTINE_SCRATCH_PAGE
                bool "scratch page"
-               depends on X86
+               depends on AMD_IOMMU || INTEL_IOMMU
 endchoice
--
generated by git-patchbot for /home/xen/git/xen.git#staging



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.