From mboxrd@z Thu Jan 1 00:00:00 1970 From: Russell King - ARM Linux Subject: Re: arm: Kernel failures when several memory banks are used with starting address above 128MB Date: Wed, 23 Jan 2013 09:15:37 +0000 Message-ID: <20130123091537.GN23505@n2100.arm.linux.org.uk> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Michal Simek Cc: Nicolas Pitre , Michal Simek , Stephen Warren , Arnd Bergmann , Catalin Marinas , devicetree-discuss , Rob Herring , Grant Likely , John Williams , Olof Johansson , linux-arm List-Id: devicetree@vger.kernel.org On Tue, Jan 22, 2013 at 08:18:13PM +0100, Michal Simek wrote: > I have a question regarding to the case where DTS specify one memory bank > for example <0x0 0x40000000> with CONFIG_ARM_PATCH_PHYS_VIRT=y > where the kernel can be loaded at a 16MB boundary. That's where you're going wrong. We assume that the kernel is loaded within the 16MB of memory _always_. Can't get around this on a multiplatform kernel.