From: Daniel Lezcano <daniel.lezcano@linaro.org>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: patches@linaro.org, linaro-kernel@lists.linaro.org,
linux-pm@vger.kernel.org
Subject: Re: [PATCH] cpuidle: simplify multiple driver support
Date: Fri, 26 Apr 2013 14:13:48 +0200 [thread overview]
Message-ID: <517A6F7C.6080308@linaro.org> (raw)
In-Reply-To: <1903930.d1Bbd950lY@vostro.rjw.lan>
On 04/26/2013 02:07 PM, Rafael J. Wysocki wrote:
> On Friday, April 26, 2013 01:42:09 PM Daniel Lezcano wrote:
>> Commit bf4d1b5ddb78f86078ac6ae0415802d5f0c68f92 brought the multiple driver
>> support. The code added a couple of new API to register the driver per cpu.
>> That led to some code complexity to handle the kernel config options when
>> the multiple driver support is enabled or not, which is not really necessary.
>> The code has to be compatible when the multiple driver support is not enabled,
>> and the multiple driver support has to be compatible with the old api.
>>
>> This patch removes this API, which is not yet used by any driver but needed
>> for the HMP cpuidle drivers which will come soon, and replaces its usage
>> by a cpumask pointer in the cpuidle driver structure telling what cpus are
>> handled by the driver. That let the API cpuidle_[un]register_driver to be used
>> for the multipled driver support.
>>
>> The current code, a bit poor in comments, has been commented and simplified.
>>
>> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
> Honestly, I'd prefer that to go into 3.11. At this point I want things to
> stabilize rather than to stir up.
Yes, sure. That makes sense.
Thanks
-- Daniel
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
next prev parent reply other threads:[~2013-04-26 12:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-26 11:42 [PATCH] cpuidle: simplify multiple driver support Daniel Lezcano
2013-04-26 12:07 ` Rafael J. Wysocki
2013-04-26 12:13 ` Daniel Lezcano [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-05-14 13:21 Daniel Lezcano
2013-05-18 11:15 ` Francesco Lavra
2013-05-20 20:10 ` Daniel Lezcano
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=517A6F7C.6080308@linaro.org \
--to=daniel.lezcano@linaro.org \
--cc=linaro-kernel@lists.linaro.org \
--cc=linux-pm@vger.kernel.org \
--cc=patches@linaro.org \
--cc=rjw@sisk.pl \
/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 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.