On Fri, 25 Jul 2025, Stewart Hildebrand wrote:
> 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@amd.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
> ---
> 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 11aece5f7bda..b413c33a4c7a 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
>
> base-commit: 6cd9b9226c65c962b0f0e040e7d3d5c4053f8e06
> --
> 2.50.1
>