Re: [PATCH] accel/tcg: Probe the proper permissions for atomic ops

2021-06-14 Thread Richard Henderson
On 6/14/21 3:18 AM, Alex Bennée wrote: Richard Henderson writes: We had a single ATOMIC_MMU_LOOKUP macro that probed for read+write on all atomic ops. This is incorrect for plain atomic load and atomic store. For user-only, we rely on the host page permissions. Resolves: https://gitlab.com

Re: [PATCH] accel/tcg: Probe the proper permissions for atomic ops

2021-06-14 Thread Alex Bennée
Richard Henderson writes: > We had a single ATOMIC_MMU_LOOKUP macro that probed for > read+write on all atomic ops. This is incorrect for > plain atomic load and atomic store. > > For user-only, we rely on the host page permissions. > > Resolves: https://gitlab.com/qemu-project/qemu/-/issues/3

[PATCH] accel/tcg: Probe the proper permissions for atomic ops

2021-06-12 Thread Richard Henderson
We had a single ATOMIC_MMU_LOOKUP macro that probed for read+write on all atomic ops. This is incorrect for plain atomic load and atomic store. For user-only, we rely on the host page permissions. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/390 Signed-off-by: Richard Henderson ---