Re: [PATCH v4 03/13] riscv: Implement cmpxchg32/64() using Zacas

Andrew Jones
2024-07-31T09:21:15Z

On Wed, Jul 31, 2024 at 09:23:55AM GMT, Alexandre Ghiti wrote:
> This adds runtime support for Zacas in cmpxchg operations.
>
> Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
> ---
> arch/riscv/Kconfig | 16 +++++++++++
> arch/riscv/Makefile | 3 ++
> arch/riscv/include/asm/cmpxchg.h | 48 +++++++++++++++++++++-----------
> 3 files changed, 50 insertions(+), 17 deletions(-)

Reviewed-by: Andrew Jones <ajones@ventanamicro.com>