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

2019-06-06 Thread Gerd Hoffmann
On Wed, Jun 05, 2019 at 04:44:23PM -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 same memory

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

2019-06-05 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 same memory barries. Signed-off-by: David Riley --- drivers/gpu/drm/virtio/virtgpu_ioctl.c |