Only the memory_barrer one is a bug; the rest improve system-wide interaction, and would only affect pre-armv6.
Changes for v2: * Adjust atomic_mmu_lookup as per laurent. * Fix alignment check for arm_kernel_cmpxchg32_helper. r~ Richard Henderson (3): linux-user/arm: Implement __kernel_memory_barrier linux-user/arm: Implement __kernel_cmpxchg with host atomics linux-user/arm: Implement __kernel_cmpxchg64 with host atomics linux-user/arm/cpu_loop.c | 168 +++++++++++++++++++++++--------------- 1 file changed, 101 insertions(+), 67 deletions(-) -- 2.25.1