From: Jacob Pan Date: Fri, 20 Mar 2020 04:32:31 +0000 (-0700) Subject: iommu/vt-d: Add build dependency on IOASID X-Git-Tag: v5.7-rc1~46^2^7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4a663dae47316ae8b97d5b77025fe7dfd9d3487f;p=thirdparty%2Fkernel%2Flinux.git iommu/vt-d: Add build dependency on IOASID IOASID code is needed by VT-d scalable mode for PASID allocation. Add explicit dependency such that IOASID is built-in whenever Intel IOMMU is enabled. Otherwise, aux domain code will fail when IOMMU is built-in and IOASID is compiled as a module. Fixes: 59a623374dc38 ("iommu/vt-d: Replace Intel specific PASID allocator with IOASID") Signed-off-by: Jacob Pan Acked-by: Lu Baolu Signed-off-by: Joerg Roedel --- diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig index d2fade9849997..25149544d57c9 100644 --- a/drivers/iommu/Kconfig +++ b/drivers/iommu/Kconfig @@ -188,6 +188,7 @@ config INTEL_IOMMU select NEED_DMA_MAP_STATE select DMAR_TABLE select SWIOTLB + select IOASID help DMA remapping (DMAR) devices support enables independent address translations for Direct Memory Access (DMA) from devices.