Skip to content

arm64: Reorganize kernel VA space

Ard Biesheuvel linux-arm-kernel 4 versions – Applied

Status from this message: Applied to arm64 (for-next/reorg-va-space), thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest7 patches 5 repliesApplied
  2. v641 patches 21 repliesSuperseded
  3. v539 patches 7 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v461 patches22 repliesSuperseded

Changes in v7 from the cover letter

- add static assert to avoid the fixmap overlapping with the PCI I/O region
- avoid deriving VMEMMAP_END from VMEMMAP_START+VMEMMAP_SIZE in ptdump.c
- add ack from Mark

Patches in v7 Applied

#Subject and filesSizeRepliesApplied
1/7arm64: mm: Move PCI I/O emulation region above the vmemmap regionarch/arm64/include/asm/memory.h arch/arm64/mm/ptdump.c+4 -40 replies
2/7arm64: mm: Move fixmap region above vmemmap regionarch/arm64/include/asm/memory.h arch/arm64/include/asm/pgtable.h arch/arm64/mm/fixmap.c +1 more+7 -40 replies
3/7arm64: ptdump: Allow all region boundaries to be defined at boot timearch/arm64/mm/ptdump.c+22 -320 replies
4/7arm64: ptdump: Discover start of vmemmap region at runtimearch/arm64/mm/ptdump.c+3 -10 replies
5/7arm64: vmemmap: Avoid base2 order of struct page size to dimension regionarch/arm64/include/asm/memory.h+4 -44 replies
6/7arm64: mm: Reclaim unused vmemmap region for vmalloc usearch/arm64/include/asm/pgtable.h+6 -20 replies
7/7arm64: kaslr: Adjust randomization range dynamicallyarch/arm64/kernel/image-vars.h arch/arm64/kernel/pi/kaslr_early.c+8 -50 replies

Reviews trailers per patch

2 of 7 patches have a Reviewed-by or Acked-by.

PatchMark Rutland
1/7
2/7
3/7A-b
4/7
5/7A-b A-b
6/7
7/7

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

Read the v7 thread

Cover letter [PATCH v7 0/7] arm64: Reorganize kernel VA space

From: Ard Biesheuvel <[email protected]>

These seven patches were taken from [0] and tweaked to address the feedback by Mark Rutland. They reconfigure the upper region of the kernel VA space so that the vmemmap region can be resized dynamically on 52-bit builds running on 48-bit-only hardware. This is needed for LPA2 support.

They can be applied onto the arm62 lpa2-prep branch.

[0] https://lore.kernel.org/all/[email protected]

v7:
- add static assert to avoid the fixmap overlapping with the PCI I/O region
- avoid deriving VMEMMAP_END from VMEMMAP_START+VMEMMAP_SIZE in ptdump.c
- add ack from Mark

Cc Catalin Marinas <[email protected]>
Cc Will Deacon <[email protected]>
Cc Marc Zyngier <[email protected]>
Cc Mark Rutland <[email protected]>

Ard Biesheuvel (7):
arm64: mm: Move PCI I/O emulation region above the vmemmap region
arm64: mm: Move fixmap region above vmemmap region
arm64: ptdump: Allow all region boundaries to be defined at boot time
arm64: ptdump: Discover start of vmemmap region at runtime
arm64: vmemmap: Avoid base2 order of struct page size to dimension
region
arm64: mm: Reclaim unused vmemmap region for vmalloc use
arm64: kaslr: Adjust randomization range dynamically

 arch/arm64/include/asm/memory.h    | 14 ++---
 arch/arm64/include/asm/pgtable.h   | 10 ++--
 arch/arm64/kernel/image-vars.h     |  2 +
 arch/arm64/kernel/pi/kaslr_early.c | 11 ++--
 arch/arm64/mm/fixmap.c             |  3 ++
 arch/arm64/mm/ptdump.c             | 56 +++++++++-----------
 6 files changed, 49 insertions(+), 47 deletions(-)
Signature · 7 lines
2.43.0.472.g3155946c3a-goog


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel