linux/drivers/vfio
Anthony Yznaga ffc95d1b8e vfio/type1: Fix vfio_find_dma_valid return
vfio_find_dma_valid is defined to return WAITED on success if it was
necessary to wait.  However, the loop forgets the WAITED value returned
by vfio_wait() and returns 0 in a later iteration.  Fix it.

Signed-off-by: Anthony Yznaga <anthony.yznaga@oracle.com>
Reviewed-by: Steve Sistare <steven.sistare@oracle.com>
Link: https://lore.kernel.org/r/1629736550-2388-1-git-send-email-anthony.yznaga@oracle.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2021-08-24 12:09:50 -06:00
..
fsl-mc vfio/fsl: Move to the device set infrastructure 2021-08-11 09:50:11 -06:00
mdev vfio: Remove struct vfio_device_ops open/release 2021-08-11 09:50:11 -06:00
pci vfio/pci: Reorganize VFIO_DEVICE_PCI_HOT_RESET to use the device set 2021-08-11 09:50:11 -06:00
platform vfio/platform: Use open_device() instead of open coding a refcnt scheme 2021-08-11 09:50:11 -06:00
Kconfig vfio: Use config not menuconfig for VFIO_NOIOMMU 2021-08-02 15:23:42 -06:00
Makefile vfio/fsl-mc: Add VFIO framework skeleton for fsl-mc devices 2020-10-07 14:17:33 -06:00
vfio_iommu_spapr_tce.c vfio/spapr_tce: convert get_user_pages() --> pin_user_pages() 2020-07-27 13:43:38 -06:00
vfio_iommu_type1.c vfio/type1: Fix vfio_find_dma_valid return 2021-08-24 12:09:50 -06:00
vfio_spapr_eeh.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
vfio.c vfio: Remove struct vfio_device_ops open/release 2021-08-11 09:50:11 -06:00
virqfd.c vfio/virqfd: Drain events from eventfd in virqfd_wakeup() 2020-11-15 09:49:10 -05:00