Thread (11 messages) flat view 11 messages, 4 authors, 2015-10-28
STALE3938d

[PATCH] arm64: efi: make sure vmlinux load address aligned on 2MBytes

From: Ard Biesheuvel <hidden>
Date: 2015-10-28 02:11:33
Also in: linux-efi

On 28 October 2015 at 11:10, Timur Tabi [off-list ref] wrote:
Ard Biesheuvel wrote:
quoted
+               *image_addr = *reserve_addr = round_up(dram_base, SZ_2M) +
+                                                      TEXT_OFFSET);

Shouldn't this be:

*image_addr = *reserve_addr = round_up(dram_base + TEXT_OFFSET, SZ_2M);
No. I screwed up the patch since the trailing ) should not be there,
but we do need to round first, and only then add the offset.

-- 
Ard.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help