On 03/10/2016 09:13 AM, Stuart Yoder wrote: > From: Stuart Yoder <[email protected]> > > msi-map properties are used to tell an OS how PCI requester IDs are > mapped to ARM SMMU stream IDs. > > for all PCI devices discovered in a system: > -allocate a LUT (look-up-table) entry in that PCI controller > -allocate a stream ID for the device > -program and enable a LUT entry (maps PCI requester id to stream ID) > -set the msi-map property on the controller reflecting the > LUT mapping > > basic bus scanning loop/logic was taken from drivers/pci/pci.c > pci_hose_scan_bus(). > > Signed-off-by: Stuart Yoder <[email protected]> > --- > -v6: squashed lut, stream id, and msi-map helper functions > (previously patches 4-6) into this patch > > drivers/pci/pcie_layerscape.c | 147 > +++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 147 insertions(+) >
Applied to u-boot-fsl-qoriq, awaiting upstream. Thanks. York _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

