[GIT PULL] RISC-V updates for v7.2-rc6

From: Paul Walmsley

Date: Sun Aug 02 2026 - 14:11:01 EST


Linus,

Please pull the following RISC-V updates for v7.2-rc6. Nothing too
notable here, I think. Most likely we'll send one more fixes PR
before the v7.3 merge window opens.


- Paul

The following changes since commit f5098b6bae761e346ebcd9da7f95622c04733cff:

Linux 7.2-rc5 (2026-07-26 14:45:48 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux tags/riscv-for-linus-7.2-rc6

for you to fetch changes up to c052927905710de1ab7364bf1925efbd12517ea3:

riscv: vdso: Only try to install vDSO when present (2026-07-29 17:55:17 -0600)

----------------------------------------------------------------
RISC-V updates for v7.2-rc6

- Fix swiotlb initialization on systems where DRAM is located above
4GiB (such as the Tenstorrent Blackhole cards)

- Fix an out-of-bounds access in the memory hot-remove code that can
occur on Sv39 and Sv48 systems

- Avoid oopsing during boot if the SBI component of the unaligned
access performance checking code loses a race against __init
function freeing

- Avoid attempting to install the debug-enabled vDSO when it shouldn't
be built due to !CONFIG_MMU

- Avoid some sparse warnings by adding missing __iomem notations
in get_cycles{,_hi}()

- Drop an unnecessary runtime warning in the SiFive errata handler

----------------------------------------------------------------
Anirudh Srinivasan (1):
riscv: drop __init from vec_check_unaligned_access_speed_all_cpus

Karl Mehltretter (1):
riscv: mm: Fix out-of-bounds page-table walk during memory hot-remove

Nam Cao (1):
riscv: time: Add missing __iomem in get_cycles() and get_cycles_hi()

Thomas Weißschuh (1):
riscv: vdso: Only try to install vDSO when present

Troy Mitchell (1):
riscv: mm: fix SWIOTLB initialization for systems with DRAM above 4GB

Yong-Xuan Wang (1):
riscv/sifive: remove warning in errata

arch/riscv/Makefile | 2 +-
arch/riscv/errata/sifive/errata.c | 4 +---
arch/riscv/include/asm/timex.h | 4 ++--
arch/riscv/kernel/unaligned_access_speed.c | 4 ++--
arch/riscv/mm/init.c | 21 ++++++++++++++-------
5 files changed, 20 insertions(+), 15 deletions(-)

vmlinux size differences in bytes (from f5098b6bae76):
text data bss dec hex filename
+16 -44 . -28 -1c vmlinux.defconfig.gcc-16
+28 -12 . +16 +10 vmlinux.nosmp_defconfig.gcc-16
+16 -12 . +4 +4 vmlinux.rv32_defconfig.gcc-16
. -12 . -12 -c vmlinux.rv32_nosmp_defconfig.gcc-16
+24 +64 . +88 +58 vmlinux.nommu_virt_defconfig.gcc-16
-4 -4 . -8 -8 vmlinux.defconfig.clang-20
-16 +28 . +12 +c vmlinux.nosmp_defconfig.clang-20
. . . . . vmlinux.rv32_defconfig.clang-20
. . . . . vmlinux.rv32_nosmp_defconfig.clang-20
+16 . . +16 +10 vmlinux.nommu_virt_defconfig.clang-20
+20 -12 . +8 +8 vmlinux.defconfig.gcc-15
+12 -12 . . . vmlinux.nosmp_defconfig.gcc-15
+28 -12 . +16 +10 vmlinux.rv32_defconfig.gcc-15
+8 -12 . -4 -4 vmlinux.rv32_nosmp_defconfig.gcc-15
+16 . . +16 +10 vmlinux.nommu_virt_defconfig.gcc-15
+4 -12 . -8 -8 vmlinux.defconfig.gcc-14
+12 -12 . . . vmlinux.nosmp_defconfig.gcc-14
+20 -12 . +8 +8 vmlinux.rv32_defconfig.gcc-14
+8 -12 . -4 -4 vmlinux.rv32_nosmp_defconfig.gcc-14
+24 . . +24 +18 vmlinux.nommu_virt_defconfig.gcc-14
-8 -4 . -12 -c vmlinux.defconfig.clang-19
-12 +4 . -8 -8 vmlinux.nosmp_defconfig.clang-19
-4 +4 . . . vmlinux.rv32_defconfig.clang-19
. +4 . +4 +4 vmlinux.rv32_nosmp_defconfig.clang-19
+24 +64 . +88 +58 vmlinux.nommu_virt_defconfig.clang-19
. -12 . -12 -c vmlinux.defconfig.gcc-13
+8 -12 . -4 -4 vmlinux.nosmp_defconfig.gcc-13
+12 -12 . . . vmlinux.rv32_defconfig.gcc-13
+4 -12 . -8 -8 vmlinux.rv32_nosmp_defconfig.gcc-13
+28 +64 . +92 +5c vmlinux.nommu_virt_defconfig.gcc-13
-4 -4 . -8 -8 vmlinux.defconfig.clang-18
-16 -4 . -20 -14 vmlinux.nosmp_defconfig.clang-18
. +4 . +4 +4 vmlinux.rv32_defconfig.clang-18
. +4 . +4 +4 vmlinux.rv32_nosmp_defconfig.clang-18
+24 . . +24 +18 vmlinux.nommu_virt_defconfig.clang-18
+8 -12 . -4 -4 vmlinux.defconfig.gcc-12
. -12 . -12 -c vmlinux.nosmp_defconfig.gcc-12
+12 -12 . . . vmlinux.rv32_defconfig.gcc-12
+12 -12 . . . vmlinux.rv32_nosmp_defconfig.gcc-12
+28 +64 . +92 +5c vmlinux.nommu_virt_defconfig.gcc-12
-8 -4 . -12 -c vmlinux.defconfig.clang-17
-12 +4 . -8 -8 vmlinux.nosmp_defconfig.clang-17
-8 +4 . -4 -4 vmlinux.rv32_defconfig.clang-17
. -4 . -4 -4 vmlinux.rv32_nosmp_defconfig.clang-17
+24 +64 . +88 +58 vmlinux.nommu_virt_defconfig.clang-17
-4 -12 . -16 -10 vmlinux.defconfig.gcc-11
-4 -12 . -16 -10 vmlinux.nosmp_defconfig.gcc-11
+12 -12 . . . vmlinux.rv32_defconfig.gcc-11
+12 -12 . . . vmlinux.rv32_nosmp_defconfig.gcc-11
+28 . . +28 +1c vmlinux.nommu_virt_defconfig.gcc-11
+26 +32 . +58 +3a vmlinux.allnoconfig.gcc-15
-1136 -4272 -192 -5600 -15e0 vmlinux.allmodconfig.gcc-15
+28 . . +28 +1c vmlinux.allnoconfig.clang-19
-812 -76 +64 -824 -338 vmlinux.allmodconfig.clang-19