All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: Steven Scholz <steven.scholz@domain.hid>
Cc: Xenomai-core@domain.hid
Subject: Re: [Xenomai-core] xenomai preempting interrupt handler ?
Date: Thu, 08 Mar 2007 10:42:18 +0100	[thread overview]
Message-ID: <1173346938.17515.16.camel@domain.hid> (raw)
In-Reply-To: <45EFD796.7050002@domain.hid>

On Thu, 2007-03-08 at 10:29 +0100, Steven Scholz wrote:
> Hi all,
> 
> using an oscilloscope I found that the AT91RM9200 spends up to 300µs in the
> interrupt handler for ethernet controller.
> 
> Now I wonder if this interrupt handler will be preempted by Xenomai if there
> is a high priority, periodic real time task?

Hw interrupts are forcibly enabled before entering any Linux IRQ
handler, exactely to prevent the issue you described (e.g. fiddling with
an IDE controller in PIO mode also gives funky latency results unless
the latter is true), so the answer is yes.

>  Thus will the duration of the
> ethernet interrupt handler add the the worst case latency?
> 

Not from Linux IRQ handlers; you may want to check this using the
tracer. If hw interrupts are masked there, then it's a blatant bug.

> Thanks.
> 
-- 
Philippe.




  reply	other threads:[~2007-03-08  9:42 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-08  9:29 [Xenomai-core] xenomai preempting interrupt handler ? Steven Scholz
2007-03-08  9:42 ` Philippe Gerum [this message]
2007-03-08 10:08   ` Steven Scholz
2007-03-08 10:19     ` Philippe Gerum
2007-03-08 10:20       ` Steven Scholz
2007-03-08 10:28         ` Philippe Gerum
2007-03-08 11:49       ` Steven Scholz
2007-03-08 12:22         ` Philippe Gerum

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=1173346938.17515.16.camel@domain.hid \
    --to=rpm@xenomai.org \
    --cc=Xenomai-core@domain.hid \
    --cc=steven.scholz@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.