[GIT PULL] RISC-V Fixes for 6.15-rc6

Palmer Dabbelt palmer at rivosinc.com
Fri May 9 09:11:24 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/riscv/linux.git tags/riscv-for-linus-6.15-rc6
merged tag 'riscv-fixes-6.15-rc6'

for you to fetch changes up to 01534f3e0dd75e27ed03e5542f0c7bf6aa7130f1:

  Merge tag 'riscv-fixes-6.15-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/alexghiti/linux into fixes (2025-05-08 09:40:21 -0700)

----------------------------------------------------------------
RISC-V Fixes for 6.15-rc6

* The compressed half-word misaligned access instructions (c.lhu, c.lh,
  and c.sh) from the Zcb extension are now properly emulated.
* A series of fixes to properly emulate permissions while handling
  userspace misaligned accesses.
* A pair of fixes for PR_GET_TAGGED_ADDR_CTRL to avoid accessing the
  envcfg CSR on systems that don't support that CSR, and to report those
  failures up to userspace.
* The .rela.dyn section is no longer stripped from vmlinux, as it is
  necessary to relocate the kernel under some conditions (including
  kexec).

----------------------------------------------------------------
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

Palmer Dabbelt (1):
      Merge tag 'riscv-fixes-6.15-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/alexghiti/linux into fixes

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