From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H. Peter Anvin" Subject: Re: [RFC] [PATCH V2] Adding DTB to architecture independent vmlinux Date: Thu, 28 Oct 2010 14:44:47 -0700 Message-ID: <4CC9EECF.9020208@linux.intel.com> References: <4CC6E491.7060304@gmail.com> <20101027110937.GD7822@angua.secretlab.ca> <4CC860EF.6060503@linux.intel.com> <4CC8C423.9050600@gmail.com> <20101028005754.GA27386@dvomlehn-lnx2.corp.sa.net> <4CC99441.4030307@linux.intel.com> <20101028173202.GA25771@dvomlehn-lnx2.corp.sa.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20101028173202.GA25771-ZEW99E7oL/EiWxQNNj96ibh/4TqKg8J2XqFh9Ls21Oc@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org To: David VomLehn Cc: sodaville-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org, devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org List-Id: devicetree@vger.kernel.org On 10/28/2010 10:32 AM, David VomLehn wrote: > > In my case, where there are a lot of up-front reservations of memory > at a static address, there is a fair amount of work to do before > it's possible to do the dynamic address allocation for the blob's > ultimate destination, but I'm okay with either doing blob size and address > rounding or copying it from init. I don't see a benefit of supporting > multiple approaches for Linux. > The reason I mentioned dynamic allocation is that you still need to do dynamic allocation if you're using a blob from an external source. If you don't end up with pointers *into* the blob, though, then you don't need to do the relocation until some time before you jettison the init section. However, I don't have a strong opinion about which way it's done. -hpa