From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.29]) by ozlabs.org (Postfix) with ESMTP id B24B8DDD04 for ; Mon, 3 Nov 2008 00:42:04 +1100 (EST) Received: by yw-out-2324.google.com with SMTP id 5so770917ywh.39 for ; Sun, 02 Nov 2008 05:42:02 -0800 (PST) Date: Sun, 2 Nov 2008 08:41:53 -0500 From: Josh Boyer To: Benjamin Herrenschmidt Subject: Re: [PATCH 1/2] powerpc: add 16K/64K pages support for the 44x PPC32 architectures. Message-ID: <20081102134153.GA1029@zod.rchland.ibm.com> References: <1224123753-20907-1-git-send-email-yanok@emcraft.com> <1224123753-20907-2-git-send-email-yanok@emcraft.com> <48FF3889.2030304@linux.vnet.ibm.com> <20081101113018.GA13646@zod.rchland.ibm.com> <1225576502.8004.222.camel@pasglop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1225576502.8004.222.camel@pasglop> Sender: Josh Boyer Cc: Wolfgang Denk , Ilya Yanok , Hollis Blanchard , linuxppc-dev@ozlabs.org, pvr@emcraft.com, dzu@denx.de, Hollis Blanchard List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Sun, Nov 02, 2008 at 08:55:02AM +1100, Benjamin Herrenschmidt wrote: >On Sat, 2008-11-01 at 07:30 -0400, Josh Boyer wrote: >> >> That is on purpose. The chip has an errata that causes badness if >> you use the last XX bytes of DRAM. I forget exactly what XX is, but >> we just remove the last page. > >Doing that from the device-tree is very hairy tho... you end up with >informations in there that aren't aligned etc... oh well. What? -ENOTVERBOSEENOUGH. I don't see how this is really different from U-Boot just passing in a smaller memory size in the old arch/ppc world. (And I think U-Boot will actually fixup the device tree in a similar manner itself these days.) So if there are problems with this, please do tell. josh