• Benjamin Herrenschmidt's avatar
    powerpc: Fix CHRP PCI config access for indirect_pci · ee673eaa
    Benjamin Herrenschmidt authored
    Recently, indirect_pci was changed to test if the bus number requested
    is the one hanging straight off the PHB, then it substitutes the bus
    number with another one contained in a new "self_busno" field of the
    pci_controller structure.
    
    However, this breaks CHRP which didn't initialize this new field, and
    which relies on having the right bus number passed to the hardware.
    
    This fixes it by initializing this variable properly for all CHRP bridges
    Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
    ee673eaa
pci.c 10.4 KB