mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] iommu/io-pgtable: Make IOMMU_IO_PGTABLE_DART invisible
@ 2022-09-27 13:36 Geert Uytterhoeven
  2022-09-27 14:15 ` Robin Murphy
  0 siblings, 1 reply; 7+ messages in thread
From: Geert Uytterhoeven @ 2022-09-27 13:36 UTC (permalink / raw)
  To: Joerg Roedel, Will Deacon, Robin Murphy, Sven Peter,
	Janne Grunau, Hector Martin
  Cc: iommu, linux-arm-kernel, linux-kernel, Geert Uytterhoeven

There is no point in asking the user about both "Apple DART Formats" and
"Apple DART IOMMU Support", as the former is useless without the latter,
and the latter auto-selects the former.

Fixes: 745ef1092bcfcf3b ("iommu/io-pgtable: Move Apple DART support to its own file")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
Should IOMMU_IO_PGTABLE_LPAE and IOMMU_IO_PGTABLE_ARMV7S be made
invisible, too?
Are there users that do not select them?
---
 drivers/iommu/Kconfig | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig
index dc5f7a156ff5ec73..f1affca6022e0a54 100644
--- a/drivers/iommu/Kconfig
+++ b/drivers/iommu/Kconfig
@@ -68,16 +68,13 @@ config IOMMU_IO_PGTABLE_ARMV7S_SELFTEST
 	  If unsure, say N here.
 
 config IOMMU_IO_PGTABLE_DART
-	bool "Apple DART Formats"
+	bool
 	select IOMMU_IO_PGTABLE
-	depends on ARM64 || (COMPILE_TEST && !GENERIC_ATOMIC64)
 	help
 	  Enable support for the Apple DART pagetable formats. These include
 	  the t8020 and t6000/t8110 DART formats used in Apple M1/M2 family
 	  SoCs.
 
-	  If unsure, say N here.
-
 endmenu
 
 config IOMMU_DEBUGFS
-- 
2.25.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-09-27 15:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-27 13:36 [PATCH] iommu/io-pgtable: Make IOMMU_IO_PGTABLE_DART invisible Geert Uytterhoeven
2022-09-27 14:15 ` Robin Murphy
2022-09-27 14:48   ` Geert Uytterhoeven
2022-09-27 15:09     ` Robin Murphy
2022-09-27 15:29       ` Geert Uytterhoeven
2022-09-27 15:50         ` Robin Murphy
2022-09-27 15:55           ` Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®