WSL2-Linux-Kernel/arch/powerpc
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
..
boot Merge commit 'jwb/jwb-merge' into merge 2009-01-28 17:15:34 +11:00
configs powerpc/5200: update defconfigs 2009-01-29 17:08:38 -07:00
include/asm powerpc/ps3: Use dma_addr_t down through the stack 2009-01-16 16:15:11 +11:00
kernel powerpc/pseries: Correct VIO bus accounting problem in CMO env. 2009-01-28 17:15:52 +11:00
kvm KVM: Consolidate userspace memory capability reporting into common code 2008-12-31 16:55:46 +02:00
lib Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc 2008-12-28 16:54:33 -08:00
math-emu powerpc: Add SPE/EFP math emulation for E500v1/v2 processors. 2008-12-03 08:19:16 -06:00
mm powerpc/mm: Fix handling of _PAGE_COHERENT in BAT setup code 2009-01-28 17:15:52 +11:00
oprofile powerpc: Change u64/s64 to a long long integer type 2009-01-13 14:47:59 +11:00
platforms powerpc/5200: Bugfix for PCI mapping of memory and IMMR 2009-01-29 17:08:41 -07:00
sysdev powerpc: Change u64/s64 to a long long integer type 2009-01-13 14:47:59 +11:00
xmon powerpc: Prepare xmon_save_regs for use with kdump 2008-12-23 15:13:28 +11:00
Kconfig powerpc: Remove arch/ppc cruft from Kconfig 2009-01-28 17:15:51 +11:00
Kconfig.debug powerpc: Allow the max stack trace depth to be configured 2008-12-03 20:46:35 +11:00
Makefile powerpc: Remove unncessary SPE related compiler flag 2008-12-03 08:19:10 -06:00