powerpc/4xx: Add support for ISA holes on 4xx PCI/X/E
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 9 Oct 2008 16:58:19 +0000 (16:58 +0000)
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>
Thu, 4 Dec 2008 13:02:19 +0000 (08:02 -0500)
commit84d727a109081684c2e01b811cb0d6dc3b9380ca
tree632400e37b327dc9ca1aca6f796b41b835f2f8c8
parent9d2421e8345602675132421fdaf4179af4705f5c
powerpc/4xx: Add support for ISA holes on 4xx PCI/X/E

This adds support for ISA memory holes on the PCI, PCI-X and
PCI-E busses of the 4xx platforms. The patch includes changes
to the Bamboo and Canyonlands device-trees to add such a hole,
others can be updated separately.

The ISA memory hole is an additional outbound window configured
in the bridge to generate PCI cycles in the low memory addresses,
thus allowing to access things such as the hard-decoded VGA
aperture at 0xa0000..0xbffff or other similar things. It's made
accessible to userspace via the new legacy_mem file in sysfs for
which support was added by a previous patch.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
arch/powerpc/boot/dts/bamboo.dts
arch/powerpc/boot/dts/canyonlands.dts
arch/powerpc/sysdev/ppc4xx_pci.c