On Mon, 13 Apr 2020, Ard Biesheuvel wrote: > The EFI stub in the ARM kernel runs in the context of the firmware, which > means it runs with the caches and MMU on. Currently, we relocate the zImage > so it appears in the first 128 MiB, disable the MMU and caches and invoke > the decompressor via its ordinary entry point. However, since we can pass > the base of DRAM directly, there is no need to relocate the zImage, which > also means there is no need to disable and re-enable the caches and create > new page tables etc. > > This simplification is implemented by patch #5. Patches #1 - #4 are > prerequisite changes to permit the decompressor to execute from the > offset chosen by the UEFI firmware. > > Note that this applies onto v5.7-rc1 with Geert's patch 'ARM: boot: Obtain > start of physical memory from DTB' applied [0] Looks fine to me. As you mentioned, I really like the register liveness area reduction. Reviewed-by: Nicolas Pitre <nico@xxxxxxxxxxx> Nicolas