[PATCH v10 02/24] dma-mapping: move the PCI P2PDMA mapping helpers to pci-p2pdma.h
Baolu Lu
baolu.lu at linux.intel.com
Mon Apr 28 19:09:07 PDT 2025
On 4/28/25 17:22, 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>
> Reviewed-by: Logan Gunthorpe<logang at deltatee.com>
> Acked-by: Bjorn Helgaas<bhelgaas at google.com>
> Tested-by: Jens Axboe<axboe at kernel.dk>
> Reviewed-by: Luis Chamberlain<mcgrof at kernel.org>
> Signed-off-by: Leon Romanovsky<leonro at nvidia.com>
Reviewed-by: Lu Baolu <baolu.lu at linux.intel.com>
More information about the Linux-nvme
mailing list