Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3028841pxb; Mon, 18 Oct 2021 06:55:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw8M4v7MsiMVHnKmnFe+C1A8SnbJJDEEb2ZT6tHjtZmHTspBipNFWoL6r1Uyblm5waKypb3 X-Received: by 2002:a63:6a05:: with SMTP id f5mr23372126pgc.398.1634565348907; Mon, 18 Oct 2021 06:55:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634565348; cv=none; d=google.com; s=arc-20160816; b=hc438B/taGjLkS2V8IA12AK7JBgsq0de7f+TWK2ifZU6/Y/ibvC0jqeAjr0HwJv59f JMDFhM4bV+PunuDdEG0pYuwBMoB/6TYcZLKxXr1dCqI+as5rSZ05HyE8RpJaK7af9Qax jbI9I8qUBkJWOeY3lW2sld2zuThbhwh1VLFn+AJm8lEULLbYwWZbvUj7tiwNEihmwgjH fLHVMliHT/jMju1hjfpbuP3WQll5/Djst3wDBstRr7IG6ZurNbsReAcT4NvIIgWlyjav pvIuKB7I0U2Kqd/wyI7rJLU5qxd5IvTPu8lmZu+nreom9NaM9A6TtXAmhOw0WMVt8xbC nkew== 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=N1SKtCJHpfk4iXrB0BTt57PUmqb2KnNSCe464SL/eiM=; b=qB681+nVD4x9OiBbXAWOmnk509i02wd32leEx1nbaNHyCh362Er9mNIK6a/NLvYJcG PgLvBHeQ9ZVEQ2uBu+G2exL7QTE6PQmXZmrthtsCaU+cqHph4hbx5+308fvz4sFd5MMp jVDn59KftrZ7CwCfbkE+9/Uy4TuWXQvFzf9vCFGPiUFTe5FqGmUb3kQ/vg/HsINSaRFk dr94uFOfZ0PjMzWhRZLh7f+An+RC0AS88kf1tZNfTXRa34gr3K5RYPlztDNqN1TxC3yg lkFrQPaftZJSFXwHfPk7BZ8aUrX+B/vA3nipz56Vmr4tY45itOD6K5f7ZeNzKIxM3CCj trbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=pzRCKSaB; 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 v12si23400677pfu.224.2021.10.18.06.55.36; Mon, 18 Oct 2021 06:55:48 -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=pzRCKSaB; 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 S232707AbhJRNze (ORCPT + 99 others); Mon, 18 Oct 2021 09:55:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:50496 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233847AbhJRNwC (ORCPT ); Mon, 18 Oct 2021 09:52:02 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id A598B61351; Mon, 18 Oct 2021 13:38:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1634564317; bh=j0/ImzY63DJ3se3ywaBnLDeJe/ryL2f9ebiksmN+Fj8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pzRCKSaBpCd+ooS3lpWxybpaK5fHTyUcQj4TOd0Sntso+yVxGPbglNW9ruW2dCMKc JcF3qo+f7KmnGSwoJFrzupRQR7dR1JAxEwEPECXLdH35ZjXeIp7ojVoZcKMjjEvDqz bVP0Nq/GYSILtWC53dYDDlQjqYdxttRM6NesCRP8= 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.14 044/151] xhci: Enable trust tx length quirk for Fresco FL11 USB controller Date: Mon, 18 Oct 2021 15:23:43 +0200 Message-Id: <20211018132342.136831927@linuxfoundation.org> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211018132340.682786018@linuxfoundation.org> References: <20211018132340.682786018@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 @@ -30,6 +30,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 @@ -113,6 +114,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) {