Merge tag 'spi-fix-v6.5-merge-window' of git://git.kernel.org/pub/scm/linux/kernel...
[platform/kernel/linux-starfive.git] / drivers / iommu / Kconfig
index 4d80060..2b12b58 100644 (file)
@@ -152,6 +152,7 @@ config IOMMU_DMA
        select IOMMU_IOVA
        select IRQ_MSI_IOMMU
        select NEED_SG_DMA_LENGTH
+       select NEED_SG_DMA_FLAGS if SWIOTLB
 
 # Shared Virtual Addressing
 config IOMMU_SVA