iommu/ipmmu-vmsa: Unify ipmmu_ops
authorRobin Murphy <robin.murphy@arm.com>
Fri, 13 Oct 2017 18:23:42 +0000 (19:23 +0100)
committerAlex Williamson <alex.williamson@redhat.com>
Mon, 6 Nov 2017 17:29:39 +0000 (10:29 -0700)
commit49c875f030523d676a508e53f7dc3e592e9439d7
treeef1a00c704c5d2c4b8682614eafa3eb46ce3c07b
parente4efe4a9a2ace658a36b5a4f515c11d4d36400a8
iommu/ipmmu-vmsa: Unify ipmmu_ops

The remaining difference between the ARM-specific and iommu-dma ops is
in the {add,remove}_device implementations, but even those have some
overlap and duplication. By stubbing out the few arm_iommu_*() calls,
we can get rid of the rest of the inline #ifdeffery to both simplify the
code and improve build coverage.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/iommu/ipmmu-vmsa.c