All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Romain Naour <romain.naour@openwide.fr>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] Xenomai 2.6.2 user-space compilation error on ARM < armv6
Date: Thu, 03 Jan 2013 21:12:04 +0100	[thread overview]
Message-ID: <50E5E614.8020802@xenomai.org> (raw)
In-Reply-To: <50E4C4E3.2070909@openwide.fr>

On 01/03/2013 12:38 AM, Romain Naour wrote:

> Hi Gilles,
> 
> I did a test today with your previous patch, it works correctly.
> However the following patch is required since the new ipipe-core.
> 
> Signed-off-by: Naour Romain <romain.naour@openwide.fr>
> ---
> 
> We need a minimal reload value for s3c2410_itimer, otherwise the hardware timer stops.
> 
>  arch/arm/plat-samsung/time.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/arm/plat-samsung/time.c b/arch/arm/plat-samsung/time.c
> index 8d14b85..97fbdc5 100644
> --- a/arch/arm/plat-samsung/time.c
> +++ b/arch/arm/plat-samsung/time.c
> @@ -364,6 +364,8 @@ static void s3c2410_timer_setup (void)
>  
>  #ifdef CONFIG_IPIPE
>  	s3c2410_itimer.freq = tcnt * HZ;
> +	/* hardware timer can't be reloaded below 120ns */
> +	s3c2410_itimer.min_delay_ticks = ipipe_timer_ns2ticks(&s3c2410_itimer, 120);
>  	ipipe_timer_register(&s3c2410_itimer);
>  #endif /* CONFIG_IPIPE */
>  }


Merged, thanks.

-- 
                                                                Gilles.


      reply	other threads:[~2013-01-03 20:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-30 15:51 [Xenomai] Xenomai 2.6.2 user-space compilation error on ARM < armv6 Romain Naour
2012-12-30 16:56 ` Gilles Chanteperdrix
2012-12-30 22:15 ` Gilles Chanteperdrix
2012-12-31 11:30   ` Romain Naour
2013-01-02 23:38     ` Romain Naour
2013-01-03 20:12       ` 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=50E5E614.8020802@xenomai.org \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=romain.naour@openwide.fr \
    --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.