[PATCH] lib: sbi: Remove xchg/cmpxchg implemented via lr/sc

Bo Gan ganboing at gmail.com
Wed Nov 8 02:26:14 PST 2023


On 11/8/23 1:26 AM, Xiang W wrote:
> Thanks for the feedback.
> 
> I'm a bit confused: doesn't your example prove that lr/sc doesn't work on a specific platform?
> Why do you advise keeping?
> 
> Regards,
> Xiang W

I have no preference on whether it should be removed. If there's no objection, go ahead.
If other people find it might be useful and against the removal, then I'd prefer lr/sc to
be made optional, and by default use amo.



More information about the opensbi mailing list