Files
linux/arch/csky/include/asm
Guo Ren 45e15c1a37 csky: Add qspinlock support
Enable qspinlock by the requirements mentioned in a8ad07e524
("asm-generic: qspinlock: Indicate the use of mixed-size atomics").

C-SKY only has "ldex/stex" for all atomic operations. So csky give a
strong forward guarantee for "ldex/stex." That means when ldex grabbed
the cache line into $L1, it would block other cores from snooping the
address with several cycles. The atomic_fetch_add & xchg16 has the same
forward guarantee level in C-SKY.

Qspinlock has better code size and performance in a fast path.

Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
Signed-off-by: Guo Ren <guoren@kernel.org>
2022-07-31 05:24:42 -04:00
..
2021-02-27 22:04:14 +08:00
2021-04-20 09:58:29 +08:00
2021-02-27 22:04:14 +08:00
2021-02-27 22:04:14 +08:00
2021-02-27 22:04:14 +08:00
2022-07-31 05:24:42 -04:00
2021-02-27 22:04:14 +08:00
2021-02-27 22:04:14 +08:00
2021-02-27 22:04:14 +08:00
2021-01-12 09:52:40 +08:00
2021-02-27 22:04:14 +08:00
2020-07-31 01:55:46 +00:00
2018-10-26 00:54:22 +08:00
2022-07-31 05:24:42 -04:00
2021-02-27 22:04:14 +08:00
2021-02-27 22:04:14 +08:00
2020-02-21 15:43:25 +08:00
2021-02-27 22:04:14 +08:00
2021-07-01 11:06:03 -07:00
2020-04-03 11:14:17 +08:00
2021-02-27 22:04:14 +08:00
2018-10-26 00:54:26 +08:00
2022-07-22 21:36:14 -04:00
2021-02-27 22:04:14 +08:00
2018-12-31 23:03:53 +08:00
2022-07-31 05:24:42 -04:00
2022-07-31 05:24:42 -04:00
2021-02-27 22:04:14 +08:00
2021-02-27 22:04:14 +08:00
2021-02-27 22:04:14 +08:00
2022-02-25 09:36:06 +01:00
2021-02-27 22:04:14 +08:00
2021-02-27 22:04:14 +08:00
2021-02-27 22:04:14 +08:00
2022-02-25 09:36:06 +01:00
2021-02-27 22:04:14 +08:00
2020-04-03 11:37:51 +08:00
2021-04-20 09:58:29 +08:00