From: Russell King <rmk+lkml@arm.linux.org.uk>
To: 7eggert@gmx.de
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>, Mark Lord <lkml@rtr.ca>,
Chris Rankin <rankincj@yahoo.com>,
linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org
Subject: Re: Linux 2.6.17: IRQ handler mismatch in serial code?
Date: Tue, 20 Jun 2006 19:03:13 +0100 [thread overview]
Message-ID: <20060620180313.GC7463@flint.arm.linux.org.uk> (raw)
In-Reply-To: <E1FshOP-0000pd-No@be1.lrz>
On Tue, Jun 20, 2006 at 04:39:49PM +0200, Bodo Eggert wrote:
> Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
> > Ar Llu, 2006-06-19 am 17:52 -0400, ysgrifennodd Mark Lord:
>
> >> Eh? The vast majority of ISA bus devices have open-collector IRQ lines,
> >
> > Not in my experience. In the network work at least very few are, they
> > all drive the chip lines all the time. Thats why Don Becker made sure
> > such drivers grab the lines at startup. Those which can share IRQ or
> > move IRQ grab at open
>
> There are thousands of NE2K-clones, the driver can't know if sharing the IRQ
> will be OK for a given card. Is the change for sharing IRQs trivial enough
> to allow an if/else based on a load-time module parameter?
Not if it's an ISA card. You need to loop over all interrupt source
devices until you're certain that they have released the interrupt
line before returning, otherwise you will end up with the IRQ line
stuck in a state where it can't cause any further interrupts.
The kernel has no such infrastructure, except within the serial driver
to allow multiple serial ports to share a common interrupt.
--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 Serial core
next prev parent reply other threads:[~2006-06-20 18:03 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <6pwmi-8mW-1@gated-at.bofh.it>
[not found] ` <6px8R-Y7-43@gated-at.bofh.it>
[not found] ` <6pxV5-2ci-13@gated-at.bofh.it>
[not found] ` <6pz12-3Rg-67@gated-at.bofh.it>
[not found] ` <6pzX4-5jE-19@gated-at.bofh.it>
[not found] ` <6pA6B-5K8-33@gated-at.bofh.it>
2006-06-20 14:39 ` Linux 2.6.17: IRQ handler mismatch in serial code? Bodo Eggert
2006-06-20 18:03 ` Russell King [this message]
2006-06-20 23:20 ` Bodo Eggert
2006-06-19 18:06 Chris Rankin
2006-06-19 18:47 ` Russell King
2006-06-19 19:40 ` Chris Rankin
2006-06-19 19:44 ` Russell King
2006-06-20 1:00 ` Adam Belay
2006-06-20 7:50 ` Chris Rankin
2006-06-19 19:45 ` Mark Lord
2006-06-19 21:06 ` Alan Cox
2006-06-19 21:52 ` Mark Lord
2006-06-19 22:21 ` Alan Cox
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=20060620180313.GC7463@flint.arm.linux.org.uk \
--to=rmk+lkml@arm.linux.org.uk \
--cc=7eggert@gmx.de \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=lkml@rtr.ca \
--cc=rankincj@yahoo.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox