[PATCH] tg3: fix MMIO for PPC 44x platforms

David Miller davem at davemloft.net
Sun Apr 13 11:31:20 EST 2008


From: Sergei Shtylyov <sshtylyov at ru.mvista.com>
Date: Sat, 12 Apr 2008 21:01:22 +0400

> The driver stores the PCI resource addresses into 'unsigned long' variable
> before calling ioremap_nocache() on them. This warrants kernel oops when the
> registers are accessed on PPC 44x platforms which (being 32-bit) have PCI
> memory space mapped beyond 4 GB.
> 
> The arch/ppc/ kernel has a fixup in ioremap() that creates an illusion that
> the PCI memory resource is mapped below 4 GB, but arch/powerpc/ code got rid
> of this trick, having instead CONFIG_RESOURCES_64BIT enabled.
> 
> Signed-off-by: Sergei Shtylyov <sshtylyov at ru.mvista.com>

Applied, thanks.

I added a bump of the driver version and release date for
the changeset.



More information about the Linuxppc-dev mailing list