From: Bryan Huntsman <bryanh@codeaurora.org>
To: Mike Chan <mike@android.com>
Cc: linux-pm@lists.linux-foundation.org,
mark gross <640e9920@gmail.com>,
markgross@thegnar.org
Subject: Re: PM QoS dynamic resource manager
Date: Tue, 08 Jun 2010 16:48:27 -0700 [thread overview]
Message-ID: <4C0ED6CB.4050709@codeaurora.org> (raw)
In-Reply-To: <AANLkTimK_RwRZHcEIxSshovgQLM6SBo2kLVoxWoEFFjx@mail.gmail.com>
>> Mike, one idea I'm exploring is having platform-specific busses with QoS
>> constraints specified via runtime_pm as part of the LDM. Adding dynamic
>> class creation within pm_qos, or a type enum as you suggest, would work.
>> However, I think this kind of behavior would fit nicely within runtime_pm.
>>
>
> I'm not too familiar with the current work in runtime pm and LDM.
> However platform specific buses sounds like a good thing, at least
> more future proof. This works in the embedded SOC world but I'm
> wondering what happens when you have re-configurable hardware and now
> your same peripheral is sourcing a different bus?
My current thought is to have the board file enumerate the device on the
proper bus. This configuration is target-specific. Each driver would
register on as many buses as it needs to. Some of the driver/bus
registrations would be extraneous but the driver/device binding would
only be possible on one bus.
> Does runtime pm hook into pm qos similar to how cpuidle uses pm qos?
> So the platform-specific buses would be aa pm rumtime or a pm qos
> addition?
>
> -- Mike
Not to my knowledge. I'm considering modeling the runtime_pm
enhancements after pm_qos. Meaning, there would be additional
add/update/remove_requirements() callbacks added to struct dev_pm_ops
for runtime_pm. Instead of having a system-wide QoS sink per QoS class,
the requirements would be passed up the LDM tree. This way, a bus
driver would be able to receive QoS constraints from all of it's devices
and, combined with the active state of it's children from runtime_pm, be
able to do some useful power management. The entire bus could be
throttled or idled in this manner. This scheme would require the SW
device topology to match the HW topology and not just have everything
hang off the platform bus.
- Bryan
next prev parent reply other threads:[~2010-06-08 23:48 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-21 21:37 PM QoS dynamic resource manager Chidambaram, Praveen
2010-05-25 14:52 ` mark gross
2010-05-25 16:19 ` Chidambaram, Praveen
2010-06-08 0:18 ` Mike Chan
2010-06-08 3:33 ` mark gross
2010-06-08 14:44 ` Chidambaram, Praveen
2010-06-09 2:55 ` mark gross
2010-06-08 18:58 ` Mike Chan
2010-06-08 23:03 ` Bryan Huntsman
2010-06-08 23:35 ` Mike Chan
2010-06-08 23:48 ` Bryan Huntsman [this message]
2010-06-09 3:05 ` mark gross
2010-06-10 0:53 ` Mike Chan
2010-06-10 1:22 ` Bryan Huntsman
2010-06-11 13:55 ` mark gross
2010-06-11 14:12 ` Kevin Hilman
2010-06-17 22:32 ` Kevin Hilman
2010-06-18 5:57 ` Huntsman, Bryan
2010-06-22 23:34 ` mark gross
2010-07-18 12:57 ` mark gross
2010-07-18 15:03 ` James Bottomley
2010-07-19 1:46 ` Rafael J. Wysocki
2010-07-19 6:38 ` James Bottomley
2010-07-19 13:50 ` Matthew Garrett
2010-08-10 16:24 ` Kevin Hilman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C0ED6CB.4050709@codeaurora.org \
--to=bryanh@codeaurora.org \
--cc=640e9920@gmail.com \
--cc=linux-pm@lists.linux-foundation.org \
--cc=markgross@thegnar.org \
--cc=mike@android.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox