iommu/of: Handle iommu-map property for PCI
authorRobin Murphy <robin.murphy@arm.com>
Mon, 12 Sep 2016 16:13:41 +0000 (17:13 +0100)
committerWill Deacon <will.deacon@arm.com>
Fri, 16 Sep 2016 08:34:15 +0000 (09:34 +0100)
commitb996444cf35e736621855e73f9d0762bd49f41f2
treef35ef47f4ae8053f2ae6226e3229d3f874a032f7
parent987068fcbdb7a085bb11151b91dc6f4c956c4a1b
iommu/of: Handle iommu-map property for PCI

Now that we have a way to pick up the RID translation and target IOMMU,
hook up of_iommu_configure() to bring PCI devices into the of_xlate
mechanism and allow them IOMMU-backed DMA ops without the need for
driver-specific handling.

Reviewed-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/iommu/of_iommu.c