]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitec8249855c4662943b1677106c15e46aefed12f3
treeef1a00c704c5d2c4b8682614eafa3eb46ce3c07b
parent61be1709f8d8b74a3932d6cffcc41fc9f0b90397
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