From: "Rafael J. Wysocki" <rjw@rjwysocki.net>
To: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Stephen Warren <swarren@nvidia.com>,
Kukjin Kim <kgene@kernel.org>,
Amit Daniel Kachhap <amit.daniel@samsung.com>,
Sachin Kamat <sachin.kamat@linaro.org>,
Lists linaro-kernel <linaro-kernel@lists.linaro.org>,
Patch Tracking <patches@linaro.org>,
"cpufreq@vger.kernel.org" <cpufreq@vger.kernel.org>,
"linux-pm@vger.kernel.org" <linux-pm@vger.kernel.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Lan Tianyu <tianyu.lan@intel.com>, Nishanth Menon <nm@ti.com>,
jinchoi@broadcom.com,
Sebastian Capella <sebastian.capella@linaro.org>
Subject: Re: [PATCH V2 2/2] cpufreq: Change freq before suspending governors
Date: Fri, 22 Nov 2013 14:25:59 +0100 [thread overview]
Message-ID: <4592811.7DNNYfo4cW@vostro.rjw.lan> (raw)
In-Reply-To: <CAKohpo=RWi1nRUJq4qx8K+Y7swMDaqwEOH24-KfBCMgdbW=hMQ@mail.gmail.com>
On Friday, November 22, 2013 06:22:52 PM Viresh Kumar wrote:
> On 22 November 2013 18:07, Rafael J. Wysocki <rjw@rjwysocki.net> wrote:
> > On Friday, November 22, 2013 04:59:49 PM Viresh Kumar wrote:
> >> Some platforms might want to change frequency before suspending governors. Like:
> >> - Some platform which want to set freq to max to speed up suspend/hibernation
> >> process.
> >> - Some platform (like: Tegra or exynos), set this to min or bootloader's
> >> frequency.
> >>
> >> This patch adds an option for those, so that they can specify this at call to
> >> ->init(), so that cpufreq core can take care of this before suspending system.
> >>
> >> If this variable is not updated by ->init() then its value would be zero and so
> >> core wouldn't do anything.
> >>
> >> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
> >
> > I don't think this is generally necessary, because the suspend/resume routines
> > added by patch [1/2] will be executed very late during suspend or very early
> > during resume and it shouldn't really matter what performance levels the CPUs
> > are at then.
>
> There are few things here:
> - I feel that the current place from where we have suspended stuff is not gonna
> fly. We are doing that in noirq and probably devices which might be required
> during frequency transitions might already be down.. So we *may* need to
> move that in dpm_suspend()..
That would be a much more intrusive change. Definitely not 3.13 material
at this point.
Thanks!
--
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
next prev parent reply other threads:[~2013-11-22 13:13 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-22 11:29 [PATCH V2 0/2] cpufreq: suspend governors during s2r/hibernation Viresh Kumar
2013-11-22 11:29 ` [PATCH V2 1/2] cpufreq: suspend governors on system suspend/hibernate Viresh Kumar
2013-11-22 12:33 ` Rafael J. Wysocki
2013-11-22 12:48 ` Viresh Kumar
2013-11-25 21:30 ` Nishanth Menon
2013-11-26 2:16 ` Viresh Kumar
2013-11-26 19:39 ` Pavel Machek
2013-11-26 20:18 ` Rafael J. Wysocki
2013-11-27 2:56 ` Viresh Kumar
2013-11-27 14:26 ` Rafael J. Wysocki
2013-11-22 11:29 ` [PATCH V2 2/2] cpufreq: Change freq before suspending governors Viresh Kumar
2013-11-22 12:37 ` Rafael J. Wysocki
2013-11-22 12:52 ` Viresh Kumar
2013-11-22 13:25 ` Rafael J. Wysocki [this message]
2013-11-22 13:14 ` Viresh Kumar
2013-11-22 19:39 ` Stephen Warren
2013-11-24 21:32 ` Rafael J. Wysocki
2013-11-25 4:28 ` Viresh Kumar
2013-11-25 10:14 ` Viresh Kumar
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=4592811.7DNNYfo4cW@vostro.rjw.lan \
--to=rjw@rjwysocki.net \
--cc=amit.daniel@samsung.com \
--cc=cpufreq@vger.kernel.org \
--cc=jinchoi@broadcom.com \
--cc=kgene@kernel.org \
--cc=linaro-kernel@lists.linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=nm@ti.com \
--cc=patches@linaro.org \
--cc=sachin.kamat@linaro.org \
--cc=sebastian.capella@linaro.org \
--cc=swarren@nvidia.com \
--cc=tianyu.lan@intel.com \
--cc=viresh.kumar@linaro.org \
/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
all inboxes | Powered by JetHome®