[PATCH 02/18] dma-mapping: move the PCI P2PDMA mapping helpers to pci-p2pdma.h

Logan Gunthorpe logang at deltatee.com
Mon Oct 28 11:11:10 PDT 2024



On 2024-10-27 08:21, Leon Romanovsky wrote:
> From: Christoph Hellwig <hch at lst.de>
> 
> To support the upcoming non-scatterlist mapping helpers, we need to go
> back to have them called outside of the DMA API.  Thus move them out of
> dma-map-ops.h, which is only for DMA API implementations to pci-p2pdma.h,
> which is for driver use.
> 
> Note that the core helper is still not exported as the mapping is
> expected to be done only by very highlevel subsystem code at least for
> now.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> Signed-off-by: Leon Romanovsky <leonro at nvidia.com>

Also looks good. Thanks!

Reviewed-by: Logan Gunthorpe <logang at deltatee.com>



More information about the Linux-nvme mailing list