public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4] usb: xhci: applying XHCI_PME_STUCK_QUIRK to Intel BXT B0 host
@ 2016-03-24  9:55 Robert Dobrowolski
  2016-04-04 11:25 ` Felipe Balbi
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Dobrowolski @ 2016-03-24  9:55 UTC (permalink / raw)
  To: linux-usb; +Cc: rafal.f.redzimski, stable, mathias.nyman, gregkh

From: Rafal Redzimski <rafal.f.redzimski@intel.com>

Broxton B0 also requires XHCI_PME_STUCK_QUIRK.
Adding PCI device ID for Broxton B and adding to quirk.

Cc: <stable@vger.kernel.org>
Signed-off-by: Rafal Redzimski <rafal.f.redzimski@intel.com>
Signed-off-by: Robert Dobrowolski <robert.dobrowolski@linux.intel.com>
---
Changes in v4:
 - Updating commit message
Changes in v3:
 - Corrected cc list
Changes in v2:
 - Fixed commit message

 drivers/usb/host/xhci-pci.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c
index f0640b7..071b34a 100644
--- a/drivers/usb/host/xhci-pci.c
+++ b/drivers/usb/host/xhci-pci.c
@@ -48,6 +48,7 @@
 #define PCI_DEVICE_ID_INTEL_SUNRISEPOINT_H_XHCI		0xa12f
 #define PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_XHCI	0x9d2f
 #define PCI_DEVICE_ID_INTEL_BROXTON_M_XHCI		0x0aa8
+#define PCI_DEVICE_ID_INTEL_BROXTON_B_XHCI		0x1aa8

 static const char hcd_name[] = "xhci_hcd";

@@ -155,7 +156,8 @@ static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci)
 		(pdev->device == PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_XHCI ||
 		 pdev->device == PCI_DEVICE_ID_INTEL_SUNRISEPOINT_H_XHCI ||
 		 pdev->device == PCI_DEVICE_ID_INTEL_CHERRYVIEW_XHCI ||
-		 pdev->device == PCI_DEVICE_ID_INTEL_BROXTON_M_XHCI)) {
+		 pdev->device == PCI_DEVICE_ID_INTEL_BROXTON_M_XHCI ||
+		 pdev->device == PCI_DEVICE_ID_INTEL_BROXTON_B_XHCI)) {
 		xhci->quirks |= XHCI_PME_STUCK_QUIRK;
 	}
 	if (pdev->vendor == PCI_VENDOR_ID_INTEL &&
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v4] usb: xhci: applying XHCI_PME_STUCK_QUIRK to Intel BXT      B0 host
  2016-03-24  9:55 [PATCH v4] usb: xhci: applying XHCI_PME_STUCK_QUIRK to Intel BXT B0 host Robert Dobrowolski
@ 2016-04-04 11:25 ` Felipe Balbi
  0 siblings, 0 replies; 2+ messages in thread
From: Felipe Balbi @ 2016-04-04 11:25 UTC (permalink / raw)
  To: Robert Dobrowolski, linux-usb, Mathias Nyman
  Cc: rafal.f.redzimski, stable, mathias.nyman, gregkh

[-- Attachment #1: Type: text/plain, Size: 2042 bytes --]


Hi Mathias,

Robert Dobrowolski <robert.dobrowolski@linux.intel.com> writes:
> From: Rafal Redzimski <rafal.f.redzimski@intel.com>
>
> Broxton B0 also requires XHCI_PME_STUCK_QUIRK.
> Adding PCI device ID for Broxton B and adding to quirk.
>
> Cc: <stable@vger.kernel.org>
> Signed-off-by: Rafal Redzimski <rafal.f.redzimski@intel.com>
> Signed-off-by: Robert Dobrowolski <robert.dobrowolski@linux.intel.com>

Any comments to this patch ? Seems like it could go in during the -rc
itself.

> ---
> Changes in v4:
>  - Updating commit message
> Changes in v3:
>  - Corrected cc list
> Changes in v2:
>  - Fixed commit message
>
>  drivers/usb/host/xhci-pci.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c
> index f0640b7..071b34a 100644
> --- a/drivers/usb/host/xhci-pci.c
> +++ b/drivers/usb/host/xhci-pci.c
> @@ -48,6 +48,7 @@
>  #define PCI_DEVICE_ID_INTEL_SUNRISEPOINT_H_XHCI		0xa12f
>  #define PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_XHCI	0x9d2f
>  #define PCI_DEVICE_ID_INTEL_BROXTON_M_XHCI		0x0aa8
> +#define PCI_DEVICE_ID_INTEL_BROXTON_B_XHCI		0x1aa8
>
>  static const char hcd_name[] = "xhci_hcd";
>
> @@ -155,7 +156,8 @@ static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci)
>  		(pdev->device == PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_XHCI ||
>  		 pdev->device == PCI_DEVICE_ID_INTEL_SUNRISEPOINT_H_XHCI ||
>  		 pdev->device == PCI_DEVICE_ID_INTEL_CHERRYVIEW_XHCI ||
> -		 pdev->device == PCI_DEVICE_ID_INTEL_BROXTON_M_XHCI)) {
> +		 pdev->device == PCI_DEVICE_ID_INTEL_BROXTON_M_XHCI ||
> +		 pdev->device == PCI_DEVICE_ID_INTEL_BROXTON_B_XHCI)) {
>  		xhci->quirks |= XHCI_PME_STUCK_QUIRK;
>  	}
>  	if (pdev->vendor == PCI_VENDOR_ID_INTEL &&
> -- 
> 1.9.1
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-usb" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
balbi

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-04-04 11:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-24  9:55 [PATCH v4] usb: xhci: applying XHCI_PME_STUCK_QUIRK to Intel BXT B0 host Robert Dobrowolski
2016-04-04 11:25 ` Felipe Balbi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox