aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2015-06-17 18:24:32 -0400
committerBjorn Helgaas <bhelgaas@google.com>2015-06-17 18:24:32 -0400
commit9f3d16207146c56902b3de79a2c3537d81782d8d (patch)
treea47a96c20a6dee4085876da8ee0791f10c715e10
parentbf933dbb84453c502355743828a37ead5e82aa68 (diff)
parent3d9fecf6bfb8b12bc2f9a4c7109895a2a2bb9436 (diff)
Merge branch 'pci/resource' into next
* pci/resource: x86/PCI: Use host bridge _CRS info on systems with >32 bit addressing x86/PCI: Use host bridge _CRS info on Foxconn K8M890-8237A
-rw-r--r--arch/x86/pci/acpi.c17
1 files changed, 15 insertions, 2 deletions
diff --git a/arch/x86/pci/acpi.c b/arch/x86/pci/acpi.c
index e4695985f9de..2ae7ce240e02 100644
--- a/arch/x86/pci/acpi.c
+++ b/arch/x86/pci/acpi.c
@@ -81,6 +81,17 @@ static const struct dmi_system_id pci_crs_quirks[] __initconst = {
81 DMI_MATCH(DMI_BIOS_VENDOR, "Phoenix Technologies, LTD"), 81 DMI_MATCH(DMI_BIOS_VENDOR, "Phoenix Technologies, LTD"),
82 }, 82 },
83 }, 83 },
84 /* https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/931368 */
85 /* https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1033299 */
86 {
87 .callback = set_use_crs,
88 .ident = "Foxconn K8M890-8237A",
89 .matches = {
90 DMI_MATCH(DMI_BOARD_VENDOR, "Foxconn"),
91 DMI_MATCH(DMI_BOARD_NAME, "K8M890-8237A"),
92 DMI_MATCH(DMI_BIOS_VENDOR, "Phoenix Technologies, LTD"),
93 },
94 },
84 95
85 /* Now for the blacklist.. */ 96 /* Now for the blacklist.. */
86 97
@@ -121,8 +132,10 @@ void __init pci_acpi_crs_quirks(void)
121{ 132{
122 int year; 133 int year;
123 134
124 if (dmi_get_date(DMI_BIOS_DATE, &year, NULL, NULL) && year < 2008) 135 if (dmi_get_date(DMI_BIOS_DATE, &year, NULL, NULL) && year < 2008) {
125 pci_use_crs = false; 136 if (iomem_resource.end <= 0xffffffff)
137 pci_use_crs = false;
138 }
126 139
127 dmi_check_system(pci_crs_quirks); 140 dmi_check_system(pci_crs_quirks);
128 141