new DMA API conversion for nvme-pci v3

Jens Axboe axboe at kernel.dk
Fri Jun 27 07:56:32 PDT 2025


On 6/27/25 1:37 AM, Daniel Gomez wrote:
> On 25/06/2025 18.38, Jens Axboe wrote:
>>
>> On Wed, 25 Jun 2025 13:34:57 +0200, Christoph Hellwig wrote:
>>> this series converts the nvme-pci driver to the new IOVA-based DMA API
>>> for the data path.
>>>
>>> Chances since v2:
>>>  - fix handling of sgl_threshold=0
>>>
>>> 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
>>>
>>> [...]
>>
>> Applied, thanks!
>>
>> [1/8] block: don't merge different kinds of P2P transfers in a single bio
>>       commit: 226d6099402d8de166af60b2794fc198360d98fb
>> [2/8] block: add scatterlist-less DMA mapping helpers
>>       commit: d6c12c69ef4fa33e32ceda4a53991ace01401cd9
>> [3/8] nvme-pci: refactor nvme_pci_use_sgls
>>       commit: 07c81cbf438b769e0d673be3b5c021a424a4dc6f
>> [4/8] nvme-pci: merge the simple PRP and SGL setup into a common helper
>>       commit: 06cae0e3f61c4c1ef18726b817bbb88c29f81e57
>> [5/8] nvme-pci: remove superfluous arguments
>>       commit: 07de960ac7577662c68f1d21bd4907b8dfc790c4
>> [6/8] nvme-pci: convert the data mapping to blk_rq_dma_map
>>       commit: 235118de382d6545d3822ead0571a05e017ed8f1
>> [7/8] nvme-pci: replace NVME_MAX_KB_SZ with NVME_MAX_BYTE
>>       commit: d1df6bd4c551110e0d1b06ee85c7bca057439d28
>> [8/8] nvme-pci: rework the build time assert for NVME_MAX_NR_DESCRIPTORS
>>       commit: 0c34198a16a88878aba455bebe157037c9ab52c5
>>
>> Best regards,
> 
> Do you still accept new tags/trailers?

Even if they don't always end up in the git tree, please do provide
them. This thread is linked from there anyway, so it still provides
value.

-- 
Jens Axboe



More information about the Linux-nvme mailing list