iommu/arm-smmu: put iommu_domain pointer in dev->archdata.iommu
authorWill Deacon <will.deacon@arm.com>
Thu, 17 Jul 2014 10:23:51 +0000 (11:23 +0100)
committerWill Deacon <will.deacon@arm.com>
Tue, 16 Sep 2014 18:14:37 +0000 (19:14 +0100)
In preparation for nested translation support, stick a pointer to the
iommu_domain in dev->archdata.iommu. This makes it much easier to grab
hold of the physical group configuration (e.g. cbndx) when dealing with
vSMMU accesses from a guest.

Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/iommu/arm-smmu.c

Simple merge