Re: [PATCH v2 2/4] MIPS: Introduce config options for LLSC availability

From: Jiaxun Yang
Date: Thu Jun 20 2024 - 12:35:24 EST




在2024年6月20日六月 下午5:06,Thomas Bogendoerfer写道:
[...]
> do you have an user manual stating that the R5k bug is fixed on this CPUs ?

I actually investigated R5500 a little bit.

There is no explicit document mentioned this bug is fixed on R5500, but it's not
mentioned on "VR Series 64-/32-Bit Microprocessor Programming Guide" [1] either,
while some other hardware limitations are mentioned in that guide.

Plus EMMA platform, which was removed form the kernel, doesn't have
cpu-feature-overrides.h. This means that the platform was running with LLSC
enabled.

So I think this CPU is not affected.

[1]: https://repo.oss.cipunited.com/archives/docs/NEC/U10710EJ5V0AN00.pdf
>
> Thomas.
>
> --
> Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
> good idea. [ RFC1925, 2.3 ]

--
- Jiaxun