diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-10-17 19:04:44 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-10-17 19:28:50 -0700 |
commit | 5aee87c43e3a71a4aa4e72b0dc2180e4952c0848 (patch) | |
tree | 7d53d2ffd49fba8815d1986bb8f07d8b0959c605 /lib | |
parent | 7341df16a1f228be833e918cb42534a34381a37e (diff) | |
download | blackbird-op-linux-5aee87c43e3a71a4aa4e72b0dc2180e4952c0848.tar.gz blackbird-op-linux-5aee87c43e3a71a4aa4e72b0dc2180e4952c0848.zip |
[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>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions