From: Scott Wood <scottwood@freescale.com>
To: Leon Woestenberg <leon.woestenberg@gmail.com>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: High resolution timer support in 2.6.24+ for MPC831x?
Date: Thu, 14 Feb 2008 14:51:35 -0600 [thread overview]
Message-ID: <47B4A9D7.3030100@freescale.com> (raw)
In-Reply-To: <c384c5ea0802141226m630fcc11h60627cde75cb8b0e@mail.gmail.com>
Leon Woestenberg wrote:
> Hello all,
>
> although I can enable high res timers in 2.6.24, the item note says it
> does nothing if the platform does not have support for it.
>
> My platform is a MPC8313E-RDB, and I suspect no high res clock source
> implementation exists for it in 2.6.24, because
> clock_getres(CLOCK_REALTIME,) gives me 1/HZ.
>
> Is this correct and/or is anything in the works?
The timebase/decrementer can be used as a high clock source on virtually
all powerpc chips; I tried clock_getres(CLOCK_REALTIME) on an 8313erdb,
and I got 1 ns. Did you turn on CONFIG_HIGH_RES_TIMERS?
-Scott
next prev parent reply other threads:[~2008-02-14 20:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-14 20:26 High resolution timer support in 2.6.24+ for MPC831x? Leon Woestenberg
2008-02-14 20:51 ` Scott Wood [this message]
2008-02-15 20:49 ` Leon Woestenberg
2008-02-16 12:44 ` Leon Woestenberg
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=47B4A9D7.3030100@freescale.com \
--to=scottwood@freescale.com \
--cc=leon.woestenberg@gmail.com \
--cc=linuxppc-embedded@ozlabs.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 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.