From: tony@atomide.com
To: David Brownell <david-b@pacbell.net>
Cc: linux-omap-open-source@linux.omap.com
Subject: Re: [RFC] [PATCH] ARM: OMAP1: Add clocksource driver for OMAP1
Date: Thu, 30 Nov 2006 14:12:42 -0800 [thread overview]
Message-ID: <20061130221241.GB7762@atomide.com> (raw)
In-Reply-To: <200611301330.04176.david-b@pacbell.net>
* David Brownell <david-b@pacbell.net> [061130 13:30]:
> On Thursday 30 November 2006 11:57 am, Woodruff, Richard wrote:
>
> > That code uses two timers to account for isr latency and to provide
> > accurate timestamps. One timer is periodic and the other is free
> > running. The 2nd is used as a relative reference. Along with being used
> > as a reference the 2nd free runner uses its current value and its roll
> > over interrupt to sum/calculate the number of ns the system has been up.
> > This enables sched_clock to be enabled with accuracy (vs. just
> > multiplying times jiffies).
> >
> > The single timer method does not do either of these. The code was
> > reasonably clear, I also sent in a path long ago to enable this. Is
> > there some aspect of this which I mis-understood?
>
> If you did, I had the same mis-understanding. Ergo the patch(es) I've
> sent.
>
> I don't think the roll-over IRQ is significant in the new clock framework,
> but I do think that the second MPU timer is important if there's a chance
> of lost timer IRQs ... probably negligible at HZ=100, less so when the option
> of HZ=1000 is configured.
>
> Plus, ISTR that the upcoming generic dyntick support will need to reprogram
> the periodic IRQ, just like the current OMAP-specific code using timer32k.
Yeah, with the upcoming timer code time is updated from a freely running
timer, so time should be always as accurate as the hardware timer.
Regards,
Tony
next prev parent reply other threads:[~2006-11-30 22:12 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-07 15:32 [RFC] [PATCH] ARM: OMAP1: Add clocksource driver for OMAP1 Dirk Behme
[not found] ` <4550CA9E.6090500@mvista.com>
2006-11-08 16:44 ` Dirk Behme
2006-11-10 0:29 ` Tony Lindgren
2006-11-10 0:48 ` Kevin Hilman
2006-11-10 0:53 ` Tony Lindgren
2006-11-30 19:57 ` Woodruff, Richard
2006-11-30 21:30 ` David Brownell
2006-11-30 21:49 ` Woodruff, Richard
2006-11-30 22:32 ` David Brownell
2006-11-30 22:57 ` Woodruff, Richard
2006-11-30 22:12 ` tony [this message]
2006-11-30 21:59 ` tony
2006-11-30 22:24 ` Woodruff, Richard
2006-11-30 22:37 ` tony
2006-11-30 17:55 ` Dirk Behme
2006-11-30 17:50 ` Daniel Walker
2006-12-01 16:12 ` Dirk Behme
2006-12-02 3:21 ` Daniel Walker
2006-12-02 6:11 ` Dirk Behme
2006-12-02 6:54 ` Daniel Walker
2006-12-02 7:06 ` Dirk Behme
2006-12-02 7:18 ` Daniel Walker
2006-12-04 23:34 ` Kevin Hilman
2006-11-30 19:14 ` David Brownell
2006-11-30 20:33 ` Dirk Behme
2006-11-30 21:22 ` [RFC] [PATCH] ARM: Add clocksource driver for OMAP1 and OMAP2 David Brownell
2006-12-01 18:21 ` Dirk Behme
2006-12-01 19:03 ` David Brownell
2006-12-01 22:13 ` Tony Lindgren
2006-12-03 2:58 ` David Brownell
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=20061130221241.GB7762@atomide.com \
--to=tony@atomide.com \
--cc=david-b@pacbell.net \
--cc=linux-omap-open-source@linux.omap.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