From: Kevin Hilman <khilman@ti.com>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Linux PM list <linux-pm@vger.kernel.org>,
Linux MMC list <linux-mmc@vger.kernel.org>,
Guennadi Liakhovetski <g.liakhovetski@gmx.de>,
Chris Ball <cjb@laptop.org>,
Ulf Hansson <ulf.hansson@stericsson.com>,
Magnus Damm <magnus.damm@gmail.com>,
Linus Walleij <linus.walleij@linaro.org>,
Adrian Hunter <adrian.hunter@intel.com>,
Mark Brown <broonie@opensource.wolfsonmicro.com>
Subject: Re: [PATCH 1/3] PM / QoS: Make it possible to expose PM QoS latency constraints
Date: Thu, 08 Mar 2012 15:18:31 -0800 [thread overview]
Message-ID: <87zkbq8ywo.fsf@ti.com> (raw)
In-Reply-To: <201203082337.23821.rjw@sisk.pl> (Rafael J. Wysocki's message of "Thu, 8 Mar 2012 23:37:23 +0100")
"Rafael J. Wysocki" <rjw@sisk.pl> writes:
> On Thursday, March 08, 2012, Kevin Hilman wrote:
>> "Rafael J. Wysocki" <rjw@sisk.pl> writes:
>>
>> > On Thursday, March 08, 2012, Kevin Hilman wrote:
>> >> "Rafael J. Wysocki" <rjw@sisk.pl> writes:
>> >>
>> >> > From: Rafael J. Wysocki <rjw@sisk.pl>
>> >> >
>> >> > A runtime suspend of a device (e.g. an MMC controller) belonging to
>> >> > a power domain or, in a more complicated scenario, a runtime suspend
>> >> > of another device in the same power domain, may cause power to be
>> >> > removed from the entire domain. In that case, the amount of time
>> >> > necessary to runtime-resume the given device (e.g. the MMC
>> >> > controller) is often substantially greater than the time needed to
>> >> > run its driver's runtime resume callback. That may hurt performance
>> >> > in some situations, because user data may need to wait for the
>> >> > device to become operational, so we should make it possible to
>> >> > prevent that from happening.
>> >> >
>> >> > For this reason, introduce a new sysfs attribute for devices,
>> >> > power/pm_qos_latency_us, allowing user space to specify the upper
>> >>
>> >> If we're expecting to have more of these knobs, maybe having a pm_qos
>> >> subdir under power will keep down the clutter in /sys/devices/.../power.
>> >> This knob would then be /sys/devices/.../power/pm_qos/pm_qos_latency_us.
>> >
>> > I'm not sure how difficult it is to create a subdir in sysfs under something
>> > that is not a kobject.
>> >
>> > Besides, this follows the convention already used by wakeup and runtime PM
>> > attributes that don't have their own subdirs (although there may be a number
>> > of them in each category).
>>
>> OK
>>
>> >> I think 'latency' alone is a bit too vague (wakeup latency? interrupt
>> >> latency? I think wakeup latency is clearer. Another possibility is
>> >> resume latency, IMO, that will lead to confusion about whether this
>> >> field also affects system suspend/resume.
>> >
>> > I think "wakeup latency" will lead to more confusion because of the
>> > wakeup-related attributes.
>>
>> What confusion? All of those are related to device wakeups from some
>> low power state, and so is this proposed latency attribute. So I don't
>> understand the potential confusion.
>
> The word "wakeup" may refer to many different things, as well as the word
> "resume". :-)
Yes, but what's the confusion in this case?
IMO, The existing /sys/devices/.../power/wakeup* meaning is the same
meaning as as for the wakeup latency in this patch, so I don't
understand where the confusion would be.
Kevin
next prev parent reply other threads:[~2012-03-08 23:18 UTC|newest]
Thread overview: 61+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-04 0:01 [PATCH 0/3] MMC / PM: Make it possible to use PM QoS latency constraints Rafael J. Wysocki
2012-03-04 0:02 ` [PATCH 1/3] " Rafael J. Wysocki
2012-03-04 10:59 ` Linus Walleij
2012-03-04 19:47 ` Rafael J. Wysocki
2012-03-04 0:04 ` [PATCH 2/3] tmio_mmc / PM: Use PM QoS requests Rafael J. Wysocki
2012-03-04 0:04 ` [PATCH 3/3] sh_mmcif " Rafael J. Wysocki
2012-03-04 19:53 ` [PATCH 0/3] MMC / PM: Make it possible to use PM QoS latency constraints Rafael J. Wysocki
2012-03-04 19:55 ` [PATCH 1/3] MMC / PM: Make it possible to use PM QoS latency constraints, v2 Rafael J. Wysocki
2012-03-05 7:02 ` Linus Walleij
2012-03-06 9:34 ` Guennadi Liakhovetski
2012-03-06 21:06 ` Rafael J. Wysocki
2012-03-04 19:56 ` [PATCH 2/3] tmio_mmc / PM: Use PM QoS requests, v2 Rafael J. Wysocki
2012-03-06 9:40 ` Guennadi Liakhovetski
2012-03-06 21:07 ` Rafael J. Wysocki
2012-03-06 22:33 ` Guennadi Liakhovetski
2012-03-06 23:41 ` Rafael J. Wysocki
2012-03-04 19:56 ` [PATCH 3/3] sh_mmcif " Rafael J. Wysocki
2012-03-06 9:40 ` Guennadi Liakhovetski
2012-03-06 21:09 ` Rafael J. Wysocki
2012-03-07 23:27 ` [PATCH 0/3] PM: Make it possible to expose PM QoS latency constraints Rafael J. Wysocki
2012-03-07 23:28 ` [PATCH 1/3] PM / QoS: " Rafael J. Wysocki
2012-03-08 17:49 ` Kevin Hilman
2012-03-08 18:01 ` Mark Brown
2012-03-08 21:28 ` Rafael J. Wysocki
2012-03-08 21:23 ` Guennadi Liakhovetski
2012-03-08 21:27 ` Rafael J. Wysocki
2012-03-08 22:05 ` Kevin Hilman
2012-03-08 22:37 ` Rafael J. Wysocki
2012-03-08 23:18 ` Kevin Hilman [this message]
2012-03-08 23:30 ` Rafael J. Wysocki
2012-03-09 1:02 ` Kevin Hilman
2012-03-09 15:17 ` Alan Stern
2012-03-09 17:10 ` Kevin Hilman
2012-03-09 20:59 ` Rafael J. Wysocki
2012-03-09 21:34 ` Kevin Hilman
2012-03-07 23:29 ` [PATCH 2/3] tmio_mmc / PM: Use PM QoS latency constraint Rafael J. Wysocki
2012-03-08 8:02 ` Adrian Hunter
2012-03-08 21:29 ` Rafael J. Wysocki
2012-03-07 23:30 ` [PATCH 3/3] sh_mmcif " Rafael J. Wysocki
2012-03-08 11:03 ` Mark Brown
2012-03-08 21:29 ` Rafael J. Wysocki
2012-03-08 23:00 ` [Update][PATCH 0/3] PM: Make it possible to expose PM QoS latency constraints Rafael J. Wysocki
2012-03-08 23:01 ` [Update][PATCH 1/3] PM / QoS: " Rafael J. Wysocki
2012-03-12 19:32 ` Linus Walleij
2012-03-13 0:02 ` Rafael J. Wysocki
2012-03-08 23:03 ` [Update][PATCH 2/3] tmio_mmc / PM: Use PM QoS latency constraint Rafael J. Wysocki
2012-03-08 23:03 ` [Update][PATCH 3/3] sh_mmcif " Rafael J. Wysocki
2012-03-10 21:14 ` [Update][PATCH 0/3] PM: Make it possible to expose PM QoS latency constraints Rafael J. Wysocki
2012-03-06 10:30 ` [PATCH 0/3] MMC / PM: Make it possible to use " Adrian Hunter
2012-03-06 13:39 ` Guennadi Liakhovetski
2012-03-06 21:14 ` Rafael J. Wysocki
2012-03-07 8:31 ` Adrian Hunter
2012-03-07 9:05 ` Rafael J. Wysocki
2012-03-07 19:38 ` Mark Brown
2012-03-07 20:38 ` Kevin Hilman
2012-03-07 20:51 ` Rafael J. Wysocki
2012-03-07 20:54 ` Mark Brown
2012-03-07 21:31 ` Rafael J. Wysocki
2012-03-06 21:47 ` Rafael J. Wysocki
2012-03-07 7:06 ` Adrian Hunter
2012-03-07 9:05 ` Rafael J. Wysocki
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=87zkbq8ywo.fsf@ti.com \
--to=khilman@ti.com \
--cc=adrian.hunter@intel.com \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=cjb@laptop.org \
--cc=g.liakhovetski@gmx.de \
--cc=linus.walleij@linaro.org \
--cc=linux-mmc@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=magnus.damm@gmail.com \
--cc=rjw@sisk.pl \
--cc=ulf.hansson@stericsson.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;
as well as URLs for NNTP newsgroup(s).