[PATCH 2/3] arm64: efi: Ensure efi_create_mapping() does not map overlapping regions
From: Matt Fleming <hidden>
Date: 2016-06-03 20:56:39
Also in:
linux-efi
From: Matt Fleming <hidden>
Date: 2016-06-03 20:56:39
Also in:
linux-efi
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?