Re: [PATCH v1 09/17] docs: core-api: document the IOVA-based API
From: Leon Romanovsky
Date: Thu Oct 31 2024 - 04:00:10 EST
On Wed, Oct 30, 2024 at 06:41:21PM -0700, Randy Dunlap wrote:
> (nits)
>
> On 10/30/24 8:12 AM, Leon Romanovsky wrote:
> > From: Christoph Hellwig <hch@xxxxxx>
> >
> > Add an explanation of the newly added IOVA-based mapping API.
> >
> > Signed-off-by: Christoph Hellwig <hch@xxxxxx>
> > Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxx>
> > ---
> > Documentation/core-api/dma-api.rst | 70 ++++++++++++++++++++++++++++++
> > 1 file changed, 70 insertions(+)
<...>
> > +These APIs allow a very efficient mapping when using an IOMMU. They are an
> > +optional path that requires extra code and are only recommended for drivers
> > +where DMA mapping performance, or the space usage for storing the DMA addresses
> > +matter. All the consideration from the previous section apply here as well.
>
> considerations
<...>
> > +is used to unmap a range previous mapped, and
>
> previously
Thanks