iommu: restrict scratch page quarantining to x86

All IOMMU_QUARANTINE_* options are exposed on Arm since 163c6b5898
("xen/arm: pci: introduce PCI_PASSTHROUGH Kconfig option"). However,
only NONE and BASIC are implemented in any Arm iommu driver since
63919fc4d1 ("xen/arm: smmuv3: Add PCI devices support for SMMUv3") and
ca8f6ffeb6 ("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@suse.com>
Signed-off-by: Stewart Hildebrand <stewart.hildebrand@amd.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
This commit is contained in:
Stewart Hildebrand authored and Stefano Stabellini committed 2025-07-24 18:00:53 -07:00
1 parent 150b773a48
commit dd7e55a884
1 file changed
+1
+1
View File
@@ -90,4 +90,5 @@ choice
bool "basic"
config IOMMU_QUARANTINE_SCRATCH_PAGE
bool "scratch page"
depends on X86
endchoice
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.