JIRA: https://issues.redhat.com/browse/RHEL-27742 Conflicts: * the last hunk for "include/linux/atomic/atomic-arch-fallback.h", "include/linux/atomic/atomic-instrumented.h", and "scripts/atomic/gen-atomic-instrumented.sh" are different because the RHEL-9 backport for commit e6ce9d741163 ("locking/atomic: Add generic try_cmpxchg{,64}_local() support") has dropped the ball and lost those hunks. We're just fixing that mistake in here. This patch is a backport of the following upstream commit: commit 8c8b096a23d12fedf3c0f50524f30113ef97aa8c Author: Peter Zijlstra <peterz@infradead.org> Date: Wed May 31 15:08:37 2023 +0200 instrumentation: Wire up cmpxchg128() Wire up the cmpxchg128 family in the atomic wrapper scripts. These provide the generic cmpxchg128 family of functions from the arch_ prefixed version, adding explicit instrumentation where needed. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Mark Rutland <mark.rutland@arm.com> Acked-by: Mark Rutland <mark.rutland@arm.com> Tested-by: Mark Rutland <mark.rutland@arm.com> Link: https://lore.kernel.org/r/20230531132323.519237070@infradead.org Signed-off-by: Rafael Aquini <raquini@redhat.com> |
||
---|---|---|
.. | ||
fallbacks | ||
atomic-tbl.sh | ||
atomics.tbl | ||
check-atomics.sh | ||
gen-atomic-fallback.sh | ||
gen-atomic-instrumented.sh | ||
gen-atomic-long.sh | ||
gen-atomics.sh |