aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorSi-Wei Liu <[email protected]>2023-10-21 02:25:14 -0700
committerMichael S. Tsirkin <[email protected]>2023-11-01 09:19:59 -0400
commit1d0f874bfe7871837fb215999979284d579fc373 (patch)
tree1878a1c26cca83ef1ac64f2c611d76e9cc080bb0 /tools/perf/scripts/python/stackcollapse.py
parentd2cf1b6e3b85dcb2bb3e8cd7924beede34fbbf0e (diff)
vhost-vdpa: reset vendor specific mapping to initial state in .release
Devices with on-chip IOMMU or vendor specific IOTLB implementation may need to restore iotlb mapping to the initial or default state using the .reset_map op, as it's desirable for some parent devices to not work with DMA ops and maintain a simple IOMMU model with .reset_map. In particular, device reset should not cause mapping to go away on such IOTLB model, so persistent mapping is implied across reset. Before the userspace process using vhost-vdpa is gone, give it a chance to reset iotlb back to the initial state in vhost_vdpa_cleanup(). Signed-off-by: Si-Wei Liu <[email protected]> Acked-by: Eugenio PĂ©rez <[email protected]> Message-Id: <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]> Tested-by: Lei Yang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions