iommu/rockchip: Support sharing IOMMU between masters
authorJeffy Chen <jeffy.chen@rock-chips.com>
Fri, 23 Mar 2018 07:38:14 +0000 (15:38 +0800)
committerJoerg Roedel <jroedel@suse.de>
Thu, 29 Mar 2018 10:22:29 +0000 (12:22 +0200)
commit57c26957bd87a9f3b84043d0ee9cf47852a82ff9
tree58c85afe16f079be47e752747d1719a5881f0927
parent0f181d3cf7d984b1af33d34557a8285852b0d3ec
iommu/rockchip: Support sharing IOMMU between masters

There would be some masters sharing the same IOMMU device. Put them in
the same iommu group and share the same iommu domain.

Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/rockchip-iommu.c