[PATCH v4 04/23] PCI/P2PDMA: Expose pci_p2pdma_map_type()
Chaitanya Kulkarni
chaitanyak at nvidia.com
Mon Dec 13 14:05:27 PST 2021
On 11/17/21 1:53 PM, Logan Gunthorpe wrote:
> pci_p2pdma_map_type() will be needed by the dma-iommu map_sg
> implementation because it will need to determine the mapping type
> ahead of actually doing the mapping to create the actual IOMMU mapping.
>
> Prototypes for this helper are added to dma-map-ops.h as they are only
> useful to dma map implementations and don't need to pollute the public
> pci-p2pdma header
>
> Signed-off-by: Logan Gunthorpe <logang at deltatee.com>
> Acked-by: Bjorn Helgaas <bhelgaas at google.com>
> Reviewed-by: Jason Gunthorpe <jgg at nvidia.com>
> ---
The documentation looks much better from reviewer point of view.
Looks good.
Reviewed-by: Chaitanya Kulkarni <kch at nvidia.com>
More information about the Linux-nvme
mailing list