Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3015763pxb; Mon, 18 Oct 2021 06:39:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz+IWWVLTbXHhVZq/wPSLdCOB/32jSGGoVBdj6+dMkH8TIzWLINDH8lqTdRm1Am4xn1PV2B X-Received: by 2002:a63:fb09:: with SMTP id o9mr23679458pgh.255.1634564366407; Mon, 18 Oct 2021 06:39:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634564366; cv=none; d=google.com; s=arc-20160816; b=GNIifOsLqpwvPFhMKnY7Ej1OHNB0p3SvB/RKtrcDm6jd7Xe1x7KiUjg9hEG7lxMhPO lGSiQOCY+N+Dp9OZCrGfBCY79LMr7cULHFcq8JRaU6Wzcq8xqW/ZmiN8SRwO6f33KRlD gYOZlZuexknMLeLtQlARp7kbvQXi5f6YfobiaHSoQysq+zE13ZcxlL8Z9/YE09sYQI+Z zoN6ztkShiLKVtVox3z8YW+GOQMCnJEhYxYq6b4H2mB0oqs7bIzVYBijwEOf9dCVH0z2 ylbylrbkYhD3y0VKngTiVKrcdlqZlmBkJH8lUWfP9BKV0/wh+qltw7p+n4pxYl8BgPWu xpXQ== 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=BQX84oyU+JZlUEnvmbHHqTEO2yQIJ2eU3zJpR5IMLMg=; b=py4RBBVVauTud4l8sRpbmDfuaxqhHaZCX0Lka3ohZRa/7lb9te+9HYWdgGYm7/4gDd 5U06S6WMLvh4ujV4Z3X3IjW8pFzEbJz07dEg0sQAVEMfoIU4/Tq9SqO31m3FxaK7qwlz 2LWndFuwcSADs6f/q60h9tySOYy3uj+MFhFkID4FnQT/H8GjHoneZFaw6+gkk0TbVr6D r4uueLqUCG1WkCd1IAVMaq0L0/0p4TQBzXUAbEwijB9my2NzHM3/MSsl2RRIH82Qah+W 3cJaRMM6RAOv5uSntw1tOvMqnmP2S/bCm8piKV6eGiSXQVyQcTfyfDhz2Ef1ruA4FkhI G1/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=NYSBNp7h; 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 d131si4085288pgc.376.2021.10.18.06.39.13; Mon, 18 Oct 2021 06:39:26 -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=NYSBNp7h; 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 S232380AbhJRNkF (ORCPT + 99 others); Mon, 18 Oct 2021 09:40:05 -0400 Received: from mail.kernel.org ([198.145.29.99]:53902 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233342AbhJRNhb (ORCPT ); Mon, 18 Oct 2021 09:37:31 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 620A961362; Mon, 18 Oct 2021 13:31:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1634563889; bh=NFLkhKyGlOtCy2MJAhRM0fWAQqdq9Rcrd/4Utb9Wg7Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NYSBNp7h3Fg5Rsbz7MxDJyG+2PL8kKipmRZVTjZeFvYctEoqxDivdZD/chLhIDKm6 fyGhilrrjUm3vDE7ioPCQb6EpZCMMbsRzdPVlhjEGuRL9U3zpvjmNJYK04+ScNyy7S qSvp5yqDbuhllbCteAcJ6I0mXZJF7N08eJafLK84= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Nikolay Martynov , Mathias Nyman Subject: [PATCH 5.4 21/69] xhci: Enable trust tx length quirk for Fresco FL11 USB controller Date: Mon, 18 Oct 2021 15:24:19 +0200 Message-Id: <20211018132330.166858878@linuxfoundation.org> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211018132329.453964125@linuxfoundation.org> References: <20211018132329.453964125@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 @@ -28,6 +28,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 @@ -98,6 +99,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) {