Skip to content

Commit bbeedfd

Browse files
Yisheng XieRussell King
authored andcommitted
ARM: 8681/1: make VMSPLIT_3G_OPT depends on !ARM_LPAE
When both enable CONFIG_ARM_LPAE=y and CONFIG_VMSPLIT_3G_OPT=y, which means use PAGE_OFFSET=0xB0000000 with ARM_LPAE, the kernel will boot fail and stop after uncompressed: Starting kernel ... Uart base = 0x20001000 watchdog reg = 0x20013000 dtb addr = 0x80840308 Uncompressing Linux... done, booting the kernel. For ARM_LPAE only support 3:1, 2:2, 1:3 split of TTBR1, which mention in: http://elinux.org/images/6/6a/Elce11_marinas.pdf - p16 So we should make VMSPLIT_3G_OPT depends on !ARM_LPAE to avoid trigger this bug. Acked-by: Nicolas Pitre <[email protected]> Signed-off-by: Yisheng Xie <[email protected]> Signed-off-by: Russell King <[email protected]>
1 parent 60ce285 commit bbeedfd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/arm/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1416,6 +1416,7 @@ choice
14161416
config VMSPLIT_3G
14171417
bool "3G/1G user/kernel split"
14181418
config VMSPLIT_3G_OPT
1419+
depends on !ARM_LPAE
14191420
bool "3G/1G user/kernel split (for full 1G low memory)"
14201421
config VMSPLIT_2G
14211422
bool "2G/2G user/kernel split"

0 commit comments

Comments
 (0)