Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp208161rwe; Wed, 31 Aug 2022 01:03:18 -0700 (PDT) X-Google-Smtp-Source: AA6agR64fJ12bsKxENCDgtwTiEJr8P21YfRYVrn43KlGkeYqSdDkOQCFKMgvDoPDHleiLjahDZJ4 X-Received: by 2002:a05:6402:1694:b0:447:fa04:367b with SMTP id a20-20020a056402169400b00447fa04367bmr18392897edv.138.1661932998618; Wed, 31 Aug 2022 01:03:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661932998; cv=none; d=google.com; s=arc-20160816; b=D6pAmvILyFWfiXH4hk+eRf1zXom2Y7gA5KAEutC7tMKT6ym0mMTdK5tpJTR9cI74vr JEn+rmgyKKFF0fZYqPYQZxvv4fPSv2IiGETHeu/zy/o3B2rC4Ivimyd2TlPT2VRDHQOU pln/iA77d8MEX3Ck+hwLfCLBuMHfYuX3gA6TEIQfjMo+z1ApkQaaCs/Q4hYwYak2XHgr aPQWI1QKHk212oe6r4xkGNhw/s0O6GGuZzy+2+Z70rmxPFJq3GSpZYUBQPtNVQOcNdRv Y1R+Wz4XTilnyJZMVDGsD1zJ1ikP3fs2em+y5c8avXYnSUC5dhGTZnJRrAdg/NHzCBnx 89UA== 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=3iq+0lEv5JlTN1eNDlsp7MJT5THE+hnCwwFx9JTNvcA=; b=P0mMCwv6mmQh8gmxYpUc1Dp8e3JXtszt9X9cEtlor68olaByTo/dIc/8KwDQyyxwO4 EoZrzUyOmtY5tkpPktMjfD/ZOwvA4uHeIJhNFmK+78FuQkBr0D7IoeKHnlmwJrsLevPh t4BMYB1BTbK23DwuFzKTmEt/EZUfd4MOMz5T/ZhO8vJSS11lapuyGAYzYyn0tTYCsTdh k/glU9JLPjmKCvVGmFOwupvCbDGHaNj3+NWm9cK80gpPx3UvpP0vD73zeWb5CwNFc6SB NDB2lalNjXWdWBHUZVt7X5TaNtjVWWO3aXVGLxiMWMPOpdisBXfiCzGw1PJBYigmOICP Sqfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=lU28n71d; 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 q18-20020a056402519200b0044600406ccasi12555866edd.138.2022.08.31.01.02.51; Wed, 31 Aug 2022 01:03:18 -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=lU28n71d; 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 S229960AbiHaHbr (ORCPT + 99 others); Wed, 31 Aug 2022 03:31:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230050AbiHaHbj (ORCPT ); Wed, 31 Aug 2022 03:31:39 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE508BCCF1; Wed, 31 Aug 2022 00:31:35 -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 372A0618A0; Wed, 31 Aug 2022 07:31:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 219D4C433D6; Wed, 31 Aug 2022 07:31:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1661931094; bh=d4EgKFrsrHLU78IeWOJ+tNK9WnATpRtGTtybgl+XJiQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=lU28n71dtK15K68q+FEAnkh9VY4bzqIFgXscMfNqa2QbgAbbQsF9fsNdOjqdzOGXQ KA65M7gFLZEZ5w0tl9vlSCtgo+rtH9n0s2li3w01XiB77bjCteytBg9y7UkZANxSV1 6jDAr0Vmt+/Y4yqOWZJPp+nHW3/9BD9bv0fztmc4= Date: Wed, 31 Aug 2022 09:31:31 +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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 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