Sergei Shtylyov c976816b6e siimage: fix kernel oops on PPC 44x
Fix kernel oops due to machine check occuring in init_chipset_siimage() on PPC
44x platforms.  These 32-bit CPUs have 36-bit physical address and PCI I/O and
memory spaces are mapped beyond 4 GB; arch/ppc/ code has a fixup in ioremap()
that creates an illusion of the PCI I/O and memory resources being mapped below
4 GB, while arch/powerpc/ code got rid of this fixup with PPC 44x having instead
CONFIG_RESOURCES_64BIT=y -- this causes the resources to be truncated to 32-bit
'unsigned long' type in this driver, and so non-existant memory being ioremap'ed
and then accessed...

Thanks to Valentine Barshak for providing an initial patch and explanations.

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2008-04-07 23:30:10 +02:00
..
2008-04-04 02:43:38 -04:00
2008-04-06 16:10:40 -07:00
2008-02-05 09:44:23 -08:00
2008-03-23 20:28:20 +01:00
2008-04-07 23:30:10 +02:00
2008-03-30 14:18:41 -07:00
2008-03-15 19:17:12 -07:00
2008-03-03 10:47:13 -08:00
2008-03-19 18:53:37 -07:00
2008-02-26 14:12:09 +09:00
2008-03-18 01:22:10 -04:00
2008-04-07 13:14:22 -07:00
2008-03-04 16:35:12 -08:00
2008-04-04 18:36:46 +02:00