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

Paul Walmsley pjw at kernel.org
Thu Aug 13 20:07:01 PDT 2026


Linus,

Please pull these RISC-V updates for late v7.2-rc.  Nothing too
notable here; all of these fix significant issues that would be
good to resolve before v7.2 is tagged.

thanks,


- Paul


The following changes since commit 075b74841bd0065a3bda3440873c747938e69b68:

  Linux 7.2-rc6 (2026-08-02 16:24:24 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux tags/riscv-for-linus-v7.2-rc8

for you to fetch changes up to 5d588c684833e678a0008eb69c33190f01a65f4b:

  riscv: lib: Fix ZBB strnlen reading past count boundary (2026-08-08 11:45:33 -0600)

----------------------------------------------------------------
RISC-V updates for late v7.2-rc

- Fix a fault caused when the RISC-V Zbb-enabled strlen() is executed
  on a string that ends right before a page boundary, when the next
  page is unmapped

- Fix a race with the misaligned vector performance testing code that
  can prevent the outcome of the test from being stored into the vDSO
  cache

- Fix a kernel warning generated by the ftrace code when
  ftrace_modify_call_code() runs against a ftrace-traced function
  where a kprobe has already been attached.  This shows up in the bpf
  kselftests

----------------------------------------------------------------
Michael Neuling (1):
      riscv: lib: Fix ZBB strnlen reading past count boundary

Pu Lehui (1):
      riscv: ftrace: Fix ftrace_modify_call failure on kprobed functions

Rui Qi (1):
      riscv: hwprobe: Register unaligned probes before usermode

 arch/riscv/kernel/ftrace.c                 |  5 ++++-
 arch/riscv/kernel/unaligned_access_speed.c |  8 +++++++-
 arch/riscv/lib/strnlen.S                   | 10 +++++++++-
 3 files changed, 20 insertions(+), 3 deletions(-)

vmlinux size differences in bytes (from 075b74841bd0):
  text  data   bss     dec    hex  filename                             
   +12   +96     .    +108    +6c  vmlinux.defconfig.gcc-16             
   +12   +96     .    +108    +6c  vmlinux.nosmp_defconfig.gcc-16       
   +12   +64     .     +76    +4c  vmlinux.rv32_defconfig.gcc-16        
   +12   +96     .    +108    +6c  vmlinux.rv32_nosmp_defconfig.gcc-16  
   +12   +64     .     +76    +4c  vmlinux.nommu_virt_defconfig.gcc-16  
    +8   +96     .    +104    +68  vmlinux.defconfig.clang-20           
    +8   +96     .    +104    +68  vmlinux.nosmp_defconfig.clang-20     
    +8   +64     .     +72    +48  vmlinux.rv32_defconfig.clang-20      
    +8   +64     .     +72    +48  vmlinux.rv32_nosmp_defconfig.clang-20
    +8   +64     .     +72    +48  vmlinux.nommu_virt_defconfig.clang-20
   +12   +64     .     +76    +4c  vmlinux.defconfig.gcc-15             
   +12   +64     .     +76    +4c  vmlinux.nosmp_defconfig.gcc-15       
   +12   +64     .     +76    +4c  vmlinux.rv32_defconfig.gcc-15        
   +12   +96     .    +108    +6c  vmlinux.rv32_nosmp_defconfig.gcc-15  
   +12   +64     .     +76    +4c  vmlinux.nommu_virt_defconfig.gcc-15  
   +12   +96     .    +108    +6c  vmlinux.defconfig.gcc-14             
   +12   +64     .     +76    +4c  vmlinux.nosmp_defconfig.gcc-14       
   +12   +96     .    +108    +6c  vmlinux.rv32_defconfig.gcc-14        
   +12   +96     .    +108    +6c  vmlinux.rv32_nosmp_defconfig.gcc-14  
   +12     .     .     +12     +c  vmlinux.nommu_virt_defconfig.gcc-14  
    +8   +64     .     +72    +48  vmlinux.defconfig.clang-19           
    +8   +64     .     +72    +48  vmlinux.nosmp_defconfig.clang-19     
    +8   +64     .     +72    +48  vmlinux.rv32_defconfig.clang-19      
    +8   +96     .    +104    +68  vmlinux.rv32_nosmp_defconfig.clang-19
    +8   +64     .     +72    +48  vmlinux.nommu_virt_defconfig.clang-19
   +12   +96     .    +108    +6c  vmlinux.defconfig.gcc-13             
   +12   +96     .    +108    +6c  vmlinux.nosmp_defconfig.gcc-13       
   +12   +96     .    +108    +6c  vmlinux.rv32_defconfig.gcc-13        
   +12   +96     .    +108    +6c  vmlinux.rv32_nosmp_defconfig.gcc-13  
   +12   +64     .     +76    +4c  vmlinux.nommu_virt_defconfig.gcc-13  
    +8   +64     .     +72    +48  vmlinux.defconfig.clang-18           
    +8   +64     .     +72    +48  vmlinux.nosmp_defconfig.clang-18     
    +8   +96     .    +104    +68  vmlinux.rv32_defconfig.clang-18      
    +8   +64     .     +72    +48  vmlinux.rv32_nosmp_defconfig.clang-18
    +8     .     .      +8     +8  vmlinux.nommu_virt_defconfig.clang-18
   +12   +96     .    +108    +6c  vmlinux.defconfig.gcc-12             
   +12   +96     .    +108    +6c  vmlinux.nosmp_defconfig.gcc-12       
   +12   +64     .     +76    +4c  vmlinux.rv32_defconfig.gcc-12        
   +12   +96     .    +108    +6c  vmlinux.rv32_nosmp_defconfig.gcc-12  
   +12   +64     .     +76    +4c  vmlinux.nommu_virt_defconfig.gcc-12  
    +8   +64     .     +72    +48  vmlinux.defconfig.clang-17           
    +8   +96     .    +104    +68  vmlinux.nosmp_defconfig.clang-17     
    +8   +64     .     +72    +48  vmlinux.rv32_defconfig.clang-17      
    +8   +64     .     +72    +48  vmlinux.rv32_nosmp_defconfig.clang-17
    +8   +64     .     +72    +48  vmlinux.nommu_virt_defconfig.clang-17
   +12   +96     .    +108    +6c  vmlinux.defconfig.gcc-11             
   +12   +96     .    +108    +6c  vmlinux.nosmp_defconfig.gcc-11       
   +12   +64     .     +76    +4c  vmlinux.rv32_defconfig.gcc-11        
   +12   +96     .    +108    +6c  vmlinux.rv32_nosmp_defconfig.gcc-11  
   +12   +64     .     +76    +4c  vmlinux.nommu_virt_defconfig.gcc-11  
     .   +32     .     +32    +20  vmlinux.allnoconfig.gcc-15           
+57664  +172  -128  +57708  +e16c  vmlinux.allmodconfig.gcc-15          
     .     .     .       .      .  vmlinux.allnoconfig.clang-19         
+19812  -128   +64  +19748  +4d24  vmlinux.allmodconfig.clang-19        




More information about the linux-riscv mailing list