mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [BUG] boot fail with ARM_LPAE and VMSPLIT_3G_OPT
@ 2017-06-06 11:08 Yisheng Xie
  0 siblings, 0 replies; only message in thread
From: Yisheng Xie @ 2017-06-06 11:08 UTC (permalink / raw)
  To: linux, matthias.bgg, Al Viro
  Cc: linux-arm-kernel, Linux Kernel Mailing List, Hanjun Guo,
	wangfangpeng1, Yisheng Xie

Hi all,

I find when both enable CONFIG_ARM_LPAE=y and CONFIG_VMSPLIT_3G_OPT=y,
which mean use PAGE_OFFSET=0xB0000000 with ARM_LPE, the kernel will boot fail.
it stop after uncompressed:
--------
  Starting kernel ...

  Uart base = 0x20001000
  watchdog reg = 0x20013000
  dtb addr = 0x80840308
  Uncompressing Linux... done, booting the kernel.

--------

Meanwhile, I also tried to use CONFIG_VMSPLIT_2G/CONFIG_VMSPLIT_1G with ARM_LPAE,
it can boot successfully.

Is that a limitation of ARM_LPAE, which I not do get any info about this from spec?
If it do have the limitation, then we should be:
--------
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 4c1a35f..c0fcab6 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1416,6 +1416,7 @@ choice
        config VMSPLIT_3G
                bool "3G/1G user/kernel split"
        config VMSPLIT_3G_OPT
+               depends on !ARM_LPAE
                bool "3G/1G user/kernel split (for full 1G low memory)"
        config VMSPLIT_2G
                bool "2G/2G user/kernel split"



Any comment is more than welcome!

Thanks
Yisheng Xie

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-06-06 11:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-06 11:08 [BUG] boot fail with ARM_LPAE and VMSPLIT_3G_OPT Yisheng Xie

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

all inboxes | Powered by JetHome®