diff options
author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2015-06-05 16:34:56 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2015-06-11 15:14:55 +1000 |
commit | ac9a58891a965216e9cb549a0a2012b97e3abcce (patch) | |
tree | 142a3353874ea11fda00c83f3b6ff7a0f5f5d689 /drivers/vfio | |
parent | c5773822c000bafd462ad02db1d61459acef0d52 (diff) | |
download | linux-ac9a58891a965216e9cb549a0a2012b97e3abcce.tar.gz linux-ac9a58891a965216e9cb549a0a2012b97e3abcce.tar.bz2 linux-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 <aik@ozlabs.ru>
Reviewed-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'drivers/vfio')
0 files changed, 0 insertions, 0 deletions