diff options
author | Gavin Shan <[email protected]> | 2012-08-20 03:49:14 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <[email protected]> | 2012-09-17 16:34:43 +1000 |
commit | fb446ad075cfa5212b26c4f77751faefe574ad8b (patch) | |
tree | fab3ed69bf1f105b62f1f51fd113aaffccbf1035 /lib/mpi/mpi-inline.h | |
parent | e72bbbab278a2e6d506bd2cf380ba9bef68e8ec1 (diff) |
powerpc/powernv: Create bus sensitive PEs
Basically, there're 2 types of PCI bus sensitive PEs: (A) The PE
includes single PCI bus. (B) The PE includes the PCI bus and all
the subordinate PCI buses. At present, we'd like to put PCI bus
originated by PCI-e link to form PE that contains single PCI bus,
and the PCIe-to-PCI bridge will form the 2nd type of PE. We don't
figure out to detect PLX bridge yet. Once we can detect PLX bridge
some day, we have to put PCI buses originated from the downstream
port of PLX bridge to the 2nd type of PE.
The patch changes the original implementation for a little bit
to support 2 types of PCI bus sensitive PEs described as above.
Also, the function used to retrieve the corresponding PE according
to the given PCI device has been changed based on that because each
PCI device should trace the directly associated PE.
Signed-off-by: Gavin Shan <[email protected]>
Reviewed-by: Ram Pai <[email protected]>
Reviewed-by: Richard Yang <[email protected]>
Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions