]> git.baikalelectronics.ru Git - kernel.git/commit
x86/PCI: Ignore _SEG on HP xw9300
authorBjorn Helgaas <bhelgaas@google.com>
Mon, 29 Oct 2012 23:26:54 +0000 (17:26 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 7 Nov 2012 22:24:18 +0000 (15:24 -0700)
commit3ba3303e4a5698977435b346f2478060dac1a94a
tree2a43aa760bfdaac0f67768f28c660f1af82eaad0
parent2d50ed9fc858174f4c85cf2bd3f69796a5ca9c98
x86/PCI: Ignore _SEG on HP xw9300

The xw9300 BIOS supplies _SEG methods that are incorrect, which results
in some LSI SCSI devices not being discovered.  This adds a quirk to
ignore _SEG on this machine and default to zero.

The xw9300 has three host bridges:

    ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-3f])
    ACPI: PCI Root Bridge [PCI1] (domain 0001 [bus 40-7f])
    ACPI: PCI Root Bridge [PCI2] (domain 0002 [bus 80-ff])

When the BIOS "ACPI Bus Segmentation" option is enabled (as it is by
default), the _SEG methods of the PCI1 and PCI2 bridges return 1 and 2,
respectively.  However, the BIOS implementation appears to be incomplete,
and we can't enumerate devices in those domains.

But if we assume PCI1 and PCI2 really lead to buses in domain 0,
everything works fine.  Windows XP and Vista also seem to ignore
these _SEG methods.

Reference: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=543308
Reference: https://bugzilla.kernel.org/show_bug.cgi?id=15362
Reported-and-Tested-by: Sean M. Pappalardo <pegasus@renegadetech.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
arch/x86/pci/acpi.c