Skip to content

Commit 9f3d162

Browse files
committed
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
2 parents bf933db + 3d9fecf commit 9f3d162

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

arch/x86/pci/acpi.c

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,17 @@ static const struct dmi_system_id pci_crs_quirks[] __initconst = {
8181
DMI_MATCH(DMI_BIOS_VENDOR, "Phoenix Technologies, LTD"),
8282
},
8383
},
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+
},
8495

8596
/* Now for the blacklist.. */
8697

@@ -121,8 +132,10 @@ void __init pci_acpi_crs_quirks(void)
121132
{
122133
int year;
123134

124-
if (dmi_get_date(DMI_BIOS_DATE, &year, NULL, NULL) && year < 2008)
125-
pci_use_crs = false;
135+
if (dmi_get_date(DMI_BIOS_DATE, &year, NULL, NULL) && year < 2008) {
136+
if (iomem_resource.end <= 0xffffffff)
137+
pci_use_crs = false;
138+
}
126139

127140
dmi_check_system(pci_crs_quirks);
128141

0 commit comments

Comments
 (0)