[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2 07/10] arm: make it possible to disable the SMMU driver
On Tue, 22 May 2018, Jan Beulich wrote: > >--- 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. I'll make the change > >--- 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? Things like iommu_domain_init are called unconditionally from ARM code at the moment, it is not quite possible to skip compilation today. Also, it is small, so it is not worth it I think. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |