diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2009-01-29 17:08:41 -0700 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2009-01-29 17:08:41 -0700 |
commit | e489a44e2473981474fe17f17418828ba341661a (patch) | |
tree | ab28f44fbc8febc5827db61439d7b4d2c9811efa /arch/powerpc/kvm | |
parent | d35ec494a68218d646f31d8b4f03ddd39b262a3e (diff) |
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>
Diffstat (limited to 'arch/powerpc/kvm')
0 files changed, 0 insertions, 0 deletions