All of lore.kernel.org
 help / color / mirror / Atom feed
From: Makarand Pradhan <makarandpradhan@ruggedcom.com>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: "xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: [Xenomai] Is CLOCK_HOST_REALTIME supported for powerpc?
Date: Thu, 28 Feb 2013 15:20:26 -0500	[thread overview]
Message-ID: <512FBC0A.9030008@ruggedcom.com> (raw)
In-Reply-To: <512F7043.20900@ruggedcom.com>

Hi,

I was able to backport the ipipe hostrt changes to get it working on 
Xenomai 2.6.0 on powerpc.

For those interested, the patch is attached to this email.

clocktest is working for CLOCK_HOST_REALTIME on powerpc, Xenomai 2.6.0, 
linux 3.0.0.

root@ruggedcom:~/xenotest# ./clocktest -C 42 -D
hostrt data area is live
Sequence counter : 14731352
wall_time_sec    : 946709712
wall_time_nsec   : 323671313
wall_to_monotonic
           tv_sec : -946702301
          tv_nsec : 7646973
cycle_last       : 495026354244
mask             : 0xffffffffffffffff
mult             : 62914561
shift            : 22

== Tested clock: 42 (CLOCK_HOST_REALTIME)
CPU      ToD offset [us] ToD drift [us/s]      warps max delta [us]
--- -------------------- ---------------- ---------- --------------
   0                  0.0            0.000          0            0.0

Thanks for all your help.

Warm Rgds,
Makarand.


> All old I-pipe patches should work with the latest version of xenomai,
> though as I said, whether CLOCK_HOST_REALTIME work probably depends more
> on the I-pipe patch.
>



-------------- next part --------------
A non-text attachment was scrubbed...
Name: hostrt_ipipe_xeno_2.6.0.diff
Type: text/x-diff
Size: 2488 bytes
Desc: not available
URL: <http://www.xenomai.org/pipermail/xenomai/attachments/20130228/2e3fbdf8/attachment.diff>

      parent reply	other threads:[~2013-02-28 20:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-27 22:43 [Xenomai] Is CLOCK_HOST_REALTIME supported for powerpc? Makarand Pradhan
2013-02-27 23:01 ` Gilles Chanteperdrix
2013-02-27 23:17   ` Makarand Pradhan
2013-02-28  5:21     ` Gilles Chanteperdrix
2013-02-28 14:57       ` Makarand Pradhan
2013-02-28 20:03         ` Gilles Chanteperdrix
2013-02-28 20:20         ` Makarand Pradhan [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=512FBC0A.9030008@ruggedcom.com \
    --to=makarandpradhan@ruggedcom.com \
    --cc=gilles.chanteperdrix@xenomai.org \
    --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.