[i386/686-pae] PCI: Set pci=nobios by default
authorBen Hutchings <ben@decadent.org.uk>
Tue, 16 Feb 2016 02:45:42 +0000 (02:45 +0000)
committerSalvatore Bonaccorso <carnil@debian.org>
Fri, 9 Apr 2021 18:17:58 +0000 (19:17 +0100)
commitabe2047d8ec05d8fa031a1ae34acf02fe36b7438
treee0a318615a14c3480bf3a2d30929fbf98c7d897d
parent884bf2c520c8ef3bab0fcae86dd30b2503873a9e
[i386/686-pae] PCI: Set pci=nobios by default

Forwarded: not-needed

CONFIG_PCI_GOBIOS results in physical addresses 640KB-1MB being mapped
W+X, which is undesirable for security reasons and will result in a
warning at boot now that we enable CONFIG_DEBUG_WX.

This can be overridden using the kernel parameter "pci=nobios", but we
want to disable W+X by default.  Disable PCI BIOS probing by default;
it can still be enabled using "pci=bios".

Gbp-Pq: Topic debian
Gbp-Pq: Name i386-686-pae-pci-set-pci-nobios-by-default.patch
arch/x86/pci/common.c