Received: by 2002:ab2:6991:0:b0:1f2:fff1:ace7 with SMTP id v17csp183552lqo; Wed, 27 Mar 2024 10:03:55 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWWji7m4V6XOKvd2vDJYr1rLomWgQPLj+23plD4Qakxktwg+KUnvu66aLeCPB07fb4ek4vkoKd4sK+JfaZUHvoqVSNHjsHN6x6ZbcDhpw== X-Google-Smtp-Source: AGHT+IFj+wbRiQzN26nbJF5E3ZRYT9GB62IBvHe3tsCb3fbrJA4uOaKjWgmXy3BmYAN7THW+8afi X-Received: by 2002:a05:6a20:8b1b:b0:1a3:3cc3:b251 with SMTP id l27-20020a056a208b1b00b001a33cc3b251mr400811pzh.26.1711559035097; Wed, 27 Mar 2024 10:03:55 -0700 (PDT) Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id bw27-20020a056a00409b00b006ead14a16dcsi724409pfb.17.2024.03.27.10.03.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 10:03:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-121581-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=ueCJTHB3; arc=fail (body hash mismatch); spf=pass (google.com: domain of linux-kernel+bounces-121581-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-121581-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 4268AB28A74 for ; Wed, 27 Mar 2024 16:00:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2135A12F5B9; Wed, 27 Mar 2024 15:59:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b="ueCJTHB3" Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [78.32.30.218]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 596764E1DC; Wed, 27 Mar 2024 15:59:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=78.32.30.218 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711555189; cv=none; b=ZukB1hiwX2mRZEj36uhYOTQjB3Fl74R2EnTEhzwEUZWGQoICRa/Q44zzWx1YyPD4GFL9ka7ns8dc1/4vmC/vR8+vIiC0NQQbmzj7+XLI1BQqOgRimiJhbMGzEYD8N8Wlm9oNOuahDfQV8dbBn63bVUJPV1pvG8vcGJyPemJJrq8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711555189; c=relaxed/simple; bh=ahlK969iEtBfPy2ESYo1kBB+dg89mMeSvLfKzLWoLLc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=BnNiDsei7hZyyyI8nxpzqCVxJU7g/1OALi4U5e4HE8zH8nZ9JK8vZRKS/OwhAow3ubPvj23FSkvUroSElTSpkhNG0+yHHP47od7LYzDvHBmatHI1G6iGdjYh8WeONcYvHP9458azCbPEvbNo5XdhF71MbnyLE3II/Ji27+qcepk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=armlinux.org.uk; spf=none smtp.mailfrom=armlinux.org.uk; dkim=pass (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b=ueCJTHB3; arc=none smtp.client-ip=78.32.30.218 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=armlinux.org.uk Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=armlinux.org.uk 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-Transfer-Encoding:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To: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=9Hvf1kcJmMZrkquYolDkUWZ6BPu0lUrFynvcvJG0xU4=; b=ueCJTHB3QmDBFaPEuyAeiwiH/E Q/8fENuaqGIo59TZdVSa80uVHGnoY4pzx49BZD0ZJ/lDi8k+v0s4lAPIlUKsjjPW2RxTi0s+IVQIs QTd9qIh4CrTdxEVcLqwXXrRQs5MuvqhSD0FoLQxxuDD5El7u6Ei7h03LPrxS+An1OcRwh744WYsm0 87egy56dFPwRgzwnV98KXH67J6F3Q4s2qzGbtAwsnYq9jMbztNdN+6wPwYkpi/Rp6CDBIqAnISr69 hBosEtc27jhOWJNMHBDbHuakbdknuuoj8l/+ucRcOzSqLbAUs9CLWckom+zs9+bPcxt/K3OiorJOl LEL47uUQ==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:47908) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rpVgc-0007Ef-1h; Wed, 27 Mar 2024 15:59:34 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1rpVgb-00010G-Qi; Wed, 27 Mar 2024 15:59:33 +0000 Date: Wed, 27 Mar 2024 15:59:33 +0000 From: "Russell King (Oracle)" To: arinc.unal@arinc9.com Cc: Paolo Abeni , Daniel Golle , DENG Qingfang , Sean Wang , Andrew Lunn , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Matthias Brugger , AngeloGioacchino Del Regno , =?iso-8859-1?Q?Ren=E9?= van Dorst , SkyLake Huang , Heiner Kallweit , Bartel Eerdekens , mithat.guner@xeront.com, erkin.bozoglu@xeront.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH net v2 2/2] net: dsa: mt7530: fix disabling EEE on failure on MT7531 and MT7988 Message-ID: References: <20240321-for-net-mt7530-fix-eee-for-mt7531-mt7988-v2-0-9af9d5041bfe@arinc9.com> <20240321-for-net-mt7530-fix-eee-for-mt7531-mt7988-v2-2-9af9d5041bfe@arinc9.com> <799572b672ea8b4756236b14068aef7c8fa726a6.camel@redhat.com> <530da7c1-c058-44ef-84fd-86ff58f1501b@arinc9.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Sender: Russell King (Oracle) On Wed, Mar 27, 2024 at 03:58:13PM +0000, Russell King (Oracle) wrote: > On Wed, Mar 27, 2024 at 11:46:19AM +0300, arinc.unal@arinc9.com wrote: > > On 26.03.2024 12:19, Arınç ÜNAL wrote: > > > On 26.03.2024 12:02, Paolo Abeni wrote: > > > > If I read the past discussion correctly, this is a potential issue > > > > found by code inspection and never producing problem in practice, am I > > > > correct? > > > > > > > > If so I think it will deserve a 3rd party tested-by tag or similar to > > > > go in. > > > > > > > > If nobody could provide such feedback in a little time, I suggest to > > > > drop this patch and apply only 1/2. > > > > > > Whether a problem would happen in practice depends on when > > > phy_init_eee() > > > fails, meaning it returns a negative non-zero code. I requested Russell > > > to > > > review this patch to shed light on when phy_init_eee() would return a > > > negative non-zero code so we have an idea whether this patch actually > > > fixes > > > a problem. > > > > I don't suppose Russell is going to review the patch at this point. I will > > submit this to net-next then. If someone actually reports a problem in > > practice, I can always submit it to the stable trees. > > So the fact that I only saw your request this morning to look at > phy_init_eee(), and to review this patch... because... I work for > Oracle, and I've been looking at backporting Arm64 KVM patches to > our kernel, been testing and debugging that effort... and the > act that less than 24 hours had passed since you made the original > request... yea, sorry, it's clearly my fault for not jumping on this > the moment you sent the email. > > I get _so_ much email that incorrectly has me in the To: header. I > also get _so_ much email that fails to list me in the To: header > when the author wants me to respond. I don't have time to read every > email as it comes in. I certainly don't have time to read every > email in any case. I do the best I can, which varies considerably > with my workload. > > I already find that being single, fitting everything in during the > day (paid work, chores, feeding oneself) is quite a mammoth task. > There is no one else to do the laundry. There is no one else to get > the shopping. There is no one else to do the washing up. There is no > one else to take the rubbish out. All this I do myself, and serially > because there is only one of me, and it all takes time away from > sitting here reading every damn email as it comes in. > > And then when I end up doing something that _you_ very well could do > (reading the phy_init_eee() code to find out when it might return a > negative number) and then you send an email like this... yea... that > really gets my goat. .. and now I have a 1:1 with my manager for the next 30-60 minutes. Is it okay by you for me to be offline for that period of time while I have a chat with him? -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!