From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752635AbbIJR1W (ORCPT ); Thu, 10 Sep 2015 13:27:22 -0400 Received: from mx1.redhat.com ([209.132.183.28]:53423 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750819AbbIJR1U (ORCPT ); Thu, 10 Sep 2015 13:27:20 -0400 From: Laura Abbott To: Mathias Nyman Cc: Laura Abbott , Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RFC][PATCH] Add spurious wakeup quirk for Lynxpoint controllers Date: Thu, 10 Sep 2015 10:27:14 -0700 Message-Id: <1441906034-5033-1-git-send-email-labbott@fedoraproject.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We received several reports of systems rebooting and powering on after an attempted shutdown. Testing showed that setting XHCI_SPURIOUS_WAKEUP quirk in addition to the XHCI_SPURIOUS_REBOOT quirk allowed the system to shutdown as expected for Lynxpoint xHCI controllers. Set the qurik. Signed-off-by: Laura Abbott --- Bugzilla for reference: https://bugzilla.redhat.com/show_bug.cgi?id=1257131 https://bugzilla.redhat.com/show_bug.cgi?id=1189107 There was some discussion if this is actually needed across all chipsets or if it's just some revision. Not sure how to narrow that down. --- drivers/usb/host/xhci-pci.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c index 5590eac..e6ed595 100644 --- a/drivers/usb/host/xhci-pci.c +++ b/drivers/usb/host/xhci-pci.c @@ -147,6 +147,7 @@ static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci) if (pdev->vendor == PCI_VENDOR_ID_INTEL && pdev->device == PCI_DEVICE_ID_INTEL_LYNXPOINT_LP_XHCI) { xhci->quirks |= XHCI_SPURIOUS_REBOOT; + xhci->quirks |= XHCI_SPURIOUS_WAKEUP; } if (pdev->vendor == PCI_VENDOR_ID_INTEL && (pdev->device == PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_XHCI || -- 2.4.3