Centos-kernel-stream-9/scripts/atomic
Rafael Aquini 1625227e20 instrumentation: Wire up cmpxchg128()
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>
2024-09-05 20:36:20 -04:00
..
fallbacks atomics: Provide atomic_add_negative() variants 2023-09-22 13:21:49 -04:00
atomic-tbl.sh
atomics.tbl atomics: Provide atomic_add_negative() variants 2023-09-22 13:21:49 -04:00
check-atomics.sh
gen-atomic-fallback.sh instrumentation: Wire up cmpxchg128() 2024-09-05 20:36:20 -04:00
gen-atomic-instrumented.sh instrumentation: Wire up cmpxchg128() 2024-09-05 20:36:20 -04:00
gen-atomic-long.sh
gen-atomics.sh