RE: [RFC 00/20] Introduce /dev/iommu for userspace I/O address space management

From: Liu, Yi L
Date: Sun Sep 19 2021 - 02:46:36 EST


> From: Liu, Yi L <yi.l.liu@xxxxxxxxx>
> Sent: Sunday, September 19, 2021 2:38 PM
[...]
> [Series Overview]
>
> * Basic skeleton:
> 0001-iommu-iommufd-Add-dev-iommu-core.patch
>
> * VFIO PCI creates device-centric interface:
> 0002-vfio-Add-device-class-for-dev-vfio-devices.patch
> 0003-vfio-Add-vfio_-un-register_device.patch
> 0004-iommu-Add-iommu_device_get_info-interface.patch
> 0005-vfio-pci-Register-device-to-dev-vfio-devices.patch
>
> * Bind device fd with iommufd:
> 0006-iommu-Add-iommu_device_init-exit-_user_dma-interface.patch
> 0007-iommu-iommufd-Add-iommufd_-un-bind_device.patch
> 0008-vfio-pci-Add-VFIO_DEVICE_BIND_IOMMUFD.patch
>
> * IOASID allocation:
> 0009-iommu-Add-page-size-and-address-width-attributes.patch
> 0010-iommu-iommufd-Add-IOMMU_DEVICE_GET_INFO.patch
> 0011-iommu-iommufd-Add-IOMMU_IOASID_ALLOC-FREE.patch
> 0012-iommu-iommufd-Add-IOMMU_CHECK_EXTENSION.patch
>
> * IOASID [de]attach:
> 0013-iommu-Extend-iommu_at-de-tach_device-for-multiple-de.patch
> 0014-iommu-iommufd-Add-iommufd_device_-de-attach_ioasid.patch
> 0015-vfio-pci-Add-VFIO_DEVICE_-DE-ATTACH_IOASID.patch
>
> * DMA (un)map:
> 0016-vfio-type1-Export-symbols-for-dma-un-map-code-sharin.patch
> 0017-iommu-iommufd-Report-iova-range-to-userspace.patch
> 0018-iommu-iommufd-Add-IOMMU_-UN-MAP_DMA-on-IOASID.patch
>
> * Report the device info in vt-d driver to enable whole series:
> 0019-iommu-vt-d-Implement-device_info-iommu_ops-callback.patch
>
> * Add doc:
> 0020-Doc-Add-documentation-for-dev-iommu.patch

Please refer to the above patch overview. sorry for the duplicated contents.

thanks,
Yi Liu