aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/dart_iommu.c
diff options
context:
space:
mode:
authorAlexey Kardashevskiy <[email protected]>2015-06-05 06:34:56 +0000
committerMichael Ellerman <[email protected]>2015-06-11 05:14:55 +0000
commitac9a58891a965216e9cb549a0a2012b97e3abcce (patch)
tree142a3353874ea11fda00c83f3b6ff7a0f5f5d689 /arch/powerpc/sysdev/dart_iommu.c
parentpowerpc/powernv/ioda: Clean up IOMMU group registration (diff)
downloadkernel-ac9a58891a965216e9cb549a0a2012b97e3abcce.tar.gz
kernel-ac9a58891a965216e9cb549a0a2012b97e3abcce.zip
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 'arch/powerpc/sysdev/dart_iommu.c')
0 files changed, 0 insertions, 0 deletions