android_kernel_xiaomi_sm8350/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
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
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
mpc5200_simple.c [POWERPC] mpc5200: add Phytec pcm030 board support 2008-04-29 07:17:12 -06:00