Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp470637rdb; Thu, 8 Feb 2024 10:59:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IGkFy6C5sXrSNb9c/7HRbPDntQZb44Ih9ZJ+0/U66pGEWSxvPlyXo3rDtsE6+DboQUtSTkC X-Received: by 2002:a0c:b4ca:0:b0:68c:6bc1:466f with SMTP id h10-20020a0cb4ca000000b0068c6bc1466fmr144827qvf.8.1707418788143; Thu, 08 Feb 2024 10:59:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707418788; cv=pass; d=google.com; s=arc-20160816; b=WqZJ5hLV2zNTxo+4RNdRZpi4iYtQt2z/kmNcmnGiGpLCiM4teNoAAIiPthTZugkcNf /PDXn9y0baPTGX01i7dXODReW3inzyUjcqd4noLbyEbK0ZGsagf4zKBRwlY+DbQvFEbs rXvbHSNrcdPeoqhXwKpq5dgcDByyfpjNMUNpHxg++ZG3vSIwG3dTWgzfV1hPR1ZMpTmE 6GWDSIubIN4jIXsBmTRO7adbBudbAzCD2im2LpUCbAP+QsR2kQ4n8yU5zH+tlfwtzOSM Bk631BlJsDgeYgQwU4646FG2ydsp84F1WM7npoQdf1z8DOxOmaM04Of+zB9QuO8FRgK+ FzKg== 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:dkim-signature; bh=BXWSK9ISqmIpFihhdvm71N5H1s4rSlQ9XH07RKyDTxc=; fh=ZC7IEj0OcVt+fDt4yr3SFw26Gz+LhSuUpkOFh87R77k=; b=CH0ay0LYM8ZVbuA86HHIwasZ/4OE2fIRz3HWSDP6iSc8VQgpKrHWtYAL6HW6mJAJUV RcBodrpEQixqCH0bvstS8IXVWURkaabC8uL4aVudghMZ1uPiyGEnafnS1mdy1EkcoiY8 W9SQxvugYUFvx8DyvfBve5Jzh+RFMUE+gvua/eBDEJrqBT4di3TT8QocdY00ZQT+MIYb 3c6ETWcpON17KD0DPaHKfXIkyaWnPEng7UGR/2oMfssD9WwsDo/0X7p1RISfC07ssUzC r3hKo/5LmubCMmstZh63pgrs8nuDdYaI2Ms1vC5XVeG490dlpSn2lSEi0OX3R2dIagVk 8UEw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=OONu5wRx; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-58589-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58589-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org X-Forwarded-Encrypted: i=2; AJvYcCXhP+3g5DwBx/sqjO5stPbOSMh0BfXJZdiO9jlsepaatBjcWPXwfQSsT3T1FdWjDSBvh337REtCAMdAq4+3PxJZEj1U0xMBB6awM8CGAQ== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id t11-20020a0562140c6b00b0068c7e9a6029si168272qvj.100.2024.02.08.10.59.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 10:59:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-58589-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=OONu5wRx; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-58589-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58589-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 864DD1C234C5 for ; Thu, 8 Feb 2024 18:59:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B21472E62C; Thu, 8 Feb 2024 18:52:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="OONu5wRx" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 BB52F25619; Thu, 8 Feb 2024 18:52:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707418344; cv=none; b=F3WTUs4WIStB2V4GPjf1Xb1pkk3IYy3AjHiel3/XIZ8Z4pYMoZ+n2Ulh+W6wTtowrBim55JTKERVMAE5YBcswCJpwJbDXh7cIgjmftt2pSjIjz5ff8hHfrsx/Ylj0aezg5q7qlz2U3l99GnedULFgoLnX0dz8e/CGs1m2Aa/qaU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707418344; c=relaxed/simple; bh=ayyF27niELzt3hHf6FLsjG9AyRpa5VJUFGx2PqXaS0g=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=QRdsz7mp1iqjEIWA2wDYpPx+U8b/3xI4j1QWfAiSgPeQDhediU9gnQ4/wk2v6F/KHUn+As9LAlukJEYWyWOMsOZYSI3f9SsH84RccDtiQXlGnpEnKjkqIslyqVkQKtAGR3dAWIkHwLShLPFuXSiShbaUgorcm6zcMBSoxERHsXQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=OONu5wRx; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D2ACAC433F1; Thu, 8 Feb 2024 18:52:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1707418344; bh=ayyF27niELzt3hHf6FLsjG9AyRpa5VJUFGx2PqXaS0g=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OONu5wRxr6mAhe7TuLRR4y4hxM3B3EIbId7kHHNSEdO5iqMM12SsBfXBG9DjBB8TG rU6v0kLn9fTdnQkUnc3kaiG+ck0xwrgGkjyIIJmI0MSinint+yuWsr408xTLNoPAnD P7fKkC+RePoe+NPNrOyJl55aH4DngfGGH5EJhQEY= Date: Thu, 8 Feb 2024 18:52:21 +0000 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] net: bcmgenet: Fix EEE implementation Message-ID: <2024020842-blaspheme-immortal-49dd@gregkh> References: <20240208182041.3228898-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: <20240208182041.3228898-1-florian.fainelli@broadcom.com> On Thu, Feb 08, 2024 at 10:20:40AM -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 > Signed-off-by: Florian Fainelli > Change-Id: I9e9d9d9e10817c7fcf3d9cde2389a1f6fe42a2ba "Change-Id:"? Ick, gerrit, so sorry :( Please remove these. thanks, greg k-h