Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp7496585rwd; Tue, 6 Jun 2023 11:32:29 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7vFK92EKEcpa65TLJDggH2PbyCTiD769D/j3EKQWQpfy54SUnPlKSwlAkoSBDD7GQMhAU2 X-Received: by 2002:a05:622a:3cc:b0:3f5:31c9:2578 with SMTP id k12-20020a05622a03cc00b003f531c92578mr462880qtx.67.1686076349692; Tue, 06 Jun 2023 11:32:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686076349; cv=none; d=google.com; s=arc-20160816; b=aCIDQHQZy6Bq3OYswVFI/bVtpUh2xptPuqvRfLybINrV3PVPYmro3+o+UK+dDi0nkK tRb8w6CAYqBTnxfz5Ow9Zh8IoclVWbyXalgSPsgjqEMh5CE1BN0zymgdAxXlQhNlLMO3 8N/EHhALN3Ij/HXfr3W49Mc0M15UXebcNuojKVbwoxQEqlJtUSmAims+aYNUvjtdLVsr PuD2f/towOn0tAYVoPWNYp83iVour8o8rzHoPkrVaSu4gFqBY0/hhn2UPGtUr9gUtCeV LNUgUJu5R46zEBKOPv1sMucOnIsIJ6xQS+LxUT2sHarUSmFEpQ67z2wdMkaN4ErDatHS 2T+A== 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:reply-to :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id; bh=9xTBwbbtVLjaZiAm8hiI/khABrnFwNhzMJN7VVSUooM=; b=NA1tmuq3v7pRn38JqtuoP6J2yc7R/cwUCRJnxRa8yEjJNXuQfdcIWDcTRDYi18/zaf El7xKwPeE7+ZIQxt93U6MJGjww44CKvn0LOmPt9F5Qwv+9Bu4A7AlgiZ+v4nmPMvHSkP /JrIqBk10bXvy9HorkWI5+2WYmRiSBf9nPsOcaqZTitm7ZnBjB/tJCSYPWY59KGVFh0p ubS5y5YXYrLiXDVrc1fUQlwjrdwDyHVUgYwW+KJspZO+xVhhyV1lKyxnUZlZR4gxTL+k 0StHX4Uner2JW68Hhe5rePg5h004HJSGMXhGmo+htFB+cshG1IAH+m6G74rcRyQcaIP9 GUTQ== 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 z14-20020a05622a028e00b003f9b351c8d0si1051911qtw.379.2023.06.06.11.32.14; Tue, 06 Jun 2023 11:32:29 -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 S233006AbjFFSTI (ORCPT + 99 others); Tue, 6 Jun 2023 14:19:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37134 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238087AbjFFSSo (ORCPT ); Tue, 6 Jun 2023 14:18:44 -0400 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 539A9170E; Tue, 6 Jun 2023 11:18:32 -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 1q6bGG-00058y-Af; Tue, 06 Jun 2023 20:18:28 +0200 Message-ID: <42b6e582-f642-7521-135a-449140984211@leemhuis.info> Date: Tue, 6 Jun 2023 20:18:27 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH] HID: logitech-hidpp: Handle timeout differently from busy Content-Language: en-US, de-DE To: Jiri Kosina , Linux regressions mailing list Cc: Bastien Nocera , 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 References: <20230531082428.21763-1-hadess@hadess.net> <15bb2507-a145-7f1b-8e84-58aeb02484b9@leemhuis.info> From: "Linux regression tracking (Thorsten Leemhuis)" Reply-To: Linux regressions mailing list In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1686075512;c8295519; X-HE-SMSGID: 1q6bGG-00058y-Af 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 06.06.23 15:27, Jiri Kosina wrote: > On Mon, 5 Jun 2023, Linux regression tracking (Thorsten Leemhuis) 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. > > This should now all be fixed by > > https://git.kernel.org/linus/7c28afd5512e371773dbb2bf95a31ed5625651d9 Jiri, Benjamin, many many thx for working on this. Hmmm. No CC: