https://github.com/torvalds/linux
Revision 46b304934de417a2238d659ef6459a74cb3f5e6b authored by David S. Miller on 10 June 2006, 08:06:25 UTC, committed by David S. Miller on 10 June 2006, 08:06:25 UTC
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>
1 parent c29ca9d
History
Tip revision: 46b304934de417a2238d659ef6459a74cb3f5e6b authored by David S. Miller on 10 June 2006, 08:06:25 UTC
[SPARC64]: Avoid JBUS errors on some Niagara systems.
Tip revision: 46b3049
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
scripts
security
sound
usr
.gitignore -rw-r--r-- 462 bytes
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 87.4 KB
Kbuild -rw-r--r-- 1.2 KB
MAINTAINERS -rw-r--r-- 68.9 KB
Makefile -rw-r--r-- 43.7 KB
README -rw-r--r-- 16.2 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top