]> git.baikalelectronics.ru Git - kernel.git/commit
iommu: Finish making iommu_group support mandatory
authorRobin Murphy <robin.murphy@arm.com>
Fri, 21 Jul 2017 12:12:38 +0000 (13:12 +0100)
committerJoerg Roedel <jroedel@suse.de>
Wed, 9 Aug 2017 22:03:51 +0000 (00:03 +0200)
commitdeed12c3b15518af951a77e9e9c00af22b2e9e5b
tree7f9e9821c453f0125a8544ed529c718b7ddfbfd0
parent7df2a7b3a38315e7014c180eaf2da375259813a2
iommu: Finish making iommu_group support mandatory

Now that all the drivers properly implementing the IOMMU API support
groups (I'm ignoring the etnaviv GPU MMUs which seemingly only do just
enough to convince the ARM DMA mapping ops), we can remove the FIXME
workarounds from the core code. In the process, it also seems logical to
make the .device_group callback non-optional for drivers calling
iommu_group_get_for_dev() - the current callers all implement it anyway,
and it doesn't make sense for any future callers not to either.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/iommu.c