[PATCH v4 0/5] riscv: Use riscv_has_extension_{likely,unlikely}
patchwork-bot+linux-riscv at kernel.org
patchwork-bot+linux-riscv at kernel.org
Tue Nov 18 00:13:53 PST 2025
Hello:
This series was applied to riscv/linux.git (for-next)
by Paul Walmsley <pjw at kernel.org>:
On Mon, 20 Oct 2025 17:09:55 +0800 you wrote:
> There are about a dozen uses of asm goto in arch/riscv just to select
> between two code paths with the alternative mechanism. Convert them to
> the existing helpers riscv_has_extension_{likely,unlikely}.
>
> In each case, I have preserved the existing code's choice of asm goto
> pattern while picking between "likely" and "unlikely", namely:
>
> [...]
Here is the summary with links:
- [v4,1/5] riscv: pgtable: Use riscv_has_extension_unlikely
https://git.kernel.org/riscv/c/a4076db168ae
- [v4,2/5] riscv: checksum: Use riscv_has_extension_likely
https://git.kernel.org/riscv/c/343fdc9e98d8
- [v4,3/5] riscv: hweight: Use riscv_has_extension_likely
https://git.kernel.org/riscv/c/8211f7ec8a7f
- [v4,4/5] riscv: bitops: Use riscv_has_extension_likely
https://git.kernel.org/riscv/c/d78307511f7c
- [v4,5/5] riscv: cmpxchg: Use riscv_has_extension_likely
https://git.kernel.org/riscv/c/7b5a4f97cb45
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
More information about the linux-riscv
mailing list