Re: [RFC 20/20] Doc: Add documentation for /dev/iommu

2021-10-29 Thread Jason Gunthorpe via iommu
On Fri, Oct 29, 2021 at 11:15:31AM +1100, David Gibson wrote: > > +Device must be bound to an iommufd before the attach operation can > > +be conducted. The binding operation builds the connection between > > +the devicefd (opened via device-passthrough framework) and IOMMUFD. > > +IOMMU-protected

Re: [RFC 20/20] Doc: Add documentation for /dev/iommu

2021-10-29 Thread David Gibson
On Sun, Sep 19, 2021 at 02:38:48PM +0800, Liu Yi L wrote: > Document the /dev/iommu framework for user. > > Open: > Do we want to document /dev/iommu in Documentation/userspace-api/iommu.rst? > Existing iommu.rst is for the vSVA interfaces, honestly, may need to rewrite > this doc entirely. > > S

[RFC 20/20] Doc: Add documentation for /dev/iommu

2021-09-18 Thread Liu Yi L
Document the /dev/iommu framework for user. Open: Do we want to document /dev/iommu in Documentation/userspace-api/iommu.rst? Existing iommu.rst is for the vSVA interfaces, honestly, may need to rewrite this doc entirely. Signed-off-by: Kevin Tian Signed-off-by: Liu Yi L --- Documentation/user