Re: [PATCH v2 4/4] drm/virtio: Add memory barriers for capset cache.

2019-06-12 Thread Gerd Hoffmann
On Mon, Jun 10, 2019 at 02:18:10PM -0700, davidri...@chromium.org wrote: > From: David Riley > > After data is copied to the cache entry, atomic_set is used indicate > that the data is the entry is valid without appropriate memory barriers. > Similarly the read side was missing the corresponding

[PATCH v2 4/4] drm/virtio: Add memory barriers for capset cache.

2019-06-10 Thread davidriley
From: David Riley After data is copied to the cache entry, atomic_set is used indicate that the data is the entry is valid without appropriate memory barriers. Similarly the read side was missing the corresponding memory barriers. Signed-off-by: David Riley --- drivers/gpu/drm/virtio/virtgpu_i