[RESEND PATCH v8 05/11] PCI: pci_stub: Set driver_managed_dma

2022-04-17 Thread Lu Baolu
The current VFIO implementation allows pci-stub driver to be bound to a PCI device with other devices in the same IOMMU group being assigned to userspace. The pci-stub driver has no dependencies on DMA or the IOVA mapping of the device, but it does prevent the user from having direct access to the

[PATCH v8 05/11] PCI: pci_stub: Set driver_managed_dma

2022-03-07 Thread Lu Baolu
The current VFIO implementation allows pci-stub driver to be bound to a PCI device with other devices in the same IOMMU group being assigned to userspace. The pci-stub driver has no dependencies on DMA or the IOVA mapping of the device, but it does prevent the user from having direct access to the