]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
iommu/apple-dart: Drop default ARCH_APPLE in Kconfig
authorSven Peter <sven@kernel.org>
Thu, 12 Jun 2025 21:11:31 +0000 (21:11 +0000)
committerJoerg Roedel <joerg.roedel@amd.com>
Fri, 27 Jun 2025 06:59:43 +0000 (08:59 +0200)
When the first driver for Apple Silicon was upstreamed we accidentally
included `default ARCH_APPLE` in its Kconfig which then spread to almost
every subsequent driver. As soon as ARCH_APPLE is set to y this will
pull in many drivers as built-ins which is not what we want.
Thus, drop `default ARCH_APPLE` from Kconfig.

Signed-off-by: Sven Peter <sven@kernel.org>
Acked-by: Robin Murphy <robin.murphy@arm.com>
Reviewed-by: Janne Grunau <j@jannau.net>
Link: https://lore.kernel.org/r/20250612-apple-kconfig-defconfig-v1-7-0e6f9cb512c1@kernel.org
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/Kconfig

index 0a33d995d15dd759eb47705c00b411f1157b408a..91d0c871acc418ac5fede4f177ce3af97aef5560 100644 (file)
@@ -305,7 +305,6 @@ config APPLE_DART
        depends on !GENERIC_ATOMIC64    # for IOMMU_IO_PGTABLE_DART
        select IOMMU_API
        select IOMMU_IO_PGTABLE_DART
-       default ARCH_APPLE
        help
          Support for Apple DART (Device Address Resolution Table) IOMMUs
          found in Apple ARM SoCs like the M1.