A strong October for the RISC-V software stack: 356 commits across 13 projects. The most active projects were LLVM (RISC-V) (163), Linux Kernel (RISC-V) (78), QEMU (RISC-V) (56). Software support advanced for Smnpm, Ssnpm, Zacas, Zbkb, Zfh, Zfinx, Zicboz, Zvfh. Virtualisation saw 24 KVM-related patches.
RISC-V International
The spec repos saw 65 commits this month, led by ISA Manual with 32 commits.
Spec Repository Activity
Repository
Commits
Contributors
ISA Manual
32
12
Profiles
18
3
SBI Spec
12
6
Debug Spec
3
2
Linux Kernel (RISC-V)
78
Commits
33
Contributors
2437
Lines Added
397
Lines Removed
Linux Kernel (RISC-V) had a solid month with 78 commits from 33 contributors. Leading the charge was Anup Patel with 13 commits. New feature work included 26 commits: "of/fdt: add dt_phys arg to early_init_dt_scan and early_init_dt_verify"; "RISC-V: KVM: Add common nested acceleration support". Platform and DT work accounted for 20 commits. Virtualisation work accounted for 19 patches, continuing to mature RISC-V KVM support. ISA extension work spanned 8 commits, touching Smnpm, Ssnpm, Zicboz.
26 New features & support20 Device tree / platform support19 KVM / Virtualisation8 ISA extensions8 Interrupt controllers (AIA/APLIC/PLIC)5 Bug fixes3 Performance optimisations2 Vector extension (RVV)1 Cleanup & refactoring
Notable Changes
RISC-V: Add defines for the SBI nested acceleration extension (5daf89e73d, Anup Patel)
riscv: KVM: add basic support for host vs guest profiling (eded6754f3, Quan Zhou)
riscv: defconfig: enable gpio support for TH1520 (5fb0ecf73e, Drew Fustini)
riscv: dts: sophgo: cv1812h: add pinctrl support (30003e3f80, Inochi Amaoto)
riscv: dts: sophgo: cv1800b: add pinctrl support (23c7816ddd, Inochi Amaoto)
riscv, bpf: Fix possible infinite tailcall when CONFIG_CFI_CLANG is enabled (30a59cc797, Pu Lehui)
asm-generic: provide generic page_to_phys and phys_to_page implementations (c5c3238d9b, Christoph Hellwig)
riscv: dts: sophgo: Add SARADC description for Sophgo CV1800B (and 2 more) (45a544a62e, Thomas Bonnefille)
of/fdt: add dt_phys arg to early_init_dt_scan and early_init_dt_verify (b2473a3597, Usama Arif)
riscv: Allow ptrace control of the tagged address ABI (and 7 more) (78844482a1, Samuel Holland)
A steady month for OpenSBI with 20 commits from 5 contributors. Leading the charge was Anup Patel with 9 commits. New feature work included 6 commits: "lib: sbi: add Smdbltrp ISA extension support"; "lib: sbi: implement firmware feature SBI_FWFT_DOUBLE_TRAP". AIA and interrupt controller work accounted for 2 patches. Virtualisation work accounted for 1 patch, continuing to mature RISC-V KVM support.
6 New features & support2 ISA extensions2 Interrupt controllers (AIA/APLIC/PLIC)1 KVM / Virtualisation1 Bug fixes1 Performance optimisations1 Device tree / platform support
Notable Changes
lib: sbi: add Smdbltrp ISA extension support (and 6 more) (c46a937fd9, Clément Léger)
lib: sbi: Add support to mask/unmask SSE events (b919daf495, Himanshu Chauhan)
lib: sbi_domain: Make sbi_domain_root_add_memregion() as local function (36c1e4064f, Anup Patel)
lib: sbi_domain: Use domain data support for per-domain hart context (f609fd8584, Anup Patel)
lib: utils/ipi: Use sbi_domain_root_add_memrange() for ACLINT mswi (8576ca4234, Anup Patel)
lib: utils/irqchip: Use sbi_domain_root_add_memrange() for APLIC (dc5d747af8, Anup Patel)
lib: utils/irqchip: Use sbi_domain_root_add_memrange() for IMSIC (abc68e881d, Anup Patel)
docs: Remove hartindex_to_context_table from domain_support.md (ebbd276146, Anup Patel)
include: sbi: Optimize reads of mhartid and mscratch (62447cd7aa, Samuel Holland)
lib: sbi: Introduce domain data (81d79913a0, Anup Patel)
lib: utils/fdt: Use sbi_domain_memregion_init() when parsing domains (2d517fce9b, Anup Patel)
include: sbi: Remove cyclic include in sbi_domain_context.h (65d4e9be95, Anup Patel)
lib: utils/gpio: designware: Allocate chips on the heap (3e0c170397, Samuel Holland)
lib: sbi: fix number of PMP entries detection (1a2e507d23, Vladimir Kondratiev)
A productive month for QEMU (RISC-V) with 56 commits from 20 contributors. Leading the charge was Deepak Gupta with 20 commits. New feature work included 24 commits: "hw/riscv/riscv-iommu: add DBG support"; "hw/riscv/riscv-iommu: add ATS support". Bug fixes accounted for 9 commits (16%). Virtualisation work accounted for 4 patches, continuing to mature RISC-V KVM support.
24 New features & support15 ISA extensions9 Bug fixes4 KVM / Virtualisation2 Interrupt controllers (AIA/APLIC/PLIC)1 Vector extension (RVV)1 Cleanup & refactoring
Notable Changes
target: riscv: Add Svvptc extension support (5b8764193b, Alexandre Ghiti)
target/riscv/cpu.c: Add 'fcsr' register to QEMU log as a part of F extension (af0b5b7b2a, Maria Klauchek)
target/riscv: Enable RV32 CPU support in RV64 QEMU (and 5 more) (e087bd4de3, TANG Tiancheng)
hw/riscv/riscv-iommu: add DBG support (and 2 more) (a7aa525b93, Tomasz Jeznach)
LLVM (RISC-V) saw heavy activity with 163 commits from 38 contributors. A hefty +45,594/-33,138 line diff. Craig Topper was the most active contributor with 42 commits. Backend and code generation work was the biggest theme at 40 commits. New feature work included 40 commits: "[RISCV] Add hasPostISelHook to sf.vfnrclip pseudo instructions. (#114274)"; "[RISCV] Add missing hasPostISelHook = 1 to vector pseudos that might read FRM. (#114186)". ISA extension work spanned 17 commits, touching Zbkb, Zfh, Zfinx, Zvfh, Zvfhmin.
40 Compiler backend / code generation40 New features & support38 Cleanup & refactoring17 ISA extensions15 Bug fixes13 Vector extension (RVV)4 Performance optimisations
Notable Changes
[RISCV] Add missing hasPostISelHook = 1 to vector pseudos that might read FRM. (#114186) (71b6f6b8a1, Craig Topper)
[RISCV][VLOPT] Update test cases to use riscv-enable-vl-optimizer and better formatting (a31e834ba8, Michael Maitland)
Reapply "[DAG] Enhance SDPatternMatch to match integer minimum and maximum patterns in addition to the existing ISD nodes." (#112203) (854ded9b24, c8ef)
Revert "[DAG] Enhance SDPatternMatch to match integer minimum and maximum patterns in addition to the existing ISD nodes." (#112200) (a3b0c31ebc, c8ef)
[RISCV][VLOPT] Add support for integer widening multiply instructions (#112204) (658ff0b84c, Michael Maitland)
[DAG] Enhance SDPatternMatch to match integer minimum and maximum patterns in addition to the existing ISD nodes. (#111774) (11f625cb87, c8ef)
[RISCV] Add lowering for @llvm.experimental.vector.compress (#113291) (b799cc3418, Pengcheng Wang)
Binutils (RISC-V) saw lighter activity with 7 commits from 4 contributors. Top contributor: Alan Modra with 4 commits. Work on Zacas accounted for 1 commit.
1 ISA extensions1 Bug fixes1 New features & support
Notable Changes
RISC-V: Dump instruction without checking architecture support as usual. (004a5bfc72, Nelson Chu)
Revert "is_target_special_symbol fixes for commit 68bbe1183379" (e022977bc5, Alan Modra)
is_target_special_symbol fixes for commit 68bbe1183379 (6e40f9bb31, Alan Modra)
gas: constify md_{short,long}opts and md_longopts_size (641cf0e2c0, Jan Beulich)
Revised "Don't return (null) from bfd_elf_sym_name" (124deb3101, Alan Modra)
RISC-V: Fix implicit dependency of Zabha and Zacas (542d8137f9, Xiao Zeng)
Replace uses of asprintf with xasprintf (86b26b453f, Alan Modra)
GDB (RISC-V) was quiet this month with 2 commits. Andrew Burgess was the driving force, authoring 2 of 2 commits (100%).
Notable Changes
Revert "gdbserver: pass osabi to GDB in target description" (a9ed7a0814, Andrew Burgess)
gdbserver: pass osabi to GDB in target description (98bcde5e26, Andrew Burgess)
Top Contributors
Author
Commits
Andrew Burgess
2
U-Boot (RISC-V)
17
Commits
9
Contributors
187
Lines Added
875
Lines Removed
U-Boot (RISC-V) saw moderate activity with 17 commits from 9 contributors. A net deletion month (+187/-875) — always satisfying. Top contributor: Simon Glass with 6 commits. Board and device tree support got 5 commits.
5 New features & support5 Device tree / platform support3 Cleanup & refactoring1 ISA extensions
Notable Changes
riscv: Add support for defining instructions (bfc8ca3f7f, Mayuresh Chitale)
cmd: sbi: Add FWFT, MPXY extensions (faf82cc695, Heinrich Schuchardt)
riscv: qemu: Explicitly advertise RVVM support (f5c6ac8aaf, LekKit)
riscv: add missing linefeed in error message (c1558743bf, Heinrich Schuchardt)