Re: [PATCH 1/5] drm/msm: Fix improper uses of smp_mb__{before,after}_atomic()

2019-05-09 Thread Andrea Parri
On Mon, Apr 29, 2019 at 10:14:57PM +0200, Andrea Parri wrote: > These barriers only apply to the read-modify-write operations; in > particular, they do not apply to the atomic_set() primitive. > > Replace the barriers with smp_mb()s. > > Fixes: b1fc2839d2f92 ("drm/msm: Implement preemption for

[PATCH 1/5] drm/msm: Fix improper uses of smp_mb__{before, after}_atomic()

2019-04-30 Thread Andrea Parri
These barriers only apply to the read-modify-write operations; in particular, they do not apply to the atomic_set() primitive. Replace the barriers with smp_mb()s. Fixes: b1fc2839d2f92 ("drm/msm: Implement preemption for A5XX targets") Cc: sta...@vger.kernel.org Reported-by: "Paul E. McKenney"