[PATCH] genpt: Make GENERIC_PT invisible

From: Geert Uytterhoeven

Date: Wed Nov 12 2025 - 09:08:12 EST


There is no point in asking the user about the Generic Radix Page
Table API:
- All IOMMU drivers that use this API already select GENERIC_PT when
needed,
- Most users probably do not know what to answer anyway.

Fixes: 7c5b184db7145fd4 ("genpt: Generic Page Table base API")
Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
---
drivers/iommu/generic_pt/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/iommu/generic_pt/Kconfig b/drivers/iommu/generic_pt/Kconfig
index c88971675662feb5..ce4fb478691457e1 100644
--- a/drivers/iommu/generic_pt/Kconfig
+++ b/drivers/iommu/generic_pt/Kconfig
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: GPL-2.0-only

menuconfig GENERIC_PT
- bool "Generic Radix Page Table"
+ bool "Generic Radix Page Table" if COMPILE_TEST
help
Generic library for building radix tree page tables.

--
2.43.0