Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp2286862rdb; Wed, 21 Feb 2024 03:03:21 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUOH7UglzXHcvnS8GlqrsxYhM9xlpYQaMPzK4gW5QyG9OoRuFM5E6xC8vnOB0/9Iqihe+IEZDMhTgeIqhPxUEUeSGHEmk+xluwuEshmIg== X-Google-Smtp-Source: AGHT+IEsXEac3ecM1+SQ4NGHO/woOD2ZjVXSKmeLnPYWf0cg56IVzXDQdSAHZ+N7q91dPk8Mhm1E X-Received: by 2002:a17:906:ae85:b0:a3f:1305:9b68 with SMTP id md5-20020a170906ae8500b00a3f13059b68mr3325162ejb.27.1708513401146; Wed, 21 Feb 2024 03:03:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708513401; cv=pass; d=google.com; s=arc-20160816; b=so4RMtMEPgRsD2MlIjoJ+ggSi9CNXYFlOLxgai5cBHXvacv4t/0O3/EHUliGGa5edu KNVFYPTXox3baSQN6jX+sWNgcAtsGfP764GoUy3ysQU6bHaMcFQHDbFZHP7sWRY09Enx 5pB9rnukqRv7msUkDFGBaZ4bsShu6ob35oBVEoURIGrTc28sQyNeIwNNwQmW/JWOPI1b UF59FK96B9/S4ZLGJsiDgCUCleKmEMwWouoarxiYkYO4tSo6F3TaCtdclC6M/Afj4fFS pSTH4k7Gp+3WffCgFUl17vKK5Jv7t7CVrca4cCxbx0tLhcYScJRKo95APFP24P+X6ppC i+VQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:feedback-id:dkim-signature:dkim-signature; bh=TqPp38CEZyo9GYo4UCO4UrQnY17peGWNRC+vB/dGlJw=; fh=f5uVGbWS2H9b0mqOh70rwTLcXZbBxrwTiXe0Vt5gehQ=; b=tUJ8b7i2h9o9fkelWMaXflmYzgLgzeWHVAF+W+RfT/BAwtBh/a/QQ/Km88e7tY4YBp bT9WfrT6V9ljQO4SfTjcxTtFahmAf3VaWeZZGowkwVbJaE0YEO8dePN8yc3XwRvzwg+J SAiZIAyZmd8HborOlYA+3WIV5t/noWzPDvgpbocQlwAXREYeUe3m4ngiJ4uBejLw7BtC lXdhgGoRr+HSDmeiVXL2YCuAwnukpbMIfmmT5rqTadE1lzCPlJkGfBEw/FE1ZPo+vX2m RmgxPDI9k2a5MlC9vIF9Frq9J9253Tzw6c5ixi+ijULRAtpotdmm4YZ/9W9d1dVJwj9w Cd3Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kroah.com header.s=fm1 header.b=Yf2NLxY2; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=KJkzAJj7; arc=pass (i=1 spf=pass spfdomain=kroah.com dkim=pass dkdomain=kroah.com dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=kroah.com); spf=pass (google.com: domain of linux-kernel+bounces-74585-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74585-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kroah.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id he17-20020a1709073d9100b00a3f43369604si411721ejc.971.2024.02.21.03.03.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 03:03:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-74585-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=pass header.i=@kroah.com header.s=fm1 header.b=Yf2NLxY2; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=KJkzAJj7; arc=pass (i=1 spf=pass spfdomain=kroah.com dkim=pass dkdomain=kroah.com dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=kroah.com); spf=pass (google.com: domain of linux-kernel+bounces-74585-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74585-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kroah.com 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 DA0DD1F226BE for ; Wed, 21 Feb 2024 11:03:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 038AF3F8DE; Wed, 21 Feb 2024 11:02:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kroah.com header.i=@kroah.com header.b="Yf2NLxY2"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="KJkzAJj7" Received: from fhigh3-smtp.messagingengine.com (fhigh3-smtp.messagingengine.com [103.168.172.154]) (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 38BBC442A; Wed, 21 Feb 2024 11:02:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=103.168.172.154 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708513377; cv=none; b=HCGbxcGxLtYCpX5ehzYxi9FCpl5yAzTSP+90BpF4D2pomhq20R4qy0eJbit0xDPACqeo32UGObGWf89Gg700JoFLDk1JFucEShWb6nHMCj/31enUqDSmVo/YhoohEaOwYWrF+z8l7aSUKpNuR5aToDdhxA3T9g7zwOHC9RooSeE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708513377; c=relaxed/simple; bh=3cN1wXi39HONLLKZYBRPqTC48Hlqm0y4561gFlEXCRg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=f0nTGdD9X7iZLTIKMlcBvl/1NDY1wFi2BmavDy0+j3prmZ1bHzIsRx1JREHq30WzMx0c1DMQig70KgMbDOccU0qTgDj70nfAI8kGucVnpVzh8tsK3ngAXxRptSPxru/Z+2Hh8jyNU4FRfcLM0anV+5debfjZBJlrGnde9ryUgPc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=kroah.com; spf=pass smtp.mailfrom=kroah.com; dkim=pass (2048-bit key) header.d=kroah.com header.i=@kroah.com header.b=Yf2NLxY2; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=KJkzAJj7; arc=none smtp.client-ip=103.168.172.154 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=kroah.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kroah.com Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 4386D1140084; Wed, 21 Feb 2024 06:02:54 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Wed, 21 Feb 2024 06:02:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kroah.com; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1708513374; x=1708599774; bh=TqPp38CEZy o9GYo4UCO4UrQnY17peGWNRC+vB/dGlJw=; b=Yf2NLxY2KRIy14FvkZyehMDKZH jfr2xkq2OAn49/7OTwdHgv113asarlCVv367UUZl7rq3r0HBiAD5UVQT9esebLS7 Yj9sMO0FXqA/2rV2foPOme20UHXGZjs0ozkSkrhFkJi3fHehU2Ju68lDf40bjbQw m844XMA5TKHSQi1YvGSm7NHCmm1pZ7CRyFPuP5Um/624/mEfOknerlwUxn74u67K LvcUQicTLPxfWX/2G7920lQ7pVROZsktkQz42nyof1hETzzu4NvJVZWJr96ceiOx wpzf/OuDKrggX7hABdTpjDbDFAHf3kUTpVOZOVcZEIjSRUAnrh0QNaKQw/tQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1708513374; x=1708599774; bh=TqPp38CEZyo9GYo4UCO4UrQnY17p eGWNRC+vB/dGlJw=; b=KJkzAJj73S5isbzbmAWwuD3Tkh5Pb6wX6tDk7PUfKnvK afPWyW6jwUT4z2ezS0XHpco3YsTstz9GoFmwYxQgPGWxMMt6bXurBQfOcA+rq2+B t8kUsikkbj2xkKj9rSZnY4fv/5mUsOYZAZMOpkTitdl85oXMvVNQ1+pb7nsdMPf3 ZOu8eV/iHphcfRJBThp0Az4lkuXYpJu4+/xDRjEeMHG1a1FU2BmQ6cVoTqEjUhXt Vk9ekdKzz/1kMvogqrWnlXos9Ta+ftxBDgreczaRe3v3uSyGK84PXOQlnCkBmYo1 fnpqgtcnwJMwzujdDHuWExHB21Xsd5QDuZJQOd6c1Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfedvgddvgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvvefukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpefirhgvghcu mffjuceoghhrvghgsehkrhhorghhrdgtohhmqeenucggtffrrghtthgvrhhnpeegheeuhe fgtdeluddtleekfeegjeetgeeikeehfeduieffvddufeefleevtddtvdenucffohhmrghi nhepkhgvrhhnvghlrdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hmrghilhhfrhhomhepghhrvghgsehkrhhorghhrdgtohhm X-ME-Proxy: Feedback-ID: i787e41f1:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 21 Feb 2024 06:02:52 -0500 (EST) Date: Wed, 21 Feb 2024 12:02:50 +0100 From: Greg KH To: Florian Fainelli Cc: stable@vger.kernel.org, Russell King , Jakub Kicinski , Doug Berger , Florian Fainelli , "David S. Miller" , "open list:BROADCOM GENET ETHERNET DRIVER" , "open list:BROADCOM GENET ETHERNET DRIVER" , open list Subject: Re: [PATCH stable 5.4 v3] net: bcmgenet: Fix EEE implementation Message-ID: <2024022142-jailer-unburned-2080@gregkh> References: <20240212014859.3860032-1-florian.fainelli@broadcom.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=us-ascii Content-Disposition: inline In-Reply-To: <20240212014859.3860032-1-florian.fainelli@broadcom.com> On Sun, Feb 11, 2024 at 05:48:57PM -0800, Florian Fainelli wrote: > commit a9f31047baca57d47440c879cf259b86f900260c upstream > > We had a number of short comings: > > - EEE must be re-evaluated whenever the state machine detects a link > change as wight be switching from a link partner with EEE > enabled/disabled > > - tx_lpi_enabled controls whether EEE should be enabled/disabled for the > transmit path, which applies to the TBUF block > > - We do not need to forcibly enable EEE upon system resume, as the PHY > state machine will trigger a link event that will do that, too > > Fixes: 6ef398ea60d9 ("net: bcmgenet: add EEE support") > Signed-off-by: Florian Fainelli > Reviewed-by: Russell King (Oracle) > Link: https://lore.kernel.org/r/20230606214348.2408018-1-florian.fainelli@broadcom.com > Signed-off-by: Jakub Kicinski > --- > Changes in v2: > > - removed Changed-id All now queued up, thanks. greg k-h