From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 4E2481A294 for ; Sun, 11 Jan 2026 01:50:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768096220; cv=none; b=VHxtv00CYoJxlvAKs4+PBy3dAvbyENeEFQjrukVtPc2OVzivQNm/+cEudA1SxG7TvpN1KxC39Mr3lfJRGBenuuz+TSMfyX+cA17calGtNl+WRbNOwB1WHr6sAzuVsmLcrKlTZxtsLzfGqxo3OcZ1KAC2KrPYL6RCTWTd1ZKTTgM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768096220; c=relaxed/simple; bh=gbLRuD/XttFXAx0oretzFcowIx7NCA+g/TUGnvMErIc=; h=Date:From:To:cc:Subject:Message-ID:MIME-Version:Content-Type; b=lZG1SrynFJLBZy0HD5V6yQyXVeIPbTqxlHA8565EEHEPn/4i8iBuOK6o2mIH5xMXWwFumCg5yvSOwlukzAMifYXLrRM1gT807uRL/TTR2FEqKDMbmJMr4n/CDzQfPQjAMBdffnuU2lAiU9PAitOOLhWE7N8mx+bJwp+ibG443hA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=jt5B2wiX; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="jt5B2wiX" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E2F05C4CEF1; Sun, 11 Jan 2026 01:50:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1768096220; bh=gbLRuD/XttFXAx0oretzFcowIx7NCA+g/TUGnvMErIc=; h=Date:From:To:cc:Subject:From; b=jt5B2wiXs56sVy49lKK27NVu3ezjdSoA3CAsE0o3O7A2FDuqNIxdey1B1qJ4IZVj6 DbHKAF6aq6UHjl3Wzu3ghLXTGdZ2aI/ozKwrypXi5peBL5nQlUoBqlTnii016xAv7T xqUzT6WCZwObDsLQQa2YUIzZchM/OU1dg2eQgWz5tBE53GJo8KaWD04EJHV9oBvu/b khNk1M4GT4q6aDEW6GxirARLLsG1/07dCUFELVHuEsxcf9hkbx9A3VtTAHxeZXvO1/ HhwRkbWuS7sFFZByxbff6gfA/0jk1j/PZEk8bNa53khvobLMEwgL+mjbnf2K2PqkPf TnJGrCl2yYyRw== Date: Sat, 10 Jan 2026 18:50:16 -0700 (MST) From: Paul Walmsley To: torvalds@linux-foundation.org cc: linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Subject: [GIT PULL] RISC-V updates for v6.19-rc5 Message-ID: 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 RISC-V updates for v6.19-rc5. Notable changes include a fix to close one common microarchitectural attack vector for out-of-order cores. Another patch exposed an omission in my boot test coverage, which is currently missing relocatable kernels. Otherwise, the fixes seem to be settling down for us. The following changes since commit f8f9c1f4d0c7a64600e2ca312dec824a0bc2f1da: Linux 6.19-rc3 (2025-12-28 13:24:26 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux tags/riscv-for-linus-6.19-rc5 for you to fetch changes up to b0d7f5f0c9f05f1b6d4ee7110f15bef9c11f9df0: riscv: trace: fix snapshot deadlock with sbi ecall (2026-01-07 13:25:56 -0700) - Paul ---------------------------------------------------------------- RISC-V updates for v6.19-rc5 - Fix CONFIG_RELOCATABLE=y boots by building Image files from vmlinux, rather than vmlinux.unstripped, now that the .modinfo section is included in vmlinux.unstripped. - Prevent branch predictor poisoning microarchitectural attacks that use the syscall index as a vector by using array_index_nospec() to clamp the index after the bounds check (as x86 and ARM64 already do). - Fix a crash in test_kprobes when building with Clang. - Fix a deadlock possible when tracing is enabled for SBI ecalls. - Fix the definition of the Zk standard RISC-V ISA extension bundle, which was missing the Zknh extension. - A few other miscellaneous non-functional cleanups, removing unused macros, fixing an out-of-date path in code comments, resolving a compile-time warning for a type mismatch in a pr_crit(), and removing an unnecessary header file inclusion. ---------------------------------------------------------------- Ben Dooks (1): riscv: cpu_ops_sbi: smp_processor_id() returns int, not unsigned int Guo Ren (Alibaba DAMO Academy) (1): riscv: pgtable: Cleanup useless VA_USER_XXX definitions Guodong Xu (1): riscv: cpufeature: Fix Zk bundled extension missing Zknh Jiakai Xu (1): riscv: fix KUnit test_kprobes crash when building with Clang Lukas Bulwahn (1): riscv: configs: Clean up references to non-existing configs Lukas Gerlach (1): riscv: Sanitize syscall table indexing under speculation Martin Kaiser (1): riscv: trace: fix snapshot deadlock with sbi ecall Soham Metha (1): riscv: kexec_image: Fix dead link to boot-image-header.rst Vivian Wang (1): riscv: boot: Always make Image from vmlinux, not vmlinux.unstripped Yunhui Cui (1): riscv: remove irqflags.h inclusion in asm/bitops.h arch/riscv/boot/Makefile | 4 ---- arch/riscv/configs/nommu_k210_defconfig | 2 -- arch/riscv/configs/nommu_k210_sdcard_defconfig | 1 - arch/riscv/configs/nommu_virt_defconfig | 1 - arch/riscv/include/asm/bitops.h | 1 - arch/riscv/include/asm/pgtable.h | 4 ---- arch/riscv/kernel/Makefile | 15 +++++++------- arch/riscv/kernel/cpu_ops_sbi.c | 2 +- arch/riscv/kernel/cpufeature.c | 23 +++++++++++----------- arch/riscv/kernel/kexec_image.c | 2 +- arch/riscv/kernel/tests/kprobes/test-kprobes-asm.S | 2 ++ arch/riscv/kernel/traps.c | 4 +++- 12 files changed, 26 insertions(+), 35 deletions(-) vmlinux size differences in bytes (from f8f9c1f4d0c7): text data bss dec hex filename +12 +128 . +140 +8c vmlinux.defconfig.gcc-15 +20 +64 . +84 +54 vmlinux.nosmp_defconfig.gcc-15 +20 +128 . +148 +94 vmlinux.rv32_defconfig.gcc-15 +16 +160 . +176 +b0 vmlinux.rv32_nosmp_defconfig.gcc-15 +16 +64 . +80 +50 vmlinux.nommu_virt_defconfig.gcc-15 +44 +96 . +140 +8c vmlinux.defconfig.clang-20 +44 +160 . +204 +cc vmlinux.nosmp_defconfig.clang-20 +44 +192 . +236 +ec vmlinux.rv32_defconfig.clang-20 +44 +96 . +140 +8c vmlinux.rv32_nosmp_defconfig.clang-20 +44 +64 . +108 +6c vmlinux.nommu_virt_defconfig.clang-20 +20 +160 . +180 +b4 vmlinux.defconfig.gcc-14 +16 +64 . +80 +50 vmlinux.nosmp_defconfig.gcc-14 +12 +64 . +76 +4c vmlinux.rv32_defconfig.gcc-14 +16 +160 . +176 +b0 vmlinux.rv32_nosmp_defconfig.gcc-14 +16 +64 . +80 +50 vmlinux.nommu_virt_defconfig.gcc-14 +44 +160 . +204 +cc vmlinux.defconfig.clang-19 +44 +160 . +204 +cc vmlinux.nosmp_defconfig.clang-19 +44 +160 . +204 +cc vmlinux.rv32_defconfig.clang-19 +44 +128 . +172 +ac vmlinux.rv32_nosmp_defconfig.clang-19 +44 . . +44 +2c vmlinux.nommu_virt_defconfig.clang-19 +12 +64 . +76 +4c vmlinux.defconfig.gcc-13 +12 +64 . +76 +4c vmlinux.nosmp_defconfig.gcc-13 +20 +128 . +148 +94 vmlinux.rv32_defconfig.gcc-13 +16 +128 . +144 +90 vmlinux.rv32_nosmp_defconfig.gcc-13 +16 +64 . +80 +50 vmlinux.nommu_virt_defconfig.gcc-13 +44 +192 . +236 +ec vmlinux.defconfig.clang-18 +44 +96 . +140 +8c vmlinux.nosmp_defconfig.clang-18 +44 +160 . +204 +cc vmlinux.rv32_defconfig.clang-18 +44 +160 . +204 +cc vmlinux.rv32_nosmp_defconfig.clang-18 +44 +64 . +108 +6c vmlinux.nommu_virt_defconfig.clang-18 +12 +64 . +76 +4c vmlinux.defconfig.gcc-12 +12 +64 . +76 +4c vmlinux.nosmp_defconfig.gcc-12 +12 +128 . +140 +8c vmlinux.rv32_defconfig.gcc-12 +12 +160 . +172 +ac vmlinux.rv32_nosmp_defconfig.gcc-12 +16 . . +16 +10 vmlinux.nommu_virt_defconfig.gcc-12 +44 +160 . +204 +cc vmlinux.defconfig.clang-17 +56 +96 . +152 +98 vmlinux.nosmp_defconfig.clang-17 +44 +96 . +140 +8c vmlinux.rv32_defconfig.clang-17 +44 +96 . +140 +8c vmlinux.rv32_nosmp_defconfig.clang-17 +36 . . +36 +24 vmlinux.nommu_virt_defconfig.clang-17 +8 +64 . +72 +48 vmlinux.defconfig.gcc-11 +16 +64 . +80 +50 vmlinux.nosmp_defconfig.gcc-11 +12 +96 . +108 +6c vmlinux.rv32_defconfig.gcc-11 +16 +160 . +176 +b0 vmlinux.rv32_nosmp_defconfig.gcc-11 +16 +64 . +80 +50 vmlinux.nommu_virt_defconfig.gcc-11 +16 . . +16 +10 vmlinux.allnoconfig.gcc-14 +128 +64 . +192 +c0 vmlinux.allmodconfig.gcc-14 +28 +32 . +60 +3c vmlinux.allnoconfig.clang-19 +8208 +408 +64 +8680 +21e8 vmlinux.allmodconfig.clang-19