Skip to contentSkip to conversation

iommu: restrict stratch page quarantining to specific iommu drivers

PATCH In review Stewart Hildebrand 3 participants 3 messages Jul 25, 2025 – Jul 28, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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")
---
 xen/drivers/passthrough/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
xen/drivers/passthrough/Kconfig +1 -1
index 11aece5f7bda..b413c33a4c7a 100644
@@ -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

base-commit: 6cd9b9226c65c962b0f0e040e7d3d5c4053f8e06

Signature · 1 line
2.50.1
Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · Stewart Hildebrand

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")
Quoted 20 lines
---
 xen/drivers/passthrough/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
xen/drivers/passthrough/Kconfig +1 -1
index 11aece5f7bda..b413c33a4c7a 100644
@@ -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

base-commit: 6cd9b9226c65c962b0f0e040e7d3d5c4053f8e06

Signature · 1 line
2.50.1
Reviewed-by on v1 1/1
#2 lore raw
In reply to Stewart Hildebrand
Quoted 4 lines · Stewart Hildebrand

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")

One of {Requested,Suggested,Reported}-by: Roger Pau Monné <[email protected]>

Quoted 1 line