[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20231104091615.4884-1-wuqiang.matt@bytedance.com>
Date: Sat, 4 Nov 2023 17:16:11 +0800
From: "wuqiang.matt" <wuqiang.matt@...edance.com>
To: vgupta@...nel.org, bcain@...cinc.com, jonas@...thpole.se,
stefan.kristiansson@...nalahti.fi, shorne@...il.com,
geert@...ux-m68k.org, andi.shyti@...ux.intel.com, mingo@...nel.org,
palmer@...osinc.com, andrzej.hajda@...el.com, arnd@...db.de,
peterz@...radead.orgm, mhiramat@...nel.org
Cc: linux-snps-arc@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-hexagon@...r.kernel.org, linux-openrisc@...r.kernel.org,
linux-trace-kernel@...r.kernel.org, mattwu@....com,
linux@...ck-us.ne, "wuqiang.matt" <wuqiang.matt@...edance.com>
Subject: [PATCH v2 0/4] locking/atomic: arch_cmpxchg[64]_local undefined
This patch series implement arch_cmpxchg[64]_local for arc,
openrisc and hexagon.
For architectures that support native cmpxchg, we'd like to
implement arch_cmpxchg[64]_local with the native variants of
supported data size. If not, the generci_cmpxchg[64]_local
will be used.
wuqiang.matt (4):
locking/atomic: arc: data size checking in arch_cmpxchg
locking/atomic: arc: arch_cmpxchg[64]_local undefined
locking/atomic: openrisc: arch_cmpxchg[64]_local undefined
locking/atomic: hexagon: arch_cmpxchg[64]_local undefined
arch/arc/include/asm/cmpxchg.h | 40 ++++++++++++++++++----
arch/hexagon/include/asm/cmpxchg.h | 51 ++++++++++++++++++++++++++++-
arch/openrisc/include/asm/cmpxchg.h | 6 ++++
3 files changed, 90 insertions(+), 7 deletions(-)
--
2.40.1
Powered by blists - more mailing lists