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

From: Logan Gunthorpe
Date: Mon Oct 28 2024 - 14:12:17 EST




On 2024-10-27 08:21, Leon Romanovsky wrote:
> From: Christoph Hellwig <hch@xxxxxx>
>
> 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@xxxxxx>
> Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxx>

Also looks good. Thanks!

Reviewed-by: Logan Gunthorpe <logang@xxxxxxxxxxxx>