linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] PM / Domains: Implement domain performance states
@ 2017-01-03 11:06 Viresh Kumar
  2017-01-03 11:06 ` [PATCH 1/6] PM / QOS: Add default case to the switch Viresh Kumar
                   ` (6 more replies)
  0 siblings, 7 replies; 13+ messages in thread
From: Viresh Kumar @ 2017-01-03 11:06 UTC (permalink / raw)
  To: Rafael Wysocki, khilman, ulf.hansson
  Cc: linaro-kernel, linux-pm, linux-kernel, Stephen Boyd,
	Nishanth Menon, Vincent Guittot, robh+dt, mark.rutland,
	lina.iyer, rnayak, Viresh Kumar

Hi,

An earlier series[1] tried to implement bindings for PM domain
performance states. Rob Herring suggested that we can actually write the
supporting code first instead of bindings, as that will make things
easier to understand for all.

The bindings [1] aren't discarded yet and this series is based on a
version of those only. The bindings are only used by the last patch,
which should not be applied and is only sent for completeness.

All other patches can be reviewed/applied whenever the maintainers feel
they look good.


A brief summary of the problem this series is trying to solve:

Some platforms have the capability to configure the performance state of
their Power Domains. The performance levels are represented by positive
integer values, a lower value represents lower performance state.

We decided earlier that we should extend Power Domain framework to
support active state power management as well.  The power-domains until
now were only concentrating on the idle state management of the device
and this needs to change in order to reuse the infrastructure of power
domains for active state management.

The first 5 patches update the PM domain and QoS frameworks to support
that and the last one presents the front end interface to it.

All the patches are tested by hacking the OPP core a bit for now.

--
viresh

[1] https://marc.info/?l=linux-kernel&m=148154020127722&w=2

Viresh Kumar (6):
  PM / QOS: Add default case to the switch
  PM / QOS: Pass request type to dev_pm_qos_{add|remove}_notifier()
  PM / QOS: Add 'performance' request
  PM / domain: Register for PM QOS performance notifier
  PM / domain: Save/restore performance state at runtime suspend/resume
  PM / OPP: Add support to parse domain-performance-state

 Documentation/power/pm_qos_interface.txt |  11 ++--
 drivers/base/power/domain.c              | 102 ++++++++++++++++++++++++++++---
 drivers/base/power/opp/core.c            |  75 +++++++++++++++++++++++
 drivers/base/power/opp/debugfs.c         |   4 ++
 drivers/base/power/opp/of.c              |  44 +++++++++++++
 drivers/base/power/opp/opp.h             |  12 ++++
 drivers/base/power/qos.c                 |  74 +++++++++++++++++++---
 include/linux/pm_domain.h                |   6 ++
 include/linux/pm_qos.h                   |  16 +++--
 9 files changed, 322 insertions(+), 22 deletions(-)

-- 
2.7.1.410.g6faf27b

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

end of thread, other threads:[~2017-02-06 11:44 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-03 11:06 [PATCH 0/6] PM / Domains: Implement domain performance states Viresh Kumar
2017-01-03 11:06 ` [PATCH 1/6] PM / QOS: Add default case to the switch Viresh Kumar
2017-01-03 11:06 ` [PATCH 2/6] PM / QOS: Pass request type to dev_pm_qos_{add|remove}_notifier() Viresh Kumar
2017-01-03 11:06 ` [PATCH 3/6] PM / QOS: Add 'performance' request Viresh Kumar
2017-01-03 11:06 ` [PATCH 4/6] PM / domain: Register for PM QOS performance notifier Viresh Kumar
2017-01-19  4:36   ` Viresh Kumar
2017-01-03 11:06 ` [PATCH 5/6] PM / domain: Save/restore performance state at runtime suspend/resume Viresh Kumar
2017-01-03 11:06 ` [PATCH 6/6] PM / OPP: Add support to parse domain-performance-state Viresh Kumar
2017-01-16  5:30 ` [PATCH 0/6] PM / Domains: Implement domain performance states Viresh Kumar
2017-01-16 21:47   ` Rafael J. Wysocki
2017-01-17  3:21     ` Viresh Kumar
2017-02-06  5:35   ` Viresh Kumar
2017-02-06 11:39     ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).