diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2019-12-07 14:51:04 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-12-07 14:51:04 -0800 |
commit | 94e89b40235476a83a53a47b9ffb0cb91a4c335e (patch) | |
tree | 3411f7cbbf0f50a1719bda94ea4484fb4982794f /drivers/vfio/pci | |
parent | f74fd13f4585e418a3e630a82468be58bf1d98c1 (diff) | |
parent | 9917b54aded12dff9beb9e709981617b788e44b0 (diff) | |
download | linux-94e89b40235476a83a53a47b9ffb0cb91a4c335e.tar.gz linux-94e89b40235476a83a53a47b9ffb0cb91a4c335e.tar.bz2 linux-94e89b40235476a83a53a47b9ffb0cb91a4c335e.zip |
Merge tag 'vfio-v5.5-rc1' of git://github.com/awilliam/linux-vfio
Pull VFIO updates from Alex Williamson:
- Remove hugepage checks for reserved pfns (Ben Luo)
- Fix irq-bypass unregister ordering (Jiang Yi)
* tag 'vfio-v5.5-rc1' of git://github.com/awilliam/linux-vfio:
vfio/pci: call irq_bypass_unregister_producer() before freeing irq
vfio/type1: remove hugepage checks in is_invalid_reserved_pfn()
Diffstat (limited to 'drivers/vfio/pci')
-rw-r--r-- | drivers/vfio/pci/vfio_pci_intrs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vfio/pci/vfio_pci_intrs.c b/drivers/vfio/pci/vfio_pci_intrs.c index 3fa3f728fb39..2056f3f85f59 100644 --- a/drivers/vfio/pci/vfio_pci_intrs.c +++ b/drivers/vfio/pci/vfio_pci_intrs.c @@ -294,8 +294,8 @@ static int vfio_msi_set_vector_signal(struct vfio_pci_device *vdev, irq = pci_irq_vector(pdev, vector); if (vdev->ctx[vector].trigger) { - free_irq(irq, vdev->ctx[vector].trigger); irq_bypass_unregister_producer(&vdev->ctx[vector].producer); + free_irq(irq, vdev->ctx[vector].trigger); kfree(vdev->ctx[vector].name); eventfd_ctx_put(vdev->ctx[vector].trigger); vdev->ctx[vector].trigger = NULL; |