Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp68828pxb; Tue, 21 Sep 2021 19:01:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwPtgteSPajZmVpFOONEeqBsTfpCtQU99VztC5Gi95tsl7W8awtc29YS+i5pVOHiGL70i2v X-Received: by 2002:a5e:db44:: with SMTP id r4mr2207094iop.56.1632276060250; Tue, 21 Sep 2021 19:01:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632276060; cv=none; d=google.com; s=arc-20160816; b=pKPc7v+fBnL0ipby3I0o0WFDofKbgpBeGq2J/IUyGHQbScKkcldy1b6NRcGnz9Oh1a +RXmuAEH31udhSLcotKUfjSTPth7UZH69+9lj3+XZT+nf6MixKqtrpig9hF98U2oXHKc kPzLlBf9E82UECP35qGLATfp+a3zg3TM70vnkCJR1JlknrIWXJcmSYii/EN1o0idSrVa pCBOYvXMKJ/zOeMRpMl+9WcAZRvTuVkpRHb68TAYKjwJFXhQauMrYNfPectfuV1C09wj lpVqMVQur9dp3BMzP7JELO/aSw3G3b6+Q+R5ptSa6nmIXW+NRECKMfureb4oUKxmCaIp CHvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=w4FtDu8sppECHthSXT0/capnHmWwfDhXgexNg9qXIiY=; b=lw9NZwl7SO7nm5oMeXx+m129JvxwouREign/Y9VSf6jRZrz6SXKeGXysOXh2kQYteP 8EsszoO6DG2Xz8l33TRnXR3EtW+m1GuWjuKPzyn4OdclLWsTlGGE1BGFs5YGlvHi3ipX sfoyA3B8WP131fLjCCbMLwWlxmJDzPFmsv4O1leR60loxEfakOzP476XAPrn6/ajiJCw J0jtGPPlbOXLepoBzb/9bVNyKflfcUkRCC27qNFTFUjutSYk0RYRb6TmA4cl7b+SvOGj 53XyRaDw4VFXv7EUmdLJq8G93vjMJWW/YU3Sd0Ybx/qF+gyt6Dbf7w4U06Aht5SFGgMh JB7Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u13si905860jak.109.2021.09.21.19.00.47; Tue, 21 Sep 2021 19:01:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235602AbhIUVrC (ORCPT + 99 others); Tue, 21 Sep 2021 17:47:02 -0400 Received: from jabberwock.ucw.cz ([46.255.230.98]:47744 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232432AbhIUVq6 (ORCPT ); Tue, 21 Sep 2021 17:46:58 -0400 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id B61881C0B76; Tue, 21 Sep 2021 23:45:28 +0200 (CEST) Date: Tue, 21 Sep 2021 23:45:28 +0200 From: Pavel Machek To: "Russell King (Oracle)" Cc: Pavel Machek , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, stable@vger.kernel.org, Joakim Zhang , "David S. Miller" , Sasha Levin Subject: Re: [PATCH 5.10 079/122] net: phylink: add suspend/resume support Message-ID: <20210921214528.GA30221@duo.ucw.cz> References: <20210920163915.757887582@linuxfoundation.org> <20210920163918.373775935@linuxfoundation.org> <20210921212837.GA29170@duo.ucw.cz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="k+w/mQv8wyuph6w0" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --k+w/mQv8wyuph6w0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > > Joakim Zhang reports that Wake-on-Lan with the stmmac ethernet driver= broke > > > when moving the incorrect handling of mac link state out of mac_confi= g(). > > > This reason this breaks is because the stmmac's WoL is handled by the= MAC > > > rather than the PHY, and phylink doesn't cater for that scenario. > > >=20 > > > This patch adds the necessary phylink code to handle suspend/resume e= vents > > > according to whether the MAC still needs a valid link or not. This is= the > > > barest minimum for this support. > >=20 > > This adds functions that end up being unused in 5.10. AFAICT we do not > > need this in 5.10. >=20 > It needs to be backported to any kernel that also has > "net: stmmac: fix MAC not working when system resume back with WoL active" > backported to. From what I can tell, the fixes line in that commit > refers to a commit (46f69ded988d) in v5.7-rc1. >=20 > If "net: stmmac: fix MAC not working when system resume back with WoL > active" is not being backported to 5.10, then there is no need to > backport this patch. Agreed. > As I'm not being copied on the stmmac commit, I've no idea which kernels > this patch should be backported to. AFAICT "net: stmmac: fix MAC not working when..." is not queued for 5.10.68-rc1 or 5.14.7-rc1. Best regards, Pavel --=20 DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany --k+w/mQv8wyuph6w0 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCYUpSeAAKCRAw5/Bqldv6 8jTBAJ0TGvDkLjp0bJitWGss9PANDf6zTACffzoV1Z+/5OQQBKIXKsSiXBthCMg= =YGOO -----END PGP SIGNATURE----- --k+w/mQv8wyuph6w0--