iommu/arm-smmu: caps: add IOMMU_CAP_INTR_REMAP capability
authorWill Deacon <will.deacon@arm.com>
Tue, 24 Jun 2014 16:30:10 +0000 (17:30 +0100)
committerWill Deacon <will.deacon@arm.com>
Thu, 3 Jul 2014 14:50:22 +0000 (15:50 +0100)
commitd0948945638635487111d0851218080e81de5104
treeff113ddc055520b1db1a8d1daeb7262838a56f47
parenta9a1b0b53d8b7ca60abef0687eae927f286f07c2
iommu/arm-smmu: caps: add IOMMU_CAP_INTR_REMAP capability

MSIs are just seen as bog standard memory writes by the ARM SMMU, so
they can be translated (and isolated) in the same way.

This patch adds the IOMMU_CAP_INTR_REMAP capability to the ARM SMMU
driver and reworks our capabaility code so that we don't assume the
caps are organised as bits in a bitmask (since this isn't the intention).

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