From: Dimitris Lampridis <soth@softhome.net>
To: linux-os@analogic.com
Cc: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: PCI lost interrupts and PLX chips
Date: Thu, 13 Jan 2005 14:58:54 +0200 [thread overview]
Message-ID: <1105621134.3203.22.camel@localhost> (raw)
In-Reply-To: <Pine.LNX.4.61.0501130728520.10535@chaos.analogic.com>
First of all, thanks for your concern.
On Thu, 2005-01-13 at 14:49, linux-os wrote:
> You can look at /proc/interrupts to see if your device ever interrupted.
> If it did, then got shut off, you probably forgot to return IRQ_HANDLED
> in the interrupt-service-routine. The newer code requires a return-value
> from the ISR.
>
No interrupt at /proc/interrupts. The ISR never gets called. If it
would, it returns IRQ_HANDLED.
As I mentioned on the first mail, using a logical analyzer I saw the
device generating interrupts behind the PCI bridge, but I didn't see
them pass through the bridge, so I didn't expect to read something at
/proc/interrupts.
> If it got a bunch of spurious interrupts that made it impossible
> to initialize the device properly, then use some flag to tell
> your ISR that the device wasn't enabled yet. If it got an interrupt
> before the device was enabled, the ISR writes 0 to the PLX CSR after
> reading and throwing away the existing value. That will quiet the
> device until it can be properly initialized.
>
Same here, ISR never gets called.
> If you never got any interrupts, then you have some other bug.
> You can readily force the PLX to generate interrupts for testing
> purposes.
How can I do that? Don't bother explaining everything. Maybe a link
to somewhere on the net where I can learn more?
Thanks,
Dimitris
prev parent reply other threads:[~2005-01-13 12:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-12 23:38 PCI lost interrupts and PLX chips Dimitris Lampridis
2005-01-13 11:49 ` linux-os
2005-01-13 12:04 ` Dimitris Lampridis
2005-01-13 12:49 ` linux-os
2005-01-13 12:58 ` Dimitris Lampridis [this message]
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=1105621134.3203.22.camel@localhost \
--to=soth@softhome.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-os@analogic.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 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.