Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp343333rwi; Mon, 10 Oct 2022 00:44:52 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6Fy0PDanlvCAWWghHY4ztSy1Ue6sAj86iYTs4YdXGslftMWUU6JPpuO6MsA9Eg55J9Qna4 X-Received: by 2002:a63:4b1d:0:b0:439:e6a4:e902 with SMTP id y29-20020a634b1d000000b00439e6a4e902mr15831946pga.212.1665387891656; Mon, 10 Oct 2022 00:44:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665387891; cv=none; d=google.com; s=arc-20160816; b=SdgDGC07dprh5MWWxHi7Mefr21IlHrnwcook5tuVwhY5hl6c9DU8YllaHoNAs/iIpI uKRhGzRQtJmA8YwULPuTlPO+SkcT8NQ1CZdWEjvc02Z1Fr3fYb8TXQmCr6H3xpP3//Pw 7gvS0g0IkPLg/whxC28NJefh2o7dycPfKx7xbGhbQRkUziIogr0ZAPNggGdFUU4yvocP WXsn/+gnToB9KjwN1KF0p51R4dFTg811v82rBX8m7CozTLmllHQQOmHBwLSL4boBjDLp OOfw8Q6VxpBzLm0uC15s1cJqiKDQqSJxSYrj3QW1OwiOLyGD0YuZ6RmIfKP/PA1ldm/S 1MRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=WwgOMWAzXD/YI4ziLOVuq4l+Sn17hFLD5aAJ2dPvhaM=; b=ejODVFdEMAIGWbFz6lrli9Eu8eVEbzXknuxSHyUD4S+8aZfP6q4H7n8JgqeSJR43r+ PqnNHFfj5NaPhzY5l/gqrtz2ZjBmZIzhI/1gJQw2AXPrl9n1hCwOZMW9N7RS/eTZDQKh eToB7lAb9JY/hdG8mB8uTk5y2CYNrcSh9/gr/6QMoEgBof/d3nDZ+N/xkhIe2pOuiTSe oRSUGoVqaW56F8JbECOJU3h2QaTSPpja/XC7pf2C10HaEJVhnj3IJfvpVGpVZ6c7Q1ch YA41Uh4GRQBb93eZx4a7WE8j0+oYt1dtZx7HN3YM1/u0btNUtktrYuuCn0chg0HfErTK YRSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=T3yOx5I5; 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=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w190-20020a6382c7000000b004607f6b2586si6525610pgd.736.2022.10.10.00.44.40; Mon, 10 Oct 2022 00:44:51 -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=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=T3yOx5I5; 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=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231378AbiJJHef (ORCPT + 99 others); Mon, 10 Oct 2022 03:34:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54506 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232266AbiJJHeD (ORCPT ); Mon, 10 Oct 2022 03:34:03 -0400 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8942A6B65E; Mon, 10 Oct 2022 00:27:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=WwgOMWAzXD/YI4ziLOVuq4l+Sn17hFLD5aAJ2dPvhaM=; b=T3yOx5I5Zyd2h/FoYKrYMtDFZZ j8TTRxnAPVnHD6GNg1yXSZ0llSeBrb3mdrvkGBtG03DGnV7AXzOdm6dUdicQt38Bmy+94Wuf+t4xX PU8XrTa8z97do4HIvmGgK9HE0rvluLF2GsW72fXR6GfJmR+q6KLBKwhF5MDo1KzbTftOH9Nq5BeKj S/ypBWCs4wDdIgdNUm4oMTA2sPs5sLsVjsvqJzndb3jBL0tp8LNyacAj8ILuJdiNtht6iJnMIElzJ GLn0nfR3Z4nG6dpcbtrG30DFYVK2mzckQboP+o/YFR2GUrQXOt33sU7xUsgtzFx0xkqTawpA6ybUu KVVRaBug==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:34656) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ohn67-0004Mb-5j; Mon, 10 Oct 2022 08:21:11 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1ohn66-0001gA-0V; Mon, 10 Oct 2022 08:21:10 +0100 Date: Mon, 10 Oct 2022 08:21:09 +0100 From: "Russell King (Oracle)" To: Sasha Levin 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 Content-Disposition: inline In-Reply-To: <20221009220754.1214186-52-sashal@kernel.org> Sender: Russell King (Oracle) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE 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 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. I don't see why "net: sfp: move Alcatel Lucent 3FE46541AA fixup" was selected but not "net: sfp: move Huawei MA5671A fixup". I'm guessing this is just another illustration why the "AI" you use to select patches doesn't warrant "inteligence". -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!