public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [RFC PATCH] ARM: enable highmem by default on ARMv6/ARMv7 CPUs
@ 2015-09-15 20:38 Russell King
  2015-09-15 21:22 ` Arnd Bergmann
  2015-09-25 11:14 ` Enrico Weigelt, metux IT consult
  0 siblings, 2 replies; 3+ messages in thread
From: Russell King @ 2015-09-15 20:38 UTC (permalink / raw)
  To: linux-arm-kernel

ARMv6 and ARMv7 normally have more than 1G of memory, so it makes sense
to have highmem enabled by default.  Users can still turn highmem off if
they wish by enabling the EXPERT option, which then allows the option to
be visible.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
---
 arch/arm/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 02eb51b6d324..49250dc9856b 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1694,8 +1694,9 @@ config HAVE_GENERIC_RCU_GUP
 	depends on ARM_LPAE
 
 config HIGHMEM
-	bool "High Memory Support"
+	bool "High Memory Support" if !(CPU_32v6 || CPU_32v7) || EXPERT
 	depends on MMU
+	default y if CPU_32v6 || CPU_32v7
 	help
 	  The address space of ARM processors is only 4 Gigabytes large
 	  and it has to accommodate user address space, kernel address
-- 
2.1.0

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

end of thread, other threads:[~2015-09-25 11:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-15 20:38 [RFC PATCH] ARM: enable highmem by default on ARMv6/ARMv7 CPUs Russell King
2015-09-15 21:22 ` Arnd Bergmann
2015-09-25 11:14 ` Enrico Weigelt, metux IT consult

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