Skip to content

fixes for data/bss linear alias unmap series

Ard Biesheuvel linux-arm-kernel lkml stable 2 versions – Applied

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 7 repliesApplied
  2. v14 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- Split .bss..pgtbl changes off into separate patch
- Take Catalin's suggestion on how to address MTE issue with the read-only zero page
- Improved commit logs

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/5arm64: Rename page table BSS section to .bss..pgtblarch/arm64/include/asm/linkage.h arch/arm64/include/asm/mmu.h arch/arm64/kernel/vmlinux.lds.S +2 more+10 -104 replies
2/5kasan: Move generic KASAN page tables out of BSS tooinclude/linux/linkage.h mm/kasan/init.c+9 -50 replies
3/5arm64: Avoid double evaluation of __ptep_get()arch/arm64/include/asm/pgtable.h arch/arm64/mm/mmu.c+10 -80 replies
4/5KVM: arm64: Omit tag sync on stage-2 mappings of the zero pagearch/arm64/kvm/mmu.c+5 -02 replies
5/5arm64: mm: Defer remap of linear alias of data/bssarch/arm64/mm/mmu.c+3 -30 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchMark BrownCatalin MarinasMarc Zyngier
1/5T-b
2/5
3/5
4/5R-b R-b
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/5] fixes for data/bss linear alias unmap series

From: Ard Biesheuvel <[email protected]>

Fixes for the data/bss linear alias unmap series:

- Fix KASAN related issue reported by Mark, by moving all KASAN page tables out of BSS [on arm64], not just the ones defined under arch/arm64

- Fix two issues spotted by Sashiko

- Fix the CKI reported WARN() splat on BBML2_NOABORT systems that try to split block mappings too early.

Changes since v1:

- Split .bss..pgtbl changes off into separate patch
- Take Catalin's suggestion on how to address MTE issue with the read-only zero page
- Improved commit logs

Cc Kevin Brodsky <[email protected]>
Cc Mark Brown <[email protected]>
Cc Marc Zyngier <[email protected]>

Ard Biesheuvel (5):
arm64: Rename page table BSS section to .bss..pgtbl
kasan: Move generic KASAN page tables out of BSS too
arm64: Avoid double evaluation of __ptep_get()
KVM: arm64: Omit tag sync on stage-2 mappings of the zero page
arm64: mm: Defer remap of linear alias of data/bss

 arch/arm64/include/asm/linkage.h |  2 ++
 arch/arm64/include/asm/mmu.h     |  2 --
 arch/arm64/include/asm/pgtable.h |  4 ----
 arch/arm64/kernel/vmlinux.lds.S  |  8 ++++----
 arch/arm64/kvm/mmu.c             |  5 +++++
 arch/arm64/mm/fixmap.c           |  6 +++---
 arch/arm64/mm/kasan_init.c       |  2 +-
 arch/arm64/mm/mmu.c              | 20 +++++++++++++-------
 include/linux/linkage.h          |  4 ++++
 mm/kasan/init.c                  | 10 +++++-----
 10 files changed, 37 insertions(+), 26 deletions(-)

base-commit: 63e0b6a5b6934d6a919d1c65ea185303200a1874

Signature · 1 line
2.54.0.1032.g2f8565e1d1-goog