summaryrefslogtreecommitdiff
path: root/sound/pci/als4000.c
diff options
context:
space:
mode:
authorMax Gurtovoy <maxg@mellanox.com>2020-07-31 10:38:22 +0300
committerMichael S. Tsirkin <mst@redhat.com>2020-08-05 18:08:41 +0300
commit0ea9ee430e74b16c6b17e70757d1c26d8d140e1f (patch)
tree6aa33641d8e365181f33587a1bc6419b8d855ebf /sound/pci/als4000.c
parent6234f80574d7569444d8718355fa2838e92b158b (diff)
downloadlinux-0ea9ee430e74b16c6b17e70757d1c26d8d140e1f.tar.xz
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>
Diffstat (limited to 'sound/pci/als4000.c')
0 files changed, 0 insertions, 0 deletions