>--- a/xen/drivers/passthrough/Kconfig
>+++ b/xen/drivers/passthrough/Kconfig
>@@ -1,3 +1,11 @@
 >
>config HAS_PASSTHROUGH
>bool
>+
>+config SMMUv2
>+      bool "ARM SMMUv1 and v2 driver"
>+      default y
>+      depends on ARM

Anticipating further additions here, I would prefer the "if ARM" form, but as it
doesn't really matter right now I won't insist.


>--- 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-$(SMMUv2) += smmu.o

Is iommu.o in any way useful without smmu.o?

Jan



_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to