Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp7424043rwd; Tue, 20 Jun 2023 00:42:34 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4LwW1iIG9ehbmwEXsioWP/Uf87AJ8ZkTnLGUc3++L0WK6XeMv6lxDDaZLrPgriQ7GPbhXP X-Received: by 2002:a92:de08:0:b0:342:28f1:75ae with SMTP id x8-20020a92de08000000b0034228f175aemr8020447ilm.12.1687246954427; Tue, 20 Jun 2023 00:42:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687246954; cv=none; d=google.com; s=arc-20160816; b=vKjNv5965+eVDHmHDoEwdnfOwxfcnxSn+Uz+vO0z46UGOfwwXvPmEqe4hV++auUn4p Y7/LEs8AcLWF7kLrMmwDh7fELeDo8T3e/PwzedR4YtGKax/L1mLxwiboBl0Sc7csFMLZ j7wONYzvl0LCYdgodDN3BPlUnJUiQSJ0lv28zCE/Ji9+Mj5pwy+9eRgXR5jRsYklsbKD TWO1oqP5OwHIIizfpiWzJug8O5PPDjW2sX+HGdzYIehPjOmWWbdMpfiD0VSAAoXsLj3F qP25WEhcXd9iHAoO4F6XdAtRzFoU6H/I0b9ouhktU+nxX6IOKldYnapIZLreKisvKcAO EVhg== 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 :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=jQ/7vwSwxnA7hS2MnkoZC9h+eLxfozOTX4SsBbSZfWo=; b=lnpmQ6uWzNva1xkHdZTTB4lShGj8yUhrvCR6dTAmTOwxR1W+l4FZXS/lC42tU7Z1iK 1sJyH+EMeF5q61D4mtvHc+bBGXmthKnomrIaLQK4ezfd/LazqNAaHs/8DFLWdPqCM3+f P/wwvyt0zbaMUkwPVpW6p9949g6/v07yl9bINrANk1Dsx3vrFREBfOiOV6iLJ1vB1H74 c3fGkk7bL74vYop+xt6nsnFshpS5tvI5LoC+U4alKlcU8GOYE2822VVzAfLzEQETJ/0e v1hQxGN9+HEg8oGvx2CxpPtd/TzcVc+hbduWjG+WcLVbOPaW//gBbcRr2xD0z9Duicfh /cew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b=fDYE6VxQ; 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 e131-20020a636989000000b005539af79bbesi1144739pgc.182.2023.06.20.00.42.22; Tue, 20 Jun 2023 00:42:34 -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=@rasmusvillemoes.dk header.s=google header.b=fDYE6VxQ; 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 S230102AbjFTHPr (ORCPT + 99 others); Tue, 20 Jun 2023 03:15:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230239AbjFTHPo (ORCPT ); Tue, 20 Jun 2023 03:15:44 -0400 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F82DE4D for ; Tue, 20 Jun 2023 00:15:42 -0700 (PDT) Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-4f8777caaa1so1275978e87.3 for ; Tue, 20 Jun 2023 00:15:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rasmusvillemoes.dk; s=google; t=1687245341; x=1689837341; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=jQ/7vwSwxnA7hS2MnkoZC9h+eLxfozOTX4SsBbSZfWo=; b=fDYE6VxQSDYEfGR/s2+rSpfd85/UxttrYKcTG6ef1zpy3/1yWRCflPfgahw3gougFE z5PFV4J0vBV9LTE14QT0Q8gkpOqT+lEfqjx3T3lVxgOyAnP+jkSezGAK9Lx2Wa+CB9vf Fu0I4+zYvf7cPUtlwqJHyPfr8ywptqw28mrBM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687245341; x=1689837341; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=jQ/7vwSwxnA7hS2MnkoZC9h+eLxfozOTX4SsBbSZfWo=; b=jjKLjMsmBwvSR9FwqDXkGC4J43VDbD+6EBjSyH0FmlXOJM5CyOhkKGRSuL0qjhFSXF /CzhlfG9Rg0RiS3BW1B864ByG/DQZgTXPAYDJdz7PduoGvk4EnESnFq1zkEMv28E4xf+ Xfu4CUlW/YDDi09fAMbCO1dQP9ozWjoN8U4amgAMYAOuZta7DbyWlNBug1Xt7j+4wZoF SMI1VvvJOILwqtPekJdvZT9CeWMvZMeQKY4WyJlTVtlfM57emmiQ2wv5pUZi4y7flnKh Q9vRtAUJLrAPf2EfYb30CWcUpehmWe+XtCarWRXK8TbqE88/wBHKMRX+op1DmUMvUiXR XdpQ== X-Gm-Message-State: AC+VfDwMaAClyyaRR5Vie9bwRbjWQRVaIcDk8fbFfYPStAEzSRU0ivBS SG6RMUHK+pLGiV0HKFjd5n5RTw== X-Received: by 2002:a19:e348:0:b0:4f6:1c08:e9bb with SMTP id c8-20020a19e348000000b004f61c08e9bbmr6827356lfk.63.1687245340636; Tue, 20 Jun 2023 00:15:40 -0700 (PDT) Received: from [172.21.2.62] ([87.54.42.112]) by smtp.gmail.com with ESMTPSA id i22-20020a056512007600b004f843f31fefsm243075lfo.281.2023.06.20.00.15.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 20 Jun 2023 00:15:40 -0700 (PDT) Message-ID: <423d2a3c-6b4d-449f-5fa6-5402467e1b6e@rasmusvillemoes.dk> Date: Tue, 20 Jun 2023 09:15:39 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH net-next] net: dsa: microchip: ksz9477: follow errata sheet when applying fixups To: Robert Hancock , "andrew@lunn.ch" , "olteanv@gmail.com" , "davem@davemloft.net" , "hancock@sedsystems.ca" , "woojung.huh@microchip.com" , "f.fainelli@gmail.com" , "kuba@kernel.org" , "edumazet@google.com" , "UNGLinuxDriver@microchip.com" , "pabeni@redhat.com" Cc: "stable@vger.kernel.org" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" References: <20230619081633.589703-1-linux@rasmusvillemoes.dk> Content-Language: en-US, da From: Rasmus Villemoes In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable 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 19/06/2023 19.31, Robert Hancock wrote: > On Mon, 2023-06-19 at 10:16 +0200, Rasmus Villemoes wrote: >> >> Fixes: 1fc33199185d ("net: dsa: microchip: Add PHY errata >> workarounds") >> Cc: stable@vger.kernel.org >> Signed-off-by: Rasmus Villemoes >> --- >> While I do believe this is a fix, I don't think it's post-rc7 >> material, hence targeting net-next with cc stable. > > I don't think this will apply to net-next as the relevant code has been > moved to the Micrel PHY driver and removed from this one in the > following commits, Ah, sorry about that. This code hadn't been touched in a very long time, so I didn't actually think to check -next. and effectively the same change to disable autoneg > before the register writes and re-enable afterwards was incorporated: Yes, except it seems to always enable autoneg, even if the phy was strapped otherwise. That's not a problem for our use case. > However, your patch may be reasonable to apply to -rc7 or stable as a > more targeted change for those releases. Well, yes, it could be backported, but then there'd be a (simple) conflict when net-next is to be merged in the next window. So I don't think it's worth it. Unless the net maintainers decide otherwise, please just drop this patch. Rasmus