linux/drivers/vdpa
Max Gurtovoy 0ea9ee430e vdpasim: protect concurrent access to iommu iotlb
Iommu iotlb can be accessed by different cores for performing IO using
multiple virt queues. Add a spinlock to synchronize iotlb accesses.

This could be easily reproduced when using more than 1 pktgen threads
to inject traffic to vdpa simulator.

Fixes: 2c53d0f64c06f("vdpasim: vDPA device simulator")
Cc: stable@vger.kernel.org
Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Link: https://lore.kernel.org/r/20200731073822.13326-1-jasowang@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2020-08-05 11:08:41 -04:00
..
ifcvf virtio: VIRTIO_F_IOMMU_PLATFORM -> VIRTIO_F_ACCESS_PLATFORM 2020-08-03 16:11:42 -04:00
vdpa_sim vdpasim: protect concurrent access to iommu iotlb 2020-08-05 11:08:41 -04:00
Kconfig vhost: revert "vhost: disable for OABI" 2020-06-02 02:45:13 -04:00
Makefile
vdpa.c vdpa: make sure set_features is invoked for legacy 2020-08-05 11:08:40 -04:00