[GIT PULL] RISC-V Fixes for 6.6-rc6
From: Palmer Dabbelt
Date: Fri Oct 13 2023 - 10:13:04 EST
The following changes since commit 8eb8fe67e2c84324398f5983c41b4f831d0705b3:
riscv: errata: fix T-Head dcache.cva encoding (2023-09-12 13:58:40 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git tags/riscv-for-linus-6.6-rc6
for you to fetch changes up to 3fec323339a4a9801a54e8b282eb571965b67b23:
drivers: perf: Fix panic in riscv SBI mmap support (2023-10-12 11:46:35 -0700)
----------------------------------------------------------------
RISC-V Fixes for 6.6-rc6
* A handful of build fixes.
* A fix to avoid mixing up user/kernel-mode breakpoints, which can
manifest as a hang when mixing k/uprobes with other breakpoint
sources.
* A fix to avoid double-allocting crash kernel memory.
* A fix for tracefs syscall name mangling, which was causing syscalls
not to show up in tracefs.
* A fix to the perf driver to enable the hw events when selected, which
can trigger a BUG on some userspace access patterns.
----------------------------------------------------------------
Sorry things were a bit slow for the last few weeks, I ended up getting COVID
at the Cauldron and thus have been a bit out of it. So this is a bit big for
an rc6, but hopefully things are mostly back to normal for next week.
----------------------------------------------------------------
Alexandre Ghiti (3):
riscv: kselftests: Fix mm build by removing testcases subdirectory
riscv: Fix ftrace syscall handling which are now prefixed with __riscv_
drivers: perf: Fix panic in riscv SBI mmap support
Andy Chiu (1):
riscv: signal: fix sigaltstack frame size checking
Björn Töpel (1):
riscv: Only consider swbp/ss handlers for correct privileged mode
Chen Jiahao (1):
riscv: kdump: fix crashkernel reserving problem on RISC-V
Jiexun Wang (1):
RISC-V: Fix wrong use of CONFIG_HAVE_SOFTIRQ_ON_OWN_STACK
Lad Prabhakar (1):
riscv: errata: andes: Makefile: Fix randconfig build issue
Song Shuai (1):
riscv: Remove duplicate objcopy flag
arch/riscv/Makefile | 1 -
arch/riscv/errata/andes/Makefile | 4 ++++
arch/riscv/include/asm/ftrace.h | 21 ++++++++++++++++
arch/riscv/include/asm/kprobes.h | 11 ++++++++-
arch/riscv/include/asm/uprobes.h | 13 +++++++++-
arch/riscv/kernel/irq.c | 4 ++--
arch/riscv/kernel/setup.c | 13 ----------
arch/riscv/kernel/signal.c | 7 ------
arch/riscv/kernel/traps.c | 28 ++++++++++++++--------
drivers/perf/riscv_pmu.c | 3 ++-
drivers/perf/riscv_pmu_sbi.c | 16 ++++++++-----
tools/testing/selftests/riscv/mm/Makefile | 6 ++---
.../riscv/mm/{testcases => }/mmap_bottomup.c | 2 +-
.../riscv/mm/{testcases => }/mmap_default.c | 2 +-
.../selftests/riscv/mm/{testcases => }/mmap_test.h | 0
.../selftests/riscv/mm/{testcases => }/run_mmap.sh | 0
16 files changed, 84 insertions(+), 47 deletions(-)
rename tools/testing/selftests/riscv/mm/{testcases => }/mmap_bottomup.c (97%)
rename tools/testing/selftests/riscv/mm/{testcases => }/mmap_default.c (97%)
rename tools/testing/selftests/riscv/mm/{testcases => }/mmap_test.h (100%)
rename tools/testing/selftests/riscv/mm/{testcases => }/run_mmap.sh (100%)