[PATCH] nvme-pci: fix dma unmapping when using PRPs and not using the IOVA mapping

Jens Axboe axboe at kernel.dk
Tue Jul 8 05:55:20 PDT 2025


On Mon, 07 Jul 2025 14:52:23 +0200, Christoph Hellwig wrote:
> The current version of the blk_rq_dma_map support in nvme-pci tries to
> reconstruct the DMA mappings from the on the wire descriptors if they
> are needed for unmapping.  While this is not the case for the direct
> mapping fast path and the IOVA path, it is needed for the non-IOVA slow
> path, e.g. when using the interconnect is not dma coherent, when using
> swiotlb bounce buffering, or a IOMMU mapping that can't coalesce.
> 
> [...]

Applied, thanks!

[1/1] nvme-pci: fix dma unmapping when using PRPs and not using the IOVA mapping
      commit: b8b7570a7ec872f2a27b775c4f8710ca8a357adf

Best regards,
-- 
Jens Axboe






More information about the Linux-nvme mailing list