[GIT PULL] RISC-V Fixes for 6.13-rc7

From: Palmer Dabbelt
Date: Fri Jan 10 2025 - 12:05:28 EST


The following changes since commit 78d4f34e2115b517bcbfe7ec0d018bbbb6f9b0b8:

Linux 6.13-rc3 (2024-12-15 15:58:23 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git tags/riscv-for-linus-6.13-rc7

for you to fetch changes up to 6f6ecce59d99ef95a31a137c51e61c3d7b4ab278:

Merge patch series "SBI PMU event related fixes" (2025-01-09 09:37:12 -0800)

----------------------------------------------------------------
RISC-V Fixes for 6.13-rc7

* A handful of selftest fixes.
* A fix for a memory leak in relocation processing during module
loading.
* A fix to avoid sleeping in die().
* A fix for kprobe intsruction slot address calculations.
* A fix for a DT node reference leak in SBI idle probing.
* A fix for to avoid initializing out of bounds pages on sparse vmemmap
systems with a gap at the start of their physical memory map.
* A fix for backtracing through exceptions.
* _Q_PENDING_LOOPS is now defined whenever QUEUED_SPINLOCKS=y.
* Local labels in entry.S are now marked with ".L", which prevents them
from trashing backtraces.
* A handful of fixes for SBI-based performance counters.

----------------------------------------------------------------
Atish Patra (3):
drivers/perf: riscv: Fix Platform firmware event data
drivers/perf: riscv: Return error for default case
drivers/perf: riscv: Do not allow invalid raw event config

Charlie Jenkins (1):
riscv: selftests: Fix warnings pointer masking test

Clément Léger (3):
riscv: module: remove relocation_head rel_entry member allocation
riscv: stacktrace: fix backtracing through exceptions
riscv: use local label names instead of global ones in assembly

Guo Ren (1):
riscv: qspinlock: Fixup _Q_PENDING_LOOPS definition

Javier Carrasco (1):
cpuidle: riscv-sbi: fix device node release in early exit of for_each_possible_cpu

Nam Cao (2):
riscv: Fix sleeping in invalid context in die()
riscv: kprobes: Fix incorrect address calculation

Palmer Dabbelt (2):
Merge patch series "selftest: fix riscv/vector tests"
Merge patch series "SBI PMU event related fixes"

Xu Lu (1):
riscv: mm: Fix the out of bound issue of vmemmap address

Yong-Xuan Wang (2):
tools: selftests: riscv: Add pass message for v_initval_nolibc
tools: selftests: riscv: Add test count for vstate_prctl

arch/riscv/include/asm/page.h | 1 +
arch/riscv/include/asm/pgtable.h | 2 +-
arch/riscv/include/asm/sbi.h | 1 +
arch/riscv/include/asm/spinlock.h | 5 +++-
arch/riscv/kernel/entry.S | 21 ++++++++--------
arch/riscv/kernel/module.c | 18 ++++----------
arch/riscv/kernel/probes/kprobes.c | 2 +-
arch/riscv/kernel/stacktrace.c | 4 +++-
arch/riscv/kernel/traps.c | 6 ++---
arch/riscv/mm/init.c | 17 ++++++++++++-
drivers/cpuidle/cpuidle-riscv-sbi.c | 4 ++--
drivers/perf/riscv_pmu_sbi.c | 22 +++++++++--------
.../testing/selftests/riscv/abi/pointer_masking.c | 28 +++++++++++++++++-----
.../selftests/riscv/vector/v_initval_nolibc.c | 4 ++++
.../testing/selftests/riscv/vector/vstate_prctl.c | 2 ++
15 files changed, 87 insertions(+), 50 deletions(-)