[PATCH 0/3] MIPS: Enable ARCH_SUPPORTS_ATOMIC_RMW

From: Jiaxun Yang
Date: Fri May 19 2023 - 12:49:02 EST


Hi all,

This series enables ARCH_SUPPORTS_ATOMIC_RMW for MIPS.
The first two patches are for making LLSC availability information
available to Kconfig, and the last one selects the actual option.

Please review.

Thanks
- Jiaxun

Jiaxun Yang (3):
MIPS: Introduce WAR_4KC_LLSC config option
MIPS: Introduce config options for LLSC availability
MIPS: Select ARCH_SUPPORTS_ATOMIC_RMW when possible

arch/mips/Kconfig | 27 +++++++++++++++++++
arch/mips/include/asm/cpu-features.h | 7 ++++-
arch/mips/include/asm/cpu.h | 1 +
.../asm/mach-ath25/cpu-feature-overrides.h | 2 +-
arch/mips/kernel/cpu-probe.c | 7 +++++
5 files changed, 42 insertions(+), 2 deletions(-)

--
2.39.2 (Apple Git-143)