]> www.infradead.org Git - users/hch/misc.git/commit
nvme-pci: use dma_alloc_noncontigous if possible nvme-hmb
authorChristoph Hellwig <hch@lst.de>
Tue, 29 Oct 2024 04:07:41 +0000 (05:07 +0100)
committerChristoph Hellwig <hch@lst.de>
Thu, 31 Oct 2024 13:01:15 +0000 (14:01 +0100)
commitfbe138e80f30de0bd41dbebc7d8cd7cc1d53b88a
tree4e023d40faa748b488cd690b62d2b7014a964193
parent385dda09d7e8370ee0cc29a9d435ceca6f51dbf0
nvme-pci: use dma_alloc_noncontigous if possible

Use dma_alloc_noncontigous to allocate a single IOVA-contigous segment
when backed by an IOMMU.  This allow to easily use bigger segments and
avoids running into segment limits if we can avoid it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/pci.c