aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorStefano Stabellini <[email protected]>2017-01-19 10:39:09 -0800
committerKonrad Rzeszutek Wilk <[email protected]>2017-01-20 08:46:37 -0500
commitf1225ee4c8fcf09afaa199b8b1f0450f38b8cd11 (patch)
tree11f43863f5cc53bb54d1dba9c8254998c47840e7 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent602d9858f07c72eab64f5f00e2fae55f9902cfbe (diff)
swiotlb-xen: update dev_addr after swapping pages
In xen_swiotlb_map_page and xen_swiotlb_map_sg_attrs, if the original page is not suitable, we swap it for another page from the swiotlb pool. In these cases, we don't update the previously calculated dma address for the page before calling xen_dma_map_page. Thus, we end up calling xen_dma_map_page passing the wrong dev_addr, resulting in xen_dma_map_page mistakenly assuming that the page is foreign when it is local. Fix the bug by updating dev_addr appropriately. This change has no effect on x86, because xen_dma_map_page is a stub there. Signed-off-by: Stefano Stabellini <[email protected]> Signed-off-by: Pooya Keshavarzi <[email protected]> Tested-by: Pooya Keshavarzi <[email protected]> Reviewed-by: Boris Ostrovsky <[email protected]> Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions