]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
4.4-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Jan 2017 14:20:07 +0000 (15:20 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Jan 2017 14:20:07 +0000 (15:20 +0100)
added patches:
x86-pci-ignore-_crs-on-supermicro-x8dth-i-6-if-6f.patch

queue-4.4/series
queue-4.4/x86-pci-ignore-_crs-on-supermicro-x8dth-i-6-if-6f.patch [new file with mode: 0644]

index 066759fb083989787fe4dca1838dd7ac12842d5b..4d0adf3e31b54fb6ace05fd5f057e984b0946180 100644 (file)
@@ -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 (file)
index 0000000..1339741
--- /dev/null
@@ -0,0 +1,49 @@
+From 89e9f7bcd8744ea25fcf0ac671b8d72c10d7d790 Mon Sep 17 00:00:00 2001
+From: Bjorn Helgaas <bhelgaas@google.com>
+Date: Wed, 28 Dec 2016 14:55:16 -0600
+Subject: x86/PCI: Ignore _CRS on Supermicro X8DTH-i/6/iF/6F
+
+From: Bjorn Helgaas <bhelgaas@google.com>
+
+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 <martin.burnicki@meinberg.de>
+Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ 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 */
+       {