Received: by 10.192.165.148 with SMTP id m20csp4177059imm; Mon, 30 Apr 2018 13:15:03 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpzoYbzN89P2QckmrIjrJAAswsJgS1IOSUKgP3D4V3PxM61yJnur6JfKml1d2U1cIcL/+/Z X-Received: by 2002:a17:902:3a5:: with SMTP id d34-v6mr13866874pld.103.1525119303623; Mon, 30 Apr 2018 13:15:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525119303; cv=none; d=google.com; s=arc-20160816; b=uuJcGchhhAwzSO3yAB/E68waU9IcaI0igMCtik7AkYNm+t0u5JzGUXzSwQND2wlbhy FG/BdtXSBuT7smI2AnylMXNu3n4kxA1UCpNtW0xJFwRAP85QwjcOtORrRgYI9DOE9Itv CC4cyJ4q6Zhuj4BQ2KRU4Gm+qLlzeHJxfUNh5I1m+ZMjdJlz35V4DRXTcipEyPBoC9gi J3DceT/aF2iRE3q/q3DiJ+1LdrPioi+L1WeoIW5dWlYRoNPneqhublN34stBjFI2sHzn dLYfRH3RPfOSRAYCevEHRlu7iDaFvOjMdxkvHh0laa0LXLwT60vJeubSJrnmiUYpJEcQ LzMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from:dmarc-filter :arc-authentication-results; bh=VnCpcWlkk640TfkVD3xIf/xtL+17+RWvZ3KUvsU2pco=; b=LaTyBNX0BiuhH/I0ijA15pgZhIQNGzjZiGMuht1ph9Jz3G/WlM1aTw5uxabtXRSxq6 lqa2EJ2uOL9QhAh/ZSxn5MBJRZy01aHInD1cBDxGCMHvoMjVIyk3XDb4eDJlBwhe53oZ Pya04pYt/sOC6SO6cvSmB7aNEiWN/t5EIgyOWHKo0kXLZ5iA4SlrCDKnk4W8ms06vtn9 3+cSbOP76iFQjQRxAuIx0mVfU2lugMgxBi39CyE8aueAzSyeMTK7rxl5Adf0yJJrGGci bY9Jmovy5T/Vwqsc41Hvqw63KVy0oM+11xrXkopSAFdSRocAiNYYHiA8G/Jdt+oFN4Cd mjzg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i21si5602928pfj.190.2018.04.30.13.14.49; Mon, 30 Apr 2018 13:15:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932123AbeD3T1G (ORCPT + 99 others); Mon, 30 Apr 2018 15:27:06 -0400 Received: from mail.kernel.org ([198.145.29.99]:32982 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755846AbeD3T06 (ORCPT ); Mon, 30 Apr 2018 15:26:58 -0400 Received: from localhost (unknown [104.132.1.102]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8DC2722DBF; Mon, 30 Apr 2018 19:26:57 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8DC2722DBF Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: mail.kernel.org; spf=fail smtp.mailfrom=gregkh@linuxfoundation.org From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Kai-Heng Feng , Mathias Nyman Subject: [PATCH 4.14 14/91] xhci: Fix USB ports for Dell Inspiron 5775 Date: Mon, 30 Apr 2018 12:23:56 -0700 Message-Id: <20180430184004.957200675@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180430184004.216234025@linuxfoundation.org> References: <20180430184004.216234025@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Kai-Heng Feng commit 621faf4f6a181b6e012c1d1865213f36f4159b7f upstream. The Dell Inspiron 5775 is a Raven Ridge. The Enable Slot command timed out when a USB device gets plugged: [ 212.156326] xhci_hcd 0000:03:00.3: Error while assigning device slot ID [ 212.156340] xhci_hcd 0000:03:00.3: Max number of devices this xHCI host supports is 64. [ 212.156348] usb usb2-port3: couldn't allocate usb_device AMD suggests that a delay before xHC suspends can fix the issue. I can confirm it fixes the issue, so use the suspend delay quirk for Raven Ridge's xHC. Cc: stable@vger.kernel.org Signed-off-by: Kai-Heng Feng Signed-off-by: Mathias Nyman Signed-off-by: Greg Kroah-Hartman --- drivers/usb/host/xhci-pci.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) --- a/drivers/usb/host/xhci-pci.c +++ b/drivers/usb/host/xhci-pci.c @@ -134,7 +134,10 @@ static void xhci_pci_quirks(struct devic if (pdev->vendor == PCI_VENDOR_ID_AMD && usb_amd_find_chipset_info()) xhci->quirks |= XHCI_AMD_PLL_FIX; - if (pdev->vendor == PCI_VENDOR_ID_AMD && pdev->device == 0x43bb) + if (pdev->vendor == PCI_VENDOR_ID_AMD && + (pdev->device == 0x15e0 || + pdev->device == 0x15e1 || + pdev->device == 0x43bb)) xhci->quirks |= XHCI_SUSPEND_DELAY; if (pdev->vendor == PCI_VENDOR_ID_AMD)