From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lina Iyer Subject: Re: [PATCH 05/14] PM / doc: update device documentation for devices in IRQ safe PM domains Date: Mon, 25 Jul 2016 17:21:26 -0600 Message-ID: <20160725232125.GC1369@linaro.org> References: <1466624209-27432-1-git-send-email-lina.iyer@linaro.org> <1466624209-27432-6-git-send-email-lina.iyer@linaro.org> <7htwfd49iz.fsf@baylibre.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Return-path: Received: from mail-pf0-f181.google.com ([209.85.192.181]:34088 "EHLO mail-pf0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753370AbcGYXV3 (ORCPT ); Mon, 25 Jul 2016 19:21:29 -0400 Received: by mail-pf0-f181.google.com with SMTP id p64so68578145pfb.1 for ; Mon, 25 Jul 2016 16:21:29 -0700 (PDT) Content-Disposition: inline In-Reply-To: <7htwfd49iz.fsf@baylibre.com> Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: Kevin Hilman Cc: ulf.hansson@linaro.org, rjw@rjwysocki.net, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, geert@linux-m68k.org, k.kozlowski@samsung.com, andy.gross@linaro.org, sboyd@codeaurora.org, linux-arm-msm@vger.kernel.org, lorenzo.pieralisi@arm.com, ahaslam@baylibre.com, mtitinger@baylibre.com On Mon, Jul 25 2016 at 16:50 -0600, Kevin Hilman wrote: >Lina Iyer writes: > >> Update documentation to reflect the changes made to support IRQ safe PM >> domains. >> >> Signed-off-by: Lina Iyer >> --- >> Documentation/power/devices.txt | 12 +++++++++++- >> 1 file changed, 11 insertions(+), 1 deletion(-) >> >> diff --git a/Documentation/power/devices.txt b/Documentation/power/devices.txt >> index 8ba6625..a622136 100644 >> --- a/Documentation/power/devices.txt >> +++ b/Documentation/power/devices.txt >> @@ -607,7 +607,17 @@ individually. Instead, a set of devices sharing a power resource can be put >> into a low-power state together at the same time by turning off the shared >> power resource. Of course, they also need to be put into the full-power state >> together, by turning the shared power resource on. A set of devices with this >> -property is often referred to as a power domain. >> +property is often referred to as a power domain. A power domain may also be >> +nested inside another power domain. >> + >> +Devices, by default, operate in process context. If a device can operate in > >minor nit: By "devices" here, I think you mean the runtime PM callbacks for >devices? If so, it should be explicit, otherwise it's not clear what it >means for devices to operate in process context. > You are right. Its runtime PM that is of interest here. Thanks, Lina From mboxrd@z Thu Jan 1 00:00:00 1970 From: lina.iyer@linaro.org (Lina Iyer) Date: Mon, 25 Jul 2016 17:21:26 -0600 Subject: [PATCH 05/14] PM / doc: update device documentation for devices in IRQ safe PM domains In-Reply-To: <7htwfd49iz.fsf@baylibre.com> References: <1466624209-27432-1-git-send-email-lina.iyer@linaro.org> <1466624209-27432-6-git-send-email-lina.iyer@linaro.org> <7htwfd49iz.fsf@baylibre.com> Message-ID: <20160725232125.GC1369@linaro.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Mon, Jul 25 2016 at 16:50 -0600, Kevin Hilman wrote: >Lina Iyer writes: > >> Update documentation to reflect the changes made to support IRQ safe PM >> domains. >> >> Signed-off-by: Lina Iyer >> --- >> Documentation/power/devices.txt | 12 +++++++++++- >> 1 file changed, 11 insertions(+), 1 deletion(-) >> >> diff --git a/Documentation/power/devices.txt b/Documentation/power/devices.txt >> index 8ba6625..a622136 100644 >> --- a/Documentation/power/devices.txt >> +++ b/Documentation/power/devices.txt >> @@ -607,7 +607,17 @@ individually. Instead, a set of devices sharing a power resource can be put >> into a low-power state together at the same time by turning off the shared >> power resource. Of course, they also need to be put into the full-power state >> together, by turning the shared power resource on. A set of devices with this >> -property is often referred to as a power domain. >> +property is often referred to as a power domain. A power domain may also be >> +nested inside another power domain. >> + >> +Devices, by default, operate in process context. If a device can operate in > >minor nit: By "devices" here, I think you mean the runtime PM callbacks for >devices? If so, it should be explicit, otherwise it's not clear what it >means for devices to operate in process context. > You are right. Its runtime PM that is of interest here. Thanks, Lina