Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp621579pxb; Mon, 25 Oct 2021 15:10:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJybE7+tpkImZEcLLXTN4WA6MZB5XljMG37QU+CQ3ttP9cfMGcIqvnXRU0U63pVw13LKA/AG X-Received: by 2002:a17:907:3da7:: with SMTP id he39mr25793485ejc.554.1635199839942; Mon, 25 Oct 2021 15:10:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635199839; cv=none; d=google.com; s=arc-20160816; b=nSqBaoTWh+uee56iaJlCiH/DvE3o9+8FXza+afFYV5QpvOXgeOnYarQHnGz9AABw5M cBnS2IfrQUN0OxAK63p0E2x42Sdyzfr5mrl9SLW3Y6a5JSzH0C6t01GY1bY+A1PiPMGu bC8M7FEKsTarMqeKpTVXKhN0FXqpCFRSpOS/aDvOnXAyRDZcGFcp8UM62Gsn4+1lkVEs ERfSCr09n7obf5Z95LLH6tel1qYamnV6KLilU1Dums/aDN4B2y2ZY1e+Gv7PWqN7w8hM yvJiUPL8LAbOyMUtqtB+UtohbVSvjCfn9jujx6FcTgj9H7EVcHTBeh3OQrAVk7Zr6NQg wZyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=yi3rWR7F672aW9f/dh92929ca8gl0Nz/g2lh26RfZgY=; b=jwv5ZqFFdlSAmMlWxARi78U2p1VadNstoskg5494FfbIDNR3I4369/w3R+bP1TSyTP LNDye2Z4u1B5JZcr/pej87Q1XhyqF13x9QdnbAPwYtBFIm9dpc+ik8vY5rxj34i6GjN3 Yts7JgF+sf8wJbFMnu7Sat6UPegcXMWIPpOvlY77PlYTYHVm4Lkppdl3JyhS6uoZ/wLG trUi1qel4mE+nzkitSYkFqeKUDp4LPBX4EEILoW92oGpUnxzLbl5aypFo2RBGFhxqSVT 80AMHAq7owj+smd/P9S6TWtpPqh8ujhF8u8EB2Sia9a1xbX6u2EAPDnoOv9Sq7z5L7tu 1GCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Q1HwZxsT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j26si12311064eds.343.2021.10.25.15.10.15; Mon, 25 Oct 2021 15:10:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Q1HwZxsT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233862AbhJYTRG (ORCPT + 99 others); Mon, 25 Oct 2021 15:17:06 -0400 Received: from mail.kernel.org ([198.145.29.99]:34428 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233815AbhJYTRE (ORCPT ); Mon, 25 Oct 2021 15:17:04 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0A1B4600D3; Mon, 25 Oct 2021 19:14:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1635189281; bh=PgNQvzE+8QdulzOOEO+c+cEBGSB8D6ePzPKb3hUMeJ4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Q1HwZxsTWYuj2ucIFNkqVWQ72btKST+/HhC5ykFUzgrqdnJxBtwP8kWd7c8/RIIh3 BXpwmTK2GePNGXcRh0UMSUSCT6PsiNnrSUsh6yASBQ2Q1Vkg6t+BZwFkW39Q78f0p6 qC/zwLegO/t4zGN2ksYXxjqRPlWJkVu1IsatqoQw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Nikolay Martynov , Mathias Nyman Subject: [PATCH 4.4 03/44] xhci: Enable trust tx length quirk for Fresco FL11 USB controller Date: Mon, 25 Oct 2021 21:13:44 +0200 Message-Id: <20211025190929.326119077@linuxfoundation.org> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211025190928.054676643@linuxfoundation.org> References: <20211025190928.054676643@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Nikolay Martynov commit ea0f69d8211963c4b2cc1998b86779a500adb502 upstream. Tested on SD5200T TB3 dock which has Fresco Logic FL1100 USB 3.0 Host Controller. Before this patch streaming video from USB cam made mouse and keyboard connected to the same USB bus unusable. Also video was jerky. With this patch streaming video doesn't have any effect on other periferals and video is smooth. Cc: stable@vger.kernel.org Signed-off-by: Nikolay Martynov Signed-off-by: Mathias Nyman Link: https://lore.kernel.org/r/20211008092547.3996295-6-mathias.nyman@linux.intel.com Signed-off-by: Greg Kroah-Hartman --- drivers/usb/host/xhci-pci.c | 2 ++ 1 file changed, 2 insertions(+) --- a/drivers/usb/host/xhci-pci.c +++ b/drivers/usb/host/xhci-pci.c @@ -38,6 +38,7 @@ #define PCI_VENDOR_ID_FRESCO_LOGIC 0x1b73 #define PCI_DEVICE_ID_FRESCO_LOGIC_PDK 0x1000 #define PCI_DEVICE_ID_FRESCO_LOGIC_FL1009 0x1009 +#define PCI_DEVICE_ID_FRESCO_LOGIC_FL1100 0x1100 #define PCI_DEVICE_ID_FRESCO_LOGIC_FL1400 0x1400 #define PCI_VENDOR_ID_ETRON 0x1b6f @@ -90,6 +91,7 @@ static void xhci_pci_quirks(struct devic /* Look for vendor-specific quirks */ if (pdev->vendor == PCI_VENDOR_ID_FRESCO_LOGIC && (pdev->device == PCI_DEVICE_ID_FRESCO_LOGIC_PDK || + pdev->device == PCI_DEVICE_ID_FRESCO_LOGIC_FL1100 || pdev->device == PCI_DEVICE_ID_FRESCO_LOGIC_FL1400)) { if (pdev->device == PCI_DEVICE_ID_FRESCO_LOGIC_PDK && pdev->revision == 0x0) {