lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <fc36548c-baa4-821d-24cd-2f645f7d9cec@kernel.org>
Date: Sun, 28 Dec 2025 01:18:38 -0700 (MST)
From: Paul Walmsley <pjw@...nel.org>
To: torvalds@...ux-foundation.org
cc: linux-riscv@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: [GIT PULL] RISC-V updates for v6.19-rc3

Linus,

Please pull these RISC-V updates for v6.20-rc3.  Nothing exotic here;
these are the cleanup and new ISA extension probing patches (not
including CFI) that were originally part of the second pull request in
the last merge window.

The following changes since commit 8f0b4cce4481fb22653697cced8d0d04027cb1e8:

  Linux 6.19-rc1 (2025-12-14 16:05:07 +1200)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux tags/riscv-for-linus-6.19-rc3

for you to fetch changes up to 5efaf92da4365cb8d1ae6dd7a2d1245c69e09ff5:

  riscv: Add SBI debug trigger extension and function ids (2025-12-19 00:22:30 -0700)


Happy holidays,

- Paul

----------------------------------------------------------------
RISC-V updates for v6.19-rc3

- Add probing and userspace reporting support for the standard RISC-V
  ISA extensions Zilsd and Zclsd, which implement load/store dual
  instructions on RV32

- Abstract the register saving code in setup_sigcontext() so it can be
  used for stateful RISC-V ISA extensions beyond the vector extension

- Add the SBI extension ID and some initial data structure definitions
  for the RISC-V standard SBI debug trigger extension

- Clean up some code slightly: change some page table functions to
  avoid atomic operations oinn !SMP and to avoid unnecessary casts to
  atomic_long_t; and use the existing RISCV_FULL_BARRIER macro in
  place of some open-coded "fence rw,rw" instructions

----------------------------------------------------------------
Andy Chiu (1):
      riscv: signal: abstract header saving for setup_sigcontext

Himanshu Chauhan (1):
      riscv: Add SBI debug trigger extension and function ids

Paul Walmsley (3):
      riscv: mm: pmdp_huge_get_and_clear(): avoid atomic ops when !CONFIG_SMP
      riscv: mm: ptep_get_and_clear(): avoid atomic ops when !CONFIG_SMP
      riscv: mm: use xchg() on non-atomic_long_t variables, not atomic_long_xchg()

Pincheng Wang (3):
      dt-bindings: riscv: add Zilsd and Zclsd extension descriptions
      riscv: add ISA extension parsing for Zilsd and Zclsd
      riscv: hwprobe: export Zilsd and Zclsd ISA extensions

Zongmin Zhou (1):
      riscv/atomic.h: use RISCV_FULL_BARRIER in _arch_atomic* function.

 Documentation/arch/riscv/hwprobe.rst               |  8 +++
 .../devicetree/bindings/riscv/extensions.yaml      | 36 +++++++++++++
 arch/riscv/include/asm/atomic.h                    |  8 +--
 arch/riscv/include/asm/hwcap.h                     |  2 +
 arch/riscv/include/asm/pgtable.h                   | 16 +++++-
 arch/riscv/include/asm/sbi.h                       | 29 ++++++++++
 arch/riscv/include/asm/vector.h                    |  3 ++
 arch/riscv/include/uapi/asm/hwprobe.h              |  3 ++
 arch/riscv/kernel/cpufeature.c                     | 24 +++++++++
 arch/riscv/kernel/signal.c                         | 62 ++++++++++++++--------
 arch/riscv/kernel/sys_hwprobe.c                    |  2 +
 11 files changed, 166 insertions(+), 27 deletions(-)

vmlinux size differences in bytes (from 8f0b4cce4481):
 text   data  bss    dec   hex filename                             
  -40   +224    .   +184   +b8 vmlinux.defconfig.gcc-15             
 -576    +64    .   -512  -200 vmlinux.nosmp_defconfig.gcc-15       
 +192   +276    .   +468  +1d4 vmlinux.rv32_defconfig.gcc-15        
 -392   +212    .   -180   -b4 vmlinux.rv32_nosmp_defconfig.gcc-15  
 +411   +192    .   +603  +25b vmlinux.nommu_virt_defconfig.gcc-15  
 +184   +160    .   +344  +158 vmlinux.defconfig.clang-20           
