]>
Commit | Line | Data |
---|---|---|
7d6ba0f1 GKH |
1 | From a0c16630d35a874e82bdf2088f58ecaca1024315 Mon Sep 17 00:00:00 2001 |
2 | From: Mathias Nyman <mathias.nyman@linux.intel.com> | |
3 | Date: Wed, 17 May 2017 18:32:00 +0300 | |
4 | Subject: xhci: apply PME_STUCK_QUIRK and MISSING_CAS quirk for Denverton | |
5 | ||
6 | From: Mathias Nyman <mathias.nyman@linux.intel.com> | |
7 | ||
8 | commit a0c16630d35a874e82bdf2088f58ecaca1024315 upstream. | |
9 | ||
10 | Intel Denverton microserver is Atom based and need the PME and CAS quirks | |
11 | as well. | |
12 | ||
13 | Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> | |
14 | Signed-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 && |