[PATCH v8 23/24] nvme-pci: convert to blk_rq_dma_map

ALOK TIWARI alok.a.tiwari at oracle.com
Fri Apr 18 11:29:09 PDT 2025



On 18-04-2025 12:17, Leon Romanovsky wrote:
> +	prp_list = iod->descriptors[desc];
> +	do {
> +		/*
> +		 * We are in this mode as IOVA path wasn't taken and DMA length
> +		 * is morethan two sectors. In such case, mapping was perfoormed
> +		 * per-NVME_CTRL_PAGE_SIZE, so unmap accordingly.
> +		 */

typo perfoormed -> performed , morethan  -> more than

> +		dma_unmap_page(dev->dev, dma_addr, dma_len, dir);
> +		if (i == NVME_CTRL_PAGE_SIZE >> 3) {
> +			prp_list = iod->descriptors[++desc];
> +			i = 0;
> +		}


Thanks,
Alok



More information about the Linux-nvme mailing list