mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Magnus Damm" <magnus.damm@gmail.com>
To: "Andrew Morton" <akpm@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org, johnstul@us.ibm.com,
	lethal@linux-sh.org, tglx@linutronix.de, mingo@redhat.com
Subject: Re: [PATCH] clocksource: add enable() and disable() callbacks
Date: Fri, 12 Dec 2008 12:34:50 +0900	[thread overview]
Message-ID: <aec7e5c30812111934w50b263e0pe35c1152963fed61@mail.gmail.com> (raw)
In-Reply-To: <20081211190821.9f4b5a5c.akpm@linux-foundation.org>

On Fri, Dec 12, 2008 at 12:08 PM, Andrew Morton
<akpm@linux-foundation.org> wrote:
> On Thu, 11 Dec 2008 20:49:09 +0900 Magnus Damm <magnus.damm@gmail.com> wrote:
>
>> From: Magnus Damm <damm@igel.co.jp>
>>
>> Add enable() and disable() callbacks for clocksources. This allows
>> us to put unused clocksources in power save mode. The functions
>> clocksource_enable() and clocksource_disable() wrap the callbacks
>> and are inserted in the timekeeping code to enable before use and
>> disable after switching to a new clocksource.
>>
>> Signed-off-by: Magnus Damm <damm@igel.co.jp>
>> Acked-by: John Stultz <johnstul@us.ibm.com>
>> ---
>>
>>  Same as before, but applies on top of the new read() patch.
>
> I asusme we'll be seeing some patches which _use_ these changes?

I've send a few iterations of my SuperH CMT timer patches to the
linux-sh list, but I'd be happy to post next version to lkml instead
if you prefer that!

The CMT driver also needs the following patches:

[PATCH] clocksource: pass clocksource to read() callback
[PATCH][RFC] early platform driver support

Any comments on the early platform driver code?

Thanks,

/ magnus

  reply	other threads:[~2008-12-12  3:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-11 11:49 Magnus Damm
2008-12-12  3:08 ` Andrew Morton
2008-12-12  3:34   ` Magnus Damm [this message]
2008-12-12  6:36 ` Ingo Molnar
2008-12-12  7:18   ` Magnus Damm

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=aec7e5c30812111934w50b263e0pe35c1152963fed61@mail.gmail.com \
    --to=magnus.damm@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=johnstul@us.ibm.com \
    --cc=lethal@linux-sh.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=tglx@linutronix.de \
    /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®