From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net] net: stmmac: Fix WoL for PCI-based setups Date: Wed, 01 Aug 2018 09:36:42 -0700 (PDT) Message-ID: <20180801.093642.2214859446926697113.davem@davemloft.net> References: <2a47502239c0f5867d4dcebb2140849c40c5967f.1533046004.git.joabreu@synopsys.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, Joao.Pinto@synopsys.com, peppe.cavallaro@st.com, alexandre.torgue@st.com To: Jose.Abreu@synopsys.com Return-path: Received: from shards.monkeyblade.net ([23.128.96.9]:48596 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2403935AbeHASXP (ORCPT ); Wed, 1 Aug 2018 14:23:15 -0400 In-Reply-To: <2a47502239c0f5867d4dcebb2140849c40c5967f.1533046004.git.joabreu@synopsys.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Jose Abreu Date: Tue, 31 Jul 2018 15:08:20 +0100 > WoL won't work in PCI-based setups because we are not saving the PCI EP > state before entering suspend state and not allowing D3 wake. > > Fix this by using a wrapper around stmmac_{suspend/resume} which > correctly sets the PCI EP state. > > Signed-off-by: Jose Abreu Applied and queued up for -stable, thanks.