[PATCH v3 05/20] dma-mapping: allow EREMOTEIO return code for P2PDMA transfers
Jason Gunthorpe
jgg at ziepe.ca
Tue Sep 28 11:57:55 PDT 2021
On Thu, Sep 16, 2021 at 05:40:45PM -0600, Logan Gunthorpe wrote:
> Add EREMOTEIO error return to dma_map_sgtable() which will be used
> by .map_sg() implementations that detect P2PDMA pages that the
> underlying DMA device cannot access.
>
> Signed-off-by: Logan Gunthorpe <logang at deltatee.com>
> ---
> kernel/dma/mapping.c | 16 +++++++++-------
> 1 file changed, 9 insertions(+), 7 deletions(-)
Reviewed-by: Jason Gunthorpe <jgg at nvidia.com>
Jason
More information about the Linux-nvme
mailing list