RISC-V updates for v6.18-rc6
Paul Walmsley
maintainerLinus,
The following changes since commit 225a97d6d45456a7627633da09cb842a43ef1b85:
Merge tag 'riscv-for-linus-6.18-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux (2025-11-06 15:44:18 -0800)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux tags/riscv-for-linus-6.18-rc6
for you to fetch changes up to dc20452e6caf962f04ede7f364267b0c37784ab4:
riscv: Fix CONFIG_AS_HAS_INSN for new .insn usage (2025-11-07 17:39:07 -0700)
- Paul
----------------------------------------------------------------
RISC-V updates for v6.18-rc6
RISC-V updates for v6.18-rc6, including:
- A fix for a commit in v6.18-rc5 that broke the build on clang versions earlier than 19 and binutils versions earlier than 2.38. (This exposed that we're not properly testing earlier toolchain versions in our linux-next builds and PR submissions. This was fixed for this PR, and is being addressed more generally for -next builds.)
- A fix to remove some redundant Makefile code
- A fix to avoid building Canaan Kendryte K210-specific code on targets that don't build for the K210
----------------------------------------------------------------
Feng Jiang (2):
riscv: Build loader.bin exclusively for Canaan K210
riscv: Remove redundant judgment for the default build target
Nathan Chancellor (1):
riscv: Fix CONFIG_AS_HAS_INSN for new .insn usage
arch/riscv/Kconfig | 2 +- arch/riscv/Makefile | 17 +---------------- 2 files changed, 2 insertions(+), 17 deletions(-)
vmlinux size differences in bytes (from 225a97d6d454):
text data bss dec hex filename
. . . . . vmlinux.defconfig.gcc-15
. . . . . vmlinux.nosmp_defconfig.gcc-15
. . . . . vmlinux.rv32_defconfig.gcc-15
. . . . . vmlinux.rv32_nosmp_defconfig.gcc-15
. . . . . vmlinux.nommu_virt_defconfig.gcc-15
. . . . . vmlinux.defconfig.clang-20
. . . . . vmlinux.nosmp_defconfig.clang-20
. . . . . vmlinux.rv32_defconfig.clang-20
. . . . . vmlinux.rv32_nosmp_defconfig.clang-20
. . . . . vmlinux.nommu_virt_defconfig.clang-20
. . . . . vmlinux.defconfig.gcc-14
. . . . . vmlinux.nosmp_defconfig.gcc-14
. -32 . -32 -20 vmlinux.rv32_defconfig.gcc-14
. . . . . vmlinux.rv32_nosmp_defconfig.gcc-14
. . . . . vmlinux.nommu_virt_defconfig.gcc-14
. . . . . vmlinux.defconfig.clang-19
. . . . . vmlinux.nosmp_defconfig.clang-19
. . . . . vmlinux.rv32_defconfig.clang-19
. . . . . vmlinux.rv32_nosmp_defconfig.clang-19
. . . . . vmlinux.nommu_virt_defconfig.clang-19
. . . . . vmlinux.defconfig.gcc-13
. . . . . vmlinux.nosmp_defconfig.gcc-13
. . . . . vmlinux.rv32_defconfig.gcc-13
. . . . . vmlinux.rv32_nosmp_defconfig.gcc-13
. . . . . vmlinux.nommu_virt_defconfig.gcc-13
+13049482 +6347237 +424189 +19820908 +12e716c vmlinux.defconfig.clang-18 [*] +12001864 +6160481 +409589 +18571934 +11b629e vmlinux.nosmp_defconfig.clang-18 [*] +12120907 +4807041 +312865 +17240813 +10712ed vmlinux.rv32_defconfig.clang-18 [*] +11098066 +4628736 +300841 +16027643 +f48ffb vmlinux.rv32_nosmp_defconfig.clang-18 [*]
+2775790 +760720 +123053 +3659563 +37d72b vmlinux.nommu_virt_defconfig.clang-18 [*]
. . . . . vmlinux.defconfig.gcc-12
. . . . . vmlinux.nosmp_defconfig.gcc-12
. . . . . vmlinux.rv32_defconfig.gcc-12
. . . . . vmlinux.rv32_nosmp_defconfig.gcc-12
. . . . . vmlinux.nommu_virt_defconfig.gcc-12 +13213594 +6340137 +424189 +19977920 +130d6c0 vmlinux.defconfig.clang-17 [*] +12131260 +6153709 +409589 +18694558 +11d419e vmlinux.nosmp_defconfig.clang-17 [*] +12252639 +4800965 +312865 +17366469 +108fdc5 vmlinux.rv32_defconfig.clang-17 [*] +11211650 +4621836 +300841 +16134327 +f630b7 vmlinux.rv32_nosmp_defconfig.clang-17 [*]
+2797158 +770580 +123053 +3690791 +385127 vmlinux.nommu_virt_defconfig.clang-17 [*]
. . . . . vmlinux.defconfig.gcc-11
. . . . . vmlinux.nosmp_defconfig.gcc-11
. -32 . -32 -20 vmlinux.rv32_defconfig.gcc-11
. -32 . -32 -20 vmlinux.rv32_nosmp_defconfig.gcc-11
. . . . . vmlinux.nommu_virt_defconfig.gcc-11
. . . . . vmlinux.allnoconfig.gcc-14
. . . . . vmlinux.allmodconfig.gcc-14
. . . . . vmlinux.allnoconfig.clang-19
. . . . . vmlinux.allmodconfig.clang-19[*] Build was broken before this patch series
The pull request you sent on Mon, 10 Nov 2025 13:41:32 -0700 (MST):
The pull request you sent on Mon, 10 Nov 2025 13:41:32 -0700 (MST):
Quoted 1 line
git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linuxtags/riscv-for-linus-6.18-rc6
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/4427259cc7f7571a157fbc9b5011e1ef6fe0a4a8
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html
This pull request was applied to riscv/linux.git (fixes) by Linus Torvalds <[email protected]>:
Hello:
This pull request was applied to riscv/linux.git (fixes) by Linus Torvalds <[email protected]>:
Quoted 9 lines · On Mon, 10 Nov 2025 13:41:32 -0700 (MST) you wrote:
Linus,
The following changes since commit
225a97d6d45456a7627633da09cb842a43ef1b85:Merge tag 'riscv-for-linus-6.18-rc5' of
git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux(2025-11-06 15:44:18 -0800)are available in the Git repository at:
[...]
Here is the summary with links:
- [GIT,PULL] RISC-V updates for v6.18-rc6
https://git.kernel.org/riscv/c/4427259cc7f7
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html