• Stuart Yoder's avatar
    pci/layerscape: set LUT and msi-map for discovered PCI devices · 5e8e27b7
    Stuart Yoder authored
    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: 's avatarStuart Yoder <stuart.yoder@nxp.com>
    Reviewed-by: 's avatarYork Sun <york.sun@nxp.com>
    5e8e27b7
Name
Last commit
Last update
..
Kconfig Loading commit data...
Makefile Loading commit data...
fsl_pci_init.c Loading commit data...
pci-emul-uclass.c Loading commit data...
pci-uclass.c Loading commit data...
pci.c Loading commit data...
pci_auto.c Loading commit data...
pci_auto_common.c Loading commit data...
pci_auto_old.c Loading commit data...
pci_common.c Loading commit data...
pci_compat.c Loading commit data...
pci_ftpci100.c Loading commit data...
pci_gt64120.c Loading commit data...
pci_indirect.c Loading commit data...
pci_internal.h Loading commit data...
pci_msc01.c Loading commit data...
pci_mvebu.c Loading commit data...
pci_rom.c Loading commit data...
pci_sandbox.c Loading commit data...
pci_sh4.c Loading commit data...
pci_sh7751.c Loading commit data...
pci_sh7780.c Loading commit data...
pci_tegra.c Loading commit data...
pci_x86.c Loading commit data...
pcie_imx.c Loading commit data...
pcie_layerscape.c Loading commit data...
tsi108_pci.c Loading commit data...
w83c553f.c Loading commit data...