-1092   +480    .   -612  -264 vmlinux.nosmp_defconfig.clang-20     
 +200   +288    .   +488  +1e8 vmlinux.rv32_defconfig.clang-20      
-1100   +224    .   -876  -36c vmlinux.rv32_nosmp_defconfig.clang-20
 +443   +128    .   +571  +23b vmlinux.nommu_virt_defconfig.clang-20
 +240   +480    .   +720  +2d0 vmlinux.defconfig.gcc-14             
 -696   +320    .   -376  -178 vmlinux.nosmp_defconfig.gcc-14       
 +216   +340    .   +556  +22c vmlinux.rv32_defconfig.gcc-14        
 -592   +244    .   -348  -15c vmlinux.rv32_nosmp_defconfig.gcc-14  
 +403   +192    .   +595  +253 vmlinux.nommu_virt_defconfig.gcc-14  
 +192   +224    .   +416  +1a0 vmlinux.defconfig.clang-19           
-1124   +480    .   -644  -284 vmlinux.nosmp_defconfig.clang-19     
 +216   +224    .   +440  +1b8 vmlinux.rv32_defconfig.clang-19      
-1076   +224    .   -852  -354 vmlinux.rv32_nosmp_defconfig.clang-19
 +455   +128    .   +583  +247 vmlinux.nommu_virt_defconfig.clang-19
 +232   +384    .   +616  +268 vmlinux.defconfig.gcc-13             
 -824   +384    .   -440  -1b8 vmlinux.nosmp_defconfig.gcc-13       
 +192   +276    .   +468  +1d4 vmlinux.rv32_defconfig.gcc-13        
 -680   +276    .   -404  -194 vmlinux.rv32_nosmp_defconfig.gcc-13  
 +411   +256    .   +667  +29b vmlinux.nommu_virt_defconfig.gcc-13  
 +196   +224    .   +420  +1a4 vmlinux.defconfig.clang-18           
-1012   +416    .   -596  -254 vmlinux.nosmp_defconfig.clang-18     
 +224   +288    .   +512  +200 vmlinux.rv32_defconfig.clang-18      
-1068   +256    .   -812  -32c vmlinux.rv32_nosmp_defconfig.clang-18
 +451   +192    .   +643  +283 vmlinux.nommu_virt_defconfig.clang-18
 +168   +384    .   +552  +228 vmlinux.defconfig.gcc-12             
 -800   +352    .   -448  -1c0 vmlinux.nosmp_defconfig.gcc-12       
 +104   +340    .   +444  +1bc vmlinux.rv32_defconfig.gcc-12        
 -720   +244    .   -476  -1dc vmlinux.rv32_nosmp_defconfig.gcc-12  
 +395   +192    .   +587  +24b vmlinux.nommu_virt_defconfig.gcc-12  
 +208   +224    .   +432  +1b0 vmlinux.defconfig.clang-17           
-1076   +416    .   -660  -294 vmlinux.nosmp_defconfig.clang-17     
 +224   +256    .   +480  +1e0 vmlinux.rv32_defconfig.clang-17      
-1068   +224    .   -844  -34c vmlinux.rv32_nosmp_defconfig.clang-17
 +447   +128    .   +575  +23f vmlinux.nommu_virt_defconfig.clang-17
 +176   +416    .   +592  +250 vmlinux.defconfig.gcc-11             
 -880   +352    .   -528  -210 vmlinux.nosmp_defconfig.gcc-11       
   -8   +244    .   +236   +ec vmlinux.rv32_defconfig.gcc-11        
 -824   +276    .   -548  -224 vmlinux.rv32_nosmp_defconfig.gcc-11  
 +411 +12544    . +12955 +329b vmlinux.nommu_virt_defconfig.gcc-11  
  +32  -3840    .  -3808  -ee0 vmlinux.allnoconfig.gcc-14           
 +603   +320    .   +923  +39b vmlinux.allmodconfig.gcc-14          
  -40    +64    .    +24   +18 vmlinux.allnoconfig.clang-19         
+5935   +832 -120  +6647 +19f7 vmlinux.allmodconfig.clang-19        


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