]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC 309588: Don't attach to Host-PCI bridges with a bad bus number.
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 23 Dec 2016 19:42:17 +0000 (19:42 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 23 Dec 2016 19:42:17 +0000 (19:42 +0000)
commitfc89f7c4dca8b1e8e369daaa9992c577da8787cd
tree448020e3331ef8c4e1fb71e5e745f5d7deb40293
parentbf86cf657826c153adcab725197d01422f8bd3e0
MFC 309588: Don't attach to Host-PCI bridges with a bad bus number.

If the bus number assigned to a Host-PCI bridge doesn't match the first
bus number in the associated producer range from _CRS, print a warning and
fail to attach rather than panicking due to an assertion failure.

At least one single-socket Dell machine leaves a "ghost" Host-PCI bridge
device in the ACPI namespace that seems to correspond to the I/O hub in
the second socket of a two-socket machine.  However, the BIOS doesn't
configure the settings for this "ghost" bridge correctly, nor does it have
any PCI devices behind it.

git-svn-id: svn://svn.freebsd.org/base/stable/10@310487 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/acpica/acpi_pcib_acpi.c