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

[xen staging] iommu: restrict scratch page quarantining to x86



commit dd7e55a8848cee1e8fd5741f27dc59db08cc65b8
Author:     Stewart Hildebrand <stewart.hildebrand@xxxxxxx>
AuthorDate: Thu Jul 24 13:43:48 2025 -0400
Commit:     Stefano Stabellini <stefano.stabellini@xxxxxxx>
CommitDate: Thu Jul 24 18:00:53 2025 -0700

    iommu: restrict scratch page quarantining to x86
    
    All IOMMU_QUARANTINE_* options are exposed on Arm since 163c6b589879
    ("xen/arm: pci: introduce PCI_PASSTHROUGH Kconfig option"). However,
    only NONE and BASIC are implemented in any Arm iommu driver since
    63919fc4d1ca ("xen/arm: smmuv3: Add PCI devices support for SMMUv3") and
    ca8f6ffeb6e3 ("xen/arm: smmuv2: Add PCI devices support for SMMUv2").
    SCRATCH_PAGE is not yet implemented in any Arm iommu driver. Restrict
    scratch page quarantining to x86 for now.
    
    Reported-by: Jan Beulich <jbeulich@xxxxxxxx>
    Signed-off-by: Stewart Hildebrand <stewart.hildebrand@xxxxxxx>
    Acked-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>
---
 xen/drivers/passthrough/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/xen/drivers/passthrough/Kconfig b/xen/drivers/passthrough/Kconfig
index 78edd80536..11aece5f7b 100644
--- a/xen/drivers/passthrough/Kconfig
+++ b/xen/drivers/passthrough/Kconfig
@@ -90,4 +90,5 @@ choice
                bool "basic"
        config IOMMU_QUARANTINE_SCRATCH_PAGE
                bool "scratch page"
+               depends on X86
 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®.