2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-11-20 08:38:24 +08:00
linux-next/arch/powerpc/platforms/52xx
Grant Likely e489a44e24 powerpc/5200: Bugfix for PCI mapping of memory and IMMR
This patch ensures that memory gets properly mapped into the PCI
address space.  Without this patch, the memory window BAR is left
at whatever value happened to be loaded into the BAR when Linux
was booted.  Without this patch, memory could end up getting mapped
at any of the 1G address boundaries instead of at '0' where Linux
expects it.

Similarly, this patch also ensures that the internally memory mapped
registers (IMMR) are mapped to the correct PCI address range.

Without this patch, PCI appears to work correctly until a PCI
device is inserted which DMAs into memory.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Tested-by: Wolfram Sang <w.sang@pengutronix.de>
2009-01-29 17:08:41 -07:00
..
efika.c [POWERPC] Add common clock setting routine mpc52xx_psc_set_clkdiv() 2008-01-26 15:32:18 -07:00
Kconfig Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2008-07-25 11:08:17 -07:00
lite5200_pm.c powerpc/mpc5200: Document and tidy irq driver 2008-12-21 02:54:26 -07:00
lite5200_sleep.S [POWERPC] MPC5200 low power mode 2007-09-19 15:25:34 +10:00
lite5200.c [POWERPC] Replace remaining __FUNCTION__ occurrences 2008-04-01 20:43:09 +11:00
Makefile powerpc: Remove use of CONFIG_PPC_MERGE 2008-08-04 13:18:17 +10:00
mpc52xx_common.c powerpc/52xx: Use DEFINE_SPINLOCK 2009-01-08 16:25:11 +11:00
mpc52xx_gpio.c powerpc/mpc52xx: remove dead code from GPIO driver 2009-01-09 15:49:05 -07:00
mpc52xx_pci.c powerpc/5200: Bugfix for PCI mapping of memory and IMMR 2009-01-29 17:08:41 -07:00
mpc52xx_pic.c powerpc/mpc52xx: Properly update irq_desc when set_type() is called. 2009-01-09 15:49:05 -07:00
mpc52xx_pm.c powerpc/mpc5200: Document and tidy irq driver 2008-12-21 02:54:26 -07:00
mpc52xx_sleep.S [POWERPC] mpc52xx suspend to deep-sleep 2007-05-07 20:31:15 +10:00
mpc5200_simple.c [POWERPC] mpc5200: add Phytec pcm030 board support 2008-04-29 07:17:12 -06:00