[GIT PULL] RISC-V Fixes for 6.15-rc6
Alexandre Ghiti
alex at ghiti.fr
Thu May 8 05:15:30 PDT 2025
The following changes since commit 92a09c47464d040866cf2b4cd052bc60555185fb:
Linux 6.15-rc5 (2025-05-04 13:55:04 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/alexghiti/linux
tags/riscv-fixes-6.15-rc6
for you to fetch changes up to 7f1c3de1370bc6a8ad5157336b258067dac0ae9c:
riscv: Disallow PR_GET_TAGGED_ADDR_CTRL without Supm (2025-05-08
12:01:01 +0000)
----------------------------------------------------------------
riscv fixes for 6.15-rc6
- A fix to handle compressed halfword load/store instructions misaligned
accesses
- A fix to allow user memory access while handling a misaligned access
- 2 fixes to return an error if the pointer masking extension is not
implemented on the platform but userspace still tries to access it,
which caused oops on some early platforms
- A fix to prevent the stripping of .rela.dyn so that a vmlinux loaded
by kexec can successfully boot
----------------------------------------------------------------
All the patches have been tested on our github CI and no regressions
were found against 6.15-rc5
(https://github.com/linux-riscv/linux/pull/387/checks whose results can
be seen here
https://mazarinen.tail1c623.ts.net/riscv-linux/linux-all/build/riscv-fixes-6.15-rc6/).
----------------------------------------------------------------
Alexandre Ghiti (1):
scripts: Do not strip .rela.dyn section
Clément Léger (3):
riscv: misaligned: factorize trap handling
riscv: misaligned: enable IRQs while handling misaligned accesses
riscv: misaligned: use get_user() instead of __get_user()
Nam Cao (1):
riscv: Fix kernel crash due to PR_SET_TAGGED_ADDR_CTRL
Nylon Chen (1):
riscv: misaligned: Add handling for ZCB instructions
Samuel Holland (1):
riscv: Disallow PR_GET_TAGGED_ADDR_CTRL without Supm
arch/riscv/kernel/process.c | 6 ++++
arch/riscv/kernel/traps.c | 64
++++++++++++++++++++++++-----------------
arch/riscv/kernel/traps_misaligned.c | 19 +++++++++++-
scripts/Makefile.vmlinux | 2 +-
4 files changed, 62 insertions(+), 29 deletions(-)
More information about the linux-riscv
mailing list