Commit 4a663dae authored by Jacob Pan's avatar Jacob Pan Committed by Joerg Roedel
Browse files

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: 59a62337 ("iommu/vt-d: Replace Intel specific PASID allocator with IOASID")
Signed-off-by: default avatarJacob Pan <jacob.jun.pan@linux.intel.com>
Acked-by: default avatarLu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent 902baf61
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -188,6 +188,7 @@ config INTEL_IOMMU
	select NEED_DMA_MAP_STATE
	select NEED_DMA_MAP_STATE
	select DMAR_TABLE
	select DMAR_TABLE
	select SWIOTLB
	select SWIOTLB
	select IOASID
	help
	help
	  DMA remapping (DMAR) devices support enables independent address
	  DMA remapping (DMAR) devices support enables independent address
	  translations for Direct Memory Access (DMA) from devices.
	  translations for Direct Memory Access (DMA) from devices.