public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Robert Hancock <hancockrwd@gmail.com>
To: Mike Mason <mmlnx@us.ibm.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Disabling an interrupt in interrupt context
Date: Tue, 24 Feb 2009 18:09:28 -0600	[thread overview]
Message-ID: <49A48C38.20209@gmail.com> (raw)
In-Reply-To: <49A33B3C.6000907@us.ibm.com>

Mike Mason wrote:
> I have a need to disable an LSI interrupt from within the context of the 
> handler for that interrupt.  It appears that disable_irq_nosync() will 
> do the trick.  Besides dropping interrupts, which I don't care about 
> because the device is in an error state, what are the potential side 
> effects of doing this?  As far as I can tell, this will not prevent the 
> current in-flight handlers for that interrupt from finishing.

Well, if any other devices are sharing that IRQ line, they likely won't 
like it, for one thing.. How long are you planning on disabling the IRQ 
line for?

      reply	other threads:[~2009-02-25  0:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-24  0:11 Disabling an interrupt in interrupt context Mike Mason
2009-02-25  0:09 ` Robert Hancock [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=49A48C38.20209@gmail.com \
    --to=hancockrwd@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mmlnx@us.ibm.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