Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1302199rwi; Thu, 13 Oct 2022 11:43:23 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7Xw1fBdk95ZL/SItxR71R0JgOLHdvAB9UXJYJE3BOs3tSdW1OkGfmmg6EKIx7zjR8DdJxC X-Received: by 2002:a05:6a00:10cf:b0:563:34ce:4138 with SMTP id d15-20020a056a0010cf00b0056334ce4138mr1123184pfu.6.1665686603363; Thu, 13 Oct 2022 11:43:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665686603; cv=none; d=google.com; s=arc-20160816; b=sbALiGH6mLMjNYBqnaKfOApp0hAgesTBbQUCyiYG/Dkeja+jgnCjOM0mEg/LNrQEER dVme1AVB+Wa6dPhf9jd1xLuNVRowygV9dGVmAHisr7UvNbZF7aXH2WyWM/Ivx4pgRBgR ccUtb7cuUIXGS7gqXsOhcl2+TKzTZjnwFOvswF7qQm1e4BvERf0OcHKqKgauRE2vghBv 22p61HRHpvf2Tr0zyEKr/FSTaXUqscQdDcGiMiI2YyIgP1iOJL3NGq8tiY14uLkAJwX7 5pfqk6R/UWMInFQIxihw5mwPQvhfNOusjRRKT0xDuI0E6eTXvYxpIp/1s0elQTZKzfiZ OSvQ== 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=0XBhBz+9XtYWaq8ZSl7bIbNgZzF3PF8RgQHBujY6vnA=; b=vZtJ9ThT5IqB3Rq3SucBuXB2M8nsfczbV0NbVpNaSQ0l+UNdtIuEbTFjRUbcqPv7q1 z1Haclh6DvHqw5VvQbMMEAnRAZWaDAZqxvlXscTvUzWbvmEWwG2kPp4cdw6e8SuVR7qT DhZoY92C/sHpP2rNH58wxS1LOt4P6C/cyFy354iSN7SYkdlrzbPKt9bH7OXvf6gQ0M5Z zlH0hHhV2hH04coWRVIJW9OrcTtTF7r/Ka6gO1kdawNpmqeMb2hNM7H+38C7f6SVGwdh 1/a/0tEiYeZ3yGE7OpLpQSnipkoZb/EraCb35qCzuOKNxdUd1jGWDSWLcBbOSH48RqZz GF2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WRzAPRHW; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 70-20020a630249000000b0045f74df51e4si75876pgc.803.2022.10.13.11.43.11; Thu, 13 Oct 2022 11:43:23 -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=@kernel.org header.s=k20201202 header.b=WRzAPRHW; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231858AbiJMSNP (ORCPT + 99 others); Thu, 13 Oct 2022 14:13:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38774 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231764AbiJMSM3 (ORCPT ); Thu, 13 Oct 2022 14:12:29 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DFD1025CB; Thu, 13 Oct 2022 11:08:57 -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 ams.source.kernel.org (Postfix) with ESMTPS id DA403B820BE; Thu, 13 Oct 2022 18:01:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 63224C43146; Thu, 13 Oct 2022 18:01:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1665684107; bh=Ha2dHhEvUe6b//Bh1NvZ9uTu3Vp2Wt+ccJEaoiKWGbM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=WRzAPRHWyDgUKJUgvoAkBalBvhwST1Jdm1sLxiGFPnIB3m9j8Jak+9sUWOcZIpxf7 wHwvl469C5roDl9h14UjXL8IhKDQhzI414+eSfk3Mmof/s9WjbOLV6DYvkh2U8PVC3 iQT5xdvodKwgCa6pmFNR0Il1TxjXMCcg9TdTsF19XweIzqI9iNmJMQqDParLq6bEdF 5g8lIziOo6j8sntGkB4WaDcn8InnRLjKFyXvjJ8XGcKhlJM5cVDDQ7INN/AzZesQvG 2e3lM1O+SSXXOC5Ld+fc8KCYWNtWWuEejST0Uyb1ABqSp6ocqTTMU1hMKHQf2m0dv+ dfqDyDMf6qTVw== Date: Thu, 13 Oct 2022 14:01:46 -0400 From: Sasha Levin To: "Russell King (Oracle)" Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Jakub Kicinski , andrew@lunn.ch, hkallweit1@gmail.com, davem@davemloft.net, edumazet@google.com, pabeni@redhat.com, netdev@vger.kernel.org Subject: Re: [PATCH AUTOSEL 6.0 52/77] net: sfp: re-implement soft state polling setup Message-ID: References: <20221009220754.1214186-1-sashal@kernel.org> <20221009220754.1214186-52-sashal@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed 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 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 Mon, Oct 10, 2022 at 08:21:09AM +0100, Russell King (Oracle) wrote: >On Sun, Oct 09, 2022 at 06:07:29PM -0400, Sasha Levin wrote: >> From: "Russell King (Oracle)" >> >> [ Upstream commit 8475c4b70b040f9d8cbc308100f2c4d865f810b3 ] >> >> Re-implement the decision making for soft state polling. Instead of >> generating the soft state mask in sfp_soft_start_poll() by looking at >> which GPIOs are available, record their availability in >> sfp_sm_mod_probe() in sfp->state_hw_mask. >> >> This will then allow us to clear bits in sfp->state_hw_mask in module >> specific quirks when the hardware signals should not be used, thereby >> allowing us to switch to using the software state polling. > >NAK. > >There is absolutely no point in stable picking up this commit. On its >own, it doesn't do anything beneficial. It isn't a fix for anything. >It isn't stable material. > >If you picked up the next two patches in the series, there would be a >point to it - introducing support for the HALNy GPON SFP module, but >as you didn't these three patches on their own are entirely pointless. So why not tag those patches for stable to make it explicit? -- Thanks, Sasha