linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chuck Ebbert <76306.1226@compuserve.com>
To: Andrew Morton <akpm@digeo.com>
Cc: linux-kernel@vger.kernel.org, johnstul@us.ibm.com
Subject: Re: tg3 - irq #: nobody cared!
Date: Wed, 7 May 2003 07:57:08 -0400	[thread overview]
Message-ID: <200305070759_MC3-1-37C0-ECE3@compuserve.com> (raw)

Andrew Morton wrote:

>> 
>> Definitely not the right fix.  If the hardware status struct
>> indicates no event is pending, then we return 0 since we
>> didn't "handle" the interrupt.
>
> This is about the fifth report of unhandled interrupts.  Against the fifth
> driver which looks to be correct.
> 
> So I'd be suspecting the scenario which Alan outlined: the IRQ handler looped
> around, scooped up the interrupt source before the APIC delivered the IRQ.
>
> I'm working on the actual detection code - it tries to filter out the false
> positives.

  On thinking about it further, I don't think you will ever be able to write
such code -- whether "interrupt received but no pending work" is an error
or not is a private matter between the driver and its device.  All you can
really ask the driver for is "was that interrupt generated by your device?"



             reply	other threads:[~2003-05-07 11:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-07 11:57 Chuck Ebbert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-05-06 22:03 tg3 - irq #: nobody cared! john stultz
2003-05-07  4:58 ` David S. Miller
2003-05-07  5:08   ` Andrew Morton
2003-05-07  4:03     ` David S. Miller

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=200305070759_MC3-1-37C0-ECE3@compuserve.com \
    --to=76306.1226@compuserve.com \
    --cc=akpm@digeo.com \
    --cc=johnstul@us.ibm.com \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).