[GIT PULL] RISC-V updates for v6.18-rc7

Paul Walmsley pjw at kernel.org
Fri Nov 21 17:37:44 PST 2025


Linus,

Please pull these RISC-V updates for v6.18-rc7.  v6.18 looks like it's 
settling down well for us.  Am currently expecting to have one additional 
fix with very limited scope coming in next week, after v6.18-rc7 is 
tagged.

To my eyes, the only notable patch in this PR is a patch to deal with MIPS 
getting their RISC-V/JEDEC vendor ID wrong.  Apparently this didn't affect 
their testing, because they've told us that their QEMU platform was also 
using the wrong vendor ID.  (They are fixing upstream QEMU.)  The patch 
that added the incorrect vendor ID only went in for the v6.18 merge 
window.  So the good news is that we can fix this before the final v6.18 
release is tagged.  Speaking with MIPS off-list, they've assured us that 
they will start testing on FPGA bitstreams now, so I hope this will be a 
closed issue going forward.


- Paul


The following changes since commit 4427259cc7f7571a157fbc9b5011e1ef6fe0a4a8:

  Merge tag 'riscv-for-linus-6.18-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux (2025-11-10 15:35:45 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux tags/riscv-for-linus-6.18-rc7

for you to fetch changes up to e2cb69263e797c0aa6676bcef23e9e27e44c83b0:

  tools: riscv: Fixed misalignment of CSR related definitions (2025-11-16 10:37:38 -0700)

----------------------------------------------------------------
RISC-V updates for v6.18-rc7

- Correct the MIPS RISC-V/JEDEC vendor ID.

- Fix the system shutdown behavior in the legacy case where
  CONFIG_RISCV_SBI_V01 is set, but the firmware implementation doesn't
  support the older v0.1 system shutdown method.

- Align some tools/ macro definitions with the corresponding kernel headers.

----------------------------------------------------------------
Chao-ying Fu (1):
      riscv: Update MIPS vendor id to 0x127

Chen Pei (1):
      tools: riscv: Fixed misalignment of CSR related definitions

Mayuresh Chitale (1):
      riscv: sbi: Prefer SRST shutdown over legacy

 arch/riscv/include/asm/vendorid_list.h | 2 +-
 arch/riscv/kernel/sbi.c                | 6 +++++-
 drivers/perf/riscv_pmu_sbi.c           | 2 +-
 tools/arch/riscv/include/asm/csr.h     | 5 +++--
 4 files changed, 10 insertions(+), 5 deletions(-)

vmlinux size differences in bytes (from 4427259cc7f7):
 text data bss   dec   hex filename                                     
    .    .   .     .     . vmlinux.defconfig.gcc-15                     
    .    .   .     .     . vmlinux.nosmp_defconfig.gcc-15               
    .    .   .     .     . vmlinux.rv32_defconfig.gcc-15                
    .    .   .     .     . vmlinux.rv32_nosmp_defconfig.gcc-15          
    .    .   .     .     . vmlinux.nommu_virt_defconfig.gcc-15          
    .    .   .     .     . vmlinux.defconfig.clang-20                   
    .    .   .     .     . vmlinux.nosmp_defconfig.clang-20             
    .    .   .     .     . vmlinux.rv32_defconfig.clang-20              
    .    .   .     .     . vmlinux.rv32_nosmp_defconfig.clang-20        
    .    .   .     .     . vmlinux.nommu_virt_defconfig.clang-20        
    .    .   .     .     . vmlinux.defconfig.gcc-14                     
    .    .   .     .     . vmlinux.nosmp_defconfig.gcc-14               
    .    .   .     .     . vmlinux.rv32_defconfig.gcc-14                
    .    .   .     .     . vmlinux.rv32_nosmp_defconfig.gcc-14          
    .    .   .     .     . vmlinux.nommu_virt_defconfig.gcc-14          
    .    .   .     .     . vmlinux.defconfig.clang-19                   
    .    .   .     .     . vmlinux.nosmp_defconfig.clang-19             
    .    .   .     .     . vmlinux.rv32_defconfig.clang-19              
    .    .   .     .     . vmlinux.rv32_nosmp_defconfig.clang-19        
    .    .   .     .     . vmlinux.nommu_virt_defconfig.clang-19        
    .    .   .     .     . vmlinux.defconfig.gcc-13                     
    .    .   .     .     . vmlinux.nosmp_defconfig.gcc-13               
    .    .   .     .     . vmlinux.rv32_defconfig.gcc-13                
    .    .   .     .     . vmlinux.rv32_nosmp_defconfig.gcc-13          
    .    .   .     .     . vmlinux.nommu_virt_defconfig.gcc-13          
    .    .   .     .     . vmlinux.defconfig.clang-18                   
    .    .   .     .     . vmlinux.nosmp_defconfig.clang-18             
    .    .   .     .     . vmlinux.rv32_defconfig.clang-18              
    .    .   .     .     . vmlinux.rv32_nosmp_defconfig.clang-18        
    .    .   .     .     . vmlinux.nommu_virt_defconfig.clang-18        
    .    .   .     .     . vmlinux.defconfig.gcc-12                     
    .    .   .     .     . vmlinux.nosmp_defconfig.gcc-12               
    .    .   .     .     . vmlinux.rv32_defconfig.gcc-12                
    .    .   .     .     . vmlinux.rv32_nosmp_defconfig.gcc-12          
    .    .   .     .     . vmlinux.nommu_virt_defconfig.gcc-12          
    .    .   .     .     . vmlinux.defconfig.clang-17                   
    .    .   .     .     . vmlinux.nosmp_defconfig.clang-17             
    .    .   .     .     . vmlinux.rv32_defconfig.clang-17              
    .    .   .     .     . vmlinux.rv32_nosmp_defconfig.clang-17        
    .    .   .     .     . vmlinux.nommu_virt_defconfig.clang-17        
    .    .   .     .     . vmlinux.defconfig.clang-15.patched           
    .    .   .     .     . vmlinux.nosmp_defconfig.clang-15.patched     
    .    .   .     .     . vmlinux.rv32_defconfig.clang-15.patched      
    .    .   .     .     . vmlinux.rv32_nosmp_defconfig.clang-15.patched
    .    .   .     .     . vmlinux.nommu_virt_defconfig.clang-15.patched
    .    .   .     .     . vmlinux.defconfig.gcc-11                     
    .    .   .     .     . vmlinux.nosmp_defconfig.gcc-11               
    .    .   .     .     . vmlinux.rv32_defconfig.gcc-11                
    .    .   .     .     . vmlinux.rv32_nosmp_defconfig.gcc-11          
    .    .   .     .     . vmlinux.nommu_virt_defconfig.gcc-11          
    .    .   .     .     . vmlinux.allnoconfig.gcc-14                   
    .    .   .     .     . vmlinux.allmodconfig.gcc-14                  
    .    .   .     .     . vmlinux.allnoconfig.clang-19                 



More information about the linux-riscv mailing list