Re: [PATCH v4] riscv: Use Zalrsc extension to implement atomic functions
Conor Dooley <[email protected]>
| Newsgroups | org.kernel.vger.linux-kernel,org.infradead.lists.linux-riscv |
|---|---|
| Message-ID | <20260810-credit-gratified-114ac01c48f1@spud> |
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
signature.asc
(application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCanoeHgAKCRB4tDGHoIJi 0o5NAQCVFZOOimIWisUURKaYxHeNXm4bfaGqIDrpJ+rfYFWbrAEAkWatHmE/Zy4N Oc1wDEv62ySUmt8nWX642Clb6IlS9wc= =6/Qx -----END PGP SIGNATURE-----