diff --git a/sig/RISCV_SIG/assets/SG2042_boot.png b/sig/RISCV_SIG/assets/SG2042_boot.png new file mode 100644 index 0000000000000000000000000000000000000000..c2a5246b77002d95fc20997200b3c7c02184b11a Binary files /dev/null and b/sig/RISCV_SIG/assets/SG2042_boot.png differ diff --git "a/sig/RISCV_SIG/content/Milk-V Pioneer(SG2042) \345\256\211\350\243\205 Anolis23.md" "b/sig/RISCV_SIG/content/Milk-V Pioneer(SG2042) \345\256\211\350\243\205 Anolis23.md" new file mode 100644 index 0000000000000000000000000000000000000000..bfdc63d7f344d560d58f6c7d2994bb238f6b87aa --- /dev/null +++ "b/sig/RISCV_SIG/content/Milk-V Pioneer(SG2042) \345\256\211\350\243\205 Anolis23.md" @@ -0,0 +1,26 @@ + +![](../assets/SG2042_boot.png) + +本部分提供两种安装方式 +1. 将 Anolis 镜像烧写在 SD Card 直接启动 +2. 将 Anolis 镜像烧写在 nvme 介质上启动 + +# 镜像地址 +https://mirrors.openanolis.cn/anolis/23.3/isos/GA/riscv64/AnolisOS-23.3-SG2042.img +# SD Card 启动 +将镜像直接烧写在 SD Card 中, +```shell +dd if=AnolisOS-23.3-SG2042.img of=/dev/mmcblkN bs=1M status=progress +``` +然后插入到 Milk-V 槽位后,复位机器即可 + +# nvme 启动 +nvme 启动需要固件支持识别 nvme 启动分区,可以参考[将固件刷写到 SPI Flash 中](https://docs.revyos.dev/docs/Installation/milkv-pioneer/#%E5%B0%86%E5%9B%BA%E4%BB%B6%E5%88%B7%E5%86%99%E5%88%B0-spi-flash-%E4%B8%AD),同时也需要[MCU 固件更新](https://docs.revyos.dev/docs/Installation/milkv-pioneer/#mcu-%E5%9B%BA%E4%BB%B6%E6%9B%B4%E6%96%B0) + +可以使用一个烧写任意 OS 的 SD Card 在 Milk-V Pioneer 上启动,然后下载 Anolis 镜像后, 烧写在 nvme 盘 +```shell +dd if=AnolisOS-23.3-SG2042.img of=/dev/nvme0nN bs=1M status=progress +``` +然后重启机器并拔掉 SD 卡,固件会自动识别到 nvme 盘上的 Anolis 然后启动 + +Tips: 用户名密码:anuser/anolisos, 启动后可以通过 parted 等工具扩容磁盘 \ No newline at end of file diff --git "a/sig/RISCV_SIG/content/\345\206\205\346\240\270/ISA extension.md" "b/sig/RISCV_SIG/content/\345\206\205\346\240\270/ISA extension.md" index d48659f660c66ab11ea4ade82538d9f9371bc3d6..445d9dccbd4f1ab7d1dd89d156369bf65795709a 100644 --- "a/sig/RISCV_SIG/content/\345\206\205\346\240\270/ISA extension.md" +++ "b/sig/RISCV_SIG/content/\345\206\205\346\240\270/ISA extension.md" @@ -1,10 +1,149 @@ # HWprobe +## RVA22U64 +| Extension | Description | upstream | anolis | owner | +|----------|----------|---------------|--------|-------| +| Zfh |半精度浮点运算| [riscv: report more ISA extensions through hwprobe](https://lore.kernel.org/all/20231114141256.126749-19-cleger@rivosinc.com/) | https://gitee.com/anolis/cloud-kernel/pulls/5476 | 罗海洋(ZTE)| +| Zbc | 标量无进位乘法| [riscv: report more ISA extensions through hwprobe](https://lore.kernel.org/all/20231114141256.126749-19-cleger@rivosinc.com/) | https://gitee.com/anolis/cloud-kernel/pulls/5476 | 罗海洋(ZTE)| +| Zicfilp | 硬件实现的着陆垫 (Landing Pads) 和 影子栈 (Shadow Stack),用于增强控制流完整性安全。| [riscv control-flow integrity for usermode](https://lore.kernel.org/all/20250711-v5_user_cfi_series-v18-3-a8ee62f9f38e@rivosinc.com/) | | | +| Zicfiss | | [riscv control-flow integrity for usermode](https://lore.kernel.org/all/20250711-v5_user_cfi_series-v18-3-a8ee62f9f38e@rivosinc.com/) | | | +| Zvfh | 完整的矢量半精度浮点计算。| [riscv: report more ISA extensions through hwprobe](https://lore.kernel.org/all/20231114141256.126749-19-cleger@rivosinc.com/) | https://gitee.com/anolis/cloud-kernel/pulls/5476 | 罗海洋(ZTE)| +| Zfbfmin |对 BFloat16 数据类型的支持 | [riscv: report more ISA extensions through hwprobe](https://lore.kernel.org/all/20231114141256.126749-19-cleger@rivosinc.com/) | https://gitee.com/anolis/cloud-kernel/pulls/5476 | 罗海洋(ZTE)| +| Zvfbfmin | 对 BFloat16 数据类型的支持| [riscv: Add bfloat16 instruction support](https://lore.kernel.org/all/20250213003849.147358-4-inochiama@gmail.com/) | | | +| Zvfbfwma |对 BFloat16 数据类型的支持 | [riscv: Add bfloat16 instruction support](https://lore.kernel.org/all/20250213003849.147358-4-inochiama@gmail.com/) | | | +## RVA23U64 Mandatory +| Extension | Description | upstream | anolis | owner | +|----------|----------|---------------|--------|-------| +| M | 整数乘除法。| | | | +| A | 原子操作,用于多核同步。| | | | +| F | 单精度浮点运算。| | | | +| D | 双精度浮点运算。| | | | +| C | 16位压缩指令,减小代码体积,提升性能。| | | | +| B | 位操作| | | | +| Zicsr | 控制与状态寄存器 (CSR) 的访问指令。| | | | +| Zicntr | 基础计数器和计时器。| | | | +| Zihpm | 硬件性能监视计数器。| | | | +| Ziccif | 保证可缓存、一致性主存区域的指令获取是原子的。| | | | +| Ziccrse | 保证在可缓存、一致性主存区域 LR/SC 指令序列能取得进展。| | | | +| Ziccamoa |保证可缓存、一致性主存区域支持A扩展中的所有原子操作。 | | | | +| Za64rs | 规定原子指令的预留集大小最大为64字节。| | | | +| Zihintpause | 提供 PAUSE 指令,用于优化自旋锁等忙等待循环。| [riscv: hwprobe: export Zihintpause ISA extension](https://lore.kernel.org/all/20240221083108.1235311-1-cleger@rivosinc.com/) | https://gitee.com/anolis/cloud-kernel/pulls/5496 | 罗海洋(ZTE)| +| Zic64b | 规定缓存块大小必须为64字节。| | | | +| Zicbom | 缓存块管理指令(如数据清理、失效)。| - | | | +| | | [Enable Zicbom in usermode](https://lore.kernel.org/all/20250226063206.71216-2-cuiyunhui@bytedance.com/) | | | +| Zicbop | 缓存块预取指令| [riscv: Add Zicbop & prefetchw support](https://lore.kernel.org/all/20250421142441.395849-1-alexghiti@rivosinc.com/) | | | +|Zicboz| 缓存块清零指令 | [riscv: report more ISA extensions through hwprobe](https://lore.kernel.org/all/20231114141256.126749-2-cleger@rivosinc.com/) | https://gitee.com/anolis/cloud-kernel/pulls/5476 | 罗海洋(ZTE) | +|| | [RISC-V: Enable cbo.zero in usermode](https://lwn.net/Articles/924488/) | +|| | [RISC-V: Apply Zicboz to clear_page](https://lwn.net/Articles/924488/) | 已合入| +| Zfhmin | 最小半精度浮点支持,提供与单精度之间的转换能力。| [riscv: report more ISA extensions through hwprobe](https://lore.kernel.org/all/20231114141256.126749-19-cleger@rivosinc.com/) | https://gitee.com/anolis/cloud-kernel/pulls/5476 | | +| Zkt | 数据无关的执行延迟,用于增强侧信道攻击的安全性。| [riscv: report more ISA extensions through hwprobe](https://lore.kernel.org/all/20231114141256.126749-19-cleger@rivosinc.com/) | https://gitee.com/anolis/cloud-kernel/pulls/5476 | | +| V | SIMD 指令 | | | | +| Zvfhmin |矢量版本的最小半精度浮点支持。 | [riscv: report more ISA extensions through hwprobe](https://lore.kernel.org/all/20231114141256.126749-19-cleger@rivosinc.com/) | https://gitee.com/anolis/cloud-kernel/pulls/5476 | 罗海洋(ZTE) | +| Zvbb |矢量基础位操作指令。 | [riscv: report more ISA extensions through hwprobe](https://lore.kernel.org/all/20231114141256.126749-19-cleger@rivosinc.com/) | https://gitee.com/anolis/cloud-kernel/pulls/5476 | 罗海洋(ZTE)| +| Zvkt |矢量版本的数据无关执行延迟。 | [riscv: report more ISA extensions through hwprobe](https://lore.kernel.org/all/20231114141256.126749-19-cleger@rivosinc.com/) | https://gitee.com/anolis/cloud-kernel/pulls/5476 | 罗海洋(ZTE)| +| Zihintntl |提供非暂时性(non-temporal)内存访问提示,优化缓存使用。 | [riscv: report more ISA extensions through hwprobe](https://lore.kernel.org/all/20231114141256.126749-19-cleger@rivosinc.com/) | https://gitee.com/anolis/cloud-kernel/pulls/5476 | 罗海洋(ZTE)| +|Zicond| 分支指令整合为一条指令,避免分支预测 | [KVM RISC-V Conditional Operations](https://lore.kernel.org/all/20231003035226.1945725-1-apatel@ventanamicro.com/) | https://gitee.com/anolis/cloud-kernel/pulls/5469 | 罗海洋(ZTE) | +| Zimop |"可能操作"指令,用于推测执行优化。 | [Add support for a few Zc* extensions, Zcmop and Zimop](https://lore.kernel.org/all/20240619113529.676940-2-cleger@rivosinc.com/)| https://gitee.com/anolis/cloud-kernel/pulls/5513 | 罗海洋(ZTE) | +| Zcb | 提供额外的压缩指令。| [Add support for a few Zc* extensions, Zcmop and Zimop](https://lore.kernel.org/all/20240619113529.676940-2-cleger@rivosinc.com/)| https://gitee.com/anolis/cloud-kernel/pulls/5513 | 罗海洋(ZTE)| +| Zfa | 提供额外的浮点指令,完善功能。| [riscv: report more ISA extensions through hwprobe](https://lore.kernel.org/all/20231114141256.126749-19-cleger@rivosinc.com/) | https://gitee.com/anolis/cloud-kernel/pulls/5496 | 罗海洋(ZTE)| +| Zawrs | 提供在预留集上等待的指令,优化同步。| [riscv: Apply Zawrs when available ](https://lore.kernel.org/all/20240426100820.14762-10-ajones@ventanamicro.com/)| https://gitee.com/anolis/cloud-kernel/pulls/5496 | 罗海洋(ZTE)| +| Supm | 指针屏蔽。一种安全特性,用于限制指针可访问的地址范围。| [riscv: Userspace pointer masking and tagged address ABI](https://lore.kernel.org/all/20241016202814.4061541-3-samuel.holland@sifive.com/)| | | +| Zabha |字节和半字的原子内存操作 | [Zacas/Zabha support and qspinlocks](https://lore.kernel.org/all/20241103145153.105097-1-alexghiti@rivosinc.com/)| | | +| | | [riscv: enable lockless lockref implementation](https://lore.kernel.org/all/20240125145908.968-3-jszhang@kernel.org/)| | | +| | | [Rework & improve riscv cmpxchg.h and atomic.h](https://lore.kernel.org/all/20240103163203.72768-7-leobras@redhat.com/)| | | +| | | [riscv/barrier: tidying up barrier-related macro](https://lore.kernel.org/all/20240217131316.3668927-1-ericchancf@google.com/)| | | +| Zacas | 原子比较并交换 (CAS) 指令| [riscv: hwprobe: add Zicond, Zacas and Ztso support](https://lore.kernel.org/all/20231220155723.684081-2-cleger@rivosinc.com/) | https://gitee.com/anolis/cloud-kernel/pulls/5476 | 罗海洋(ZTE)| +| Ziccamoc | 保证主存区域支持 Zacas 指令。| | | | +| Zvbc | 矢量无进位乘法 | [riscv: report more ISA extensions through hwprobe](https://lore.kernel.org/all/20231114141256.126749-19-cleger@rivosinc.com/) | https://gitee.com/anolis/cloud-kernel/pulls/5476 | 罗海洋(ZTE)| +| Zama16b |保证不超过16字节边界的非对齐原子操作是原子的 | | | | + +## RVA23U64 Optional +| Extension | Description | upstream | anolis | owner | +|----------|----------|---------------|--------|-------| +| Zvkng | 矢量NIST加密算法套件| | | | +| Zvksg | 矢量国密 (ShangMi) 算法套件| | | | + +## RVA23S64 Mandatory +| Extension | Description | upstream | anolis | owner | +|----------|----------|---------------|--------|-------| +| Zifencei | 提供FENCE.I指令,用于同步指令流和数据流| 6.6 支持 | | | +| Ss1p13 | | | | | +| Svbare | satp 寄存器必须支持 Bare 模式(不进行地址翻译)。| | | | +| Sv39 | 虚拟内存系统| | 6.6 支持 | +| Svade |当页表项的 A/D (Accessed/Dirty) 位为0时进行访问/写入会触发异常。 | [ Add Svade and Svadu Extensions Support](https://lore.kernel.org/all/20240726084931.28924-1-yongxuan.wang@sifive.com/)| | | +| Ssccptr |主存区域支持硬件自动的页表遍历。 | | | | +| Sstvecd |stvec 寄存器支持直接模式。 | | | | +| Sstvala | stval 寄存器必须在特定异常时写入错误地址或指令。| | | | +| Sscounterenw |scounteren 寄存器中对应性能计数器的位必须是可写的。 | | | | +| Svpbmt | 基于页的内存类型,允许为内存页指定不同的缓存策略。| 6.6 支持| | | +| Svinval | 提供了SFENCE.INVAL.IR和SINVAL.VMA等指令,允许操作系统以更细的粒度(如单个页表项)来无效化TLB| 6.6 支持| | +| Svnapot |支持NAPOT (Naturally Aligned Power-of-Two) 页,优化大内存块的 TLB 映射 | 6.6 支持| | | +| Sstc | S 模式时钟中断| 6.6 支持| | | +| Sscofpmf |性能计数器的溢出和基于模式的过滤功能。 | 6.6 支持| | | +| Ssnpm |指针屏蔽支持。 | [riscv: Userspace pointer masking and tagged address ABI](https://lore.kernel.org/all/20241016202814.4061541-3-samuel.holland@sifive.com/)| | | +| Ssu64xl |sstatus.UXL 必须支持64位用户模式 | | | | +| H | | | | | +| Ssstateen | | [target/riscv: add 'sha' support](https://lore.kernel.org/all/20241218114026.1652352-1-dbarboza@ventanamicro.com/) | | | +| Shcounterenw | | [target/riscv: add 'sha' support](https://lore.kernel.org/all/20241218114026.1652352-1-dbarboza@ventanamicro.com/) | | | +| Shvstvala | | [target/riscv: add 'sha' support](https://lore.kernel.org/all/20241218114026.1652352-1-dbarboza@ventanamicro.com/) | | | +| Shvstvecd | | [target/riscv: add 'sha' support](https://lore.kernel.org/all/20241218114026.1652352-1-dbarboza@ventanamicro.com/) | | | +| Shvsatpa | | [target/riscv: add 'sha' support](https://lore.kernel.org/all/20241218114026.1652352-1-dbarboza@ventanamicro.com/) | | | +| Shgatpa | | [target/riscv: add 'sha' support](https://lore.kernel.org/all/20241218114026.1652352-1-dbarboza@ventanamicro.com/) | | | +## RVA23S64 Optional +| Extension | Description | upstream | anolis | owner | +|----------|----------|---------------|--------|-------| +| Sv48 | | | | | +| Sv57 | | | | | +| Zkr |用于获取高质量随机数|[riscv: report more ISA extensions through hwprobe](https://lore.kernel.org/all/20231114141256.126749-19-cleger@rivosinc.com/) | https://gitee.com/anolis/cloud-kernel/pulls/5476 | 罗海洋(ZTE) | +| Svadu | 硬件自动更新页表项的 A/D (Accessed/Dirty) 位。| [ Add Svade and Svadu Extensions Support](https://lore.kernel.org/all/20240726084931.28924-1-yongxuan.wang@sifive.com/)| | | +| Sdtrig |调试触发器支持。| [riscv: support Sdtrig extension hcontext/scontext CSRs](https://lore.kernel.org/all/20240329-dev-maxh-lin-452-6-9-v1-5-1534f93b94a7@sifive.com/)| | | +| Ssstrict |要求对未实现的指令/CSR 必须产生非法指令异常,增强兼容性。 | | | | +| Svvptc | 在PTE变为有效后无需显式 fence。| [Svvptc extension to remove preventive sfence.vma](https://lore.kernel.org/all/20240717060125.139416-2-alexghiti@rivosinc.com/)| | | +| Sspm | 许S模式自身也使用指针屏蔽。| [riscv: Userspace pointer masking and tagged address ABI](https://lore.kernel.org/all/20241016202814.4061541-3-samuel.holland@sifive.com/)| | | +## Other recommand +| Extension | Description | upstream | anolis | owner | +|----------|----------|---------------|--------|-------| + +# OLD | Extension | Description | upstream | anolis | owner | |----------|----------|---------------|--------|-------| |Smstatten| feature 状态寄存器,标明当前启用的扩展 | [Risc-V Kvm Smstateen](http://lists.infradead.org/pipermail/kvm-riscv/2023-July/004200.html) | https://gitee.com/anolis/cloud-kernel/pulls/5315 | 罗海洋(ZTE) | -|ZICBOZ| 分支指令整合为一条指令,避免分支预测 | [KVM RISC-V Conditional Operations](https://lore.kernel.org/all/20231003035226.1945725-1-apatel@ventanamicro.com/) | https://gitee.com/anolis/cloud-kernel/pulls/5469 | 罗海洋(ZTE) | -|ZICBOZ| | [riscv: report more ISA extensions through hwprobe](https://lore.kernel.org/all/20231114141256.126749-2-cleger@rivosinc.com/) | 罗海洋(ZTE) | -|Zicboz| 已合入 | [RISC-V: Enable cbo.zero in usermode](https://lwn.net/Articles/924488/) | -|Zicboz| | [RISC-V: Apply Zicboz to clear_page](https://lwn.net/Articles/924488/) | +| ZBKB | | [riscv: report more ISA extensions through hwprobe](https://lore.kernel.org/all/20231114141256.126749-19-cleger@rivosinc.com/) | https://gitee.com/anolis/cloud-kernel/pulls/5476 | 罗海洋(ZTE| +| ZBKC | | [riscv: report more ISA extensions through hwprobe](https://lore.kernel.org/all/20231114141256.126749-19-cleger@rivosinc.com/) | https://gitee.com/anolis/cloud-kernel/pulls/5476 | 罗海洋(ZTE| +| ZBKX | | [riscv: report more ISA extensions through hwprobe](https://lore.kernel.org/all/20231114141256.126749-19-cleger@rivosinc.com/) | https://gitee.com/anolis/cloud-kernel/pulls/5476 | 罗海洋(ZTE| +| ZKND | | [riscv: report more ISA extensions through hwprobe](https://lore.kernel.org/all/20231114141256.126749-19-cleger@rivosinc.com/) | https://gitee.com/anolis/cloud-kernel/pulls/5476 | | +| ZKNE | | [riscv: report more ISA extensions through hwprobe](https://lore.kernel.org/all/20231114141256.126749-19-cleger@rivosinc.com/) | https://gitee.com/anolis/cloud-kernel/pulls/5476 | | +| ZKNH | | [riscv: report more ISA extensions through hwprobe](https://lore.kernel.org/all/20231114141256.126749-19-cleger@rivosinc.com/) | https://gitee.com/anolis/cloud-kernel/pulls/5476 | | +| ZKR | | +| ZKSED | | [riscv: report more ISA extensions through hwprobe](https://lore.kernel.org/all/20231114141256.126749-19-cleger@rivosinc.com/) | https://gitee.com/anolis/cloud-kernel/pulls/5476 | | +| ZKSH | | [riscv: report more ISA extensions through hwprobe](https://lore.kernel.org/all/20231114141256.126749-19-cleger@rivosinc.com/) | https://gitee.com/anolis/cloud-kernel/pulls/5476 | | +| ZKT | | +| ZVBB | | +| ZVBC | | +| ZVKB | | [riscv: report more ISA extensions through hwprobe](https://lore.kernel.org/all/20231114141256.126749-19-cleger@rivosinc.com/) | https://gitee.com/anolis/cloud-kernel/pulls/5476 | | +| ZVKG | | [riscv: report more ISA extensions through hwprobe](https://lore.kernel.org/all/20231114141256.126749-19-cleger@rivosinc.com/) | https://gitee.com/anolis/cloud-kernel/pulls/5476 | | +| ZVKNED | | [riscv: report more ISA extensions through hwprobe](https://lore.kernel.org/all/20231114141256.126749-19-cleger@rivosinc.com/) | https://gitee.com/anolis/cloud-kernel/pulls/5476 | | +| ZVKNHA | | [riscv: report more ISA extensions through hwprobe](https://lore.kernel.org/all/20231114141256.126749-19-cleger@rivosinc.com/) | https://gitee.com/anolis/cloud-kernel/pulls/5476 | | +| ZVKNHB | | [riscv: report more ISA extensions through hwprobe](https://lore.kernel.org/all/20231114141256.126749-19-cleger@rivosinc.com/) | https://gitee.com/anolis/cloud-kernel/pulls/5476 | | +| ZVKSED | | [riscv: report more ISA extensions through hwprobe](https://lore.kernel.org/all/20231114141256.126749-19-cleger@rivosinc.com/) | https://gitee.com/anolis/cloud-kernel/pulls/5476 | | +| ZVKSH | | [riscv: report more ISA extensions through hwprobe](https://lore.kernel.org/all/20231114141256.126749-19-cleger@rivosinc.com/) | https://gitee.com/anolis/cloud-kernel/pulls/5476 | | +| ZVKT | | +| ZFH | | +| ZFHMIN | | +| ZIHINTNTL | | +| ZVFH | | +| ZVFHMIN | | +|ZTSO | | [riscv: hwprobe: add Zicond, Zacas and Ztso support](https://lore.kernel.org/all/20231220155723.684081-2-cleger@rivosinc.com/) | https://gitee.com/anolis/cloud-kernel/pulls/5476 | | +|zve| | [Support Zve32[xf] and Zve64[xfd] Vector subextensions](https://lore.kernel.org/all/20240510-zve-detection-v5-5-0711bdd26c12@sifive.com/)| https://gitee.com/anolis/cloud-kernel/pulls/5496 | +|zca| |(Add support for a few Zc* extensions, Zcmop and Zimop)[https://lore.kernel.org/all/20240619113529.676940-2-cleger@rivosinc.com/]| https://gitee.com/anolis/cloud-kernel/pulls/5513 | | +|zcd|| (Add support for a few Zc* extensions, Zcmop and Zimop)[https://lore.kernel.org/all/20240619113529.676940-2-cleger@rivosinc.com/]| https://gitee.com/anolis/cloud-kernel/pulls/5513 | | +|zcf|| (Add support for a few Zc* extensions, Zcmop and Zimop)[https://lore.kernel.org/all/20240619113529.676940-2-cleger@rivosinc.com/]| https://gitee.com/anolis/cloud-kernel/pulls/5513 | | +|zcmop| | (Add support for a few Zc* extensions, Zcmop and Zimop)[https://lore.kernel.org/all/20240619113529.676940-2-cleger@rivosinc.com/]| https://gitee.com/anolis/cloud-kernel/pulls/5513 | | + -# Optimize \ No newline at end of file +# Optimize +| Extension | Description | upstream | anolis | owner | +|----------|----------|---------------|--------|-------| +| Zbb | 使用硬件指令优化 bitop | [riscv: Optimize bitops with Zbb extensioA](https://lore.kernel.org/all/20231031064553.2319688-1-xiao.w.wang@intel.com/) | 第二个补丁还没合入 | | +| Zbb | 使用硬件指令优化 bitop | [riscv: Optimize hweight API with Zbb extension](https://lore.kernel.org/r/20231112095244.4015351-1-xiao.w.wang@intel.com) | 第二个补丁还没合入 | | +|Zicboz| | [RISC-V: Enable cbo.zero in usermode](https://lwn.net/Articles/924488/) | +|Zicboz| | [RISC-V: Apply Zicboz to clear_page](https://lwn.net/Articles/924488/) | 已合入| \ No newline at end of file diff --git "a/sig/RISCV_SIG/content/\345\206\205\346\240\270/RISC-V Server SoC patch \345\233\236\345\220\210\350\267\237\350\270\252.md" "b/sig/RISCV_SIG/content/\345\206\205\346\240\270/RISC-V Server SoC patch \345\233\236\345\220\210\350\267\237\350\270\252.md" index bf47fb7c45747871b595fc8abefb449df3e9cbfb..7eebe18d6fa18c1518b41f72c57111d494686126 100644 --- "a/sig/RISCV_SIG/content/\345\206\205\346\240\270/RISC-V Server SoC patch \345\233\236\345\220\210\350\267\237\350\270\252.md" +++ "b/sig/RISCV_SIG/content/\345\206\205\346\240\270/RISC-V Server SoC patch \345\233\236\345\220\210\350\267\237\350\270\252.md" @@ -1,4 +1,46 @@ +# DMI +| Field | Desc | upstream | gitee | owner | +|-------|-------------|---------|----|----| +| DMI | 支持 dmidecode tool | [riscv: dmi: Add SMBIOS/DMI support](https://lore.kernel.org/all/20240613065507.287577-1-haibo1.xu@intel.com/) | https://gitee.com/anolis/cloud-kernel/pulls/5479 | 张安盟 | + +# SBI +| Field | Description | upstream | anolis | owner | +|-------|-------------|---------|-------|------| +| | [Linux SBI MPXY and RPMI drivers](https://lwn.net/Articles/1022473/) | | +| DBCN | SBI DBCN 扩展支持 | [RISC-V SBI debug console extension support](https://lore.kernel.org/all/20231124070905.1043092-1-apatel@ventanamicro.com/) | https://gitee.com/anolis/cloud-kernel/pulls/5472 | 田瑞冬(阿里云)| +| STA | SBI STA 扩展 HOST 定义 | [RISC-V: Add steal-time support](https://lore.kernel.org/all/20231220160012.40184-15-ajones@ventanamicro.com/) Patches 01-03 | https://gitee.com/anolis/cloud-kernel/pulls/5501 | 田瑞冬(阿里云)| +| | SBI STA KVM 使能 | [RISC-V: Add steal-time support](https://lore.kernel.org/all/20231124070905.1043092-1-apatel@ventanamicro.com/) | | 田瑞冬(阿里云)| +| NACL | SBI STA 扩展 HOST 定义 | [RISC-V: Add steal-time support](https://lore.kernel.org/all/20231220160012.40184-15-ajones@ventanamicro.com/) Patches 01-03 | https://gitee.com/anolis/cloud-kernel/pulls/5501 | 田瑞冬(阿里云)| + +# Ftrace +| Field | Description | upstream | anolis | owner | +|-------|-------------|---------|-------|------| +| | | [riscv: ftrace: Miscellaneous ftrace improvements](https://lore.kernel.org/all/20231130121531.1178502-4-bjorn@kernel.org/) | | | +| | | [riscv: Fix early ftrace nop patching](https://lore.kernel.org/all/20250115103555.891217695@linuxfoundation.org/) | | | +| | | [ ftrace: riscv: move from REGS to ARGS](https://lore.kernel.org/all/20250115103555.891217695@linuxfoundation.org/) | | | + +# Misc +| Field | Description | upstream | anolis | owner | +|-------|-------------|---------|-------|------| +| | | [ riscv: Add remaining module relocations and tests](https://lore.kernel.org/all/20231101-module_relocations-v9-3-8dfa3483c400@rivosinc.com/) | | | +| | | [ RISC-V: vdso: Do not add missing symbols to version section in linker script](https://lore.kernel.org/r/20221108171324.3377226-1-nathan@kernel.org/) | | | +| | | [riscv: Improve KASAN coverage to fix unit tests](https://lore.kernel.org/all/20240801033725.28816-3-samuel.holland@sifive.com/) | | | +| | | [riscv: Fix text patching when IPI are used](https://lore.kernel.org/all/20250115103559.456512572@linuxfoundation.org/) | | | +| | | [ riscv: Do not save the scratch CSR during suspend](https://lore.kernel.org/all/20240312195641.1830521-1-samuel.holland@sifive.com/) | | | + +# KVM +| Field | Description | upstream | anolis | owner | +|-------|-------------|---------|-------|------| +| | [perf kvm: Add kvm stat support on riscv](https://lore.kernel.org/lkml/20240415031131.23443-2-liangshenlin@eswincomputing.com/) | | +| | [RISC-V, KVM: add 'vlenb' and vector CSRs to get-reg-list](https://lore.kernel.org/all/20231205174509.2238870-2-dbarboza@ventanamicro.com/) | | +| | [[PATCH v2 0/6] RISC-V: KVM: Make SBI uapi consistent with ISA uapi](https://lore.kernel.org/all/20231213170951.93453-11-ajones@ventanamicro.com/) | | +| | [Risc-V Kvm Smstateen](https://lwn.net/Articles/944667/) | | +| | [MMU related improvements for KVM RISC-V](https://lwn.net/Articles/1023935/) | | +| | [RISC-V: KVM: Implement guest external interrupt line management](https://lwn.net/Articles/932148/) | | +| | [riscv: KVM perf support](https://lwn.net/Articles/921972/) | | +| | [RISC-V: KVM: Allow Svvptc/Zabha/Ziccrse exts for guests](https://lwn.net/Articles/1000289/) | | + # ACPI | Field | Patch List | status | |-------|-------------|---------| @@ -25,12 +67,7 @@ | | [RISC-V: defconfig: Enable CONFIG_ACPI_CPPC_CPUFREQ](https://lore.kernel.org/r/20240208034414.22579-4-sunilvl@ventanamicro.com) | | |SPCR |serial port | | |SRAT/SLIT| [Add ACPI NUMA support for RISC-V ](https://lore.kernel.org/all/cover.1718268003.git.haibo1.xu@intel.com/) | | -|RINTC |APLIC, IMSIC stuffs | | -|MHP |mem hotplug | | -|RIMT |IOMMU stuffs | | -|APEI |RAS stuffs | | -|FFH |- | | -|RQSC |QoS stuffs | | + # AIA | Field | Description | status | @@ -38,6 +75,7 @@ | | [RISC-V: ACPI: Add external interrupt controller support](https://lwn.net/Articles/969949/) | | | | [Linux RISC-V AIA Support](https://lwn.net/Articles/959744/) | | | | [RISC-V IPI Improvements](https://lwn.net/Articles/927554/) | | + # perf | Field | Description | status | |-------|-------------|---------| @@ -46,6 +84,7 @@ | | [riscv: pmu: Add support for Control Transfer Records Ext.](https://lwn.net/Articles/1022367/) | | | | [Add Counter delegation ISA extension support](https://lwn.net/Articles/962651/) | | | | [riscv: Introduce Pseudo NMI](https://lwn.net/Articles/948524/) | | + # Power | Field | Description | status | |-------|-------------|---------| @@ -77,11 +116,6 @@ |-------|-------------|---------| | | [Add Sstc extension support](https://lwn.net/Articles/886863/) | | -# SBI -| Field | Description | upstream | anolis | owner | -|-------|-------------|---------|-------|------| -| | [Linux SBI MPXY and RPMI drivers](https://lwn.net/Articles/1022473/) | | -| DBCN | SBI DBCN 扩展支持 | [RISC-V SBI debug console extension support](https://lore.kernel.org/all/20231124070905.1043092-1-apatel@ventanamicro.com/) | https://gitee.com/anolis/cloud-kernel/pulls/5472 | 田瑞冬(阿里云)| # Opt | Field | Description | status | @@ -91,10 +125,8 @@ | | [riscv: Add Native/Paravirt qspinlock support](https://lwn.net/Articles/944111/) | | | | [riscv: ASID-related and UP-related TLB flush enhancements](https://lwn.net/Articles/956703/) | | | | [riscv: Add Zicbop & prefetchw support](https://lwn.net/Articles/956463/) | | -| | [riscv: report more ISA extensions through hwprobe](https://lwn.net/Articles/950530/) | | | | [RISC-V: Optimize memset for data sizes less than 16 bytes](https://lwn.net/Articles/931594/) | | -| | [Zacas/Zabha support and qspinlocks](https://lwn.net/Articles/982278/) | | -| | [riscv: Optimize bitops with Zbb extension](https://lwn.net/Articles/949402/)| | + # Mem | Field | Description | status | |-------|-------------|---------| @@ -105,14 +137,7 @@ | | [riscv: Introduce 64K base page](https://lwn.net/Articles/952722/) | | | | [RISC-V: Add dynamic TSO support](https://lwn.net/Articles/961587/) | | -# KVM -| Field | Description | status | -|-------|-------------|---------| -| | [Risc-V Kvm Smstateen](https://lwn.net/Articles/944667/) | | -| | [MMU related improvements for KVM RISC-V](https://lwn.net/Articles/1023935/) | | -| | [RISC-V: KVM: Implement guest external interrupt line management](https://lwn.net/Articles/932148/) | | -| | [riscv: KVM perf support](https://lwn.net/Articles/921972/) | | -| | [RISC-V: KVM: Allow Svvptc/Zabha/Ziccrse exts for guests](https://lwn.net/Articles/1000289/) | | + # UEFI | Field | Description | status | diff --git "a/sig/RISCV_SIG/content/\345\221\250\344\274\232/20250723.md" "b/sig/RISCV_SIG/content/\345\221\250\344\274\232/20250723.md" new file mode 100644 index 0000000000000000000000000000000000000000..b9e57ff148d0be8d70305776c82b27267d9ef3a9 --- /dev/null +++ "b/sig/RISCV_SIG/content/\345\221\250\344\274\232/20250723.md" @@ -0,0 +1,41 @@ +参会人: + +闫一豪 +罗海洋 +高睿 +张安盟 +贺晏安 +余方玉 +瞿仙淼 +王云龙 +田瑞冬 +韩笑 +黄睿 + +- 2025.07.11 - 2025.07.30: Anolis OS RISC-V 工具链构建准备 +- 2025.07.30 - 2025.08.30: Anolis OS 大规模重构建; 内核补丁合入 +- 2025.08.28: 内核代码冻结, +- 2025.08.30 - 2025.09.25: 内核发布,制作 ISO 并进行测试; +- 2025.09.25 - 2025.09.30: 镜像发布; + +# 如意社区相关 +GCC,binutils,内核 都有在如意社区和龙蜥社区双份工作的问题,需要龙蜥社区探索从如意社区自动监控、回合的机制,避免开发同学重复工作,GCC 上2个社区 BASE 相同,直接回合难度不大,但是内核测2个社区差异较大(如意社区和欧拉社区更接近),内核上是否可行还有待观察。 + +# GCC + +达摩院提交到如意社区,龙蜥社区从如意社区回合,有冲突拉达摩院同学解决, 预计 730 回合完毕 + +# 内核 + +如意、龙蜥社区在6.6内核代码基线相差较大,暂时无法直接从如意社区回合,暂时需要中兴、达摩院同时向2个社区贡献。 +预计 930 完成 RVA23 相关的 HWprobe 和 指令优化补丁回合。 + +[合入进展](../内核/ISA%20extension.md) +# baseos + +构建范围:没有太大变化 + +# 测试 +内核 PR CI 预计 730 上线 +930 版本需要测试接入 +rva23 测试方案:达摩院下次例会讨论 \ No newline at end of file diff --git "a/sig/RISCV_SIG/content/\346\227\266\351\227\264\347\272\277\344\270\216\347\211\210\346\234\254\350\247\204\345\210\222.md" "b/sig/RISCV_SIG/content/\346\227\266\351\227\264\347\272\277\344\270\216\347\211\210\346\234\254\350\247\204\345\210\222.md" index 7e4897284fbb37fcab0c20cc6f91ebc2b1ff439d..dc7cc88267e8dfdf3fbac9f4bea4c0d4e6033521 100644 --- "a/sig/RISCV_SIG/content/\346\227\266\351\227\264\347\272\277\344\270\216\347\211\210\346\234\254\350\247\204\345\210\222.md" +++ "b/sig/RISCV_SIG/content/\346\227\266\351\227\264\347\272\277\344\270\216\347\211\210\346\234\254\350\247\204\345\210\222.md" @@ -3,12 +3,13 @@ Cloud kernel 总体规划参考 https://openanolis.cn/sig/Cloud-Kernel/doc/ 中 注:发布时间提前一个月为代码冻结时间,代码冻结第1、2周只允许合入bugfix,第3、4周原则上不在合入新补丁。 ## 内核 2025.06.30: ANCK-004 支持 SG2042 -2025.09.XX: ANCK-005 支持更多 RVA23 特性 -2025.12.XX: ANCK-006 支持 RISC-V Server SoC 主要特性 +2025.09.30: ANCK-005 支持 RVA23 规范指令集 +2025.12.30: ANCK-006 支持 RISC-V Server 特性 + ## BaseOS 2025.06.30: 发布 Anolis23.3 RISC-V 预览版本,同时搭载 ANCK-6.6-004 内核 -2025.09.30: 发布 Anolis23.3 RISC-V 正式版本,同时搭载 ANCK-6.6-005 内核 -2025.12.30: 发布 Anolis23.4 RISC-V 正式版本,使用 GCC14.3 编译,同时搭载内核待定 +2025.09.30: 发布 Anolis23.3 RISC-V 正式版本,同时搭载 ANCK-6.6-005 内核,默认 GCC 升级为 14.3(支持 RVA23) +2025.12.30: 发布 Anolis23.4 RISC-V 正式版本, ## 镜像源 https://mirrors.openanolis.cn/anolis/23.3/isos/GA/riscv64/ https://mirrors.openanolis.cn/anolis/23.3/os/riscv64/os/Packages/