]> git.ipfire.org Git - thirdparty/linux.git/commit
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)
commit74f4bf9d15ad1d6862b828d486ed10ea0e874a23
tree4e1f8ee707cf6570f39feb47fc5bb151358ebd34
parentd9b65824d8f8b69a9d80a5b4d1a8a52c3244f9c0
parenta44fb5722199de8338d991db5ad3d509192179bb
Merge patch series "riscv: Add runtime constant support"

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>
arch/riscv/Kconfig
arch/riscv/include/asm/ftrace.h