]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blame - releases/4.9.30/xhci-apply-pme_stuck_quirk-and-missing_cas-quirk-for-denverton.patch
Linux 4.14.95
[thirdparty/kernel/stable-queue.git] / releases / 4.9.30 / xhci-apply-pme_stuck_quirk-and-missing_cas-quirk-for-denverton.patch
CommitLineData
7d6ba0f1
GKH
1From a0c16630d35a874e82bdf2088f58ecaca1024315 Mon Sep 17 00:00:00 2001
2From: Mathias Nyman <mathias.nyman@linux.intel.com>
3Date: Wed, 17 May 2017 18:32:00 +0300
4Subject: xhci: apply PME_STUCK_QUIRK and MISSING_CAS quirk for Denverton
5
6From: Mathias Nyman <mathias.nyman@linux.intel.com>
7
8commit a0c16630d35a874e82bdf2088f58ecaca1024315 upstream.
9
10Intel Denverton microserver is Atom based and need the PME and CAS quirks
11as well.
12
13Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
14Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
15
16---
17 drivers/usb/host/xhci-pci.c | 7 +++++--
18 1 file changed, 5 insertions(+), 2 deletions(-)
19
20--- a/drivers/usb/host/xhci-pci.c
21+++ b/drivers/usb/host/xhci-pci.c
22@@ -52,6 +52,7 @@
23 #define PCI_DEVICE_ID_INTEL_BROXTON_M_XHCI 0x0aa8
24 #define PCI_DEVICE_ID_INTEL_BROXTON_B_XHCI 0x1aa8
25 #define PCI_DEVICE_ID_INTEL_APL_XHCI 0x5aa8
26+#define PCI_DEVICE_ID_INTEL_DNV_XHCI 0x19d0
27
28 static const char hcd_name[] = "xhci_hcd";
29
30@@ -166,7 +167,8 @@ static void xhci_pci_quirks(struct devic
31 pdev->device == PCI_DEVICE_ID_INTEL_CHERRYVIEW_XHCI ||
32 pdev->device == PCI_DEVICE_ID_INTEL_BROXTON_M_XHCI ||
33 pdev->device == PCI_DEVICE_ID_INTEL_BROXTON_B_XHCI ||
34- pdev->device == PCI_DEVICE_ID_INTEL_APL_XHCI)) {
35+ pdev->device == PCI_DEVICE_ID_INTEL_APL_XHCI ||
36+ pdev->device == PCI_DEVICE_ID_INTEL_DNV_XHCI)) {
37 xhci->quirks |= XHCI_PME_STUCK_QUIRK;
38 }
39 if (pdev->vendor == PCI_VENDOR_ID_INTEL &&
40@@ -175,7 +177,8 @@ static void xhci_pci_quirks(struct devic
41 }
42 if (pdev->vendor == PCI_VENDOR_ID_INTEL &&
43 (pdev->device == PCI_DEVICE_ID_INTEL_CHERRYVIEW_XHCI ||
44- pdev->device == PCI_DEVICE_ID_INTEL_APL_XHCI))
45+ pdev->device == PCI_DEVICE_ID_INTEL_APL_XHCI ||
46+ pdev->device == PCI_DEVICE_ID_INTEL_DNV_XHCI))
47 xhci->quirks |= XHCI_MISSING_CAS;
48
49 if (pdev->vendor == PCI_VENDOR_ID_ETRON &&