[Top] [All Lists]

Re: [PATCH] of: specify initrd location using 64-bit

To: Rob Herring <>
Subject: Re: [PATCH] of: specify initrd location using 64-bit
From: Sebastian Andrzej Siewior <>
Date: Thu, 13 Sep 2012 08:47:06 +0200
Cc: Cyril Chemparathy <>,,,,,,,,,,,,,,,,, Geert Uytterhoeven <>,,,,,,,,,,,,,,,,,
In-reply-to: <>
List-archive: <>
List-help: <>
List-id: linux-mips <>
List-owner: <>
List-post: <>
List-software: Ecartis version 1.0.0
List-subscribe: <>
List-unsubscribe: <>
References: <> <> <> <> <>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.6esrpre) Gecko/20120817 Icedove/10.0.6
On 09/13/2012 12:08 AM, Rob Herring wrote:
Geert is right here. If it is a physical address, it should be

While generally true, for the DT specific code I think it should be a
fixed u64. The size of the address is defined by the FDT, not the
kernel. It is very likely we could have a FDT that specifies addresses
in 64-bit values, but then we boot a kernel is compiled for !LPAE.
phys_addr_t is currently sized based on LPAE setting.

If your kernel is 32bit without PAE and your DTB address is >32ibt than
you can't handle it. If you don't notice this in your dt code than you
remap the wrong memory ioremap().



<Prev in Thread] Current Thread [Next in Thread>