Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp36861385rwd; Tue, 11 Jul 2023 06:40:49 -0700 (PDT) X-Google-Smtp-Source: APBJJlEyRTe3YtI5nxblJMcRXsEz635vxXaSCamppLPwU7GA6edDOZFHtdWS7duYrZFOdAqDZE8M X-Received: by 2002:a05:6a20:7d84:b0:11f:4707:7365 with SMTP id v4-20020a056a207d8400b0011f47077365mr16375321pzj.38.1689082849666; Tue, 11 Jul 2023 06:40:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689082849; cv=none; d=google.com; s=arc-20160816; b=PpgvqYeHU13028SOgnyOWqneDwaiEHOwuIJK4H+e1BCcIOA6/nC0opsCw1f0qUo+CC gyJ8olCWbMuheYQ0wbq1meEIhHMuiXxqFzWLM6gOr0clZmCXhSrwvpZ11yb8wYSpNC1o 7f5Vd18N31+Vs4cJi5fxtNlQBcAbmriS05tj5Gz1L3jh00OlKsjT9lb8IjdH/q9UmAbF dpa/CBd6E494vPAZblWnMTT3+9Fjnlckcf5SKTWHsuXy2414NLllx5z7pE2LG5xl4j/h Ol8U05guA1ZHLFf5qcrv82gkWyepgCjsYksdmWpr27bFso26gbO4qnCBD0J7590ZybK7 /YvQ== 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 :references:cc:to:content-language:subject:reply-to:user-agent :mime-version:date:message-id; bh=ilHhBY0FtRD5kgszAvQoujdd8VPWpInzGvmV6+aQNGA=; fh=R6wcTn6CeC3jA39VeEfCqEtz2icmkS2ouKlTVhKRdZU=; b=fM/5iwW5F1nbdo7IYbnVTbtCCtXXxsCnAizcC1YLUWuHb5cvLx56x7aygILyUnzfZa X3+yCrjnFKxpEJJSrYHRkVPW/Ry8Anj4IG08MdGBvdfAjg2r69QiDT3UQP6b8kD5LLpK TF1jWmgTnvI+XMB4iiY42sJeurxesgGs+JGslR/hIaBszMd+e6mQPhO4ICtSj8QpaNm6 6En75TgZN1/+KPSv01+DfhILTQDncI6cojdosocaprtZB3DYHNG7ZlsD2iaxbqpbN3u1 5ocEWavmpSg1PAdq8kJZ17M50AGfIZ9rPXrQ6c4QzjKTq3eSXAP7rVP3t97V7Lce+VeE XgPA== 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 s193-20020a632cca000000b00553859c59c1si1502787pgs.695.2023.07.11.06.40.37; Tue, 11 Jul 2023 06:40:49 -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 S232873AbjGKNKF (ORCPT + 99 others); Tue, 11 Jul 2023 09:10:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39146 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232752AbjGKNKD (ORCPT ); Tue, 11 Jul 2023 09:10:03 -0400 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB989188; Tue, 11 Jul 2023 06:10:02 -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 1qJD7v-0002JU-9d; Tue, 11 Jul 2023 15:09:59 +0200 Message-ID: Date: Tue, 11 Jul 2023 15:09:58 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Reply-To: Linux regressions mailing list Subject: Re: [PATCH] HID: logitech-hidpp: rework one more time the retries attempts Content-Language: en-US, de-DE To: Benjamin Tissoires , Bastien Nocera Cc: Greg KH , =?UTF-8?Q?Filipe_La=c3=adns?= , Jiri Kosina , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org References: <20230621-logitech-fixes-v1-1-32e70933c0b0@redhat.com> <2023062156-trespass-pandemic-7f4f@gregkh> <31ce32e018a9fa410e9e1f3e5900621b16a56091.camel@hadess.net> From: "Linux regression tracking (Thorsten Leemhuis)" In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1689081002;13510ddf; X-HE-SMSGID: 1qJD7v-0002JU-9d X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED 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 26.06.23 16:02, Benjamin Tissoires wrote: > On Sun, Jun 25, 2023 at 10:30 AM Bastien Nocera wrote: >> On Fri, 2023-06-23 at 10:37 +0200, Benjamin Tissoires wrote: >>> On Jun 21 2023, Greg KH wrote: >>>> On Wed, Jun 21, 2023 at 11:42:30AM +0200, Benjamin Tissoires wrote: >>>>> Make the code looks less like Pascal. >>>>> >>>>> Extract the internal code inside a helper function, fix the >>>>> initialization of the parameters used in the helper function >>>>> (`hidpp->answer_available` was not reset and `*response` wasn't >>>>> too), >>>>> and use a `do {...} while();` loop. >>>>> >>>>> Fixes: 586e8fede795 ("HID: logitech-hidpp: Retry commands when >>>>> device is busy") >>>>> Cc: stable@vger.kernel.org >>>>> Signed-off-by: Benjamin Tissoires >>>>> --- >>>>> as requested by >>>>> https://lore.kernel.org/all/CAHk-=wiMbF38KCNhPFiargenpSBoecSXTLQACKS2UMyo_Vu2ww@mail.gmail.com/ >>>>> This is a rewrite of that particular piece of code. >>>>> --- >>>>> drivers/hid/hid-logitech-hidpp.c | 102 +++++++++++++++++++++++-- >>>>> -------------- >>>>> 1 file changed, 61 insertions(+), 41 deletions(-) > [...] > > Some people on the Bz were able to reproduce with multiple reboots. > But it's not as urgent as previously, and we were close to the 6.4 > final when I sent it. I'll make sure this goes into 6.5 and gets > proper stable backports FWIW. Did that happen? Doesn't look like it from here, but maybe I'm missing something. Where there maybe other changes to resolve the remaining problems some users encounter sporadically since the urgent fixes went in? 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.