Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756918Ab1EBXBn (ORCPT ); Mon, 2 May 2011 19:01:43 -0400 Received: from caramon.arm.linux.org.uk ([78.32.30.218]:59546 "EHLO caramon.arm.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754217Ab1EBXBm (ORCPT ); Mon, 2 May 2011 19:01:42 -0400 Date: Tue, 3 May 2011 00:01:18 +0100 From: Russell King - ARM Linux To: johnlinn@comcast.net Cc: Arnd Bergmann , nicolas pitre , devicetree-discuss@lists.ozlabs.org, linux-kernel@vger.kernel.org, grant likely , john linn , linux-arm-kernel@lists.infradead.org Subject: Re: [RFC PATCH 4/4] ARM: Xilinx: Adding Xilinx board support Message-ID: <20110502230118.GE28001@n2100.arm.linux.org.uk> References: <90477150.2231869.1304372815517.JavaMail.root@sz0140a.emeryville.ca.mail.comcast.net> <1319927287.2232106.1304373011082.JavaMail.root@sz0140a.emeryville.ca.mail.comcast.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1319927287.2232106.1304373011082.JavaMail.root@sz0140a.emeryville.ca.mail.comcast.net> User-Agent: Mutt/1.5.19 (2009-01-05) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1168 Lines: 27 On Mon, May 02, 2011 at 09:50:11PM +0000, johnlinn@comcast.net wrote: > Seems easy enough assuming we don't need the SCU early for the core count > and can get that from the device tree. Beware. Things may not be that trivial when you start considering some of the weirdnesses that some vendors start coming out with. > Since the SCU and part of the GIC end up in the same 4K page they need to be > together (unless I'm thinking about that wrong). > > SCU 0xF8000000 > GIC_CPU 0xF8000100 > GIC_DIS 0xF8001000 It is preferable to use the same mapping, as it ensures that you're not going to create incompatible aliases. But, before we get too bogged down with this, please realise that it is possible to setup early mappings from the device tree for things like the SCU. Maybe not using ioremap(), but I'm sure we can find some way to use the iotable_init() stuff to setup some early mappings from DT for this stuff. -- 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/