]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[PATCH] SPARC64: Fix PCI memory space root resource on Hummingbird.
authorDavid Miller <davem@davemloft.net>
Wed, 18 Oct 2006 20:38:49 +0000 (13:38 -0700)
committerChris Wright <chrisw@sous-sol.org>
Sat, 4 Nov 2006 01:33:49 +0000 (17:33 -0800)
commit54a177028bfc55cae90a1704f2d0731a682416e1
tree30400de5519343afe48f6a48cb94c37079f6735f
parent97b601402b1378411467946272ad88b03c3e78ba
[PATCH] SPARC64: Fix PCI memory space root resource on Hummingbird.

For Hummingbird PCI controllers, we should create the root
PCI memory space resource as the full 4GB area, and then
allocate the IOMMU DMA translation window out of there.

The old code just assumed that the IOMMU DMA translation base
to the top of the 4GB area was unusable.  This is not true on
many systems such as SB100 and SB150, where the IOMMU DMA
translation window sits at 0xc0000000->0xdfffffff.

So what would happen is that any device mapped by the firmware
at the top section 0xe0000000->0xffffffff would get remapped
by Linux somewhere else leading to all kinds of problems and
boot failures.

While we're here, report more cases of OBP resource assignment
conflicts.  The only truly valid ones are ROM resource conflicts.

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
arch/sparc64/kernel/pci_common.c
arch/sparc64/kernel/pci_sabre.c