diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-06-10 01:06:25 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-06-10 01:06:25 -0700 |
commit | 46b304934de417a2238d659ef6459a74cb3f5e6b (patch) | |
tree | 770b99e2723170f237d9159541484bba7dec21e8 /drivers | |
parent | c29ca9d1812f2abacaefa7daa31e085600128938 (diff) | |
download | op-kernel-dev-46b304934de417a2238d659ef6459a74cb3f5e6b.zip op-kernel-dev-46b304934de417a2238d659ef6459a74cb3f5e6b.tar.gz |
[SPARC64]: Avoid JBUS errors on some Niagara systems.
Doing PCI config space accesses to non-present PCI slots
can result in fatal JBUS errors if the PCI config access
hypervisor call is performed on cpus other than the boot
cpu.
PCI config space accesses to present PCI slots works just
fine.
Recursively traverse the OBP device tree under the PCI
controller node and record all present device IDs into
a small hash table.
Avoid the hypervisor call for any PCI config space access
attempt for a device not recorded in the hash table.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions