All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Jean-Pascal JULIEN <jean-pascal.julien@insiteo.com>
Cc: "xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: [Xenomai] RE : A possible mis-interaction between CONFIG_PREEMPT and GPIO IRQ handling for ARM, leading to extreme latency
Date: Tue, 22 May 2012 10:51:31 +0200	[thread overview]
Message-ID: <4FBB5393.5040003@xenomai.org> (raw)
In-Reply-To: <C7408997F5B0784C970ED53C11855FAE01111233915D@INSITEOSBS01.insiteo.local>

On 05/22/2012 10:34 AM, Jean-Pascal JULIEN wrote:
> Hi,
> 
> I have patch with the http://git.xenomai.org/?p=ipipe-gch.git;a=commit;h=81bfc05c4716b76e79f5e486baf4c52015a3b92c. for avoid my IRQ latency.
> Unfortunately, I have the same result. 
> 
> Between the new patch and the patch of the next week this piece of code is missing.
> @@ -483,7 +483,8 @@ void __ipipe_handle_irq(int irq, struct pt_regs *regs)
>         else {
>                 head = __ipipe_pipeline.next;
>                 next_domain = list_entry(head, struct ipipe_domain, p_link);
> -               if (likely(test_bit(IPIPE_WIRED_FLAG, &next_domain->irqs[irq].control))) {
> +               if (!(flags & IPIPE_IRQF_NOSYNC)
> +                   && likely(test_bit(IPIPE_WIRED_FLAG, &next_domain->irqs[irq].control))) {
>                         if (!m_ack && next_domain->irqs[irq].acknowledge) {
>                                 desc = ipipe_virtual_irq_p(irq) ? NULL : irq_to_desc(irq);
>                                 next_domain->irqs[irq].acknowledge(irq, desc);
> 
> It is normally?

Yes, as I explained in the two mails you are replying to, you should try
the patch I posted.


-- 
					    Gilles.


  reply	other threads:[~2012-05-22  8:51 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-22  0:31 [Xenomai] A possible mis-interaction between CONFIG_PREEMPT and GPIO IRQ handling for ARM, leading to extreme latency Mitchell Tasman
2012-05-22  7:40 ` Gilles Chanteperdrix
2012-05-22  8:07 ` Gilles Chanteperdrix
2012-05-22  8:34   ` [Xenomai] RE : " Jean-Pascal JULIEN
2012-05-22  8:51     ` Gilles Chanteperdrix [this message]
2012-05-22 11:52       ` [Xenomai] RE : " Jean-Pascal JULIEN
2012-05-22 12:38         ` Gilles Chanteperdrix
2012-05-22 13:23           ` [Xenomai] RE : " Jean-Pascal JULIEN
2012-05-22 13:33             ` Gilles Chanteperdrix
2012-05-22 21:22   ` [Xenomai] " Mitchell Tasman
2012-05-22 21:30     ` Gilles Chanteperdrix
2012-05-25  9:18       ` Mitchell Tasman
2012-05-25 12:20         ` Gilles Chanteperdrix
2012-05-29  7:20           ` Mitchell Tasman
2012-05-29  8:06             ` Gilles Chanteperdrix
2012-05-29  8:52               ` Mitchell Tasman
2012-06-07  7:44           ` Eric Eric
2012-06-07  8:21             ` Gilles Chanteperdrix
2012-06-07  8:34             ` Gilles Chanteperdrix

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=4FBB5393.5040003@xenomai.org \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=jean-pascal.julien@insiteo.com \
    --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.