diff --git a/xen/drivers/passthrough/Kconfig b/xen/drivers/passthrough/Kconfig index 8d90b67e2e..a3c06491be 100644 --- a/xen/drivers/passthrough/Kconfig +++ b/xen/drivers/passthrough/Kconfig @@ -1,3 +1,15 @@ config HAS_PASSTHROUGH bool + +if ARM +config ARM_SMMU + bool "ARM SMMUv1 and v2 driver" + default y + ---help--- + Support for implementations of the ARM System MMU architecture + versions 1 and 2. + + Say Y here if your SoC includes an IOMMU device implementing the + ARM SMMU architecture. +endif diff --git a/xen/drivers/passthrough/arm/Makefile b/xen/drivers/passthrough/arm/Makefile index f4cd26e15d..01564314ea 100644 --- a/xen/drivers/passthrough/arm/Makefile +++ b/xen/drivers/passthrough/arm/Makefile @@ -1,2 +1,2 @@ obj-y += iommu.o -obj-y += smmu.o +obj-$(ARM_SMMU) += smmu.o