Linux-RISC-V Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Walmsley <pjw@kernel.org>
To: torvalds@linux-foundation.org
Cc: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: [GIT PULL] RISC-V updates for v7.1-rc8
Date: Wed, 10 Jun 2026 07:54:04 -0600 (MDT)	[thread overview]
Message-ID: <740336ea-a076-86e0-0fad-2264f0448da2@kernel.org> (raw)

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  

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

             reply	other threads:[~2026-06-10 13:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-10 13:54 Paul Walmsley [this message]
2026-06-10 19:22 ` [GIT PULL] RISC-V updates for v7.1-rc8 pr-tracker-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=740336ea-a076-86e0-0fad-2264f0448da2@kernel.org \
    --to=pjw@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-riscv@lists.infradead.org \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox