iommu/tegra-smmu: Add iommu_group support
authorRobin Murphy <robin.murphy@arm.com>
Fri, 21 Jul 2017 12:12:36 +0000 (13:12 +0100)
committerJoerg Roedel <jroedel@suse.de>
Wed, 9 Aug 2017 22:03:50 +0000 (00:03 +0200)
commitd92e1f849830fc78c50a00b953361fc1449aa1e2
tree723129c83df32db6d5ec98513c2ecbc94e48bffa
parentce2eb8f44e60c748fac56ede46b526fdac773e1b
iommu/tegra-smmu: Add iommu_group support

As the last step to making groups mandatory, clean up the remaining
drivers by adding basic support. Whilst it may not perfectly reflect
the isolation capabilities of the hardware (tegra_smmu_swgroup sounds
suspiciously like something that might warrant representing at the
iommu_group level), using generic_device_group() should at least
maintain existing behaviour with respect to the API.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Tested-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/tegra-smmu.c