diff options
author | Alexey Kardashevskiy <[email protected]> | 2015-06-05 16:34:56 +1000 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2015-06-11 15:14:55 +1000 |
commit | ac9a58891a965216e9cb549a0a2012b97e3abcce (patch) | |
tree | 142a3353874ea11fda00c83f3b6ff7a0f5f5d689 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | c5773822c000bafd462ad02db1d61459acef0d52 (diff) |
powerpc/iommu: Put IOMMU group explicitly
So far an iommu_table lifetime was the same as PE. Dynamic DMA windows
will change this and iommu_free_table() will not always require
the group to be released.
This moves iommu_group_put() out of iommu_free_table().
This adds a iommu_pseries_free_table() helper which does
iommu_group_put() and iommu_free_table(). Later it will be
changed to receive a table_group and we will have to change less
lines then.
This should cause no behavioural change.
Signed-off-by: Alexey Kardashevskiy <[email protected]>
Reviewed-by: Gavin Shan <[email protected]>
Reviewed-by: David Gibson <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions