Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp824604rwb; Mon, 26 Sep 2022 06:23:01 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7Oo6+E7O37O8jt86RW2ghQVaZCx0TmA2LMNlIv8c4za0kvx+Id4zjAAO+kNxC6PzcG8RkA X-Received: by 2002:a17:907:a07a:b0:77c:f98e:ab8c with SMTP id ia26-20020a170907a07a00b0077cf98eab8cmr18555380ejc.69.1664198581109; Mon, 26 Sep 2022 06:23:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664198581; cv=none; d=google.com; s=arc-20160816; b=iPuYF8sdrbcDn28Hpn1xRl5dEy8SzNMtIXr28Z00eoUPow+X1OOt34ZRJHuyI3n+B9 Q5hOo/e0P6oZhXp+Z7LxLyTd3U8eIap2PdmQH6Zlz0/C557qsykLlQx7rdDDQXEO+/wB eDFiy6935suq12uzm0iOhKuJwBvSqJEhPRpVDwzz7K8u/lQH+g2SRARaJMxXk+Fn3880 jzm0hwlmV4UToseOFOL2+RoU/A51Pj0B5s5QSeiH1/zGU6K2C5zlIyN8F8nUykXeF6iW xgsKDBr2UUzts0o0fSUYBTNAFy2UtklQ+B52zShJVt2maCYR8qbIIkGwY9VhcBgJ0ie9 j2bA== 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=/gDVVvZ1yc0BR4OUumhtPjDIRmk8J2gssCg4aPEqb+I=; b=l3mM1ZPFDM6gnNGb+7yzuAiyNA2OwkM+etN16fV619Vc7lZFqe/ItUS+C5ML1ipawn MTbujAK3QocBCeDKY6neh5S44bsbw21+tuk69QRRGjv2NE+23daXRejsRNnNnV2ep7GW iuqhdgG9mbrOxqM0EggxTeb+6rRg57M6L0mRZUKQZcogfNNhdaf+T2JPBqOqHD++ohSS 8xN/68fLG7emoqddNPXSDuDV5wNz3qaYtWOcEXz0WnVKsJmcrfys3JH1si4loqNPQH79 QxkpuPf0HeEESLXrl3a8Nny6q9xkib+GU+CxH6lsGUbSuUk+rq2Z7+doi3WP/YLd8FYc R+Ng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=luenHxc8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qf42-20020a1709077f2a00b0073d78bbd49csi11976602ejc.666.2022.09.26.06.22.34; Mon, 26 Sep 2022 06:23:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=luenHxc8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S238191AbiIZLiD (ORCPT + 99 others); Mon, 26 Sep 2022 07:38:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56270 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238164AbiIZLhN (ORCPT ); Mon, 26 Sep 2022 07:37:13 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B42D76E8B2; Mon, 26 Sep 2022 03:44:05 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 29AE8B8068A; Mon, 26 Sep 2022 10:41:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5D6CBC433C1; Mon, 26 Sep 2022 10:41:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1664188905; bh=qqskinfIqSFhiOcRad+02oGNyNZWFUzlMULSkLljyMk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=luenHxc8NwJiuHN6SsDBij0KIPMvyALY2/V/PeQdMMMiRa2OA+DoyBjBq7Woap6IQ 2gUFJ1NJbdBBCXKdDth82CxaN9STC4wfNjgsUCVQn828sF53taK65s3V9NEspj9gxe XHd3dXa9DrmLa7ws3GUtLM2Mb1dC1AntmY4ekX9s= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Jean-Francois Le Fillatre , stable , Sasha Levin Subject: [PATCH 5.19 011/207] usb: add quirks for Lenovo OneLink+ Dock Date: Mon, 26 Sep 2022 12:10:00 +0200 Message-Id: <20220926100806.994986015@linuxfoundation.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220926100806.522017616@linuxfoundation.org> References: <20220926100806.522017616@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jean-Francois Le Fillatre [ Upstream commit 3d5f70949f1b1168fbb17d06eb5c57e984c56c58 ] The Lenovo OneLink+ Dock contains two VL812 USB3.0 controllers: 17ef:1018 upstream 17ef:1019 downstream Those two controllers both have problems with some USB3.0 devices, particularly self-powered ones. Typical error messages include: Timeout while waiting for setup device command device not accepting address X, error -62 unable to enumerate USB device By process of elimination the controllers themselves were identified as the cause of the problem. Through trial and error the issue was solved by using USB_QUIRK_RESET_RESUME for both chips. Signed-off-by: Jean-Francois Le Fillatre Cc: stable Link: https://lore.kernel.org/r/20220824191320.17883-1-jflf_kernel@gmx.com Signed-off-by: Greg Kroah-Hartman Signed-off-by: Sasha Levin --- drivers/usb/core/quirks.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/usb/core/quirks.c b/drivers/usb/core/quirks.c index f99a65a64588..999b7c9697fc 100644 --- a/drivers/usb/core/quirks.c +++ b/drivers/usb/core/quirks.c @@ -437,6 +437,10 @@ static const struct usb_device_id usb_quirk_list[] = { { USB_DEVICE(0x1532, 0x0116), .driver_info = USB_QUIRK_LINEAR_UFRAME_INTR_BINTERVAL }, + /* Lenovo ThinkPad OneLink+ Dock twin hub controllers (VIA Labs VL812) */ + { USB_DEVICE(0x17ef, 0x1018), .driver_info = USB_QUIRK_RESET_RESUME }, + { USB_DEVICE(0x17ef, 0x1019), .driver_info = USB_QUIRK_RESET_RESUME }, + /* Lenovo USB-C to Ethernet Adapter RTL8153-04 */ { USB_DEVICE(0x17ef, 0x720c), .driver_info = USB_QUIRK_NO_LPM }, -- 2.35.1