[PATCH v2 0/3] arm64: relax Image placement requirement
Ard Biesheuvel
ard.biesheuvel at linaro.org
Mon Mar 23 02:07:23 PDT 2015
So as it turns out, the 512 MB alignment boundary restriction appears
to have been introduced by accident when increasing the ID map to cover
the entire kernel Image.
So this reverts that change, by reducing the ID map to something that
can never cross a 512 MB boundary by construction.
Patch #1 removes some functions that are unused, so that I don't have
to worry about them in patch #2
Patch #2 introduces the reduced ID map, using a separate linker section
that contains code the manipulates the state of the MMU.
Patch #3 removes the sleep_idmap_phys global which always points to
the ID map anyway
Ard Biesheuvel (3):
arm64: remove soft_restart() and friends
arm64: reduce ID map to a single page
arm64: drop sleep_idmap_phys
arch/arm64/include/asm/mmu.h | 1 -
arch/arm64/include/asm/proc-fns.h | 3 ---
arch/arm64/include/asm/system_misc.h | 1 -
arch/arm64/kernel/head.S | 13 +++++++------
arch/arm64/kernel/process.c | 12 +-----------
arch/arm64/kernel/sleep.S | 9 ++++-----
arch/arm64/kernel/suspend.c | 3 ---
arch/arm64/kernel/vmlinux.lds.S | 11 ++++++++++-
arch/arm64/mm/mmu.c | 11 -----------
arch/arm64/mm/proc.S | 33 ---------------------------------
10 files changed, 22 insertions(+), 75 deletions(-)
--
1.8.3.2
More information about the linux-arm-kernel
mailing list