]> git.karo-electronics.de Git - karo-tx-linux.git/commit
powerpc: Fix some late PowerMac G5 with PCIe ATI graphics
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 31 Aug 2009 21:34:36 +0000 (21:34 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 2 Sep 2009 06:20:42 +0000 (16:20 +1000)
commitcede3930f0ca6fef353fa01306c72a01420bd45e
tree5483f711e206722152cef543a552176e2d1abb7f
parent76acc2c1a7a9a8c2cae7e9cf8d0a8b374a48aa94
powerpc: Fix some late PowerMac G5 with PCIe ATI graphics

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: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/powermac/pci.c
include/linux/pci_ids.h