[PATCH 09/18] docs: core-api: document the IOVA-based API
Logan Gunthorpe
logang at deltatee.com
Mon Oct 28 11:12:34 PDT 2024
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,
Logan
More information about the Linux-nvme
mailing list