X-Git-Url: http://git.samba.org/samba.git/?p=sfrench%2Fcifs-2.6.git;a=blobdiff_plain;f=drivers%2Fiommu%2FKconfig;h=f14f2e40107349de24fd5827d1e5f6d3d6e9ffea;hp=6e06f876d75a05c138ed9e0ff6967ed75ab66a89;hb=d8768d7eb9c21ef928adb93402d9348bcc4a6915;hpb=423d39d8518c1bba12e0889a92beeddbb1502392 diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig index 6e06f876d75a..f14f2e401073 100644 --- a/drivers/iommu/Kconfig +++ b/drivers/iommu/Kconfig @@ -290,6 +290,20 @@ config SPAPR_TCE_IOMMU Enables bits of IOMMU API required by VFIO. The iommu_ops is not implemented as it is not necessary for VFIO. +config APPLE_DART + tristate "Apple DART IOMMU Support" + depends on ARCH_APPLE || (COMPILE_TEST && !GENERIC_ATOMIC64) + select IOMMU_API + select IOMMU_IO_PGTABLE_LPAE + default ARCH_APPLE + help + Support for Apple DART (Device Address Resolution Table) IOMMUs + found in Apple ARM SoCs like the M1. + This IOMMU is required for most peripherals using DMA to access + the main memory. + + Say Y here if you are using an Apple SoC. + # ARM IOMMU support config ARM_SMMU tristate "ARM Ltd. System MMU (SMMU) Support"