Received: by 2002:ab2:6991:0:b0:1f2:fff1:ace7 with SMTP id v17csp142859lqo; Wed, 27 Mar 2024 09:02:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWzIunieNssSlkhfkyP5v8B+rdl50yzDxE+zrFBOMaK2MvxTrcJAW1aEebNJNdBdbXWPIxMcSgXay/8rMdhsvQr9goOZStA/h69p6LNsQ== X-Google-Smtp-Source: AGHT+IHhFJBR699x13wKdgU3IQd5hte76Mm9ICcuy5/zMj2HTl7LiUE5q6CwU1Nh5UXxl7f9hi8Z X-Received: by 2002:a50:d797:0:b0:568:d729:a41a with SMTP id w23-20020a50d797000000b00568d729a41amr174118edi.9.1711555350181; Wed, 27 Mar 2024 09:02:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711555350; cv=pass; d=google.com; s=arc-20160816; b=lgBoV7n2eQr8BQmiZYJKlDpD76Vg5KPp11eno4v8XzLbbqpJfc0PeK1TQc8V6ZaIaw ofjHeCPdvG5bhjn98Wf+H5gcwri6BPyMpeWv7PaRedtwkBqRzSP+yLXh4wHgY8GdZR5L d3t053642G4zLjX5hRgu0E2FRABRssJ5nQBOuEr/URH0mUFjmxpkbEmukbxc0G0Bj+s0 QktKwY0wn/A0O1U1BXzd58vP/LHLembjl+aa+kUkrt4O+sVCiAxrSaITbKic/MOxh/sE a9Muj1uDCWCCDEWYVK0f++Y2JHEKjAOfFVXhXIvIL28cGzQCUAZPb6A69rd22oPmwJM3 /qCg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=HKuUY8oYVWK3ibGLu4p+RahdQ08L6ev0YrXnh1poFUA=; fh=KqmNWW5/CBpVpJ1i0NQJ9fA2N1GNkp5pj7Qoe/7gwXY=; b=y/7v2NxAo0dIFmQBEkWuW/Rd67PMAP1y/9bhslr3s23VQ6TJilGLsd/r5lkY7hH/8h 1n/R7ws1k3bqmG0HJeQAkylW/CUZesrUO33xQF4fTS77TQOAUlY5/+4PEouEWxsTPS8k 5MobBkjEJUkylkiPa3liHlSRI15tQsE2GP3lXHy+mFOewzDYybrRDRSdsgUBPUcheBjn 6lWyBoISXcUbkpluwVi6x8WcY98BVWBjzOaH9o1VENFjf1btRZVFw2VMsOsFz5PTpAKO G3BoUoK4EX92pvJq0b1zzZygMQNMHP/w90HRWbcUgdbQ0cJ6H5Op2xKRWn0xJWNao5T0 USNA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=IIWlnOIa; arc=pass (i=1 dkim=pass dkdomain=armlinux.org.uk dmarc=pass fromdomain=armlinux.org.uk); spf=pass (google.com: domain of linux-kernel+bounces-121580-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-121580-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id bl1-20020a056402210100b00568b5d11acesi4777593edb.82.2024.03.27.09.02.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 09:02:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-121580-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=IIWlnOIa; arc=pass (i=1 dkim=pass dkdomain=armlinux.org.uk dmarc=pass fromdomain=armlinux.org.uk); spf=pass (google.com: domain of linux-kernel+bounces-121580-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-121580-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 am.mirrors.kernel.org (Postfix) with ESMTPS id EE19A1F34DB6 for ; Wed, 27 Mar 2024 15:58:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2DD7412F5B2; Wed, 27 Mar 2024 15:58:36 +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="IIWlnOIa" 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 7BD2912DDBB; Wed, 27 Mar 2024 15:58:32 +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=1711555115; cv=none; b=BCd9+g1EGvQQd+2l/7XcuWf4lU6K2EZxDSHJM0q/BTKLSVieUsmnmV3Xqux2nu+0eTH5GoQZE2l1mJ1OvPnLOgbWABkT1wDx2FMQvpTbNCnpvDBegW/rHheGhFsoPzT54Z7NzgJ/TqGcr9tVcX+feoxUKMvdAeru+YL3MRelDRM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711555115; c=relaxed/simple; bh=UMIuwVFcciDm4ej4SVG68Q7FVNTRdUcHqyw4oAuyTVs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=C6+mfP4OBiuDfC40bIQSnxtwatn1ae4R4fVKXRshD0sUlMzKE+IBHbyzyfQ8m1Q3RwnGnQJMeE2Cx4tZbbOTdtDNjwLN7pMnKl+5qrnhnZT808HR+4FleW6dfn1j0rosxKrTts+lzAQUTaYtLKrlKzH7bRt22kF+Vch3c57KlJ0= 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=IIWlnOIa; 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=HKuUY8oYVWK3ibGLu4p+RahdQ08L6ev0YrXnh1poFUA=; b=IIWlnOIabH1NmHfb9fNpV1Ddgl o18yM5tKlrmhkDUkvWpPIQkBFS9NA9LWXK9y+jGiVUVifXFBnWSObSx5Y7AZVJn9u70BXGBCKWN2a 8wmpaL9GM6TsAUa7e5NQ2SAqei9sSIo95jgiU/izJt6Bl/qT6/MBuXgHWa1cBeR5k/rsjpBSZ1do/ p+HiC3qK9yBuROvdIoc1vCjMe2pDzw4je2dtz1gE0+8CcwVwULtcPGC1MUd5DixWVXnTpARiJVkdg ophN+HaUMCjTKr3MD6SihOz0VZTGpA4NLzC6RJ9FR1cEpboAbXQZhO/8yV0TIlSfLJcpgg6cBIqRm j/h3b91g==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:44886) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rpVfL-0007E7-1F; Wed, 27 Mar 2024 15:58:15 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1rpVfJ-000109-94; Wed, 27 Mar 2024 15:58:13 +0000 Date: Wed, 27 Mar 2024 15:58:13 +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: <530da7c1-c058-44ef-84fd-86ff58f1501b@arinc9.com> Sender: Russell King (Oracle) 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. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!