mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [GIT PULL] RISC-V updates for v7.1-rc8
@ 2026-06-10 13:54 Paul Walmsley
  2026-06-10 19:22 ` pr-tracker-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Walmsley @ 2026-06-10 13:54 UTC (permalink / raw)
  To: torvalds; +Cc: linux-riscv, linux-kernel

Linus,

Please pull these fixes for late v7.1-rc.  The most important fix
is for a performance regression in the RISC-V-specific 
implementation of the checksumming code, related
to when RISC-V systems probe unaligned access performance during boot.  
There is another fix to return -EinVaL when invalid flags are
passed to the CFI landing pad control prctl(); no existing software should 
rely on the previously-incorrect behavior.  Finally there is a fix for a 
warning when dumping core, also CFI-related.   

thanks,

- Paul


The following changes since commit 5200f5f493f79f14bbdc349e402a40dfb32f23c8:

  Linux 7.1-rc4 (2026-05-17 13:59:58 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux tags/riscv-for-linux-7.1-rc8

for you to fetch changes up to 15b4155138505669d3d43d7692459ee8ea2a86e7:

  riscv: cfi: reject unknown flags in PR_SET_CFI (2026-06-06 20:17:05 -0600)

----------------------------------------------------------------
RISC-V updates for v7.1-rc8

- Fix the implementation of the CFI branch landing pad control
  prctl()s to return -EINVAL if unknown control bits are set, rather
  than silently ignoring the request; and add a kselftest for this
  case

- Fix unaligned access performance testing to happen earlier in boot,
  which fixes a performance regression in the lib/checksum code

- Fix a binfmt_elf warning when dumping core (due to missing
  .core_note_name for CFI registers)

----------------------------------------------------------------
Andreas Schwab (1):
      riscv/ptrace: Use USER_REGSET_NOTE_TYPE for REGSET_CFI

Nam Cao (1):
      riscv: Fix fast_unaligned_access_speed_key not getting initialized

Richard Patel (1):
      riscv: cfi: reject unknown flags in PR_SET_CFI

 arch/riscv/include/asm/usercfi.h             |  1 +
 arch/riscv/kernel/ptrace.c                   |  2 +-
 arch/riscv/kernel/unaligned_access_speed.c   | 15 ++++-----------
 arch/riscv/kernel/usercfi.c                  |  3 +++
 tools/testing/selftests/riscv/cfi/cfitests.c |  6 ++++++
 5 files changed, 15 insertions(+), 12 deletions(-)

vmlinux size differences in bytes (from 5200f5f493f7):
text  data  bss   dec  hex  filename                             
 -12  +120    .  +108  +6c  vmlinux.defconfig.gcc-15             
  -8   +88    .   +80  +50  vmlinux.nosmp_defconfig.gcc-15       
 -20   +64    .   +44  +2c  vmlinux.rv32_defconfig.gcc-15        
 -20   +32    .   +12   +c  vmlinux.rv32_nosmp_defconfig.gcc-15  
 -40   +56    .   +16  +10  vmlinux.nommu_virt_defconfig.gcc-15  
 -20   +24    .    +4   +4  vmlinux.defconfig.clang-20           
  -8   +24    .   +16  +10  vmlinux.nosmp_defconfig.clang-20     
 -36   +64    .   +28  +1c  vmlinux.rv32_defconfig.clang-20      
  -8   +32    .   +24  +18  vmlinux.rv32_nosmp_defconfig.clang-20
 -28    -8    .   -36  -24  vmlinux.nommu_virt_defconfig.clang-20
 -28   +56    .   +28  +1c  vmlinux.defconfig.clang-17           
 -20   +88    .   +68  +44  vmlinux.nosmp_defconfig.clang-17     
 -24  +128    .  +104  +68  vmlinux.rv32_defconfig.clang-17      
 -20  +128    .  +108  +6c  vmlinux.rv32_nosmp_defconfig.clang-17
 -36   +56    .   +20  +14  vmlinux.nommu_virt_defconfig.clang-17
 -16   +56    .   +40  +28  vmlinux.defconfig.gcc-11             
 -24   +56    .   +32  +20  vmlinux.nosmp_defconfig.gcc-11       
 -20   +64    .   +44  +2c  vmlinux.rv32_defconfig.gcc-11        
 -24   +96    .   +72  +48  vmlinux.rv32_nosmp_defconfig.gcc-11  
 -44  +248    .  +204  +cc  vmlinux.nommu_virt_defconfig.gcc-11  

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [GIT PULL] RISC-V updates for v7.1-rc8
  2026-06-10 13:54 [GIT PULL] RISC-V updates for v7.1-rc8 Paul Walmsley
@ 2026-06-10 19:22 ` pr-tracker-bot
  0 siblings, 0 replies; 2+ messages in thread
From: pr-tracker-bot @ 2026-06-10 19:22 UTC (permalink / raw)
  To: Paul Walmsley; +Cc: torvalds, linux-riscv, linux-kernel

The pull request you sent on Wed, 10 Jun 2026 07:54:04 -0600 (MDT):

> git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux tags/riscv-for-linux-7.1-rc8

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/767622308a1d8b111038fca0059b964da1f6d9c4

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-06-10 19:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-10 13:54 [GIT PULL] RISC-V updates for v7.1-rc8 Paul Walmsley
2026-06-10 19:22 ` pr-tracker-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®