aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorWei Hu\(Xavier\) <[email protected]>2017-11-28 07:10:28 +0000
committerJason Gunthorpe <[email protected]>2017-12-01 19:21:27 +0000
commit378efe798ecf0e7d9730a595ef3419b046e34fb4 (patch)
tree47926cc1ac1285b1cff4d1f66d75e4d5c902a5ca /tools/perf/scripts/python/check-perf-trace.py
parentRDMA/hns: Get rid of virt_to_page and vmap calls after dma_alloc_coherent (diff)
downloadkernel-378efe798ecf0e7d9730a595ef3419b046e34fb4.tar.gz
kernel-378efe798ecf0e7d9730a595ef3419b046e34fb4.zip
RDMA/hns: Get rid of page operation after dma_alloc_coherent
In general, dma_alloc_coherent() returns a CPU virtual address and a DMA address, and we have no guarantee that the underlying memory even has an associated struct page at all. This patch gets rid of the page operation after dma_alloc_coherent, and records the VA returned form dma_alloc_coherent in the struct of hem in hns RoCE driver. Fixes: 9a44353("IB/hns: Add driver files for hns RoCE driver") Signed-off-by: Wei Hu (Xavier) <[email protected]> Signed-off-by: Shaobo Xu <[email protected]> Signed-off-by: Lijun Ou <[email protected]> Signed-off-by: Yixian Liu <[email protected]> Signed-off-by: Xiping Zhang (Francis) <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions