From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-f50.google.com ([209.85.214.50]:40389 "EHLO mail-it0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753062AbdKMPuV (ORCPT ); Mon, 13 Nov 2017 10:50:21 -0500 Received: by mail-it0-f50.google.com with SMTP id 72so9929348itl.5 for ; Mon, 13 Nov 2017 07:50:21 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <1510588003-16650-1-git-send-email-ulf.hansson@linaro.org> References: <1510588003-16650-1-git-send-email-ulf.hansson@linaro.org> From: Ulf Hansson Date: Mon, 13 Nov 2017 16:50:20 +0100 Message-ID: Subject: Re: [PATCH v2 0/3] PM / core: Invent a WAKEUP_POWERED driver flag To: "Rafael J . Wysocki" , "linux-pm@vger.kernel.org" Cc: Kevin Hilman , Viresh Kumar , Geert Uytterhoeven , Simon Horman , Niklas Soderlund , Linux-Renesas , Ulf Hansson Content-Type: text/plain; charset="UTF-8" Sender: linux-renesas-soc-owner@vger.kernel.org List-ID: On 13 November 2017 at 16:46, Ulf Hansson wrote: > The generic problem this series is trying to solve, is that for some bus types > and PM domains, it's not sufficient to only check the return value from > device_may_wakeup(), to fully understand how to treat the device during system > suspend. > > One particular case that suffers from this, is the generic PM domain (aka genpd) > and that is taken care of in the final change in this series. > > The special case this series address, is to enable drivers to instruct bus types > and PM domains, that the device need to remain in its current power state in > case it should be able to generate wakeup signals during system suspend. This is > done by an opt-in method, however bus types and PM domains that has additional > knowledge about devices' wakeup settings may still override the setting. > > Geert Uytterhoeven, has been working on some related problems for some Renesas > SoCs [1], to be able to properly configure WakeOnLAN, for some ethernet > devices/drivers, which are used together with genpd. My intent is that this > series enables a solution for those problems. > > [1] > https://www.spinics.net/lists/linux-renesas-soc/msg19319.html > > Changes in v2: > - See change logs for each patch. > > > Ulf Hansson (3): > PM / core: Re-factor some code dealing with parents in > __device_suspend() > PM / core: Add IN_BAND_WAKEUP driver flag > PM / Domains: Take wakeup_path_in_band status flag into account > Realized that the header of the cover letter still has the old WAKEUP_POWERED flag name in it. It should be "IN_BAND_WAKEUP", as following patches shows. Apologize for noise! Br Uffe