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.
Unified · Split
| @@ -188,6 +188,7 @@ config INTEL_IOMMU · 187 unmodified lines | ||
| 188 | 188 | select NEED_DMA_MAP_STATE |
| 189 | 189 | select DMAR_TABLE |
| 190 | 190 | select SWIOTLB |
| 191 | + select IOASID | |
| 191 | 192 | help |
| 192 | 193 | DMA remapping (DMAR) devices support enables independent address |
| 193 | 194 | translations for Direct Memory Access (DMA) from devices. |