From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751620AbdFFLJu (ORCPT ); Tue, 6 Jun 2017 07:09:50 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:7752 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751444AbdFFLJs (ORCPT ); Tue, 6 Jun 2017 07:09:48 -0400 From: Yisheng Xie Subject: [BUG] boot fail with ARM_LPAE and VMSPLIT_3G_OPT To: , , Al Viro CC: , Linux Kernel Mailing List , Hanjun Guo , , Yisheng Xie Message-ID: Date: Tue, 6 Jun 2017 19:08:00 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.29.40] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020206.59368D1D.00A7,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2014-11-16 11:51:01, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: ef1588f28d0362c730d4739028089aa7 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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