From patchwork Mon Dec 17 13:42:46 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Will Deacon X-Patchwork-Id: 1887221 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 3E6D8DF266 for ; Mon, 17 Dec 2012 13:46:14 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TkayI-0005g1-Ty; Mon, 17 Dec 2012 13:43:06 +0000 Received: from cam-admin0.cambridge.arm.com ([217.140.96.50]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TkayB-0005fj-6W for linux-arm-kernel@lists.infradead.org; Mon, 17 Dec 2012 13:43:03 +0000 Received: from mudshark.cambridge.arm.com (mudshark.cambridge.arm.com [10.1.79.58]) by cam-admin0.cambridge.arm.com (8.12.6/8.12.6) with ESMTP id qBHDgmki026993; Mon, 17 Dec 2012 13:42:48 GMT Date: Mon, 17 Dec 2012 13:42:46 +0000 From: Will Deacon To: Florian Fainelli Subject: Re: ARM realview breakages w/ 3.7 under qemu Message-ID: <20121217134246.GE11558@mudshark.cambridge.arm.com> References: <50CA0FC1.5090009@openwrt.org> <20121213174817.GB12946@mudshark.cambridge.arm.com> <20121214094012.GG14363@n2100.arm.linux.org.uk> <50CB0150.1000901@openwrt.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <50CB0150.1000901@openwrt.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20121217_084259_526452_5FE4566E X-CRM114-Status: GOOD ( 22.02 ) X-Spam-Score: -7.6 (-------) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-7.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [217.140.96.50 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.7 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Russell King - ARM Linux , "linux-arm-kernel@lists.infradead.org" X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org On Fri, Dec 14, 2012 at 10:37:04AM +0000, Florian Fainelli wrote: > Le 12/14/12 10:40, Russell King - ARM Linux a écrit : > > On Thu, Dec 13, 2012 at 05:48:17PM +0000, Will Deacon wrote: > >> On Thu, Dec 13, 2012 at 05:26:25PM +0000, Florian Fainelli wrote: > >>> - PBX A9: booting with less than 1024MBytes of RAM causes this: > >>> [ 0.000000] Truncating RAM at 20000000-3fffffff to -3f7fffff (vmalloc > >>> region overlap). > >>> [ 0.000000] Ignoring RAM at 80000000-8fffffff (vmalloc region overlap). > >>> > >>> Do these issues sounds familiar to any of you? The kernel config is > >>> attached in case that helps. > > I don't have the original email to reply to (so I don't have the .config > > either) but my guess for the above would be that HIGHMEM is disabled. > The original mail containing the .config file was actually rejected by > the mailing-list manager. I have uploaded it here: > http://alphacore.org/~florian/openwrt/realview-eb-config > > You are right, HIGHMEM is disabled. Even though enabling HIGHMEM does > not allow me booting either without at least 1Gbyte of RAM: > > [ 0.000000] Memory policy: ECC disabled, Data cache writealloc > and we are stuck. I just dusted off my pbx and it boots fine with your .config and a 3.7 kernel when passing mem=128M on the command line. For EB, can you try the following diff please? Will --->8 Tested-by: Florian Fainelli diff --git a/arch/arm/mach-realview/include/mach/board-eb.h b/arch/arm/mach-realview/include/mach/board-eb.h index 124bce6..a301e61 100644 --- a/arch/arm/mach-realview/include/mach/board-eb.h +++ b/arch/arm/mach-realview/include/mach/board-eb.h @@ -47,7 +47,7 @@ #define REALVIEW_EB_USB_BASE 0x4F000000 /* USB */ #ifdef CONFIG_REALVIEW_EB_ARM11MP_REVB -#define REALVIEW_EB11MP_PRIV_MEM_BASE 0x1F000000 +#define REALVIEW_EB11MP_PRIV_MEM_BASE 0x10100000 #define REALVIEW_EB11MP_L220_BASE 0x10102000 /* L220 registers */ #define REALVIEW_EB11MP_SYS_PLD_CTRL1 0xD8 /* Register offset for MPCore sysctl */ #else