linux-stable/drivers/vhost
Zhu Lingshan cce0ab2b2a vhost_vdpa: don't setup irq offloading when irq_num < 0
When irq number is negative(e.g., -EINVAL), the virtqueue
may be disabled or the virtqueues are sharing a device irq.
In such case, we should not setup irq offloading for a virtqueue.

Signed-off-by: Zhu Lingshan <lingshan.zhu@intel.com>
Link: https://lore.kernel.org/r/20220222115428.998334-3-lingshan.zhu@intel.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2022-03-28 16:52:57 -04:00
..
iotlb.c vhost: fix hung thread due to erroneous iotlb entries 2022-03-06 06:05:45 -05:00
Kconfig vhost_vdpa: implement IRQ offloading in vhost_vdpa 2020-08-05 11:08:42 -04:00
Makefile vhost: introduce vDPA-based backend 2020-04-02 10:41:40 -04:00
net.c vhost_net: fix OoB on sendmsg() failure. 2021-09-09 10:52:12 +01:00
scsi.c vhost scsi: Convert to SPDX identifier 2021-09-05 16:23:08 -04:00
test.c vhost/test: fix memory leak of vhost virtqueues 2022-01-14 18:50:53 -05:00
test.h tools/virtio: Add --reset 2020-06-22 12:34:21 -04:00
vdpa.c vhost_vdpa: don't setup irq offloading when irq_num < 0 2022-03-28 16:52:57 -04:00
vhost.c vhost: cache avail index in vhost_enable_notify() 2022-03-28 16:52:57 -04:00
vhost.h vhost: fix up vhost_work coding style 2021-07-03 04:50:55 -04:00
vringh.c vringh: Use wiov->used to check for read/write desc order 2021-08-11 06:44:24 -04:00
vsock.c vsock: each transport cycles only on its own sockets 2022-03-11 23:14:19 -08:00