Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751686Ab3FFEVs (ORCPT ); Thu, 6 Jun 2013 00:21:48 -0400 Received: from mail-qa0-f44.google.com ([209.85.216.44]:34179 "EHLO mail-qa0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751305Ab3FFEVq (ORCPT ); Thu, 6 Jun 2013 00:21:46 -0400 Date: Thu, 6 Jun 2013 00:21:43 -0400 (EDT) From: Nicolas Pitre To: Stephen Boyd cc: Russell King - ARM Linux , Brian Swetland , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org Subject: Re: [PATCH] ARM: avoid mis-detecting some V7 cores in the decompressor In-Reply-To: <20130606012921.GO599@codeaurora.org> Message-ID: References: <51AD0703.6050408@codeaurora.org> <20130603222321.GP18614@n2100.arm.linux.org.uk> <51AD1AB3.9050908@codeaurora.org> <20130603224555.GR18614@n2100.arm.linux.org.uk> <51AD1FE9.80709@codeaurora.org> <20130604194705.GK599@codeaurora.org> <20130604214501.GL599@codeaurora.org> <20130606012921.GO599@codeaurora.org> User-Agent: Alpine 2.03 (LFD 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1330 Lines: 38 On Wed, 5 Jun 2013, Stephen Boyd wrote: > On 06/04, Nicolas Pitre wrote: > > > > The LC0 area should be considered read-only as it may be located in > > flash. > > > > Here's what I came with instead: > > > > From: Nicolas Pitre > > Date: Tue, 4 Jun 2013 17:01:30 -0400 > > Subject: [PATCH] ARM: zImage: don't overwrite ourself with a page table > > > > When zImage is loaded into RAM at a low address but TEXT_OFFSET > > is set higher, we risk overwriting ourself with the page table > > needed to turn on the cache as it is located relative to the relocation > > address. Let's defer the cache setup after relocation in that case. > > > > Signed-off-by: Nicolas Pitre > > Reported-by: Stephen Boyd > Tested-by: Stephen Boyd > > This one passes testing on my two platforms with and without the > 2Mb reservation at the beginning of ram. Seems like a good enough > compromise for me. Good! Queued here: http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=7751/1 Nicolas -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/