aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorAlexey Kardashevskiy <[email protected]>2015-06-05 16:34:58 +1000
committerMichael Ellerman <[email protected]>2015-06-11 15:14:55 +1000
commit9b14a1ff8657d3ee844f8987482bc367a716848c (patch)
tree324f56b9620881a442a4542fd6628e1885e807e5 /tools/perf/scripts/python/sctop.py
parent8aca92d82d9f259e0b6b0c81e5eb9baaf471e6ad (diff)
vfio: powerpc/spapr: Move page pinning from arch code to VFIO IOMMU driver
This moves page pinning (get_user_pages_fast()/put_page()) code out of the platform IOMMU code and puts it to VFIO IOMMU driver where it belongs to as the platform code does not deal with page pinning. This makes iommu_take_ownership()/iommu_release_ownership() deal with the IOMMU table bitmap only. This removes page unpinning from iommu_take_ownership() as the actual TCE table might contain garbage and doing put_page() on it is undefined behaviour. Besides the last part, the rest of the patch is mechanical. Signed-off-by: Alexey Kardashevskiy <[email protected]> [aw: for the vfio related changes] Acked-by: Alex Williamson <[email protected]> Reviewed-by: David Gibson <[email protected]> Reviewed-by: Gavin Shan <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions