All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] PM / Domains: Updates to IRQ safe PM domains
@ 2017-02-08 16:34 ` Lina Iyer
  0 siblings, 0 replies; 40+ messages in thread
From: Lina Iyer @ 2017-02-08 16:34 UTC (permalink / raw)
  To: ulf.hansson, khilman, rjw, linux-pm, linux-arm-kernel
  Cc: andy.gross, sboyd, linux-arm-msm, brendan.jackman,
	lorenzo.pieralisi, sudeep.holla, Juri.Lelli, Lina Iyer

Hi,

This follows the discussions at Linux Plumbers Conference on PM domains and
idle states. In the context of CPU hierarchy, the CPU's idle states may be
presented using the property domain-idle-states if the domain is considered as
the boundary that powers on/off an individual CPU.

To that effect, domain idle states may not be specified but not compatible with
what PM domains expects. Hence ignore the idle states that are not
"domain-idle-state" compatible.

The second patch covers the case, where the hierarchy of PM domains is not
powered off in the same context. Currently, a workqueue is scheduled to power
off the parent domains in the hierarchy. In case of CPU PM domains, this will
not work, since we are running with interrupts disabled. Hence for IRQ safe PM
domains, power off the parent domains in the same context as the caller.

I understand Ulf is working on some argument changes in the same area of
functions. Will work with him to resolve conflicts before the merge. This is
based on the tip of Rafel's next.

Thanks,
Lina


Lina Iyer (2):
  PM / Domains: Ignore domain-idle-states that are not compatible
  PM / Domains: Support in context powering off parent domain

 .../devicetree/bindings/power/power_domain.txt     |  4 ++-
 drivers/base/power/domain.c                        | 37 +++++++++++++++-------
 2 files changed, 28 insertions(+), 13 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 40+ messages in thread
* [PATCH] PM / Domains: Fix for domain idle state
@ 2016-11-03 21:54 Lina Iyer
  2016-11-03 21:54   ` Lina Iyer
  0 siblings, 1 reply; 40+ messages in thread
From: Lina Iyer @ 2016-11-03 21:54 UTC (permalink / raw)
  To: ulf.hansson, khilman, rjw, linux-pm, linux-arm-kernel
  Cc: andy.gross, sboyd, linux-arm-msm, brendan.jackman,
	lorenzo.pieralisi, sudeep.holla, Juri.Lelli, Lina Iyer

Hi Rafael,

This follows the discussions we had at LPC. The decision to use a different
compatible (different from that of the CPU's idle state) resulted in a new idle
state node definition that is specific to PM domains. The patch describes this
new binding.

You have already pulled in my earlier changes for domain idle states into your
linux-next. This patch is intended to be applied on top of that and fixes the
domain idle state and maps it to the new definition.

Thanks,
Lina

Lina Iyer (1):
  PM / Domains: Fix compatible for domain idle state

 .../bindings/power/domain-idle-state.txt           | 33 ++++++++++++++++++++++
 .../devicetree/bindings/power/power_domain.txt     |  8 +++---
 drivers/base/power/domain.c                        |  2 +-
 3 files changed, 38 insertions(+), 5 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/power/domain-idle-state.txt

-- 
2.7.4


^ permalink raw reply	[flat|nested] 40+ messages in thread

end of thread, other threads:[~2017-02-09  9:03 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-08 16:34 [PATCH 0/2] PM / Domains: Updates to IRQ safe PM domains Lina Iyer
2017-02-08 16:34 ` Lina Iyer
2017-02-08 16:34 ` [PATCH] PM / Domains: Fix compatible for domain idle state Lina Iyer
2017-02-08 16:34   ` Lina Iyer
2017-02-08 16:42   ` Lina Iyer
2017-02-08 16:42     ` Lina Iyer
2017-02-08 16:34 ` [PATCH 1/2] PM / Domains: Ignore domain-idle-states that are not compatible Lina Iyer
2017-02-08 16:34   ` Lina Iyer
2017-02-09  8:40   ` Ulf Hansson
2017-02-09  8:40     ` Ulf Hansson
2017-02-08 16:34 ` [PATCH 2/2] PM / Domains: Support in context powering off parent domain Lina Iyer
2017-02-08 16:34   ` Lina Iyer
2017-02-09  9:02   ` Ulf Hansson
2017-02-09  9:02     ` Ulf Hansson
2017-02-09  9:03     ` Ulf Hansson
2017-02-09  9:03       ` Ulf Hansson
  -- strict thread matches above, loose matches on Subject: below --
2016-11-03 21:54 [PATCH] PM / Domains: Fix for domain idle state Lina Iyer
2016-11-03 21:54 ` [PATCH] PM / Domains: Fix compatible " Lina Iyer
2016-11-03 21:54   ` Lina Iyer
2016-11-07 11:14   ` Ulf Hansson
2016-11-07 11:14     ` Ulf Hansson
     [not found]     ` <CAPDyKFoCjf1qSBDWUY_wNx21_78fRrFqcqrFbsSmabzAZJxQAQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-11-10 19:58       ` Rob Herring
2016-11-10 19:58         ` Rob Herring
2016-11-11 11:52         ` Ulf Hansson
2016-11-11 11:52           ` Ulf Hansson
2016-11-29  8:47         ` Ulf Hansson
2016-11-29  8:47           ` Ulf Hansson
2016-12-01 21:21           ` Rafael J. Wysocki
2016-12-01 21:21             ` Rafael J. Wysocki
     [not found]             ` <1616414.c1s7NxTqJS-yvgW3jdyMHm1GS7QM15AGw@public.gmane.org>
2016-12-08  0:13               ` Rafael J. Wysocki
2016-12-08  0:13                 ` Rafael J. Wysocki
2016-12-08 16:07                 ` Rob Herring
2016-12-08 16:07                   ` Rob Herring
     [not found]   ` <1478210075-92045-2-git-send-email-lina.iyer-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2016-11-21 12:37     ` Brendan Jackman
2016-11-21 12:37       ` Brendan Jackman
2016-11-21 13:11       ` Rafael J. Wysocki
2016-11-21 13:11         ` Rafael J. Wysocki
2016-11-21 13:27   ` Ulf Hansson
2016-11-21 13:27     ` Ulf Hansson
2016-11-21 16:30   ` Sudeep Holla
2016-11-21 16:30     ` Sudeep Holla

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.