Message ID | tencent_E6911C8D71F5624E432A1AFDF86804C3B509@qq.com (mailing list archive) |
---|---|
Headers | show |
Series | riscv: allow case-insensitive ISA string parsing | expand |
On Tue, 02 May 2023 00:10:19 +0800, Yangyu Chen wrote: > This patchset allows case-insensitive ISA string parsing, which is > needed in the ACPI environment. As the RISC-V Hart Capabilities Table > (RHCT) description in UEFI Forum ECR[1] shows the format of the ISA > string is defined in the RISC-V unprivileged specification[2]. However, > the RISC-V unprivileged specification defines the ISA naming strings are > case-insensitive while the current ISA string parser in the kernel only > accepts lowercase letters. In this case, the kernel should allow > case-insensitive ISA string parsing. Moreover, this reason has been > discussed in Conor's patch[3]. And I have also checked the current ISA > string parsing in the recent ACPI support patch[4] will also call > `riscv_fill_hwcap` function as DT we use now. > > [...] Applied, thanks! [1/2] riscv: allow case-insensitive ISA string parsing https://git.kernel.org/palmer/c/255b34d799dd [2/2] dt-bindings: riscv: drop invalid comment about riscv,isa lower-case reasoning https://git.kernel.org/palmer/c/9e320d7ca46a Best regards,
Hello: This series was applied to riscv/linux.git (for-next) by Palmer Dabbelt <palmer@rivosinc.com>: On Tue, 2 May 2023 00:10:19 +0800 you wrote: > This patchset allows case-insensitive ISA string parsing, which is > needed in the ACPI environment. As the RISC-V Hart Capabilities Table > (RHCT) description in UEFI Forum ECR[1] shows the format of the ISA > string is defined in the RISC-V unprivileged specification[2]. However, > the RISC-V unprivileged specification defines the ISA naming strings are > case-insensitive while the current ISA string parser in the kernel only > accepts lowercase letters. In this case, the kernel should allow > case-insensitive ISA string parsing. Moreover, this reason has been > discussed in Conor's patch[3]. And I have also checked the current ISA > string parsing in the recent ACPI support patch[4] will also call > `riscv_fill_hwcap` function as DT we use now. > > [...] Here is the summary with links: - [v3,1/2] riscv: allow case-insensitive ISA string parsing https://git.kernel.org/riscv/c/255b34d799dd - [v3,2/2] dt-bindings: riscv: drop invalid comment about riscv,isa lower-case reasoning https://git.kernel.org/riscv/c/9e320d7ca46a You are awesome, thank you!