Merge patch series "riscv: Add runtime constant support"
authorAlexandre Ghiti <alexghiti@rivosinc.com>
Thu, 20 Mar 2025 07:31:07 +0000 (07:31 +0000)
committerAlexandre Ghiti <alexghiti@rivosinc.com>
Thu, 20 Mar 2025 09:15:04 +0000 (09:15 +0000)
Charlie Jenkins <charlie@rivosinc.com> says:

Ard brought this to my attention in this patch [1].

I benchmarked this patch on the Nezha D1 (which does not contain Zba or
Zbkb so it uses the default algorithm) by navigating through a large
directory structure. I created a 1000-deep directory structure and then
cd and ls through it. With this patch there was a 0.57% performance
improvement.

[1] https://lore.kernel.org/lkml/CAMj1kXE4DJnwFejNWQu784GvyJO=aGNrzuLjSxiowX_e7nW8QA@mail.gmail.com/

* patches from https://lore.kernel.org/r/20250319-runtime_const_riscv-v10-0-745b31a11d65@rivosinc.com:
  riscv: Add runtime constant support
  riscv: Move nop definition to insn-def.h

Link: https://lore.kernel.org/linux-riscv/20250319-runtime_const_riscv-v10-0-745b31a11d65@rivosinc.com/
Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
1  2 
arch/riscv/Kconfig
arch/riscv/include/asm/ftrace.h

Simple merge
Simple merge