arm64: Make 36-bit VA depend on EXPERT
authorCatalin Marinas <catalin.marinas@arm.com>
Tue, 20 Oct 2015 13:59:20 +0000 (14:59 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 20 Oct 2015 13:59:20 +0000 (14:59 +0100)
Commit 215399392fe4 (arm64: 36 bit VA) introduced 36-bit VA support for
the arm64 kernel when the 16KB page configuration is enabled. While this
is a valid hardware configuration, it's not something we want to
encourage since it reduces the memory (and I/O) range that the kernel
can access. Make this depend on EXPERT to avoid complaints of Linux not
mapping the whole RAM, especially on platforms following the ARM
recommended memory map.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/Kconfig

index a346671..c62fb03 100644 (file)
@@ -393,7 +393,7 @@ choice
          a combination of page size and virtual address space size.
 
 config ARM64_VA_BITS_36
-       bool "36-bit"
+       bool "36-bit" if EXPERT
        depends on ARM64_16K_PAGES
 
 config ARM64_VA_BITS_39