From: Greg Kroah-Hartman Date: Mon, 23 Jan 2017 14:20:07 +0000 (+0100) Subject: 4.4-stable patches X-Git-Tag: v4.4.45~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=39de0b29cb8f2bacadb4a0484393e35b21fc4754;p=thirdparty%2Fkernel%2Fstable-queue.git 4.4-stable patches added patches: x86-pci-ignore-_crs-on-supermicro-x8dth-i-6-if-6f.patch --- diff --git a/queue-4.4/series b/queue-4.4/series index 066759fb083..4d0adf3e31b 100644 --- a/queue-4.4/series +++ b/queue-4.4/series @@ -10,3 +10,4 @@ arm-dts-imx31-fix-clock-control-module-interrupts-description.patch arm-dts-imx31-move-ccm-device-node-to-aips2-bus-devices.patch arm-dts-imx31-fix-avic-base-address.patch tmpfs-clear-s_isgid-when-setting-posix-acls.patch +x86-pci-ignore-_crs-on-supermicro-x8dth-i-6-if-6f.patch diff --git a/queue-4.4/x86-pci-ignore-_crs-on-supermicro-x8dth-i-6-if-6f.patch b/queue-4.4/x86-pci-ignore-_crs-on-supermicro-x8dth-i-6-if-6f.patch new file mode 100644 index 00000000000..13397412303 --- /dev/null +++ b/queue-4.4/x86-pci-ignore-_crs-on-supermicro-x8dth-i-6-if-6f.patch @@ -0,0 +1,49 @@ +From 89e9f7bcd8744ea25fcf0ac671b8d72c10d7d790 Mon Sep 17 00:00:00 2001 +From: Bjorn Helgaas +Date: Wed, 28 Dec 2016 14:55:16 -0600 +Subject: x86/PCI: Ignore _CRS on Supermicro X8DTH-i/6/iF/6F + +From: Bjorn Helgaas + +commit 89e9f7bcd8744ea25fcf0ac671b8d72c10d7d790 upstream. + +Martin reported that the Supermicro X8DTH-i/6/iF/6F advertises incorrect +host bridge windows via _CRS: + + pci_root PNP0A08:00: host bridge window [io 0xf000-0xffff] + pci_root PNP0A08:01: host bridge window [io 0xf000-0xffff] + +Both bridges advertise the 0xf000-0xffff window, which cannot be correct. + +Work around this by ignoring _CRS on this system. The downside is that we +may not assign resources correctly to hot-added PCI devices (if they are +possible on this system). + +Link: https://bugzilla.kernel.org/show_bug.cgi?id=42606 +Reported-by: Martin Burnicki +Signed-off-by: Bjorn Helgaas +Signed-off-by: Greg Kroah-Hartman + +--- + arch/x86/pci/acpi.c | 10 ++++++++++ + 1 file changed, 10 insertions(+) + +--- a/arch/x86/pci/acpi.c ++++ b/arch/x86/pci/acpi.c +@@ -114,6 +114,16 @@ static const struct dmi_system_id pci_cr + DMI_MATCH(DMI_BIOS_VERSION, "6JET85WW (1.43 )"), + }, + }, ++ /* https://bugzilla.kernel.org/show_bug.cgi?id=42606 */ ++ { ++ .callback = set_nouse_crs, ++ .ident = "Supermicro X8DTH", ++ .matches = { ++ DMI_MATCH(DMI_SYS_VENDOR, "Supermicro"), ++ DMI_MATCH(DMI_PRODUCT_NAME, "X8DTH-i/6/iF/6F"), ++ DMI_MATCH(DMI_BIOS_VERSION, "2.0a"), ++ }, ++ }, + + /* https://bugzilla.kernel.org/show_bug.cgi?id=15362 */ + {