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.2-rc3
Date: Sun, 12 Jul 2026 11:35:34 -0600 (MDT) [thread overview]
Message-ID: <3eee4a66-e241-8779-e99d-2403abe88433@kernel.org> (raw)
Linus,
Please pull these RISC-V updates for v7.2-rc3. From a maintenance point
of view, the most notable change involves the rseq kselftest common
Makefile (as it is not RISC-V-specific). The basic approach in the patch
appears similar to one used in the KVM and S390 selftests (grep for
LINUX_TOOL_ARCH_INCLUDE and SUBARCH), and the rseq kselftests pass a quick
build test on x86 after this patch is applied.
thanks,
- Paul
The following changes since commit 8cdeaa50eae8dad34885515f62559ee83e7e8dda:
Linux 7.2-rc2 (2026-07-05 14:44:06 -1000)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux tags/riscv-for-linus-7.2-rc3
for you to fetch changes up to 58a37e7317b06665e21609a2f867a9962e9e2919:
selftests/riscv: ptrace: Fix memory leak of regset_data in vector tests (2026-07-10 09:32:35 -0600)
----------------------------------------------------------------
RISC-V updates for v7.2-rc3
- Avoid a null pointer deference in machine_kexec_prepare() that the
IMA subsystem can trigger
- Bypass libc in part of the ptrace_v_not_enabled kselftest to avoid
noise from child atfork handlers that libc might run
- Include Kconfig support for UltraRISC SoCs, already referenced by
some device drivers; and enable it in our defconfig
- Fix the build of the rseq kselftest for RISC-V by borrowing a
technique from the KVM and S390 kselftests that includes
arch-specific header files from tools/arch/<arch>/include
- Fix some memory leaks in the RISC-V vector ptrace kselftests
- Clean up some DT bindings and hwprobe documentation
----------------------------------------------------------------
Andrew Jones (2):
selftests: riscv: Bypass libc in inactive vector ptrace test
riscv: hwprobe.rst: Make indentation consistent
Guodong Xu (2):
dt-bindings: riscv: sort multi-letter Z extensions alphanumerically
riscv: hwprobe.rst: Document EXT_ZICFISS and EXT_ZICFILP
Hui Wang (1):
selftests/rseq: Fix a building error for riscv arch
Jia Wang (2):
riscv: add UltraRISC SoC family Kconfig support
riscv: defconfig: enable ARCH_ULTRARISC
Tao Liu (1):
riscv: Prevent NULL pointer dereference in machine_kexec_prepare()
Wang Yan (1):
selftests/riscv: ptrace: Fix memory leak of regset_data in vector tests
Documentation/arch/riscv/hwprobe.rst | 204 +++++++++++----------
.../devicetree/bindings/riscv/extensions.yaml | 184 +++++++++----------
arch/riscv/Kconfig.socs | 6 +
arch/riscv/configs/defconfig | 1 +
arch/riscv/kernel/machine_kexec.c | 3 +
.../selftests/riscv/vector/validate_v_ptrace.c | 15 +-
tools/testing/selftests/rseq/Makefile | 6 +-
7 files changed, 222 insertions(+), 197 deletions(-)
vmlinux size differences in bytes (from 8cdeaa50eae8):
text data bss dec hex filename
+3054 +4604 . +7658 +1dea vmlinux.defconfig.gcc-16
. +4160 . +4160 +1040 vmlinux.nosmp_defconfig.gcc-16
+3154 +3316 . +6470 +1946 vmlinux.rv32_defconfig.gcc-16
. +96 . +96 +60 vmlinux.rv32_nosmp_defconfig.gcc-16
. +64 . +64 +40 vmlinux.nommu_virt_defconfig.gcc-16
+2930 +4620 . +7550 +1d7e vmlinux.defconfig.clang-20
. +64 . +64 +40 vmlinux.nosmp_defconfig.clang-20
+3014 +2952 . +5966 +174e vmlinux.rv32_defconfig.clang-20
. +64 . +64 +40 vmlinux.rv32_nosmp_defconfig.clang-20
. . . . . vmlinux.nommu_virt_defconfig.clang-20
+3086 +4604 . +7690 +1e0a vmlinux.defconfig.gcc-15
. +96 . +96 +60 vmlinux.nosmp_defconfig.gcc-15
+2674 +3284 . +5958 +1746 vmlinux.rv32_defconfig.gcc-15
. +96 . +96 +60 vmlinux.rv32_nosmp_defconfig.gcc-15
. . . . . vmlinux.nommu_virt_defconfig.gcc-15
+3070 +4604 . +7674 +1dfa vmlinux.defconfig.gcc-14
. +64 . +64 +40 vmlinux.nosmp_defconfig.gcc-14
+2682 +3316 . +5998 +176e vmlinux.rv32_defconfig.gcc-14
. +64 . +64 +40 vmlinux.rv32_nosmp_defconfig.gcc-14
. . . . . vmlinux.nommu_virt_defconfig.gcc-14
+2962 +4588 . +7550 +1d7e vmlinux.defconfig.clang-19
. +64 . +64 +40 vmlinux.nosmp_defconfig.clang-19
+3018 +2956 . +5974 +1756 vmlinux.rv32_defconfig.clang-19
. +64 . +64 +40 vmlinux.rv32_nosmp_defconfig.clang-19
. +64 . +64 +40 vmlinux.nommu_virt_defconfig.clang-19
+3070 +4604 . +7674 +1dfa vmlinux.defconfig.gcc-13
. +96 . +96 +60 vmlinux.nosmp_defconfig.gcc-13
+2674 +3316 . +5990 +1766 vmlinux.rv32_defconfig.gcc-13
. +64 . +64 +40 vmlinux.rv32_nosmp_defconfig.gcc-13
. +64 . +64 +40 vmlinux.nommu_virt_defconfig.gcc-13
+2954 +8684 . +11638 +2d76 vmlinux.defconfig.clang-18
. +96 . +96 +60 vmlinux.nosmp_defconfig.clang-18
+3074 +3500 . +6574 +19ae vmlinux.rv32_defconfig.clang-18
. +96 . +96 +60 vmlinux.rv32_nosmp_defconfig.clang-18
. . . . . vmlinux.nommu_virt_defconfig.clang-18
+3046 +4668 . +7714 +1e22 vmlinux.defconfig.gcc-12
. +64 . +64 +40 vmlinux.nosmp_defconfig.gcc-12
+3114 +3380 . +6494 +195e vmlinux.rv32_defconfig.gcc-12
. +64 . +64 +40 vmlinux.rv32_nosmp_defconfig.gcc-12
. +64 . +64 +40 vmlinux.nommu_virt_defconfig.gcc-12
+2970 +4556 . +7526 +1d66 vmlinux.defconfig.clang-17
. +4160 . +4160 +1040 vmlinux.nosmp_defconfig.clang-17
+3054 +2956 . +6010 +177a vmlinux.rv32_defconfig.clang-17
. +96 . +96 +60 vmlinux.rv32_nosmp_defconfig.clang-17
. +64 . +64 +40 vmlinux.nommu_virt_defconfig.clang-17
+3062 +4636 . +7698 +1e12 vmlinux.defconfig.gcc-11
. +64 . +64 +40 vmlinux.nosmp_defconfig.gcc-11
+3114 +3316 . +6430 +191e vmlinux.rv32_defconfig.gcc-11
. +96 . +96 +60 vmlinux.rv32_nosmp_defconfig.gcc-11
. . . . . vmlinux.nommu_virt_defconfig.gcc-11
. +32 . +32 +20 vmlinux.allnoconfig.gcc-15
-12848 +4460 +320 -8068 -1f84 vmlinux.allmodconfig.gcc-15
. . . . . vmlinux.allnoconfig.clang-19
-10608 +204 -64 -10468 -28e4 vmlinux.allmodconfig.clang-19
next reply other threads:[~2026-07-12 17:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-12 17:35 Paul Walmsley [this message]
2026-07-12 19:13 ` [GIT PULL] RISC-V updates for v7.2-rc3 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=3eee4a66-e241-8779-e99d-2403abe88433@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