summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorLogan Gunthorpe <logang@deltatee.com>2022-07-08 19:51:01 +0300
committerChristoph Hellwig <hch@lst.de>2022-07-26 14:28:07 +0300
commit91fb2b6052f75a2f9375db5d5924860ab2313a1d (patch)
tree1c1119597c638e6b98bdf6173e4ff72fdf32591e /tools/perf/scripts/python/exported-sql-viewer.py
parent2f8594412b4b21023a1f147d881ca05ddffc1e36 (diff)
downloadlinux-91fb2b6052f75a2f9375db5d5924860ab2313a1d.tar.xz
nvme-pci: convert to using dma_map_sgtable()
The dma_map operations now support P2PDMA pages directly. So remove the calls to pci_p2pdma_[un]map_sg_attrs() and replace them with calls to dma_map_sgtable(). dma_map_sgtable() returns more complete error codes than dma_map_sg() and allows differentiating EREMOTEIO errors in case an unsupported P2PDMA transfer is requested. When this happens, return BLK_STS_TARGET so the request isn't retried. Signed-off-by: Logan Gunthorpe <logang@deltatee.com> Reviewed-by: Max Gurtovoy <mgurtovoy@nvidia.com> Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions