Thread (29 messages) 29 messages, 11 authors, 2013-02-28
STALE4837d
Revisions (4)
  1. v1 [diff vs current]
  2. v1 [diff vs current]
  3. v1 current
  4. v1 [diff vs current]

[PATCH 1/9] ARM: PMU: Add runtime PM Support

From: Will Deacon <hidden>
Date: 2012-08-13 10:40:06

On Sat, Aug 11, 2012 at 04:09:51PM +0100, Ming Lei wrote:
On Sat, Aug 11, 2012 at 1:36 AM, Will Deacon [off-list ref] wrote:
quoted
+       pm_runtime_put_sync(&pmu_device->dev);
One question, each pmu is just inside one cpu core and should be
suspended individually, but looks the above don't support it, do it?
I'll let Jon elaborate, but I'm not sure that suspending the individual PMUs
makes much sense if one of them is being used (other than taking the whole
CPU offline). Given that tasks can migrate and perf-events can be across
multiple CPUs, it makes it a lot easier to treat them as a single entity. It
also allows us to implement mutual exclusion using the same hooks and to
manage any common IP (e.g. CTI) at the same time, without having to keep
track of things like the last man standing.

So, unless Jon has some ideas here, it's not something that I consider to be
a real problem.

Will
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help