linux/drivers/vfio/pci
Leon Romanovsky 61ceaf2361 vfio: Prevent from pinned DMABUF importers to attach to VFIO DMABUF
Some pinned importers, such as non-ODP RDMA ones, cannot invalidate their
mappings and therefore must be prevented from attaching to this exporter.

Fixes: 5d74781ebc ("vfio/pci: Add dma-buf export support for MMIO regions")
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Reviewed-by: Pranjal Shrivastava <praan@google.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20260121-vfio-add-pin-v1-1-4e04916b17f1@nvidia.com
Signed-off-by: Alex Williamson <alex@shazbot.org>
History 2026-01-23 08:47:48 -07:00
..
hisilicon vfio/pci: Convert all PCI drivers to get_region_info_caps 2025-11-12 15:06:40 -07:00
mlx5 vfio/pci: Convert all PCI drivers to get_region_info_caps 2025-11-12 15:06:40 -07:00
nvgrace-gpu vfio/pci: Disable qword access to the PCI ROM bar 2025-12-23 14:07:08 -07:00
pds vfio/pds: Fix memory leak in pds_vfio_dirty_enable() 2025-12-28 12:33:40 -07:00
qat vfio/pci: Convert all PCI drivers to get_region_info_caps 2025-11-12 15:06:40 -07:00
virtio vfio/pci: Convert all PCI drivers to get_region_info_caps 2025-11-12 15:06:40 -07:00
xe vfio/xe: Fix use-after-free in xe_vfio_pci_alloc_file() 2025-12-28 12:42:46 -07:00
Kconfig drm next part 2 for 6.19-rc1 2025-12-04 19:42:53 -08:00
Makefile drm next part 2 for 6.19-rc1 2025-12-04 19:42:53 -08:00
trace.h vfio/pci: Cleanup license mess 2019-01-22 11:06:05 -07:00
vfio_pci.c [v9] vfio/pci: Allow MMIO regions to be exported through dma-buf 2025-11-20 21:20:00 -07:00
vfio_pci_config.c vfio/nvgrace-gpu: wait for the GPU mem to be ready 2025-11-28 10:09:26 -07:00
vfio_pci_core.c vfio: use vfio_pci_core_setup_barmap to map bar in mmap 2025-11-28 10:07:25 -07:00
vfio_pci_dmabuf.c vfio: Prevent from pinned DMABUF importers to attach to VFIO DMABUF 2026-01-23 08:47:48 -07:00
vfio_pci_igd.c vfio/pci: Use pci_is_display() 2025-07-17 15:30:13 -05:00
vfio_pci_intrs.c vfio/pci: Use RCU for error/request triggers to avoid circular locking 2025-11-28 10:04:27 -07:00
vfio_pci_priv.h vfio/nvgrace-gpu: wait for the GPU mem to be ready 2025-11-28 10:09:26 -07:00
vfio_pci_rdwr.c vfio/pci: Disable qword access to the VGA region 2025-12-23 14:07:08 -07:00
vfio_pci_zdev.c Merge remote-tracking branch 'mlx5/mlx5-vfio' into v6.1/vfio/next 2022-09-08 10:44:34 -06:00