From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751861AbdFHQKe (ORCPT ); Thu, 8 Jun 2017 12:10:34 -0400 Received: from pandora.armlinux.org.uk ([78.32.30.218]:60192 "EHLO pandora.armlinux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750919AbdFHQKd (ORCPT ); Thu, 8 Jun 2017 12:10:33 -0400 Date: Thu, 8 Jun 2017 17:09:41 +0100 From: Russell King - ARM Linux To: Yisheng Xie Cc: matthias.bgg@gmail.com, viro@zeniv.linux.org.uk, nico@linaro.org, catalin.marinas@arm.com, will.deacon@arm.com, guohanjun@huawei.com, wangfangpeng1@huawei.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ARM/Kconfig: make VMSPLIT_3G_OPT depends on !ARM_LPAE Message-ID: <20170608160941.GN4902@n2100.armlinux.org.uk> References: <1496901944-42140-1-git-send-email-xieyisheng1@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1496901944-42140-1-git-send-email-xieyisheng1@huawei.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 08, 2017 at 02:05:44PM +0800, Yisheng Xie wrote: > 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. Yes, this is much more preferable. Please drop it into the patch system, thanks. -- RMK's Patch system: http://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up according to speedtest.net.