On Fri, Jun 21, 2024 at 04:21:49PM +0100, Jiaxun Yang wrote: > Does anyone reckon the reason behind opt-out LLSC for IP28? As far as I understand > there is no restriction on using LLSC after workaround being applied. If it's purely > performance reason, I think I'll need to move kernel_uses_llsc logic to Kconfig as well. commit 46dd40aa376c8158b6aa17510079caf5c3af6237 Author: Thomas Bogendoerfer <tsbogend@xxxxxxxxxxxxxxxx> Date: Wed Oct 7 12:17:04 2020 +0200 MIPS: SGI-IP28: disable use of ll/sc in kernel SGI-IP28 systems only use broken R10k rev 2.5 CPUs, which could lock up, if ll/sc sequences are issued in certain order. Since those systems are all non-SMP, we can disable ll/sc usage in kernel. Signed-off-by: Thomas Bogendoerfer <tsbogend@xxxxxxxxxxxxxxxx> Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]