开源软件 Upstream 进展
AI 相关软件栈上游进展
8 月,AI 软件栈持续推进。其中,SpacemiT Triton 后端成功合入 FlagTree,为 SpacemiT 硬件提供 Triton 编程支持;llama.cpp 也继续围绕 Qwen3-ASR、多请求语音识别和并发调度能力迭代,进一步完善推理链路。
- SpacemiT Triton 后端合入 FlagTree:Triton-spacemit 后端进入 FlagOS 的 FlagTree 主分支,在
third_party/spacemit目录下提供后端实现,支持 SpacemiT 硬件执行 Triton 语言。 - SpacemiT llama.cpp 新增 Qwen3-ASR 多请求语音识别:
llama-server提供 OpenAI 兼容接口,支持多请求语音识别,以及并发音频编码与解码、连续 batching 和动态调度。
Linux Kernel Upstream
8 月,K1/K3 在 Linux kernel 上游支持继续推进。K1 CPU scaling、CPU core 最大电压、thermal shutdown 等补丁陆续合入;K3 的 I2S、USB、ethernet PHY、RTC、pinctrl、ASoC 等支持进入相关 maintainer tree。K3 display、UFS、PCIe、IMSIC、clock/reset、USB2 PHY 等补丁持续 review。
K1
merged:
- Milk-V Jupiter CPU scaling 部分补丁合入:
Making sure you're not a bot! - K1 各开发板 CPU core 最大电压修复合入:
Making sure you're not a bot! - K1 thermal shutdown 与注册顺序修复合入 thermal tree:
Making sure you're not a bot!
review:
- K1 三款开发板 CPU scaling:
Making sure you're not a bot! - K1 USB2 PHY Kconfig 修复与默认启用:
Making sure you're not a bot! - RISC-V defconfig 启用 DWC3 与 K1 thermal sensor:
https://lore.kernel.org/all/20260825052233.66850-1-bbanelli@gmail.com/
K3
merged:
- K3 ethernet PHY dtschema 修复合入:
https://lore.kernel.org/all/20260729012418.154652-1-inochiama@gmail.com/ - K3 I2S controller DTS nodes 合入:
Making sure you're not a bot! - K3 USB controller 与 USB PHY nodes 部分补丁合入:
https://lore.kernel.org/all/20260727094726.890179-1-inochiama@gmail.com/ - K3 I2S clock topology 与 divider 修复合入:
Making sure you're not a bot! - SpacemiT pinctrl pinconf 参数校验合入 pinctrl tree:
Making sure you're not a bot! - SpacemiT ASoC 冗余错误日志清理部分补丁合入 sound.git:
Making sure you're not a bot! - SpacemiT K1/K3 I2S MAINTAINERS 条目合入:
https://lore.kernel.org/all/20260804-spacemit-k1-k3-i2s-maintainers-v1-1-f19ac47e3a7f@linux.spacemit.com/ - SpacemiT ASoC 仅公布 DMA-backed DAI streams 合入:
Making sure you're not a bot! - SpacemiT RTC regmap_test_bits 错误处理合入 RTC tree:
Making sure you're not a bot!
review:
- K3 PCIe device node:
https://lore.kernel.org/all/20260727094726.890179-1-inochiama@gmail.com/ - OrangePi RV2 DTS nodes 排序:
Making sure you're not a bot! - Sensylink CTF2301 与 K3 CoM260 支持:
Making sure you're not a bot! - K3 UFS host controller 支持:
Making sure you're not a bot! - SpacemiT reset controller MAINTAINERS 条目:
Making sure you're not a bot! - K3 display 支持:
Making sure you're not a bot! - K3 PLL5/PLL8 1.8 GHz rates:
Making sure you're not a bot! - RVA23U64 hwprobe 与 K1/K3 Zic64b:
Making sure you're not a bot! - K3 PDMA extended DRCMR base 修复:
Making sure you're not a bot! - K3 M-level IMSIC guest properties 修复:
Making sure you're not a bot! - K3 IMSIC num-guest-ids 修复:
Making sure you're not a bot! - K3 Pico-ITX Bluetooth 与 WiFi 支持:
Making sure you're not a bot! - K3 clock 与 reset 支持:
Making sure you're not a bot!
板级 DTS / 设备支持:
- K3 I2S、USB、ethernet PHY、RTC、pinctrl、ASoC 等支持进入相关 maintainer tree。
通用修复:
- K3 display、UFS、PCIe、IMSIC、clock/reset、USB2 PHY 等补丁持续 review。
基础工具上游进展
8 月,基础工具与工具链生态持续完善。box64 围绕 RV64 dynarec、wrapper、ELF loader 和 bundle 能力合入多项修复与优化;riscv-gnu-toolchain 推进 LLVM、Flang、GDB、glibc 相关构建和版本升级;OpenOCD、riscv-tests、llvm-test-suite、V8 等项目继续补充 RISC-V 调试、测试和运行时修复。
box64
- [RV64_DYNAREC] 修复 HADDPS NaN 问题
https://github.com/ptitSeb/box64/pull/4149 - [CORE] 消除编译告警
https://github.com/ptitSeb/box64/pull/4155 - [RV64_DYNAREC] 修复 RDTSC 和 RDTSCP
https://github.com/ptitSeb/box64/pull/4190 - [RV64_DYNAREC] 为 ROUNDPD 增加 qNaN 处理
https://github.com/ptitSeb/box64/pull/4192 - [RV64_DYNAREC] 修复无 zbb 情况下 ANDN 和 BZHI opcode 错误
https://github.com/ptitSeb/box64/pull/4193 - [RV64_DYNAREC] 修复 emit_test32c 函数名拼写
https://github.com/ptitSeb/box64/pull/4203 - [WRAPPER] 修复 strlcat 和 strcpy 边界场景
https://github.com/ptitSeb/box64/pull/4204 - [WRAPPER] 修复 my_readlink
https://github.com/ptitSeb/box64/pull/4212 - [WRAPPER] 修复 my_wl_touch_listener_down 拼写
https://github.com/ptitSeb/box64/pull/4213 - [ELFLOADER] 修复 numDynamic 拼写
https://github.com/ptitSeb/box64/pull/4222 - [WRAPPER] 修复缺失参数问题
https://github.com/ptitSeb/box64/pull/4223 - [RV64_DYNAREC] 支持 VMOVDQU opcode
https://github.com/ptitSeb/box64/pull/4224 - 修复 #4214 报告的部分 UAF 问题
https://github.com/ptitSeb/box64/pull/4228 - [RV64_DYNAREC] 支持 ADCX opcode
https://github.com/ptitSeb/box64/pull/4234 - [WRAPPER] 修复 gpgme_data_new_from_cbs 的 UAF 问题
https://github.com/ptitSeb/box64/pull/4240 - [RV64_DYNAREC] 支持部分 VBROADCAST opcode
https://github.com/ptitSeb/box64/pull/4241 - [CORE] 修复 #4214 报告的部分 UAF 问题
https://github.com/ptitSeb/box64/pull/4246 - [CORE] 修复 #4214 报告的部分 panic 问题
https://github.com/ptitSeb/box64/pull/4248 - [WRAPPER] 修复 #4214 报告的部分逻辑问题
https://github.com/ptitSeb/box64/pull/4257 - [CORE] 修复 #4214 报告的部分逻辑问题
https://github.com/ptitSeb/box64/pull/4261 - [CORE] 修复 XkbNamesRec 原地转换问题
https://github.com/ptitSeb/box64/pull/4262 - [WRAPPER] 修复 #4214 报告的部分逻辑问题
https://github.com/ptitSeb/box64/pull/4264 - [RV64_DYNAREC] 支持 VMOVMSKPS opcode
https://github.com/ptitSeb/box64/pull/4269 - [ELFLOADER] 支持 versioned data symbols
https://github.com/ptitSeb/box64/pull/4274 - [WRAPPER] 包装部分 libc symbols
https://github.com/ptitSeb/box64/pull/4275 - [WRAPPER] 增加 gnutls 部分 symbols
https://github.com/ptitSeb/box64/pull/4276 - [WRAPPER] 支持 libopus.so
https://github.com/ptitSeb/box64/pull/4277 - [RV64_DYNAREC] 支持 PHSUBD 和 PEXTRB opcode
https://github.com/ptitSeb/box64/pull/4279 - [SYSCALL] 对齐 io_uring epoll events
https://github.com/ptitSeb/box64/pull/4283 - [CORE] 修复 #4214 报告的部分错误
https://github.com/ptitSeb/box64/pull/4292 - [RV64_DYNAREC] 支持 VPBROADCAST[B/W/D/Q] opcodes
https://github.com/ptitSeb/box64/pull/4294 - [WRAPPER] 修复 #4214 报告的部分错误
https://github.com/ptitSeb/box64/pull/4295 - [WRAPPER] 修复 #4214 报告的部分错误
https://github.com/ptitSeb/box64/pull/4297 - [WRAPPER] 修复 #4124 报告的部分错误
https://github.com/ptitSeb/box64/pull/4306 - [WRAPPER] 修复 GLib vprintf-family wrappers 的相关问题
https://github.com/ptitSeb/box64/pull/4309 - [WRAPPER] 修复 #4214 报告的参数错误
https://github.com/ptitSeb/box64/pull/4326 - [BUNDLE] 增加 libgfortran5 和 libquadmath0
https://github.com/ptitSeb/box64/pull/4254 - [WRAPPER] 处理 myStackAlign* 中的 # 格式
https://github.com/ptitSeb/box64/pull/4263
felix86
- 在 Linux 上基于 getdents64 实现 x86_64 getdents syscall:
https://github.com/OFFTKP/felix86/pull/641
llvm-test-suite
- [SPEC] 修复 gobmk 与 -fwrapv-pointer 相关问题:
https://github.com/llvm/llvm-test-suite/pull/461
openocd
- target/riscv:校验同一 debug module 下 hart index 唯一性:
https://review.openocd.org/c/openocd/+/9814 - target/riscv:添加 dcsr cetrig 控制:
https://review.openocd.org/c/openocd/+/9223
riscv-tests
- 添加 DCSR.MPRVEN 测试:
https://github.com/riscv-software-src/riscv-tests/pull/655 - [debug] DisconnectTest 中忽略 dscratch* registers:
https://github.com/riscv-software-src/riscv-tests/pull/656
riscv-gnu-toolchain
- 启用 LLVM Polly:
https://github.com/riscv-collab/riscv-gnu-toolchain/pull/1880 - 引入 LLVM_ASMFLAGS_FOR_TARGET:
https://github.com/riscv-collab/riscv-gnu-toolchain/pull/1887 - 升级 GDB 至 gdb-17.2-release:
https://github.com/riscv-collab/riscv-gnu-toolchain/pull/1895 - CI:将 Flang 编译任务限制应用到所有 OS 版本:
https://github.com/riscv-collab/riscv-gnu-toolchain/pull/1896 - 升级 glibc 至 2.44:
https://github.com/riscv-collab/riscv-gnu-toolchain/pull/1897
chipStar
- tests:在 promoteInt 测试中使用 resolved LLVM_SPIRV:
https://github.com/CHIP-SPV/chipStar/pull/1388
V8
- [riscv] 修复 AtomicStoreTaggedPointer 和 AtomicStore fence 顺序:
https://chromium-review.googlesource.com/c/v8/v8/+/8190694 - [riscv] 修复部分寄存器使用问题:
https://chromium-review.googlesource.com/c/v8/v8/+/8253281 - [riscv] 在 pointer compression 下修复 Smi int32 检查:
https://chromium-review.googlesource.com/c/v8/v8/+/8236678 - [riscv] 避免覆盖仍在使用的输入寄存器:
https://chromium-review.googlesource.com/c/v8/v8/+/8263861 - [riscv] 修复整数 mask 与 pointer branch comparison:
https://chromium-review.googlesource.com/c/v8/v8/+/8265241 - [riscv] 按 value width 存储 Liftoff constants:
https://chromium-review.googlesource.com/c/v8/v8/+/8267767 - [riscv] 修复 tagged 和 compressed values 的 atomic stores:
https://chromium-review.googlesource.com/c/v8/v8/+/8267768 - [riscv] 修复 emulator sNaN 检查:
https://chromium-review.googlesource.com/c/v8/v8/+/8253666
OpenSBI
- SpacemiT K3 platform 支持更新至 v3:
https://lore.kernel.org/all/20260827-spacemit-k3-v3-0-5d8dbb68539d@linux.spacemit.com/
已根据 v2 review 更新 expected-trap、hart init 与 RV64-only build,等待 review。