[GIT PULL] arm64 fixes for -rc6
Will Deacon
will at kernel.org
Tue Nov 11 10:07:58 PST 2025
Hi Linus,
Please pull these arm64 fixes for -rc6. There's more here than I would
ideally like at this stage, but there's been a steady trickle of fixes
and some of them took a few rounds of review.
The bulk of the changes are fixing some fallout from the recent BBM
level two support which allows the linear map to be split from block to
page mappings at runtime, but inadvertently led to sleeping in atomic
context on some paths where the linear map was already mapped with page
granularity. The fix is simply to avoid splitting in those cases but the
implementation of that is a little involved.
The other interesting fix is addressing a catastophic performance issue
with our per-cpu atomics discovered by Paul in the SRCU locking code but
which took some interactions with the hardware folks to resolve.
Anyway, summary in the tag. Please pull.
Cheers,
Will
--->8
The following changes since commit b98c94eed4a975e0c80b7e90a649a46967376f58:
arm64: mte: Do not warn if the page is already tagged in copy_highpage() (2025-10-23 17:34:58 +0100)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git tags/arm64-fixes
for you to fetch changes up to 8e8ae788964aa2573b4335026db4068540fa6a86:
arm64: Reject modules with internal alternative callbacks (2025-11-07 15:00:14 +0000)
----------------------------------------------------------------
arm64 fixes for -rc6
- Avoid sleeping in atomic context when changing linear map permissions
for DEBUG_PAGEALLOC or KFENCE.
- Rework printing of Spectre mitigation status to avoid hardlockup when
enabling per-task mitigations on the context-switch path.
- Reject kernel modules when instruction patching fails either due to
the DWARF-based SCS patching or because of an alternatives callback
residing outside of the core kernel text.
- Propagate error when updating kernel memory permissions in kprobes.
- Drop pointless, incorrect message when enabling the ACPI SPCR console.
- Use value-returning LSE instructions for per-cpu atomics to reduce
latency in SRCU locking routines.
----------------------------------------------------------------
Adrian Barnaś (2):
arm64: Fail module loading if dynamic SCS patching fails
arm64: Reject modules with internal alternative callbacks
Catalin Marinas (1):
arm64: Use load LSE atomics for the non-return per-CPU atomic operations
Punit Agrawal (2):
Revert "ACPI: Suppress misleading SPCR console message when SPCR table is absent"
arm64: acpi: Drop message logging SPCR default console
Ryan Roberts (3):
arm64: mm: Don't sleep in split_kernel_leaf_mapping() when in atomic context
arm64: mm: Optimize range_split_to_ptes()
arm64: mm: Tidy up force_pte_mapping()
Yang Shi (1):
arm64: kprobes: check the return value of set_memory_rox()
shechenglong (2):
arm64: proton-pack: Drop print when !CONFIG_MITIGATE_SPECTRE_BRANCH_HISTORY
arm64: proton-pack: Fix hard lockup due to print in scheduler context
arch/arm64/include/asm/alternative.h | 7 ++-
arch/arm64/include/asm/kfence.h | 3 +-
arch/arm64/include/asm/percpu.h | 15 +++--
arch/arm64/include/asm/scs.h | 2 +-
arch/arm64/include/asm/spectre.h | 1 +
arch/arm64/kernel/acpi.c | 8 +--
arch/arm64/kernel/alternative.c | 19 +++---
arch/arm64/kernel/cpufeature.c | 6 ++
arch/arm64/kernel/module.c | 21 +++++--
arch/arm64/kernel/pi/map_kernel.c | 2 +-
arch/arm64/kernel/pi/patch-scs.c | 10 ++--
arch/arm64/kernel/pi/pi.h | 2 +-
arch/arm64/kernel/probes/kprobes.c | 5 +-
arch/arm64/kernel/proton-pack.c | 35 +++++------
arch/arm64/mm/mmu.c | 111 +++++++++++++++++++++++++----------
15 files changed, 165 insertions(+), 82 deletions(-)
More information about the linux-arm-kernel
mailing list