Re: [PATCH v5 00/14] Fix BUG_ON in vfio_iommu_group_notifier()

2022-02-17 Thread Lu Baolu
On 1/4/22 9:56 AM, Lu Baolu wrote: Hi folks, The iommu group is the minimal isolation boundary for DMA. Devices in a group can access each other's MMIO registers via peer to peer DMA and also need share the same I/O address space. Once the I/O address space is assigned to user control it is no

Re: [PATCH v5 00/14] Fix BUG_ON in vfio_iommu_group_notifier()

2022-01-04 Thread Lu Baolu
Hi Jason, On 1/4/22 8:48 PM, Jason Gunthorpe wrote: On Tue, Jan 04, 2022 at 09:56:30AM +0800, Lu Baolu wrote: v5: - Move kernel dma ownership auto-claiming from driver core to bus callback. (Greg) - Refactor the iommu interfaces to make them more specific. (Jason/Robin) -

Re: [PATCH v5 00/14] Fix BUG_ON in vfio_iommu_group_notifier()

2022-01-04 Thread Jason Gunthorpe via iommu
On Tue, Jan 04, 2022 at 09:56:30AM +0800, Lu Baolu wrote: > v5: > - Move kernel dma ownership auto-claiming from driver core to bus > callback. (Greg) > - Refactor the iommu interfaces to make them more specific. > (Jason/Robin) > - Simplify the dma ownership implementation by

[PATCH v5 00/14] Fix BUG_ON in vfio_iommu_group_notifier()

2022-01-03 Thread Lu Baolu
Hi folks, The iommu group is the minimal isolation boundary for DMA. Devices in a group can access each other's MMIO registers via peer to peer DMA and also need share the same I/O address space. Once the I/O address space is assigned to user control it is no longer available to the dma_map*