linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: Make the ARCH_FORCE_MAX_ORDER config input prompt unconditional
@ 2023-05-03 12:33 Catalin Marinas
  2023-05-03 14:58 ` Mike Rapoport
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Catalin Marinas @ 2023-05-03 12:33 UTC (permalink / raw)
  To: Will Deacon
  Cc: linux-arm-kernel, Justin M . Forbes, Mike Rapoport, Andrew Morton

Commit 34affcd7577a ("arm64: drop ranges in definition of
ARCH_FORCE_MAX_ORDER") dropped the ranges from the config entry and
introduced an EXPERT condition on the input prompt instead. This change
may affect some distro kernels that change ARCH_FORCE_MAX_ORDER but do
not want to enable EXPERT.

Drop EXPERT from the input prompt together with the (ARM64_4K_PAGES ||
ARM64_16K_PAGES) condition as the latter no longer makes sense after the
ranges were removed. The latter makes all the page size configurations
consistent w.r.t. ARCH_FORCE_MAX_ORDER.

Fixes: 34affcd7577a ("arm64: drop ranges in definition of ARCH_FORCE_MAX_ORDER")
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Reported-by: Justin M. Forbes <jforbes@fedoraproject.org>
Cc: Will Deacon <will@kernel.org>
Cc: Mike Rapoport <rppt@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
---
 arch/arm64/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index b1201d25a8a4..1867aba83ba3 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -1516,7 +1516,7 @@ config XEN
 # 16K |       27          |      14      |       13        |         11         |
 # 64K |       29          |      16      |       13        |         13         |
 config ARCH_FORCE_MAX_ORDER
-	int "Order of maximal physically contiguous allocations" if EXPERT && (ARM64_4K_PAGES || ARM64_16K_PAGES)
+	int "Order of maximal physically contiguous allocations"
 	default "13" if ARM64_64K_PAGES
 	default "11" if ARM64_16K_PAGES
 	default "10"

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2023-05-19 10:36 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-03 12:33 [PATCH] arm64: Make the ARCH_FORCE_MAX_ORDER config input prompt unconditional Catalin Marinas
2023-05-03 14:58 ` Mike Rapoport
2023-05-03 15:35 ` Justin Forbes
2023-05-03 15:41   ` Ard Biesheuvel
2023-05-05 22:00     ` Mike Rapoport
2023-05-05 22:08       ` Ard Biesheuvel
2023-05-05 22:47         ` Mike Rapoport
2023-05-05 22:51           ` Ard Biesheuvel
2023-05-05 23:23             ` Mike Rapoport
2023-05-16 15:14 ` Will Deacon
2023-05-18 15:56 ` Marc Zyngier
2023-05-18 16:04   ` Catalin Marinas
2023-05-19 10:35     ` Will Deacon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).