From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Hongfei Cheng <hongfei@mperpetuo.com>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] Ipipe-core patched kernel fails to start when certain platform drivers are enabled
Date: Thu, 30 Apr 2015 22:14:09 +0200 [thread overview]
Message-ID: <20150430201409.GA1993@hermes.click-hack.org> (raw)
In-Reply-To: <CAKC9m6cXp+ZQdZG2qCQA5+J2m0W-2hnLniL0wswfSu5aD32wwg@mail.gmail.com>
On Thu, Apr 30, 2015 at 01:04:07PM -0700, Hongfei Cheng wrote:
> On Thu, Apr 30, 2015 at 11:31 AM, Gilles Chanteperdrix
> <gilles.chanteperdrix@xenomai.org> wrote:
> > On Thu, Apr 30, 2015 at 08:53:10AM -0700, Hongfei Cheng wrote:
> >> 4). High resolution counter is not yet supported as we're exploring
> >> different way(s) to implement TSC.
> >
> > Note the implications here: if you say "all armv8 will use
> > architected timer", we can get away with a unique implementation. If
> > you want to use another timer, then we will have to implement kernel
> > helpers with a constant kernel/user ABI, so probably in the vdso.
> > All this for an improved accuracy that may well not be worth the
> > trouble.
>
> Currently we're not concerned about tsc accuracy.
>
> Could you elaborate a bit more on the "architected timer" and the
> possible implementation you envision on Cortex-A53/A57?
"architected timer" is the name of the timers available since cortex
A15 (on A7 also, I guess it allows big/little to run exactly the
same code on both cores), and I thought I had understood it was also
available on armv8. These timers are guaranteed to operate a long
period of time without wrapping (something like tens of years), so
they do not have a resolution as high as they could have (especially
since implementations use less than 32 bits of the higher 32 bits).
>
> Is the I-pipe tracer dependent upon a live/running tsc counter?
To get timestamped results yes. But you can probably run it with
stubs, the timing information will be unusable that is all. The
frequency can not be null though, so you can set something like 1
MHz and it should work.
--
Gilles.
next prev parent reply other threads:[~2015-04-30 20:14 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-30 15:53 [Xenomai] Ipipe-core patched kernel fails to start when certain platform drivers are enabled Hongfei Cheng
2015-04-30 16:17 ` Gilles Chanteperdrix
2015-04-30 18:12 ` Hongfei Cheng
2015-04-30 18:14 ` Gilles Chanteperdrix
2015-04-30 18:17 ` Hongfei Cheng
2015-04-30 18:31 ` Gilles Chanteperdrix
2015-04-30 20:04 ` Hongfei Cheng
2015-04-30 20:14 ` Gilles Chanteperdrix [this message]
2015-04-30 21:21 ` Lennart Sorensen
2015-04-30 21:27 ` Gilles Chanteperdrix
2015-05-01 13:45 ` Lennart Sorensen
2015-05-01 13:56 ` Gilles Chanteperdrix
2015-05-01 14:36 ` Lennart Sorensen
2015-05-01 14:44 ` Gilles Chanteperdrix
2015-05-01 15:33 ` Lennart Sorensen
2015-05-13 17:01 ` Lennart Sorensen
2015-05-13 17:33 ` Lennart Sorensen
2015-05-01 14:00 ` Gilles Chanteperdrix
2015-04-30 21:34 ` Gilles Chanteperdrix
2015-05-01 14:20 ` Lennart Sorensen
2015-05-01 14:30 ` Gilles Chanteperdrix
2015-05-01 15:11 ` Lennart Sorensen
2015-05-01 15:22 ` Gilles Chanteperdrix
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=20150430201409.GA1993@hermes.click-hack.org \
--to=gilles.chanteperdrix@xenomai.org \
--cc=hongfei@mperpetuo.com \
--cc=xenomai@xenomai.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.