Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5351949rwd; Mon, 5 Jun 2023 02:14:51 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5TIfEf81YTTr2G6ozf8uG+Nh8gJJpUnbFDiZBGjvToPrl82tLk6BNnPSu4TW7559g5f4p5 X-Received: by 2002:a05:6a20:9381:b0:103:b436:aef7 with SMTP id x1-20020a056a20938100b00103b436aef7mr6782966pzh.16.1685956490877; Mon, 05 Jun 2023 02:14:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685956490; cv=none; d=google.com; s=arc-20160816; b=Ip6Srysa4ik6so5UdKHA76bEuncx20oDnyCBIyt9ZPvfttmiu+ET+39N90+zrskSA5 v1RbzKeW/U5DH47sRUMVT9IuhI0PdksCKPrkI9Yf3aMRZZR2qn90RedL6VZsYv55HQjY CLagMXL0ZCjyIzFzqOjNnGebt7N4xzjU/EGEpHgGJ9zPUiufc1UGAuOTJjrtuTgdpdaK g45c2WwdicK5j+3OMyzls7+EGfkHyd5fWNRwcywfsaVRlRoDX4NHSD4JWhJUo0z2C60d HFmpR8ouXzmA/DX0Jwv36alJl2GNFshRuFcs/ponFDl66Dyo1FrcjYNF8bakVJC7vPER 5PvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:reply-to:user-agent :mime-version:date:message-id; bh=/aLnEQeiSmQfdMd4wHiAgQBi5IHsXBbVCrdUthGEU7Y=; b=C4zKS6wXvUHMU+G1G3TMZ9qAu7yzB6bDJCan1Q6enjfWxNhT200LUPJkxKO5JayQf5 o4p/BNat7wL42foFF2Q2c51AbWDYRLRRarndvG5U7JS3An/Ye1sAbdORw88wA/1sewj5 HFq+6VRiFgEjTjzezW5acCjOd/wUh5LfP9kt+V5iWe4Q9DTJFb0WmfsoDPrEqjS6Lcpb lbAKAHtyeynxtcq0QV2/99OYq1Z7b3ceJBt1QAP9gFutdx0Q8w1LImHeHhgwdsCfcame ehpanMXCwqRyPqk3i+cSFkb6/WvB51sS6KtTNcWgahSNejZb4/KcHruh0qGy20PrXtcx mPig== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t127-20020a637885000000b0052c7ad564e2si5435687pgc.707.2023.06.05.02.14.37; Mon, 05 Jun 2023 02:14:50 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229455AbjFEIo0 (ORCPT + 99 others); Mon, 5 Jun 2023 04:44:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36178 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230259AbjFEIoV (ORCPT ); Mon, 5 Jun 2023 04:44:21 -0400 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 324B81A8; Mon, 5 Jun 2023 01:44:15 -0700 (PDT) Received: from [2a02:8108:8980:2478:8cde:aa2c:f324:937e]; authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1q65ow-0000MX-J4; Mon, 05 Jun 2023 10:44:10 +0200 Message-ID: <15bb2507-a145-7f1b-8e84-58aeb02484b9@leemhuis.info> Date: Mon, 5 Jun 2023 10:44:09 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Reply-To: Linux regressions mailing list Subject: Re: [PATCH] HID: logitech-hidpp: Handle timeout differently from busy To: Jiri Kosina , Bastien Nocera Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Benjamin Tissoires , "Peter F . Patel-Schneider" , =?UTF-8?Q?Filipe_La=c3=adns?= , Nestor Lopez Casado , Mark Lord , Linux kernel regressions list References: <20230531082428.21763-1-hadess@hadess.net> Content-Language: en-US, de-DE From: "Linux regression tracking (Thorsten Leemhuis)" In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1685954656;1fc30558; X-HE-SMSGID: 1q65ow-0000MX-J4 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,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 03.06.23 14:41, Jiri Kosina wrote: > On Wed, 31 May 2023, Jiri Kosina wrote: > >>> If an attempt at contacting a receiver or a device fails because the >>> receiver or device never responds, don't restart the communication, only >>> restart it if the receiver or device answers that it's busy, as originally >>> intended. >>> >>> This was the behaviour on communication timeout before commit 586e8fede795 >>> ("HID: logitech-hidpp: Retry commands when device is busy"). >>> >>> This fixes some overly long waits in a critical path on boot, when >>> checking whether the device is connected by getting its HID++ version. >>> >>> Signed-off-by: Bastien Nocera >>> Suggested-by: Mark Lord >>> Fixes: 586e8fede795 ("HID: logitech-hidpp: Retry commands when device is busy") >>> Link: https://bugzilla.kernel.org/show_bug.cgi?id=217412 > [...] >> >> I have applied this even before getting confirmation from the reporters in >> bugzilla, as it's the right thing to do anyway. > > Unfortunately it doesn't seem to cure the reported issue (while reverting > 586e8fede79 does): BTW, remind me again: was fixing this by reverting 586e8fede79 for now a option? I guess it's not, but if I'm wrong I wonder if that might at this point be the best way forward. > https://bugzilla.kernel.org/show_bug.cgi?id=217523#c2 FWIW, another comment showed up there: ``` > --- Comment #6 from vova7890 --- > Same problem. I researched this some time ago. I noticed that if I add a small > delay between commands to the dongle - everything goes fine. Repeated > request(586e8fede7953b1695b5ccc6112eff9b052e79ac) made the situation more > visible ``` Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) -- Everything you wanna know about Linux kernel regression tracking: https://linux-regtracking.leemhuis.info/about/#tldr If I did something stupid, please tell me, as explained on that page. #regzbot ^backmonitor: https://lore.kernel.org/all/15e5d50f-95fc-c7c9-0918-015f24c6fc6d@leemhuis.info/