Received: by 10.223.185.116 with SMTP id b49csp6414141wrg; Wed, 28 Feb 2018 09:01:49 -0800 (PST) X-Google-Smtp-Source: AH8x2271H5nAulS0mF2F5z7WpK7Rn7Wswor0yX/FV5Ew5N7+y5rdcjVe4OQfCK++dUKnaG6vsRCO X-Received: by 10.99.133.193 with SMTP id u184mr14401860pgd.401.1519837308871; Wed, 28 Feb 2018 09:01:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519837308; cv=none; d=google.com; s=arc-20160816; b=h/450L/zX70GeXZbummU6gBztaTrz9gqM+hE3mNnxVR7Z1dUC0G87M1ZWxrhulU04m ApdzLYjREX47H0Sa860NtbQ+tnPnZD65Y4SdTE+45rLNBLXrOYUQgJQiDwEOBZn/EyQe YiI/gXYvmYyIEKvqItFkHdBIF3V6P+fvAsECR3y0Xs8cSl5hbh1xbn5SIwCO//qvD+ug JBB15LWkdWlXxr7/DAIggiysjTxA0a2auXH3JqipXnoU8y4NWoG+zdDD2xDWXpsPkJnn muAvdFgUJADijkkE13QrdnQBs5ywco3wJpUC+9bWjlXXMBkABMZ+Gz6v7ykxYM+aJVeF 0gNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:subject:message-id:date:cc:to :from:mime-version:content-transfer-encoding:content-disposition :arc-authentication-results; bh=528fOE4iDxgfWODXRtKd4MJFTQc0tGVDPN/XH5xr9ow=; b=nHqkAgdZXFBrZ681Awfvl5i/0ZC7iLoNPLdBnLj3310sUShvM2lcmRjQOiaAgjiPvA VzmumImx8TU4zw8U9F1zqYyDYFGIP0sNUHAQNH0aG9h+kW6l344Z4yXj/6pkz+GHIMv1 Ela3NEPJ6x4lS/+OV+B9qDib2GVlZj6xgLt22kq3h0wN9TarZpjugvDIY2wNNfntdrL2 T9BiW3SZs1wpdZXo0DY42AcnOo9EU3qU5h/UGN9huyXd8D3+6uvW6M4PZYxZboG7vViH MB5lAe/bbZVr30bFoWXYFgLangOt0F2Qdncl4h4IKUdgYgFCNdd+doQEF1aPZaOR7Zud 0DKA== 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 s9si1203686pgr.617.2018.02.28.09.01.33; Wed, 28 Feb 2018 09:01:48 -0800 (PST) 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 S933819AbeB1PwM (ORCPT + 99 others); Wed, 28 Feb 2018 10:52:12 -0500 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:34377 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933786AbeB1PwI (ORCPT ); Wed, 28 Feb 2018 10:52:08 -0500 Received: from [2a02:8011:400e:2:6f00:88c8:c921:d332] (helo=deadeye) by shadbolt.decadent.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1er3Ys-0006XU-3u; Wed, 28 Feb 2018 15:22:30 +0000 Received: from ben by deadeye with local (Exim 4.90_1) (envelope-from ) id 1er3Yh-00009j-MP; Wed, 28 Feb 2018 15:22:19 +0000 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Ben Hutchings To: linux-kernel@vger.kernel.org, stable@vger.kernel.org CC: akpm@linux-foundation.org, "Ard Biesheuvel" , "Greg Kroah-Hartman" , "Mathias Nyman" , "Daniel Thompson" Date: Wed, 28 Feb 2018 15:20:18 +0000 Message-ID: X-Mailer: LinuxStableQueue (scripts by bwh) Subject: [PATCH 3.16 142/254] usb: xhci: Add XHCI_TRUST_TX_LENGTH for Renesas uPD720201 In-Reply-To: X-SA-Exim-Connect-IP: 2a02:8011:400e:2:6f00:88c8:c921:d332 X-SA-Exim-Mail-From: ben@decadent.org.uk X-SA-Exim-Scanned: No (on shadbolt.decadent.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.16.55-rc1 review patch. If anyone has any objections, please let me know. ------------------ From: Daniel Thompson commit da99706689481717998d1d48edd389f339eea979 upstream. When plugging in a USB webcam I see the following message: xhci_hcd 0000:04:00.0: WARN Successful completion on short TX: needs XHCI_TRUST_TX_LENGTH quirk? handle_tx_event: 913 callbacks suppressed All is quiet again with this patch (and I've done a fair but of soak testing with the camera since). Signed-off-by: Daniel Thompson Acked-by: Ard Biesheuvel Signed-off-by: Mathias Nyman Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- drivers/usb/host/xhci-pci.c | 3 +++ 1 file changed, 3 insertions(+) --- a/drivers/usb/host/xhci-pci.c +++ b/drivers/usb/host/xhci-pci.c @@ -183,6 +183,9 @@ static void xhci_pci_quirks(struct devic xhci->quirks |= XHCI_BROKEN_STREAMS; } if (pdev->vendor == PCI_VENDOR_ID_RENESAS && + pdev->device == 0x0014) + xhci->quirks |= XHCI_TRUST_TX_LENGTH; + if (pdev->vendor == PCI_VENDOR_ID_RENESAS && pdev->device == 0x0015) xhci->quirks |= XHCI_RESET_ON_RESUME; if (pdev->vendor == PCI_VENDOR_ID_VIA)