[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>
Showing
- Documentation/kernel-parameters.txt 5 additions, 1 deletionDocumentation/kernel-parameters.txt
- arch/i386/kernel/acpi/earlyquirk.c 5 additions, 1 deletionarch/i386/kernel/acpi/earlyquirk.c
- arch/i386/pci/common.c 4 additions, 0 deletionsarch/i386/pci/common.c
- arch/i386/pci/early.c 8 additions, 0 deletionsarch/i386/pci/early.c
- arch/i386/pci/pci.h 1 addition, 0 deletionsarch/i386/pci/pci.h
- arch/x86_64/kernel/aperture.c 1 addition, 1 deletionarch/x86_64/kernel/aperture.c
- arch/x86_64/kernel/early-quirks.c 4 additions, 0 deletionsarch/x86_64/kernel/early-quirks.c
- arch/x86_64/kernel/pci-calgary.c 3 additions, 0 deletionsarch/x86_64/kernel/pci-calgary.c
- arch/x86_64/kernel/vsmp.c 3 additions, 0 deletionsarch/x86_64/kernel/vsmp.c
- arch/x86_64/mm/k8topology.c 3 additions, 0 deletionsarch/x86_64/mm/k8topology.c
- drivers/pci/pci.c 2 additions, 3 deletionsdrivers/pci/pci.c
- include/asm-x86_64/pci-direct.h 2 additions, 0 deletionsinclude/asm-x86_64/pci-direct.h
Loading
Please register or sign in to comment