new DMA API conversion for nvme-pci v2

Chaitanya Kulkarni chaitanyak at nvidia.com
Tue Jun 24 21:32:44 PDT 2025


On 6/23/25 14:45, Chaitanya Kulkarni wrote:
> On 6/23/25 07:12, Christoph Hellwig wrote:
>> Hi all,
>>
>> this series converts the nvme-pci driver to the new IOVA-based DMA API
>> for the data path.
>>
>> Chances since v1:
>>    - minor cleanups to the block dma mapping helpers
>>    - fix the metadata SGL supported check for bisectability
>>    - fix SGL threshold check
>>    - fix/simplify metadata SGL force checks
>>
>> Diffstat:
>>    block/bio-integrity.c      |    3
>>    block/bio.c                |   20 -
>>    block/blk-mq-dma.c         |  161 +++++++++++
>>    drivers/nvme/host/pci.c    |  615 +++++++++++++++++++++++++--------------------
>>    include/linux/blk-mq-dma.h |   63 ++++
>>    include/linux/blk_types.h  |    2
>>    6 files changed, 597 insertions(+), 267 deletions(-)
> I'll have this tested and reviewed by tomorrow end of my day on my H/W
> setup.
> Gentle request, please wait till tomorrow end of the day before applying.
>
> -ck
>
>

Patch-series does look good to me (except the SGL parameter fix).
I ran out of time before I could finish the performance tests today.

I'll definitely have it finished before tomorrow end of the day to
provide the necessary tags.

-ck




More information about the Linux-nvme mailing list