[PATCH 2/3] arm64: efi: Ensure efi_create_mapping() does not map overlapping regions
Matt Fleming
matt at codeblueprint.co.uk
Fri Jun 3 13:56:39 PDT 2016
On Thu, 02 Jun, at 05:56:21PM, Catalin Marinas wrote:
>
> Ard to confirm but I think the reason is the relative offset between
> code and data regions that must be preserved. For example, on Juno I
> get:
>
> [ 0.000000] efi: 0x0009fff6e000-0x0009fffaefff [Runtime Code |RUN| | | | | | | |WB|WT|WC|UC]*
> [ 0.000000] efi: 0x0009fffaf000-0x0009ffffefff [Runtime Data |RUN| | | | | | | |WB|WT|WC|UC]*
>
> Since the code may assume relative loads from the data section, we need
> to preserve this offset (which doesn't seem 64KB aligned).
Yeah, figures. Could you mention this in the changelog or in a code
comment?
More information about the linux-arm-kernel
mailing list