Re: [PATCH v4] riscv: Use Zalrsc extension to implement atomic functions
From: Conor Dooley
Date: Mon Aug 10 2026 - 15:01:38 EST
On Mon, Aug 10, 2026 at 04:57:00PM +0100, Conor Dooley wrote:
> >
> > diff --git a/arch/riscv/Kconfig.errata b/arch/riscv/Kconfig.errata
> > index 3c945d086c7d0266b685f9506d58b0662af071c4..cd5bd5e8eb395418c3ad103dbd836c775b7fd901 100644
> > --- a/arch/riscv/Kconfig.errata
> > +++ b/arch/riscv/Kconfig.errata
> > @@ -44,6 +44,17 @@ config ERRATA_MIPS_P8700_PAUSE_OPCODE
> >
> > If you are not using the P8700 processor, say n.
> >
> > +config ERRATA_MIPS_P8700_AMO_ZALRSC
> > + bool "Replace AMO instructions with LR/SC on MIPS P8700"
> > + depends on ERRATA_MIPS && 64BIT
> > + default n
>
> Why is this default n if your platform does not work without it?
Disregard this, I said it before I noticed that there was emulation
Attachment:
signature.asc
Description: PGP signature