Skip to content

Commit d6f04f2

Browse files
committed
Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
Pull virtio fixes from Michael Tsirkin: - Fix a regression in virtio pci on power - Add a reviewer for ifcvf * tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost: vdpa/ifcvf: add reviewer virtio_pci: use irq to detect interrupt support
2 parents aa41478 + be8ddea commit d6f04f2

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

MAINTAINERS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21739,6 +21739,10 @@ F: include/linux/virtio*.h
2173921739
F: include/uapi/linux/virtio_*.h
2174021740
F: tools/virtio/
2174121741

21742+
IFCVF VIRTIO DATA PATH ACCELERATOR
21743+
R: Zhu Lingshan <[email protected]>
21744+
F: drivers/vdpa/ifcvf/
21745+
2174221746
VIRTIO BALLOON
2174321747
M: "Michael S. Tsirkin" <[email protected]>
2174421748
M: David Hildenbrand <[email protected]>

drivers/virtio/virtio_pci_common.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -409,8 +409,8 @@ int vp_find_vqs(struct virtio_device *vdev, unsigned int nvqs,
409409
err = vp_find_vqs_msix(vdev, nvqs, vqs, callbacks, names, false, ctx, desc);
410410
if (!err)
411411
return 0;
412-
/* Is there an interrupt pin? If not give up. */
413-
if (!(to_vp_device(vdev)->pci_dev->pin))
412+
/* Is there an interrupt? If not give up. */
413+
if (!(to_vp_device(vdev)->pci_dev->irq))
414414
return err;
415415
/* Finally fall back to regular interrupts. */
416416
return vp_find_vqs_intx(vdev, nvqs, vqs, callbacks, names, ctx);

0 commit comments

Comments
 (0)