[PATCH 4/4] arm64: align PHYS_OFFSET to block size

Ard Biesheuvel ard.biesheuvel at linaro.org
Wed Mar 25 23:23:07 PDT 2015


On 25 March 2015 at 15:14, Catalin Marinas <catalin.marinas at arm.com> wrote:
> On Mon, Mar 23, 2015 at 04:36:56PM +0100, Ard Biesheuvel wrote:
>> This aligns PHYS_OFFSET down to an alignment that allows system
>> RAM to be mapped using the largest blocks available, i.e., 1 GB
>> blocks on 4 KB pages or 512 MB blocks on 64 KB pages.
>
> Does this assume that the platform RAM starts at such block aligned
> addresses? If not, is the unaligned range ignored?
>

No, it doesn't. The unaligned range is not mapped by the early code
(it only maps from the start of image)
Later on, it just maps whatever is in the DT nodes.



More information about the linux-arm-kernel mailing list