linux_dsm_epyc7002/drivers/nvme/host
Christoph Hellwig b0f2853b56 nvme-pci: take sglist coalescing in dma_map_sg into account
Some iommu implementations can merge physically and/or virtually
contiguous segments inside sg_map_dma.  The NVMe SGL support does not take
this into account and will warn because of falling off a loop.  Pass the
number of mapped segments to nvme_pci_setup_sgls so that the SGL setup
can take the number of mapped segments into account.

Reported-by: Fangjian (Turing) <f.fangjian@huawei.com>
Fixes: a7a7cbe3 ("nvme-pci: add SGL support")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Sagi Grimberg <sagi@rimberg.me>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-01-17 14:05:35 -07:00
..
core.c nvme-mpath: fix last path removal during traffic 2017-12-29 10:32:58 +01:00
fabrics.c nvme-fabrics: initialize default host->id in nvmf_host_default() 2018-01-08 10:52:03 +01:00
fabrics.h nvme-fabrics: introduce init command check for a queue that is not alive 2017-11-20 08:28:31 +01:00
fc.c nvme-fc: remove double put reference if admin connect fails 2017-12-15 15:13:33 +01:00
Kconfig nvme: implement multipath access to nvme subsystems 2017-11-10 19:53:25 -07:00
lightnvm.c nvme: track shared namespaces 2017-11-10 19:53:25 -07:00
Makefile Merge branch 'for-4.15/block' of git://git.kernel.dk/linux-block 2017-11-14 15:32:19 -08:00
multipath.c nvme: fix spelling mistake: "requeing" -> "requeuing" 2017-11-20 08:38:10 +01:00
nvme.h nvme-mpath: fix last path removal during traffic 2017-12-29 10:32:58 +01:00
pci.c nvme-pci: take sglist coalescing in dma_map_sg into account 2018-01-17 14:05:35 -07:00
rdma.c nvme-rdma: fix concurrent reset and reconnect 2017-12-29 10:32:58 +01:00