Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp282040rwe; Wed, 31 Aug 2022 02:45:07 -0700 (PDT) X-Google-Smtp-Source: AA6agR5VIW0BF/s5+SIYvl2Ak22QmmDaW4i3cEmyovl687ir/LqABtgMF7YpB7Eh5Z4u0B0Qa9T9 X-Received: by 2002:a63:d448:0:b0:41d:d4e9:b4aa with SMTP id i8-20020a63d448000000b0041dd4e9b4aamr20420318pgj.123.1661939107220; Wed, 31 Aug 2022 02:45:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661939107; cv=none; d=google.com; s=arc-20160816; b=yxN9C0HT9NUP4bGwYTcmAO5TmczoP5GFjsR96agTHF2MJFLuLdQU37A9tIUmhattoV yUWXe8ST64tCLPZDNXWJkFUdt3jF94F2A6LrYn6ZaWDAzWDPJB1G84mo+3KILURkp1Xe QItXOZISHtEhx4PEUlQLlFCGZE8xLMdV/MOUz/kNRXNc4H2wHa7263seRe+/Pri91ULb zJs0smbTjTJCadPTbGMqAwL4RGh28DIIWRZKAtZDQzYX4hvhGwcBnfHmXwPoDEu37ret gmIAfeIlm5UawzRET7hWLSI636lU5VWGx3ZI5SLI432Pn30cdm+qpqygr8aBbq75YWVu xsCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=mg5dFFtloSKe1JP8nICkFz6/wCDO3uCIXA6+GrelxrA=; b=Obg7awTNxWivuOfw7KK+lPQ9xCNbpM8zck/4Dqb6imoXQdDK01xJVGUFZ5Wp0ZqY9M cZ7lpNEGmin/LLPH82eBSFAArFG2t8HQRgsvwB6PpZ2NVRNzP5B3wp3u7Ugl4ioXMzib 8ohB9MNkV9I9N6WwEJcehZfpHGNA6oxWWbvBEeF0we5XDIVMvj4TQTJcQGhZXhFziPaz YEC5Xfs4u9iJh9HnyeNBSOWUqOONzvAE534c/op/4fHV/f1lcyoKgRBylhzM+XbOLhFw Z4qk/fxzR5MPabRbdMmV0Z2e1hVCnL4OjZBLvJppQ+gYNjIzO/CYhO8tCJGlKUw/PagL yFgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=xChazdSo; 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 m14-20020a056a00080e00b0053859f04311si6567142pfk.341.2022.08.31.02.44.53; Wed, 31 Aug 2022 02:45:07 -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=xChazdSo; 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 S230429AbiHaIf7 (ORCPT + 99 others); Wed, 31 Aug 2022 04:35:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45022 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229607AbiHaIf4 (ORCPT ); Wed, 31 Aug 2022 04:35:56 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D0063DF52; Wed, 31 Aug 2022 01:35:55 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 6EFAA619E6; Wed, 31 Aug 2022 08:35:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 53862C433C1; Wed, 31 Aug 2022 08:35:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1661934954; bh=qarNLkbsovoU00cxARj4JK5LNUtmsCMbYs74KZGYTFw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=xChazdSoYVW5s5aVqTj5k7pq6DpGnJDBFMofmNGZx5wsWbxkrFJB4ua/ShpHLnrfX Tl3b4npNAP5E5F+GOeNE9sXyU6k2Z0ZBczu3IhP37XS2aQ9Fk/4nWU9KNhhwQUOVde +CVzHjJ7r/P38SeA7+yT/N0ZsgcZrzH1ItKwOkyA= Date: Wed, 31 Aug 2022 10:35:51 +0200 From: Greg KH To: jflf_kernel@gmx.com Cc: Oliver Neukum , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] usb: add quirks for Lenovo OneLink+ Dock Message-ID: References: <20220824160946.10128-1-jflf_kernel@gmx.com> <31aeee3c-f4f1-16a8-272b-96da5d4a565e@suse.com> <4b92eee0-b020-9211-2039-18ac3ac72a7b@suse.com> <9a17ea86-079f-510d-e919-01bc53a6d09f@gmx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9a17ea86-079f-510d-e919-01bc53a6d09f@gmx.com> X-Spam-Status: No, score=-7.1 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,T_SCC_BODY_TEXT_LINE 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 On Wed, Aug 31, 2022 at 09:43:02AM +0200, jflf_kernel@gmx.com wrote: > > On 31/08/2022 09.31, Greg KH wrote: > > On Tue, Aug 30, 2022 at 09:50:03PM +0200, jflf_kernel@gmx.com wrote: > >> > >> On 30/08/2022 16.47, Oliver Neukum wrote: > >> > >>> 1) force a reset after a resume and call reset_resume() instead of resume() > >>> 2) block autosuspend if remote wakeup is required > >>> > >>> I suspect you are actually using the second effect. Have you > >>> tested with "usbcore.autosuspend=-1" on the kernel command line. > >> > >> After further testing, your suspicion is correct. > >> > >> TL;DR: the two VL812 hubs don't behave well when suspended. > >> > >> I'd like to prepare a better patch for that issue. What's the recommended strategy? The current patch works, even if only as a side effect and when there's a wakeup source downstream. It's currently in Greg KH's usb-linus branch, and will land in linux-next at some point. I'm tempted to let it be and undo it later in the better patch. Is that acceptable? Or should I ask Greg KH to pull it? > > > > I can revert it if you want me to, just let me know. > > > > thanks, > > > > greg k-h > > [keeping the lists in CC this time] > > Please revert if possible, and apologies for the trouble. No problem at all, now reverted. greg k-h