Skip to content

arm64: relax Image placement requirement

Lorenzo Pieralisi linux-arm-kernel 1 version New

Get series with b4
b4 am 20150323104536.GA9724@red-moon

Versions newest first

  1. v2 Latest1 of 3 patches 0 repliesNew

1 of 3 patches is in this archive. The cover letter announces 3.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
3/3arm64: drop sleep_idmap_phys+0 -01 reply

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchLorenzo Pieralisi
3/3A-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] arm64: relax Image placement requirement
Quoted 7 lines · Ard Biesheuvel

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.

Quoted 8 lines

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

Patch 1 and 2 do not apply for me, what tree/commit are they based against ?

Please let me know so that I can give patch 3 a go.

Thanks,
Lorenzo

Quoted 28 lines

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(-)
Signature · 7 lines
1.8.3.2


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel