linux_dsm_epyc7002/drivers/gpu/drm/virtio
Gerd Hoffmann 744583ecc3 drm/virtio: notify virtqueues without holding spinlock
Split virtqueue_kick() call into virtqueue_kick_prepare(), which
requires serialization, and virtqueue_notify(), which does not.  Move
the virtqueue_notify() call out of the critical section protected by the
queue lock.  This avoids triggering a vmexit while holding the lock and
thereby fixes a rather bad spinlock contention.

Suggested-by: Chia-I Wu <olvaffe@gmail.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20190813082509.29324-3-kraxel@redhat.com
2019-08-28 09:28:06 +02:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile drm/virtio: drop framebuffer dirty tracking code 2019-06-13 08:47:15 +02:00
virtgpu_debugfs.c drm/virtgpu: drop use of drmP.h 2019-07-15 18:11:31 +02:00
virtgpu_display.c drm/virtgpu: drop use of drmP.h 2019-07-15 18:11:31 +02:00
virtgpu_drv.c drm: drop resource_id parameter from drm_fb_helper_remove_conflicting_pci_framebuffers 2019-08-23 10:48:31 +02:00
virtgpu_drv.h drm/ttm: use gem vma_node 2019-08-06 08:21:54 +02:00
virtgpu_fence.c drm/virtgpu: drop use of drmP.h 2019-07-15 18:11:31 +02:00
virtgpu_gem.c drm/virtgpu: drop use of drmP.h 2019-07-15 18:11:31 +02:00
virtgpu_ioctl.c dma-buf: rename reservation_object to dma_resv 2019-08-13 09:09:30 +02:00
virtgpu_kms.c drm/virtgpu: drop use of drmP.h 2019-07-15 18:11:31 +02:00
virtgpu_object.c drm/virtio: make resource id workaround runtime switchable. 2019-08-27 07:35:08 +02:00
virtgpu_plane.c drm/virtio: add plane check 2019-08-28 09:28:05 +02:00
virtgpu_prime.c drm/ttm: use gem vma_node 2019-08-06 08:21:54 +02:00
virtgpu_trace_points.c drm/virtio: add trace events for commands 2019-05-06 10:52:58 +02:00
virtgpu_trace.h drm/virtio: add trace events for commands 2019-05-06 10:52:58 +02:00
virtgpu_ttm.c drm/virtgpu: drop use of drmP.h 2019-07-15 18:11:31 +02:00
virtgpu_vq.c drm/virtio: notify virtqueues without holding spinlock 2019-08-28 09:28:06 +02:00