public inbox for linux-sh@vger.kernel.org
 help / color / mirror / Atom feed
From: Paul Mundt <lethal@linux-sh.org>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH] clocksource: improve sh_cmt clocksource overflow handling
Date: Tue, 28 Apr 2009 09:14:28 +0000	[thread overview]
Message-ID: <20090428091427.GA23203@linux-sh.org> (raw)
In-Reply-To: <20090428081754.16592.85760.sendpatchset@rx1.opensource.se>

On Tue, Apr 28, 2009 at 05:17:54PM +0900, Magnus Damm wrote:
> This patch improves the sh_cmt clocksource handling.
> 
> Currently the counter value is ignored in the case of
> overflow. With this patch the overflow flag is read
> before and after reading the counter, removing any
> counter value and overflow flag mismatch issues.

On Tue, Apr 28, 2009 at 05:19:50PM +0900, Magnus Damm wrote:
> This patch moves the SuperH timer setup code from time_init()
> to late_time_init(). Good things about this change:
>  - interrupts: they are enabled at late_time_init()
>  - mm: regular kmalloc() can be used at late_time_init()
> 
> Together with moving to late_time_init() this patch changes
> the sh_cmt driver to always allocate with kmalloc(). This
> simplifies the code a bit and also fixes section mismatches.

Applied to the sh-2.6.31 queue.

      reply	other threads:[~2009-04-28  9:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-28  8:17 [PATCH] clocksource: improve sh_cmt clocksource overflow handling Magnus Damm
2009-04-28  9:14 ` Paul Mundt [this message]

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=20090428091427.GA23203@linux-sh.org \
    --to=lethal@linux-sh.org \
    --cc=linux-sh@vger.kernel.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