Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp926230lqp; Thu, 23 May 2024 04:29:51 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWhOU5+8X4D/IlSvfzBAC5uwyc1oGBNczMnSm1yJQbQo9IpiQuGQdw9eGb2rHtPX7okkqT0PfkxejOyMn15x6Ah3YWq7Aal/0S6zGookw== X-Google-Smtp-Source: AGHT+IG0w/zAKwDDC5Kq5Tug7d9cb+QGyPlICj2fMbWMmXICBd5KcY+mwY540qfhmTcTkv8B8d+/ X-Received: by 2002:a05:6a20:5617:b0:1b0:111f:2b80 with SMTP id adf61e73a8af0-1b1f8a593f6mr4796079637.39.1716463790984; Thu, 23 May 2024 04:29:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716463790; cv=pass; d=google.com; s=arc-20160816; b=LgAAaPWke+kTt7PANKO2FvQ1wU/zXyXWsDr5wNJLP2DBK0/DIWG2N9GA/5vYACXY3z yaI/tcu/NLxwsILjpNiMQJnnX/0VD3cV+48iC4Zja4fDHoQ1we8n0dVeFwqvsMbteo1O jADDGN8eNC0gg5Ga0YClOhNTeb/Qr/pfXfUpgZkp09HoHqsQDvzByQ2VfHyVIHAmgaRU 9R9EKHXBFtK1qYRdUPU/OnD7uH5Z8iTDoijKpKn7PqPOp8NatlT7JWC3NJHFWWm5xIZ+ YeCapHrEfVKK58ljcCZ5he8szPPiQH1Akp8x8iV+uIdHI2of7wcl95l9GFAXuxAwUykK ErZg== 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=x3Qysw/zJMqn+btP3jguDRWhiesocEZUdPoV9FFyk7Q=; fh=AE1Ba+rkMCTyM9ba9+5oCL0dx2WPxNTYlWb4GNdLAYo=; b=HO4PPHiEsvJBcdwcPKlB8A0M3D/SB/UZBePD8DK+XVRkkNdvXSenGf+bZSnlwHKuua oA7KErUFL+I0MY3Y1AdC2JtWgw3JYCGUt1LyXzYahaAUzUoZlCmkOp3hiX8mGBGnnBok LTMIvyZAJgniKFQLJKJ/uwhQva77fhp2bDartWB96kcIje4Q7oz64a6GijiqYnr/ETt1 G54NCNqN9GFvNEIWZk8E5M+JXQBWPtIZgOmJlZn56BZyHFw/Od1BMX3x0NcvQplh14f3 +1nuzpNfK8LJEXgf00BzZhfmN7DEt+5d3QJRdsIGWh0FrPWYFqodkBmrLrOQQoh4UgBq RBhw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=EhHrlFZS; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-187397-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-187397-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-66270aedc83si1367474a12.802.2024.05.23.04.29.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 04:29:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-187397-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=EhHrlFZS; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-187397-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-187397-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 975502828BE for ; Thu, 23 May 2024 11:29:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B64681474D6; Thu, 23 May 2024 11:29:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="EhHrlFZS" 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 D10BD7EEE7; Thu, 23 May 2024 11:29:41 +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=1716463782; cv=none; b=e7kbihbUQe04RHGarkbuhkPGhPlEMHeXpRA7kmSWZF98RNUk47TBGLxrvZYQPcHWrgN/ktUpX36ZalmASYptk3xLO/c/9o2M/1dKD+GtcgIYOBWqshVaickK5YmmU41xm/TpRjMROp6MhMo90vuQFsBgyNger9ABRc9aPVx4tNg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716463782; c=relaxed/simple; bh=4ge3E4ZeokmDbphVFHM0rLp+VaYRYn80/b7KG19Gj7U=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=AnNeaFOMtWA3OGzqt94CBqvDyOrR4Iug1z5JSugJgDNGtq8EDOlIZDtFJiwDtIKsQlGmmcr0Znx8hG8EFeMT1/V7E5RkSYp2ysYul8Tak4xcM4ScLTvCXoTpK6kAsZGmtoualAetHu05iy2/ciBd74HkXv0ffzmvb4QQ13hox88= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=EhHrlFZS; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0832BC2BD10; Thu, 23 May 2024 11:29:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716463781; bh=4ge3E4ZeokmDbphVFHM0rLp+VaYRYn80/b7KG19Gj7U=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=EhHrlFZSs4w4Dnio6EdIgcwKrA7hyOKaGwzuAXqROf5ukvGWcBjwDZi8P8gaYn2EN wJZEA0p9jlyTeIvotrlGQ/kcf2I4e7cqjN3eUHwMFyrTXHvAGE1YBWMhQzNjQHwGvV y609h1SvU9lS4YR1OScmuuijFhvnQ/niwFl9iuXw= Date: Thu, 23 May 2024 13:29:38 +0200 From: Greg KH To: Doug Berger Cc: stable@vger.kernel.org, Florian Fainelli , "David S. Miller" , bcm-kernel-feedback-list@broadcom.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH stable 5.4 0/2] net: bcmgenet: revisit MAC reset Message-ID: <2024052332-cinnamon-oppose-98a9@gregkh> References: <20240516211153.140679-1-opendmb@gmail.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: <20240516211153.140679-1-opendmb@gmail.com> On Thu, May 16, 2024 at 02:11:51PM -0700, Doug Berger wrote: > Commit 3a55402c9387 ("net: bcmgenet: use RGMII loopback for MAC > reset") was intended to resolve issues with reseting the UniMAC > core within the GENET block by providing better control over the > clocks used by the UniMAC core. Unfortunately, it is not > compatible with all of the supported system configurations so an > alternative method must be applied. > > This commit set provides such an alternative. The first commit > reverts the previous change and the second commit provides the > alternative reset sequence that addresses the concerns observed > with the previous implementation. > > This replacement implementation should be applied to the stable > branches wherever commit 3a55402c9387 ("net: bcmgenet: use RGMII > loopback for MAC reset") has been applied. > > Unfortunately, reverting that commit may conflict with some > restructuring changes introduced by commit 4f8d81b77e66 ("net: > bcmgenet: Refactor register access in bcmgenet_mii_config"). > The first commit in this set has been manually edited to > resolve the conflict on stable/linux-5.4.y. > > Doug Berger (2): > Revert "net: bcmgenet: use RGMII loopback for MAC reset" > net: bcmgenet: keep MAC in reset until PHY is up > > .../net/ethernet/broadcom/genet/bcmgenet.c | 10 ++--- > .../ethernet/broadcom/genet/bcmgenet_wol.c | 6 ++- > drivers/net/ethernet/broadcom/genet/bcmmii.c | 39 +++---------------- > 3 files changed, 16 insertions(+), 39 deletions(-) > > -- > 2.34.1 > > Both now queued up, thanks. greg k-h