RISC-V updates for v7.0-rc7
Paul Walmsley
maintainerLinus,
Please pull these RISC-V updates for v7.0-rc7. These are all relatively minor functional fixes. The branch was recently rebuilt, but only to remove fixes that aren't critical at this point in the release cycle.
thanks,
- Paul
The following changes since commit c369299895a591d96745d6492d4888259b004a9e:
Linux 7.0-rc5 (2026-03-22 14:42:17 -0700)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git tags/riscv-for-linus-7.0-rc7
for you to fetch changes up to 9156585280f161fc1c3552cf1860559edb2bb7e3:
ACPI: RIMT: Add dependency between iommu and devices (2026-04-04 18:38:03 -0600)
----------------------------------------------------------------
RISC-V updates for v7.0-rc7
- Fix a CONFIG_SPARSEMEM crash on RV32 by avoiding early phys_to_page()
- Prevent runtime const infrastructure from being used by modules, similar to what was done for x86
- Avoid problems when shutting down ACPI systems with IOMMUs by adding a device dependency between IOMMU and devices that use it
- Fix a bug where the CPU pointer masking state isn't properly reset when tagged addresses aren't enabled for a task
- Fix some incorrect register assignments, and add some missing ones, in kgdb support code
- Fix compilation of non-kernel code that uses the ptrace uapi header by replacing BIT() with _BITUL()
- Fix compilation of the validate_v_ptrace kselftest by working around kselftest macro expansion issues
----------------------------------------------------------------
Charlie Jenkins (1):
selftests: riscv: Add braces around EXPECT_EQ()
Jisheng Zhang (1):
riscv: make runtime const not usable by modules
Paul Walmsley (2):
riscv: kgdb: fix several debug register assignment bugs
riscv: use _BITUL macro rather than BIT() in ptrace uapi and kselftests
Sunil V L (1):
ACPI: RIMT: Add dependency between iommu and devices
Vivian Wang (1):
riscv: patch: Avoid early phys_to_page()
Zishun Yi (1):
riscv: Reset pmm when PR_TAGGED_ADDR_ENABLE is not set
arch/riscv/include/asm/runtime-const.h | 4 ++++ arch/riscv/include/uapi/asm/ptrace.h | 13 +++++++------ arch/riscv/kernel/kgdb.c | 7 ++++--- arch/riscv/kernel/patch.c | 21 +++++++++++---------- arch/riscv/kernel/process.c | 4 +++- drivers/acpi/riscv/rimt.c | 7 +++++++ .../selftests/riscv/vector/validate_v_ptrace.c | 19 +++++++++++-------- 7 files changed, 47 insertions(+), 28 deletions(-)
vmlinux size differences in bytes (from c369299895a5)
text data bss dec hex filename -304 +160 . -144 -90 vmlinux.defconfig.gcc-15 -304 +160 . -144 -90 vmlinux.nosmp_defconfig.gcc-15 -160 +128 . -32 -20 vmlinux.rv32_defconfig.gcc-15 -176 +64 . -112 -70 vmlinux.rv32_nosmp_defconfig.gcc-15 +8 . . +8 +8 vmlinux.nommu_virt_defconfig.gcc-15 -240 +160 . -80 -50 vmlinux.defconfig.clang-20 -224 +96 . -128 -80 vmlinux.nosmp_defconfig.clang-20 -144 +96 . -48 -30 vmlinux.rv32_defconfig.clang-20 -136 +160 . +24 +18 vmlinux.rv32_nosmp_defconfig.clang-20 . . . . . vmlinux.nommu_virt_defconfig.clang-20 -384 +64 . -320 -140 vmlinux.defconfig.clang-17 -372 +64 . -308 -134 vmlinux.nosmp_defconfig.clang-17 -120 +64 . -56 -38 vmlinux.rv32_defconfig.clang-17 -112 +128 . +16 +10 vmlinux.rv32_nosmp_defconfig.clang-17 +8 +64 . +72 +48 vmlinux.nommu_virt_defconfig.clang-17 -288 +160 . -128 -80 vmlinux.defconfig.gcc-11 -296 +96 . -200 -c8 vmlinux.nosmp_defconfig.gcc-11 -176 +64 . -112 -70 vmlinux.rv32_defconfig.gcc-11 -192 +96 . -96 -60 vmlinux.rv32_nosmp_defconfig.gcc-11 . +256 . +256 +100 vmlinux.nommu_virt_defconfig.gcc-11
The pull request you sent on Sun, 5 Apr 2026 15:40:30 -0600 (MDT):
The pull request you sent on Sun, 5 Apr 2026 15:40:30 -0600 (MDT):
Quoted 1 line
https://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git tags/riscv-for-linus-7.0-rc7
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/85fb6da43ac58dc7d1a6242e7b2102fd1d4954bc
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html