All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Sebastian Smolorz <ssm@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] [PATCH] Don't call __ipipe_mach_set_dec in rthal_timer_release directly
Date: Wed, 15 Nov 2006 11:07:20 +0100	[thread overview]
Message-ID: <455AE6D8.8020008@domain.hid> (raw)
In-Reply-To: <E1GkGzN-0000BF-EJ@mailer.emlix.com>

Sebastian Smolorz wrote:
> Gilles Chanteperdrix wrote:
>>You can avoid this problem by adding LATCH or
>>__ipipe_mach_ticks_per_jiffy to the current value of the match register
>>in the timer interrupt, as it is done for the SA and PXA architectures.
> 
> 
> Unfortunately, this solution is not applicable. The timers of PXA and SA are 
> counting up whereas the S3C24xx timers are counting down to zero. There is no 
> match register for the next interrupt. In contrast, the timer must be 
> programmed with the new dec value directly, thus stopping it for the time of 
> re-programming.

Right, you are in the same case as the integrator platform.

-- 
                                                 Gilles Chanteperdrix


  reply	other threads:[~2006-11-15 10:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-13 14:16 [Xenomai-core] [PATCH] Don't call __ipipe_mach_set_dec in rthal_timer_release directly Sebastian Smolorz
2006-11-14 17:18 ` Gilles Chanteperdrix
2006-11-15  8:49   ` Sebastian Smolorz
2006-11-15  9:04     ` Gilles Chanteperdrix
2006-11-15  9:23       ` Sebastian Smolorz
2006-11-15 10:07         ` Gilles Chanteperdrix [this message]
2006-11-15 10:25           ` Sebastian Smolorz

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=455AE6D8.8020008@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=ssm@domain.hid \
    --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.