diff --git a/sig/RISCV_SIG/README.md b/sig/RISCV_SIG/README.md index 53ae74e9fa4763b844a1b51273eba9eb75e74e94..e2b49b6dd515ea5101593d47d428412af1a392fb 100644 --- a/sig/RISCV_SIG/README.md +++ b/sig/RISCV_SIG/README.md @@ -5,6 +5,7 @@ | 成员 | 公司 | 角色 | | :----- | :------- | :--------- | | 郭任 | 达摩院 | Maintainer | +| 谈虎 | ZTE | Maintainer | | 宋卓 | 阿里云 | Maintainer | | 王江波 | 阿里云 | Maintainer | | 田瑞冬 | 阿里云 | Maintainer | 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 445d9dccbd4f1ab7d1dd89d156369bf65795709a..c5fda9f15343994f39ed9803b579f7ebe265ecf7 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,39 +1,29 @@ # 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位压缩指令,减小代码体积,提升性能。| | | | +| M | 整数乘除法。| 6.6 | | | +| A | 原子操作,用于多核同步。| 6.6 | | | +| F | 单精度浮点运算。| 6.6 | | | +| D | 双精度浮点运算。| 66 | | | +| C | 16位压缩指令,减小代码体积,提升性能。| 6.6 | | | | B | 位操作| | | | -| Zicsr | 控制与状态寄存器 (CSR) 的访问指令。| | | | -| Zicntr | 基础计数器和计时器。| | | | -| Zihpm | 硬件性能监视计数器。| | | | -| Ziccif | 保证可缓存、一致性主存区域的指令获取是原子的。| | | | -| Ziccrse | 保证在可缓存、一致性主存区域 LR/SC 指令序列能取得进展。| | | | -| Ziccamoa |保证可缓存、一致性主存区域支持A扩展中的所有原子操作。 | | | | -| Za64rs | 规定原子指令的预留集大小最大为64字节。| | | | +| Zicsr | 控制与状态寄存器 (CSR) 的访问指令。| 6.6 | | | +| Zicntr | 基础计数器和计时器。| 6.6 | | | +| Zihpm | 硬件性能监视计数器。| 6.6 | | | +| Ziccif | 保证可缓存、一致性主存区域的指令获取是原子的。| GCC | | | +| Ziccrse | 保证在可缓存、一致性主存区域 LR/SC 指令序列能取得进展。| [Zacas/Zabha support and qspinlocks](https://lore.kernel.org/all/20241103145153.105097-1-alexghiti@rivosinc.com/)| https://gitee.com/anolis/cloud-kernel/pulls/5275 | 田瑞冬(阿里云) | +| Ziccamoa |保证可缓存、一致性主存区域支持A扩展中的所有原子操作。 | GCC | | | +| Zicclsm | 非对齐访问 | GCC | | | +| Za64rs | 规定原子指令的预留集大小最大为64字节。| GCC | | | | 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/) | | | +| Zic64b | 规定缓存块大小必须为64字节。| GCC | | | +| Zicbom | 缓存块管理指令(如数据清理、失效)。| 6.6 | | | +| | | [Enable Zicbom in usermode](https://lore.kernel.org/all/20250226063206.71216-2-cuiyunhui@bytedance.com/) |https://gitee.com/anolis/cloud-kernel/pulls/5674 | | +| Zicbop | 缓存块预取指令| [riscv: Add Zicbop & prefetchw support](https://lore.kernel.org/all/20250421142441.395849-1-alexghiti@rivosinc.com/) |https://gitee.com/anolis/cloud-kernel/pulls/5674 | | |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/) | 已合入| +|| | [RISC-V: Enable cbo.zero in usermode](https://lwn.net/Articles/924488/) | 6.6 +|| | [RISC-V: Apply Zicboz to clear_page](https://lwn.net/Articles/924488/) | 6.6| | 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 指令 | | | | @@ -43,11 +33,15 @@ | 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) | +| 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 | 罗海洋(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/)| | | +| Supm | 指针屏蔽。一种安全特性,用于限制指针可访问的地址范围。| [riscv: Userspace pointer masking and tagged address ABI](https://lore.kernel.org/all/20241016202814.4061541-3-samuel.holland@sifive.com/)| https://gitee.com/anolis/cloud-kernel/pulls/5568 | 罗海洋(ZTE) | +## RVA23U64 Optional Extensions +| Extension | Description | upstream | anolis | owner | +|----------|----------|---------------|--------|-------| +| Zabha |字节和半字的原子内存操作 | [Zacas/Zabha support and qspinlocks](https://lore.kernel.org/all/20241103145153.105097-1-alexghiti@rivosinc.com/)| https://gitee.com/anolis/cloud-kernel/pulls/5568 | 罗海洋(ZTE)| | | | [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/)| | | @@ -55,6 +49,17 @@ | 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字节边界的非对齐原子操作是原子的 | | | | +| 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/) reviewing | | | +| Zicfiss | | [riscv control-flow integrity for usermode](https://lore.kernel.org/all/20250711-v5_user_cfi_series-v18-3-a8ee62f9f38e@rivosinc.com/) reviewing | | | +| 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/) |https://gitee.com/anolis/cloud-kernel/pulls/5652 |罗海洋(ZTE)| +| Zvfbfwma |对 BFloat16 数据类型的支持 | [riscv: Add bfloat16 instruction support](https://lore.kernel.org/all/20250213003849.147358-4-inochiama@gmail.com/) |https://gitee.com/anolis/cloud-kernel/pulls/5652 | 罗海洋(ZTE)| + + + ## RVA23U64 Optional | Extension | Description | upstream | anolis | owner | @@ -67,83 +72,52 @@ |----------|----------|---------------|--------|-------| | 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 寄存器中对应性能计数器的位必须是可写的。 | | | | +| Svbare | satp 寄存器必须支持 Bare 模式(不进行地址翻译)。| GCC | | | +| Sv39 | 虚拟内存系统| 6.6 | 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/)| https://gitee.com/anolis/cloud-kernel/pulls/5652 | 罗海洋(ZTE)| +| Ssccptr |主存区域支持硬件自动的页表遍历。 | N/A | | | +| Sstvecd |stvec 寄存器支持直接模式。 | NA | | | +| Sstvala | stval 寄存器必须在特定异常时写入错误地址或指令。| NA| | | +| Sscounterenw |scounteren 寄存器中对应性能计数器的位必须是可写的。 | NA | | | | 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位用户模式 | | | | +| Ssnpm |指针屏蔽支持。 | [riscv: Userspace pointer masking and tagged address ABI](https://lore.kernel.org/all/20241016202814.4061541-3-samuel.holland@sifive.com/)|https://gitee.com/anolis/cloud-kernel/pulls/5568 | 罗海洋(ZTE)| +| Ssu64xl |sstatus.UXL 必须支持64位用户模式 | NA | | | | 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/) | | | +| 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/) | | | +| Zve32f | 32位单精度浮点向量子扩展 | [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 | 罗海洋(ZTE) | +| Zve32x | 32位整数向量子扩展 | [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 | 罗海洋(ZTE) | +| Zve64d | 64位双精度浮点向量子扩展 | [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 | 罗海洋(ZTE) | +| Zve64f | 64位单精度浮点向量子扩展 | [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 | 罗海洋(ZTE) | +| Zve64x | 64位整数向量子扩展 | [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 | 罗海洋(ZTE) | +| Ziccif | 可缓存一致性主存区域的指令获取原子性 | N/A | | | +| Ziccamoa | 可缓存一致性主存区域A扩展原子操作支持 | N/A | | | +| Za64rs | 原子指令预留集64字节规定 | N/A | | | +| Zic64b | 64字节缓存块大小规定 | N/A | | | ## RVA23S64 Optional | Extension | Description | upstream | anolis | owner | |----------|----------|---------------|--------|-------| -| Sv48 | | | | | -| Sv57 | | | | | +| Sv48 | | 6.6 | | | +| Sv57 | | 6.6 | | | | 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/)| | | +| Svadu | 硬件自动更新页表项的 A/D (Accessed/Dirty) 位。| [ Add Svade and Svadu Extensions Support](https://lore.kernel.org/all/20240726084931.28924-1-yongxuan.wang@sifive.com/)|https://gitee.com/anolis/cloud-kernel/pulls/5652 |罗海洋(ZTE)| | 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) | -| 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 | | +| Svvptc | 在PTE变为有效后无需显式 fence。| #[Svvptc extension to remove preventive sfence.vma](https://lore.kernel.org/all/20240717060125.139416-2-alexghiti@rivosinc.com/)| https://gitee.com/anolis/cloud-kernel/pulls/5560 | 罗海洋(ZTE) | +| Sspm | 许S模式自身也使用指针屏蔽。| [riscv: Userspace pointer masking and tagged address ABI](https://lore.kernel.org/all/20241016202814.4061541-3-samuel.holland@sifive.com/)|https://gitee.com/anolis/cloud-kernel/pulls/5568 | 罗海洋(ZTE) | +# Other -# 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 +| Zaamo | 原子内存操作标准扩展 | [Standard Zaamo atomic memory operation](https://lore.kernel.org/all/20240619153913.867263-2-cleger@rivosinc.com/) | https://gitee.com/anolis/cloud-kernel/pulls/5685 | 罗海洋(ZTE)| +| Zalrsc | 加载保留/条件存储指令 | [Standard Zalrsc load-reserved/store-conditional](https://lore.kernel.org/all/20240619153913.867263-2-cleger@rivosinc.com/) | https://gitee.com/anolis/cloud-kernel/pulls/5685 | 罗海洋(ZTE)| +| 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 | 罗海洋(ZTE) | +| 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 | 罗海洋(ZTE) | +| 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 | 罗海洋(ZTE) | \ 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 7eebe18d6fa18c1518b41f72c57111d494686126..c729bc6074da77d55476f5e076d968e92532eca2 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" @@ -10,7 +10,7 @@ | | [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/) | | 田瑞冬(阿里云)| +| | SBI STA KVM 使能 | [RISC-V: Add steal-time support](https://lore.kernel.org/all/20231124070905.1043092-1-apatel@ventanamicro.com/) | https://gitee.com/anolis/cloud-kernel/pulls/5534 | 罗海洋(ZTE)| | 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 @@ -63,7 +63,7 @@ | | [RISC-V: Select ACPI PPTT drivers](https://lore.kernel.org/r/20240617131425.7526-3-cuiyunhui@bytedance.com) | | |LPI | [ACPI: RISC-V: Add LPI driver](https://lore.kernel.org/r/20240118062930.245937-3-sunilvl@ventanamicro.com) | | | | [cpuidle: RISC-V: Move few functions to arch/riscv](https://lore.kernel.org/r/20240118062930.245937-2-sunilvl@ventanamicro.com) | | -|CPPC | [ACPI: RISC-V: Add CPPC driver](https://lore.kernel.org/r/20240208034414.22579-2-sunilvl@ventanamicro.com) | | +|CPPC | [ACPI: RISC-V: Add CPPC driver](https://lore.kernel.org/r/20240208034414.22579-2-sunilvl@ventanamicro.com) | https://gitee.com/anolis/cloud-kernel/pulls/5538 | | | [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/) | | diff --git "a/sig/RISCV_SIG/content/\345\221\250\344\274\232/20250813.md" "b/sig/RISCV_SIG/content/\345\221\250\344\274\232/20250813.md" new file mode 100644 index 0000000000000000000000000000000000000000..368068f43aee970c00c8f8bfce4a09e9cdeafa9e --- /dev/null +++ "b/sig/RISCV_SIG/content/\345\221\250\344\274\232/20250813.md" @@ -0,0 +1,22 @@ +- 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: 镜像发布; + +# BaseOS +线下构建 GCC、binutils 制作 external repo, +二进制产物管理状态@韩笑 阿里云内部讨论 +时间节奏需要重新讨论 +# Kernel 8.28 +自动回合机制介绍 +中兴 hwprobe 剩余 3-4 个 patchset +rvck + +table 版本演进: 如意、 linux 上游没有区别 +从高版本 回合的 riscv 补丁: +按照 issue +上游 +# Testing + +rva23 测试: \ No newline at end of file diff --git "a/sig/RISCV_SIG/content/\345\221\250\344\274\232/20250827.md" "b/sig/RISCV_SIG/content/\345\221\250\344\274\232/20250827.md" new file mode 100644 index 0000000000000000000000000000000000000000..6c90083d649984f5548a605f3f8eb5e7449899a4 --- /dev/null +++ "b/sig/RISCV_SIG/content/\345\221\250\344\274\232/20250827.md" @@ -0,0 +1,14 @@ +- 2025.08.27: 内核代码冻结, +- 2025.08.30 - 2025.09.25: 内核发布测试; +- 2025.09.25 - 2025.09.30: 内核发布; + +# BaseOS +gcc14 koji 内核构建 +an23, 828 代码仓交付中兴,中兴同学使用 gcc14.3 (rva23)尝试构建 + +# Kernel +中兴:差一个 PR 827 合入完成 +达摩院:争取 827 节点合入 + +# Testing +中兴需要确认测试结果能否share到社区 \ No newline at end of file