Re: [PATCH v1 0/5] Rework & improve riscv cmpxchg.h and atomic.h

From: patchwork-bot+linux-riscv
Date: Wed Apr 10 2024 - 10:20:53 EST


Hello:

This series was applied to riscv/linux.git (for-next)
by Palmer Dabbelt <palmer@xxxxxxxxxxxx>:

On Wed, 3 Jan 2024 13:31:58 -0300 you wrote:
> While studying riscv's cmpxchg.h file, I got really interested in
> understanding how RISCV asm implemented the different versions of
> {cmp,}xchg.
>
> When I understood the pattern, it made sense for me to remove the
> duplications and create macros to make it easier to understand what exactly
> changes between the versions: Instruction sufixes & barriers.
>
> [...]

Here is the summary with links:
- [v1,1/5] riscv/cmpxchg: Deduplicate xchg() asm functions
https://git.kernel.org/riscv/c/4bfa185fe3f0
- [v1,2/5] riscv/cmpxchg: Deduplicate cmpxchg() asm and macros
https://git.kernel.org/riscv/c/07a0a41cb77d
- [v1,3/5] riscv/atomic.h : Deduplicate arch_atomic.*
https://git.kernel.org/riscv/c/906123739272
- [v1,4/5] riscv/cmpxchg: Implement cmpxchg for variables of size 1 and 2
https://git.kernel.org/riscv/c/54280ca64626
- [v1,5/5] riscv/cmpxchg: Implement xchg for variables of size 1 and 2
https://git.kernel.org/riscv/c/a8ed2b7a2c13

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html