Skip to content

Commit 08a183f

Browse files
ctmarinasRussell King
authored andcommitted
ARM: 7323/1: Do not allow ARM_LPAE on pre-ARMv7 architectures
This patch expands the Kconfig dependencies for ARM_LPAE to not allow enabling when architectures other than ARMv7 are built into the kernel. Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Reported-by: Russell King <linux@arm.linux.org.uk> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
1 parent 7ada1dd commit 08a183f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎arch/arm/mm/Kconfig‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,8 @@ comment "Processor Features"
631631

632632
config ARM_LPAE
633633
bool "Support for the Large Physical Address Extension"
634-
depends on MMU && CPU_V7
634+
depends on MMU && CPU_32v7 && !CPU_32v6 && !CPU_32v5 && \
635+
!CPU_32v4 && !CPU_32v3
635636
help
636637
Say Y if you have an ARMv7 processor supporting the LPAE page
637638
table format and you would like to access memory beyond the

0 commit comments

Comments
 (0)