From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.lixom.net (lixom.net [66.141.50.11]) by ozlabs.org (Postfix) with ESMTP id CA7E9DDE24 for ; Fri, 5 Jan 2007 11:04:51 +1100 (EST) Date: Thu, 4 Jan 2007 18:04:06 -0600 From: Olof Johansson To: Nathan Lynch Subject: Re: [BUG] flash failure with CONFIG_RTAS_FLASH=m Message-ID: <20070104180406.6843ead3@localhost.localdomain> In-Reply-To: <20070104234951.GJ6279@localdomain> References: <20070104234951.GJ6279@localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, 4 Jan 2007 17:49:51 -0600 Nathan Lynch wrote: > The problem doesn't happen if CONFIG_RTAS_FLASH=y. > > What's the best way to fix this? Should rtas_firmware_flash_list be > defined in some non-modular code and exported? Makes sense to me. You could allocate it dynamically really early (i.e. lmb_alloc) since that's the only allocator that we can give limits to where in the address range it can allocate. It seems to be overkill in this case though, it's just a page worth of data. -Olof