diff options
author | Stuart Yoder | 2016-03-10 10:52:30 -0600 |
---|---|---|
committer | York Sun | 2016-03-21 12:42:13 -0700 |
commit | 5e8e27b743a650aebc3d79823cbd8443ca12d4b8 (patch) | |
tree | 182760bfd2596773047342823c6beb33ddcc47d0 /doc/README.trace | |
parent | 7e7e1264707f6a0c5d877c5f8bf816c11d7a6af9 (diff) |
pci/layerscape: set LUT and msi-map for discovered PCI devices
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 <stuart.yoder@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'doc/README.trace')
0 files changed, 0 insertions, 0 deletions