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

Ard Biesheuvel posted 5 patches 3 days, 16 hours ago
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(-)
[PATCH v2 0/5] fixes for data/bss linear alias unmap series
Posted by Ard Biesheuvel 3 days, 16 hours ago
From: Ard Biesheuvel <ardb@kernel.org>

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 <kevin.brodsky@arm.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: Marc Zyngier <maz@kernel.org>

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
-- 
2.54.0.1032.g2f8565e1d1-goog
Re: [PATCH v2 0/5] fixes for data/bss linear alias unmap series
Posted by Will Deacon 2 days, 14 hours ago
On Thu, 04 Jun 2026 17:11:52 +0200, Ard Biesheuvel wrote:
> 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
> 
> [...]

Applied to arm64 (for-next/mm), thanks!

[1/5] arm64: Rename page table BSS section to .bss..pgtbl
      https://git.kernel.org/arm64/c/9c401fa7398f
[2/5] kasan: Move generic KASAN page tables out of BSS too
      https://git.kernel.org/arm64/c/9f7f685758c6
[3/5] arm64: Avoid double evaluation of __ptep_get()
      https://git.kernel.org/arm64/c/568def8e87fc
[4/5] KVM: arm64: Omit tag sync on stage-2 mappings of the zero page
      https://git.kernel.org/arm64/c/2986a6257405
[5/5] arm64: mm: Defer remap of linear alias of data/bss
      https://git.kernel.org/arm64/c/53205d56212c

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev