Hello:
This patch was applied to riscv/linux.git (fixes) by Palmer Dabbelt palmer@rivosinc.com:
On Thu, 10 Aug 2023 00:56:48 +0800 you wrote:
Binutils-2.38 and GCC-12.1.0 bumped[0][1] the default ISA spec to the newer 20191213 version which moves some instructions from the I extension to the Zicsr and Zifencei extensions. So if one of the binutils and GCC exceeds that version, we should explicitly specifying Zicsr and Zifencei via -march to cope with the new changes. but this only occurs when binutils >= 2.36 and GCC >= 11.1.0. It's a different story when binutils < 2.36.
[...]
Here is the summary with links: - [v5] riscv: Handle zicsr/zifencei issue between gcc and binutils https://git.kernel.org/riscv/c/ca09f772ccca
You are awesome, thank you!