Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5476682rdb; Wed, 13 Dec 2023 09:38:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IFzfBtiYLgzE4MX/BtghWFKap5JdxAMslOVmnpN0nZFGA9yt+ONJVa/uzOel6q7v5lwf2my X-Received: by 2002:a05:6a00:a91:b0:6ce:2732:1ded with SMTP id b17-20020a056a000a9100b006ce27321dedmr5022726pfl.39.1702489115328; Wed, 13 Dec 2023 09:38:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702489115; cv=none; d=google.com; s=arc-20160816; b=O9wgt9n5CJFIz3wcnfU6/XkZwwp0bPywEe1iUwZbkxBs2wB2v+1ADmI/DQIYTsDOQe PfJ6pQNznWKNSZ2WIsiC5oORdpS4Nctfkxbe9p8Xp/lddh2UjPl5KJ7UBptwqbaAZsb+ pdTEbmJlLZvpPl2OEl4sFR5GKa9ZCMhujaqf/8Jhu35H3NlFujhJ+EOW2y0idyLDMAqQ w7EuHQOkvC5MO9W3th5Op64XA4Be9/rqf3xByj9u/bPLsY82UK58+AyeQDfnbFp/2NBZ 66Q4vsrC99QwoYWe5JQUnLHWnIpHYijz4bUnICnUb0lGd/RvraXNsAXPBfQyJvNtnUAI vupg== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=/spltYuOiu803huD7rwIFEQUs3ksB7Gp1pHO5IdAdNM=; fh=XBKCBkmECVbCGgYmbeCe7VP6Kz8BYVwDHXAQvMWCfio=; b=TL3RdODAxa5+Bx2GOTf680hrvc9Y6kz8dAiGAlP8bEpC/eWfekPqdL2HaD2ckAfEMI IxnWUNqdNzeTvmFBd/9ExAnO2mWdgw7CKYduQImfJAnQ1pzRAGnqPw54KuJ/1XyX9A/A S1E3Rem9V0U6zDpX6HD+Gp1VhurDHPAPVebYVrOccI15XgaIw+hWhGqfxEp12z61LR6S jnpqYs2F9YWw2yEq4fnE9kO66dufK92fURtxrNqiDwdq1MPCX1YyN9daQtWC1J+KPeLJ PPQ2GD9x+CdYFvEkjroDemEWX8q5JxAewuiXDxQsIzlbBwrfm88WZ8E77l7WXrrjUxnM 0ANQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=aXMl99mb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id s17-20020a62e711000000b006ce37b9d2b6si9773379pfh.253.2023.12.13.09.38.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 09:38:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=aXMl99mb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 01BA6804E722; Wed, 13 Dec 2023 09:38:10 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235299AbjLMRhv (ORCPT + 99 others); Wed, 13 Dec 2023 12:37:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229671AbjLMRht (ORCPT ); Wed, 13 Dec 2023 12:37:49 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 79BAE99 for ; Wed, 13 Dec 2023 09:37:55 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7905CC433C7; Wed, 13 Dec 2023 17:37:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1702489075; bh=viG7AGNHVM+j/Siqe34sl7MtKrSza3x0N/RnzU7GrTU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=aXMl99mb+3U6hbUTcdKvaoTXYjVfUtH/NB7jCFXl+PpYGZJZiL6tEx3PWkO5KbyU6 hOengl1NuXpCaAQ+cbxH5ERo+Hrid2EHIhLsLtu/B0C/Q0NxmMFhextD1NDC3SFAhQ 3TLE1spIGzsT2J9ZKFqhrNUbyKHv0amQBb5R96Ec= Date: Wed, 13 Dec 2023 18:37:52 +0100 From: Greg Kroah-Hartman To: Doug Anderson Cc: Pavel Machek , Guenter Roeck , grundler@chromium.org, davem@davemloft.net, stable@vger.kernel.org, patches@lists.linux.dev, linux-kernel@vger.kernel.org, torvalds@linux-foundation.org, akpm@linux-foundation.org, shuah@kernel.org, patches@kernelci.org, lkft-triage@lists.linaro.org, jonathanh@nvidia.com, f.fainelli@gmail.com, sudipm.mukherjee@gmail.com, srw@sladewatkins.net, rwarsow@gmx.de, conor@kernel.org, allen.lkml@gmail.com Subject: Re: RTL8152_INACCESSIBLE was Re: [PATCH 6.1 000/194] 6.1.68-rc1 review Message-ID: <2023121322-mortician-superman-54a9@gregkh> References: <20231211182036.606660304@linuxfoundation.org> <2023121342-wanted-overarch-84a7@gregkh> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 13 Dec 2023 09:38:10 -0800 (PST) On Wed, Dec 13, 2023 at 07:16:52AM -0800, Doug Anderson wrote: > Hi, > > On Wed, Dec 13, 2023 at 12:50 AM Greg Kroah-Hartman > wrote: > > > > On Wed, Dec 13, 2023 at 08:52:25AM +0100, Pavel Machek wrote: > > > Hi! > > > > > > > > > This is the start of the stable review cycle for the 6.1.68 release. > > > > > > There are 194 patches in this series, all will be posted as a response > > > > > > to this one. If anyone has any issues with these being applied, please > > > > > > let me know. > > > > > > > > > > > > > > > > Douglas Anderson > > > > > > r8152: Add RTL8152_INACCESSIBLE to r8153_aldps_en() > > > > > > > > > > > > Douglas Anderson > > > > > > r8152: Add RTL8152_INACCESSIBLE to r8153_pre_firmware_1() > > > > > > > > > > > > Douglas Anderson > > > > > > r8152: Add RTL8152_INACCESSIBLE to r8156b_wait_loading_flash() > > > > > > > > > > > > Douglas Anderson > > > > > > r8152: Add RTL8152_INACCESSIBLE checks to more loops > > > > > > > > > > > > Douglas Anderson > > > > > > r8152: Rename RTL8152_UNPLUG to RTL8152_INACCESSIBLE > > > > > > > > > > Central patch that actually fixes something is: > > > > > > > > > > commit d9962b0d42029bcb40fe3c38bce06d1870fa4df4 > > > > > Author: Douglas Anderson > > > > > Date: Fri Oct 20 14:06:59 2023 -0700 > > > > > > > > > > r8152: Block future register access if register access fails > > > > > > > > > > ...but we don't have that in 6.1. So we should not need the rest, > > > > > either. > > > > > > > > > > > > > Also, the missing patch is fixed subsequently by another patch, so it can not > > > > be added on its own. > > > > > > For the record I'm trying to advocate "drop all patches listed as they > > > don't fix the bug", not "add more", as this does not meet stable > > > criteria. > > > > But the original commit here does say it fixes a bug, see the text of > > the commits listed above. So perhaps someone got this all wrong when > > they wrote the original commits that got merged into 6.7-rc? Otherwise > > this seems like they are sane to keep for now, unless the original > > author says they should be dropped, or someone who can test this driver > > says something went wrong. > > Right. The patches that "add RTL8152_INACCESSIBLE" to more loops are > bugfixes, but they're not terribly important ones to backport. While > they technically make sense even on older kernels and could > conceivably make the older kernels unload the r8152 driver a little > faster when a device is unplugged, it's not a big deal. On the first > version of the recent patches I didn't even add a "Fixes" tag for them > but I was asked to during the review process. > > The "add RTL8152_INACCESSIBLE" patches become more important with > commit d9962b0d4202 ("r8152: Block future register access if register > access fails"). Once you have that it's possible to end up in the > "INACCESSIBLE" situation in response to normal (ish) error handling > and thus you want it to be faster. > > Based on our experience in ChromeOS, commit d9962b0d4202 ("r8152: > Block future register access if register access fails") is a pretty > important fix and I would say it should be backported to stable. > Certainly we've backported it to our kernels in ChromeOS. In our case > we made things easier on ourselves by backporting pretty much all > patches to the r8152 driver. Ok, as lots of fixes seem to be needed here, do you have a list of the git ids that we should backport to bring this up to a workable state like you have in your tree? thanks, greg k-h