From: Michael Neuhauser <mike@domain.hid>
To: adeos-main@gna.org
Subject: Re: [Adeos-main] End of interrupt scheduling
Date: Fri, 10 Dec 2004 14:52:29 +0100 [thread overview]
Message-ID: <1102686747.13152.134.camel@domain.hid> (raw)
In-Reply-To: <41B9A304.6060101@domain.hid>
On Fri, 2004-12-10 at 14:22, Andre Tousch wrote:
> Hi,
> thanks for your reply.
I hope you don't mind when we continue this on the mailing list, other
people might also be interested in it or have something to say on these
matters.
> [...]
>
> >Maybe I'm overlooking something, but why don't you unstall the pipeline
> >in your interrupt handler?
>
> Adeos stalls the domain before calling its interrupt handler, and
> unstalls the domain after the handler returns.
> This prevents reentrance on the interrupt handler.
> If I unstall the pipeline, I make the handler reentrant, while Adeos
> assumes it is not.
As far as I know, Adeos does not make such an assumption. Take for
instance the Linux timer interrupt. It has SA_INTERRUPT set, therefore
arch/arm/kernel/irq.c:__do_irq() enables interrupts with
local_irq_enable() before calling the real handler. With Adeos this
translates to a pipe unstall inside an irq-handler. This allows *other*
interrupts to occur while the timer irq handler is running. Another
timer interrupt can't happen while the old one is handled: the timer-irq
will be unmasked *after* the handler has finished (see
arch/arm/kernel/irq.c:do_IRQ()).
Mike
--
Dr. Michael Neuhauser phone: +43 1 789 08 49 - 30
Firmix Software GmbH fax: +43 1 789 08 49 - 55
Vienna/Austria/Europe email: mike@domain.hid
Embedded Linux Development and Services http://www.firmix.at/
next prev parent reply other threads:[~2004-12-10 13:52 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-04 9:28 [Adeos-main] Signalling virtual interrupts to higher priority domains Neugebauer Manfred
2004-10-12 20:59 ` Philippe Gerum
2004-10-19 13:10 ` [Adeos-main] __adeos_handle_event André Tousch
2004-10-19 14:37 ` Philippe Gerum
2004-10-19 14:43 ` Philippe Gerum
2004-12-10 10:05 ` [Adeos-main] End of interrupt scheduling Andre Tousch
2004-12-10 12:36 ` Michael Neuhauser
[not found] ` <41B9A304.6060101@domain.hid>
2004-12-10 13:52 ` Michael Neuhauser [this message]
2004-12-11 23:40 ` Philippe Gerum
2004-12-11 23:33 ` 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=1102686747.13152.134.camel@domain.hid \
--to=mike@domain.hid \
--cc=adeos-main@gna.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.