• B
    powerpc: Fix some late PowerMac G5 with PCIe ATI graphics · cede3930
    Benjamin Herrenschmidt 提交于
    A misconfiguration by the firmware of the U4 PCIe bridge on PowerMac G5
    with the U4 bridge (latest generations, may also affect the iMac G5
    "iSight") is causing us to re-assign the PCI BARs of the video card,
    which can get it out of sync with the firmware, thus breaking offb.
    
    This works around it by fixing up the bridge configuration properly
    at boot time. It also fixes a bug where the firmware provides us with
    an incorrect set of accessible regions in the device-tree.
    Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
    cede3930
pci.c 37.1 KB