]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit96b36e6ac9ae46df6c6292f7eba34acbbc3a6004
tree723129c83df32db6d5ec98513c2ecbc94e48bffa
parentbe7a2a72b17141a0b3acee2e4cd005e16daccbc7
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