Re: [PATCH v4 3/8] of/irq: Break out msi-map lookup (again)

2016-07-18 Thread Rob Herring
On Fri, Jul 1, 2016 at 11:50 AM, Robin Murphy wrote: > The PCI msi-map code is already doing double-duty translating IDs and > retrieving MSI parents, which unsurprisingly is the same functionality > we need for the identically-formatted PCI iommu-map property. Drag the > core parsing routine up y

Re: [PATCH v4 3/8] of/irq: Break out msi-map lookup (again)

2016-07-07 Thread Will Deacon
On Fri, Jul 01, 2016 at 05:50:12PM +0100, Robin Murphy wrote: > The PCI msi-map code is already doing double-duty translating IDs and > retrieving MSI parents, which unsurprisingly is the same functionality > we need for the identically-formatted PCI iommu-map property. Drag the > core parsing rout

[PATCH v4 3/8] of/irq: Break out msi-map lookup (again)

2016-07-01 Thread Robin Murphy
The PCI msi-map code is already doing double-duty translating IDs and retrieving MSI parents, which unsurprisingly is the same functionality we need for the identically-formatted PCI iommu-map property. Drag the core parsing routine up yet another layer into the general OF-PCI code, and further gen