[GIT PULL] arm64 fixes for -rc2
Will Deacon
will at kernel.org
Fri Feb 27 13:20:26 PST 2026
Hi Linus,
Please pull this batch of arm64 fixes for -rc2. The summary is in the
tag but the diffstat is dominated by changes to our TLB invalidation
errata handling and the introduction of a new GCS selftest to catch one
of the issues that is fixed here relating to PROT_NONE mappings.
There are still a few other issues being worked on, so you can expect
another batch of fixes next week.
Cheers,
Will
--->8
The following changes since commit 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f:
Linux 7.0-rc1 (2026-02-22 13:18:59 -0800)
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 df6e4ab654dc482c1d45776257a62ac10e14086c:
arm64: topology: Fix false warning in counters_read_on_cpu() for same-CPU reads (2026-02-26 18:27:15 +0000)
----------------------------------------------------------------
arm64 fixes for -rc2
- Fix cpufreq warning due to attempting a cross-call with interrupts
masked when reading local AMU counters.
- Fix DEBUG_PREEMPT warning from the delay loop when it tries to access
per-cpu errata workaround state for the virtual counter.
- Re-jig and optimise our TLB invalidation errata workarounds in
preparation for more hardware brokenness.
- Fix GCS mappings to interact properly with PROT_NONE and to avoid
corrupting the pte on CPUs with FEAT_LPA2.
- Fix ioremap_prot() to extract only the memory attributes from the
user pte and ignore all the other 'prot' bits.
----------------------------------------------------------------
Catalin Marinas (3):
arm64: gcs: Do not set PTE_SHARED on GCS mappings if FEAT_LPA2 is enabled
arm64: gcs: Honour mprotect(PROT_NONE) on shadow stack mappings
kselftest: arm64: Check access to GCS after mprotect(PROT_NONE)
Marc Zyngier (1):
arm64: Fix sampling the "stable" virtual counter in preemptible section
Mark Rutland (2):
arm64: tlb: Allow XZR argument to TLBI ops
arm64: tlb: Optimize ARM64_WORKAROUND_REPEAT_TLBI
Sumit Gupta (1):
arm64: topology: Fix false warning in counters_read_on_cpu() for same-CPU reads
Will Deacon (2):
arm64: io: Rename ioremap_prot() to __ioremap_prot()
arm64: io: Extract user memory type in ioremap_prot()
arch/arm64/include/asm/io.h | 26 ++++++--
arch/arm64/include/asm/pgtable-prot.h | 3 -
arch/arm64/include/asm/tlbflush.h | 63 ++++++++++--------
arch/arm64/kernel/acpi.c | 2 +-
arch/arm64/kernel/sys_compat.c | 2 +-
arch/arm64/kernel/topology.c | 21 ++++--
arch/arm64/kvm/hyp/nvhe/mm.c | 2 +-
arch/arm64/kvm/hyp/nvhe/tlb.c | 8 +--
arch/arm64/kvm/hyp/pgtable.c | 2 +-
arch/arm64/kvm/hyp/vhe/tlb.c | 10 +--
arch/arm64/lib/delay.c | 6 +-
arch/arm64/mm/ioremap.c | 6 +-
arch/arm64/mm/mmap.c | 12 +++-
.../arm64/signal/testcases/gcs_prot_none_fault.c | 76 ++++++++++++++++++++++
14 files changed, 179 insertions(+), 60 deletions(-)
create mode 100644 tools/testing/selftests/arm64/signal/testcases/gcs_prot_none_fault.c
More information about the linux-arm-kernel
mailing list