Re: [PATCH] drm/virtio: fix vq wait_event condition

2018-04-22 Thread Dave Airlie
On 20 April 2018 at 17:22, Gerd Hoffmann wrote: > On Tue, Apr 03, 2018 at 11:59:04AM +0200, Gerd Hoffmann wrote: >> Wait until we have enough space in the virt queue to actually queue up >> our request. Avoids the guest spinning in case we have a non-zero >> amount of free

Re: [PATCH] drm/virtio: fix vq wait_event condition

2018-04-20 Thread Dave Airlie
Reviewed-by: Dave Airlie On Fri., 20 Apr. 2018, 17:23 Gerd Hoffmann, wrote: > On Tue, Apr 03, 2018 at 11:59:04AM +0200, Gerd Hoffmann wrote: > > Wait until we have enough space in the virt queue to actually queue up > > our request. Avoids the guest

Re: [PATCH] drm/virtio: fix vq wait_event condition

2018-04-20 Thread Gerd Hoffmann
On Tue, Apr 03, 2018 at 11:59:04AM +0200, Gerd Hoffmann wrote: > Wait until we have enough space in the virt queue to actually queue up > our request. Avoids the guest spinning in case we have a non-zero > amount of free entries but not enough for the request. Ping airlied, can you please either

[PATCH] drm/virtio: fix vq wait_event condition

2018-04-03 Thread Gerd Hoffmann
Wait until we have enough space in the virt queue to actually queue up our request. Avoids the guest spinning in case we have a non-zero amount of free entries but not enough for the request. Cc: sta...@vger.kernel.org Reported-by: Alain Magloire Signed-off-by: Gerd