Home
last modified time | relevance | path

Searched hist:"253 ce7b2" (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/target/ppc/
H A Dtranslate.c253ce7b2 Thu Apr 27 00:18:19 CDT 2017 Nikunj A Dadhania <nikunj@linux.vnet.ibm.com> target/ppc: Emulate LL/SC using cmpxchg helpers

Emulating LL/SC with cmpxchg is not correct, since it can suffer from
the ABA problem. However, portable parallel code is written assuming
only cmpxchg which means that in practice this is a viable alternative.

Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>