[PATCH] x86: Allow disabling early pci scans with pci=noearly or disallowing conf1
authorAndi Kleen <ak@suse.de>
Tue, 26 Sep 2006 08:52:41 +0000 (10:52 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Tue, 26 Sep 2006 08:52:41 +0000 (10:52 +0200)
commit0637a70a5db98182d9ad3d6ae1ee30acf20afde9
tree36b625e24f3fe11a97cd9926ca2be6b2df1cbf89
parent8f60774a116ced9b73ae3913d511687889efe725
[PATCH] x86: Allow disabling early pci scans with pci=noearly or disallowing conf1

Some buggy systems can machine check when config space accesses
happen for some non existent devices.  i386/x86-64 do some early
device scans that might trigger this. Allow pci=noearly to disable
this. Also when type 1 is disabling also don't do any early
accesses which are always type1.

This moves the pci= configuration parsing to be a early parameter.
I don't think this can break anything because it only changes
a single global that is only used by PCI.

Cc: gregkh@suse.de
Cc: Trammell Hudson <hudson@osresearch.net>
Signed-off-by: Andi Kleen <ak@suse.de>
12 files changed:
Documentation/kernel-parameters.txt
arch/i386/kernel/acpi/earlyquirk.c
arch/i386/pci/common.c
arch/i386/pci/early.c
arch/i386/pci/pci.h
arch/x86_64/kernel/aperture.c
arch/x86_64/kernel/early-quirks.c
arch/x86_64/kernel/pci-calgary.c
arch/x86_64/kernel/vsmp.c
arch/x86_64/mm/k8topology.c
drivers/pci/pci.c
include/asm-x86_64/pci-direct.h