]> git.ipfire.org Git - thirdparty/linux.git/commit
Merge patch series "RISC-V: clarify what some RISCV_ISA* config options do & redo...
authorAlexandre Ghiti <alexghiti@rivosinc.com>
Tue, 18 Mar 2025 08:53:10 +0000 (08:53 +0000)
committerAlexandre Ghiti <alexghiti@rivosinc.com>
Tue, 18 Mar 2025 08:53:10 +0000 (08:53 +0000)
commit8df0cdcc216cee222f34f1b20b328e176ea3c667
tree56fae432ef943000a84853693e7612a246d439c8
parent4701f33a10702d5fc577c32434eb62adde0a1ae1
parent9343aaba1f256ff42730db5a61efc32a86149776
Merge patch series "RISC-V: clarify what some RISCV_ISA* config options do & redo Zbb toolchain dependency"

Conor Dooley <conor@kernel.org> says:

Since one depends on the other, albeit trivially, here's a v4 of the Zbb
toolchain dep removal alongside the rewording of Kconfig options I'd
sent out before the merge window. I think I like this implementation
better than v1, but I couldn't think of a good name for a "public"
version of __ALTERNATIVE(), so I used it here directly.
Unfortunately "ALTERNATIVE_2_CFG" already exists and I couldn't think of
a good way to name an alternative macro that allows for several config
options that didn't make the distinction sufficiently clear.. Yell
if you have better suggestions than I did.

I am a wee bit "worried" that this makes the Kconfig option confusing as
it isn't immediately obvious if someone is or is not going to get the
toolchain based optimisations.

Cheers,
Conor.

* patches from https://lore.kernel.org/r/20241024-aspire-rectify-9982da6943e5@spud:
  RISC-V: separate Zbb optimisations requiring and not requiring toolchain support
  RISC-V: clarify what some RISCV_ISA* config options do

Link: https://lore.kernel.org/r/20241024-aspire-rectify-9982da6943e5@spud
Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
arch/riscv/Kconfig
arch/riscv/include/asm/bitops.h