Skip to content

Commit 4a663da

Browse files
Jacob Panjoergroedel
authored andcommitted
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: 59a6233 ("iommu/vt-d: Replace Intel specific PASID allocator with IOASID") Signed-off-by: Jacob Pan <[email protected]> Acked-by: Lu Baolu <[email protected]> Signed-off-by: Joerg Roedel <[email protected]>
1 parent 902baf6 commit 4a663da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/iommu/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ config INTEL_IOMMU
188188
select NEED_DMA_MAP_STATE
189189
select DMAR_TABLE
190190
select SWIOTLB
191+
select IOASID
191192
help
192193
DMA remapping (DMAR) devices support enables independent address
193194
translations for Direct Memory Access (DMA) from devices.

0 commit comments

Comments
 (0)