All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Sergey Didenko <didenkos@domain.hid>
Subject: Re: [Xenomai-help] Patch to support ARM_MV
Date: Sun, 22 Nov 2009 18:06:42 +0100	[thread overview]
Message-ID: <4B096FA2.1000600@domain.hid> (raw)
In-Reply-To: <1f3e02580911182130v4872251eic97a99cf81a449e2@domain.hid>

Sergey Didenko wrote:
>> In __ipipe_mach_demux_irq, you must call ipipe_handle_irq, not
>> desc_handle_irq.
> 
> 
> I hope you mean __ipipe_handle_irq

Yes.

> 
> ipipe_mach_get_tscinfo also needs fixing (type should be
>> IPIPE_TSC_TYPE_FREERUNNING_COUNTDOWN,
> 
> 
> file ipipe.h (arch\arm\include\asm) has next defines
> 
> #define IPIPE_TSC_TYPE_NONE       0
> #define IPIPE_TSC_TYPE_FREERUNNING 1
> #define IPIPE_TSC_TYPE_DECREMENTER 2
> 
> you mean i have to use IPIPE_TSC_TYPE_DECREMENTER or I have to define
> IPIPE_TSC_TYPE_FREERUNNING_COUNTDOWN as 3 and use it?

Yes, please do that.

> 
> 
>> and counter should be set to timer0's physical address, not virtual address
> 
> Ok, for my board it is same...naming problem

That is a bit surprising, did you test the user-space tsc emulation?



-- 
					    Gilles.



      parent reply	other threads:[~2009-11-22 17:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-17  2:27 [Xenomai-help] Patch to support ARM_MV Sergey Didenko
2009-11-17  8:52 ` Gilles Chanteperdrix
2009-11-19  5:31   ` Sergey Didenko
     [not found]   ` <1f3e02580911182130v4872251eic97a99cf81a449e2@domain.hid>
2009-11-22 17:06     ` Gilles Chanteperdrix [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=4B096FA2.1000600@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=didenkos@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.