From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0E04B402447 for ; Wed, 10 Jun 2026 13:54:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781099652; cv=none; b=SCUGlWd4qI5TApnl/MPB2d7w0zIgMxKDHn/zQ+6GB3mk7bp1y7MlRaVRbnz1mUMEtRZMHmzoEAHq6o63mkxatVbwht0R1wyP3pPs1TJFAw22rjrcIRvH4CLkuFiducixE63+dIDeTQ79bMX+29Udrbj8xyED1HALnV6YtzT4rdc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781099652; c=relaxed/simple; bh=G20BQtcrcvPzMcxPZmaeE7Bo0+ejy8TRiGYAFkaT3ok=; h=Date:From:To:cc:Subject:Message-ID:MIME-Version:Content-Type; b=WEGqNuoOhNN2n/C19hBaHZrhmzB0z4FjbXCBJWi1terfvQToft43y+UNvQ7rSEW5JobbFPU0AuNVbe/0yVpum/Qh0vrkUVRnpfQRru2Zfc9xM3q4+uCqrqEhjYuIuKZHuiqMtqg/M149MOH9Nugczsa1027h99eXz4MpMGcZuss= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Uan/sbO8; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Uan/sbO8" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AB13E1F00893; Wed, 10 Jun 2026 13:54:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1781099650; bh=8QSHoW2zLX0oNe4UWCDvapCeq4OUxvmDv1wcVHhGoek=; h=Date:From:To:cc:Subject; b=Uan/sbO8x0C1+2lqsqaHN4aKSX1bf0PaJ2ZWRFkzGezd3XpLAxirWtDb0b29ggMyd jQoFLKhqAgbIZvHpl7BN5/Pyy+yP7j0u1W/eaV1rQLXiEwFcXSqy+3CbNbACKWNzii iXzW/GrnmGDkPr1dL9SLrid+10qzBkH8BHyhw7cgJJSgBmk0LBv84emFHKwmFJVAPB m/9bVXTstBSdbOgk2nX70GEADz+VkW3uof2I72u30z63gYcppEsrOE9mNaXLDijowX Im7aIPXn6ZOrIONY50M125XTPbZXq0NPIoRBGHgeES+E2bKL5QHEjeMY1CQ3TmUj5P j8JqHkYZLuFHQ== Date: Wed, 10 Jun 2026 07:54:04 -0600 (MDT) From: Paul Walmsley 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 Message-ID: <740336ea-a076-86e0-0fad-2264f0448da2@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII 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