All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Hancock <hancockr@shaw.ca>
To: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: IRQ Disabling
Date: Mon, 25 Apr 2005 20:36:37 -0600	[thread overview]
Message-ID: <426DA935.3070507@shaw.ca> (raw)
In-Reply-To: <3Xgvq-2Vn-9@gated-at.bofh.it>

Al Niessner wrote:
> 1) Write some general handler that resets the IRQ and nothing else and
> install it as the default handler instead of the current one that is
> disabling the IRQ?

The only thing the kernel can do generically in this case is what it's 
doing already - disabling the interrupt line. What needs to be done to a 
device to clear the interrupt is device-dependent. If the interrupt 
doesn't get cleared by the handler, it will just keep interrupting 
continuously and using a ton of CPU time.

You could try disabling the USB controller and see if the APC card still 
is producing spurious interrupts. If that's the case, though, fixing the 
driver (so that it properly recognizes the interrupts) or the hardware 
(so it doesn't generate spurious interrupts) is about the only option.

-- 
Robert Hancock      Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@nospamshaw.ca
Home Page: http://www.roberthancock.com/


       reply	other threads:[~2005-04-26  2:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3Xgvq-2Vn-9@gated-at.bofh.it>
2005-04-26  2:36 ` Robert Hancock [this message]
2005-04-25 18:16 IRQ Disabling Al Niessner
2005-04-26 12:05 ` 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=426DA935.3070507@shaw.ca \
    --to=hancockr@shaw.ca \
    --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 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.