All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Trimarchi <michael@domain.hid>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: Adeos <adeos-main@gna.org>, Michael Trimarchi <trimarchi@domain.hid>
Subject: Re: [Adeos-main] IMX25 timer access patch
Date: Fri, 20 Apr 2012 18:43:08 +0200	[thread overview]
Message-ID: <4F91921C.3010501@domain.hid> (raw)
In-Reply-To: <4F918C17.2090200@domain.hid>

On 04/20/2012 06:17 PM, Gilles Chanteperdrix wrote:
> On 04/20/2012 06:06 PM, Michael Trimarchi wrote:
>> During clock test it stuck for a while and then start again 
> 
> Have you read tip #4 in the "Tips and tricks" section of the porting
> I-pipe to ARM linux document?
> 

gettimeoffset?

> http://www.xenomai.org/index.php/I-pipe:ArmPorting#Tips_and_tricks.
> 

btw this is another potential bug... I will send as a separate patch

        if (timer_is_v1()) {
                tsc_info.u.counter_paddr = phys + MX1_2_TCN;
-               tsc_info.counter_vaddr =(unsigned long)(phys + MX1_2_TCN);
+               tsc_info.counter_vaddr = (unsigned long)(timer_base + MX1_2_TCN)
        } else {
                tsc_info.u.counter_paddr = phys + V2_TCN;
                tsc_info.counter_vaddr = (unsigned long)(timer_base + V2_TCN);

Michael


  reply	other threads:[~2012-04-20 16:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4F8FE2A9.8080303@domain.hid>
2012-04-19 10:10 ` [Xenomai-core] IMX25 timer access patch Gilles Chanteperdrix
2012-04-19 10:55 ` Gilles Chanteperdrix
     [not found]   ` <4F8FF141.1020805@domain.hid>
2012-04-19 11:12     ` Gilles Chanteperdrix
2012-04-20 15:07   ` [Adeos-main] " Michael Trimarchi
2012-04-20 15:32     ` Gilles Chanteperdrix
2012-04-20 16:06       ` Michael Trimarchi
2012-04-20 16:17         ` Gilles Chanteperdrix
2012-04-20 16:43           ` Michael Trimarchi [this message]
2012-04-20 16:45             ` Gilles Chanteperdrix
2012-04-20 17:07               ` Michael Trimarchi

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=4F91921C.3010501@domain.hid \
    --to=michael@domain.hid \
    --cc=adeos-main@gna.org \
    --cc=gilles.chanteperdrix@xenomai.org \
    --cc=trimarchi@domain.hid \
    /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.