All of lore.kernel.org
 help / color / mirror / Atom feed
* [Discussion] Performance levels of power domains
@ 2016-10-26 10:52 Viresh Kumar
  2016-10-26 11:09 ` Sudeep Holla
  2016-10-26 19:00 ` Kevin Hilman
  0 siblings, 2 replies; 21+ messages in thread
From: Viresh Kumar @ 2016-10-26 10:52 UTC (permalink / raw)
  To: linux-pm@vger.kernel.org
  Cc: Rafael J. Wysocki, Vincent Guittot, Ulf Hansson,
	Michael Turquette, Kevin Hilman, Stephen Boyd, Nayak, Rajendra,
	Georgi Djakov, Lists linaro-kernel, Mark Brown

Hi Guys,

I wanted to involve you guys to get a discussion going
for a problem we want to solve, and so this mail.


Platform details:

Some of the Qualcom SoCs have the option to configure
the performance level of their Power Domains. The performance
levels are identified by integer values (lets say 0-9, 0 being the lowest).

Another M3 core handles the *real* voltage scaling based on the input
received (from software) in terms of these performance levels. The M3
core translates the levels into a range of voltages (corners) and selects
the right one by itself.

Software needs to provide the performance level for the entire domain
to the M3 core and so software also needs to handle performance requests
from all the devices that lie in the domain X and find a Performance Level P,
which can satisfy all the devices (normally the highest requrested level).


Problem statement:

As we aren't dealing with Voltages here, we can't really get the benefits
of the Regulators framework. The regulators are managed internally
by the M3 core. All we need is a way for software to comeout with inputs
for the M3 core.

The OPP framework can be used to include performance levels for
each OPP (frequency) entry.

But what framework can be used to select performance level of power
domains ?

By name, power-domain or genpd looks to be the right choice, but until
now it is only managing power-on and power-off of devices and domains.

Should we extend that (along with runtime PM), or do something else?

Qualcomm guys, please correct my understanding of the hardware in
case, something wasn't explained correctly.

--
viresh

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

end of thread, other threads:[~2016-11-10 19:14 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-26 10:52 [Discussion] Performance levels of power domains Viresh Kumar
2016-10-26 11:09 ` Sudeep Holla
2016-10-26 11:16   ` Viresh Kumar
2016-10-26 11:21     ` Sudeep Holla
2016-10-28  0:22       ` Stephen Boyd
2016-10-28  8:52         ` Sudeep Holla
2016-10-26 19:00 ` Kevin Hilman
2016-10-27  3:46   ` Viresh Kumar
2016-10-27  7:17     ` Vincent Guittot
2016-10-27  8:28       ` Viresh Kumar
2016-10-27 10:14     ` Rafael J. Wysocki
2016-10-27  7:13   ` Vincent Guittot
2016-10-27 10:11   ` Rafael J. Wysocki
2016-10-27 10:23     ` Viresh Kumar
2016-10-27 10:26       ` Rafael J. Wysocki
2016-10-27 11:46     ` Ulf Hansson
2016-10-28  4:02       ` Viresh Kumar
2016-10-27 13:12     ` Sudeep K N
2016-10-27 17:24     ` Kevin Hilman
2016-11-09 11:46     ` Viresh Kumar
2016-11-10 19:14       ` Kevin Hilman

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.