[PATCH 09/18] docs: core-api: document the IOVA-based API
Leon Romanovsky
leon at kernel.org
Mon Oct 28 11:28:15 PDT 2024
On Mon, Oct 28, 2024 at 12:12:34PM -0600, Logan Gunthorpe wrote:
>
> I noticed a couple of typos below:
>
> On 2024-10-27 08:21, Leon Romanovsky wrote:
>
> > +Part Ie - IOVA-based DMA mappings
> > +---------------------------------
> > +
> > +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
>
> The second 'dma' should be capitalized as it is in other uses.
>
>
> > + int dma_iova_sync(struct device *dev, struct dma_iova_state *state,
> > + size_t offset, size_t size, int ret);
> > +
> > +Must called to sync the IOMMU page tables for IOVA-range mapped by one or
> > +more calls to ``dma_iova_link()``.
>
> "Must be called" instead of "Must called"
Thanks, will fix.
>
> Thanks,
>
> Logan
More information about the Linux-nvme
mailing list