mbox series

[v2,0/2] Introduce cmpxchg64() and guest_cmpxchg64()

Message ID 20200911160622.19721-1-julien@xen.org (mailing list archive)
Headers show
Series Introduce cmpxchg64() and guest_cmpxchg64() | expand

Message

Julien Grall Sept. 11, 2020, 4:06 p.m. UTC
From: Julien Grall <jgrall@amazon.com>

Hi all,

This small series introduced cmpxch64() and guest_cmpxchg64(). This will be
useful when porting IOREQ server to Arm.

Cheers,

Julien Grall (2):
  xen/arm: Remove cmpxchg_local() and drop _mb from the other helpers
  xen: Introduce cmpxchg64() and guest_cmpxchg64()

 xen/include/asm-arm/arm32/cmpxchg.h | 85 +++++++++++++++++++++++------
 xen/include/asm-arm/arm64/cmpxchg.h | 41 +++++---------
 xen/include/asm-arm/guest_atomics.h | 28 +++++++++-
 xen/include/asm-x86/guest_atomics.h |  1 +
 4 files changed, 107 insertions(+), 48 deletions(-)