Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp285569pxb; Wed, 22 Sep 2021 02:04:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyw6cf20jQJXIpq45IVF3YeIZi/Icg3idNQijoSL5v64ddgAMvx36420oAhTiSJFjuNBwjl X-Received: by 2002:a17:906:fc7:: with SMTP id c7mr40373317ejk.333.1632301449789; Wed, 22 Sep 2021 02:04:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632301449; cv=none; d=google.com; s=arc-20160816; b=rMM/eszCi9k7VK8qU1n6MzZmbqAi9+v4toTw7abOVoq4BHyoKnt46VzJoptX83DtsW 1HIBu/b/scXMhyWZkdkA4N/uJI+6BvnRcwtGlZq8wKKXxrnXml3DqcWYvjuoZl1Kh28X RuHrzLQhS4vs85seDlS+utzniRU+qEUXvDrEM+7+7rNixTc770shG++qb5g5lWik9bXf MQ2SElMvvS3hEJ1BnSeOUiuPo+xNNZaE9xV//k6sNfgpzwg8861PmWxz5MZ9Q84MFLei idZ79I8PExsbo7lu5EGpBOQt+hrSwx5Zcw9Vo8hn2bqT3jB4jsMHBo400jc8nIqI+E2t HmPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=2zsMnluwfGCcOWQqfs0Fc2k/V5DAQRjvHHuHwaREM1s=; b=KKOYM/M+tTUxOSt5vhjBJAjXpNYelyGEDGGd2vX/57h/1C56la6g/+IB5F5owtGSpf RM/OoN5lM+D60T0ZrkUwku5ZEQf0UUVVupWopaDF3u/z2sJI5nTNXfIuJzBEEwvFr2wn 61t8fWZ3A4Hds3n+RKVEe866bwjHiyw4YsvNKTtcl9+MbqC/g501wgy4Rzu9YhUEYF+Y fbiWPzPUo93NlAQWQkMr1yXN5z0Ox103Lq4pJ7ZxGxCGZ7S1D54r5EecpYXqAYNs5zTO CpeUT5siyd9CsQaW+e4d9TmqGvAcZp+EGma/Zz/JAkzOANR1X+b/yU9LaZ9Phm6NzjAP CtaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=S420VcfT; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f12si2070838edl.138.2021.09.22.02.03.44; Wed, 22 Sep 2021 02:04:09 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=S420VcfT; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234071AbhIVJDb (ORCPT + 99 others); Wed, 22 Sep 2021 05:03:31 -0400 Received: from mail.kernel.org ([198.145.29.99]:39966 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233792AbhIVJDa (ORCPT ); Wed, 22 Sep 2021 05:03:30 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 2AE0561168; Wed, 22 Sep 2021 09:01:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1632301320; bh=wABkdmLWjJei1aa8B81WXoyTF6MgRd6Kw3Q8IFkIP+A=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=S420VcfTPSm7ixnGU/wvwas+3ZF3wFholHEcnMzG0V9EhmvDWaVK6OTPzrnPSEgeZ MhmNVeMC8i3HZwMwhlukT7KudLyPultuxhsa5Uq3+jRrODGdTT8nF3ZwGe2mXFqz/e Zdl9gNGnAt8q7jdyR63pHXNdDXEGdzVQPJg/wd9g= Date: Wed, 22 Sep 2021 11:01:58 +0200 From: Greg Kroah-Hartman To: Pavel Machek Cc: "Russell King (Oracle)" , 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: References: <20210920163915.757887582@linuxfoundation.org> <20210920163918.373775935@linuxfoundation.org> <20210921212837.GA29170@duo.ucw.cz> <20210921214528.GA30221@duo.ucw.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 22, 2021 at 10:58:02AM +0200, Greg Kroah-Hartman wrote: > On Tue, Sep 21, 2021 at 11:45:28PM +0200, Pavel Machek wrote: > > 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_config(). > > > > > 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. > > > > > > > > > > This patch adds the necessary phylink code to handle suspend/resume events > > > > > according to whether the MAC still needs a valid link or not. This is the > > > > > barest minimum for this support. > > > > > > > > This adds functions that end up being unused in 5.10. AFAICT we do not > > > > need this in 5.10. > > > > > > 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. > > > > > > 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. > > I can easily do that, thanks! Only applied to 5.14, so I'll drop this patch from the 5.10 queue. thanks, greg k-h