From: u.kleine-koenig@pengutronix.de (Uwe Kleine-König)
To: linux-arm-kernel@lists.infradead.org
Subject: disable_irq() causes hang on AT91RM9200 targets?
Date: Fri, 29 Jan 2010 15:49:31 +0100 [thread overview]
Message-ID: <20100129144931.GB27577@pengutronix.de> (raw)
In-Reply-To: <4B61C645.4030104@billgatliff.com>
Hello,
On Thu, Jan 28, 2010 at 11:15:49AM -0600, Bill Gatliff wrote:
> Bill Gatliff wrote:
> > Guys:
> >
> >
> > Has anyone noticed that with 2.6.33-rc5 (at least) on AT91RM9200,
> > disable_irq() seems to cause a lockup when the interrupt number is a
> > GPIO line? I'm calling disable_irq() from an interrupt handler on the
> > same GPIO line.
> >
> > I just saw this happen, and it seems to be repeatable. Just wondering
> > if this is a known issue before I start digging into it...
> >
>
> Heh, disable_irq_nosync(). D'oh! :)
Can make this a bit more verbose:
[ ] After switching from disable_irq to disable_irq_nosync it magically
works.
[ ] Of course I know not to use disable_irq in irq context. I meant it
causes a lockup when I use *disable_irq_nosync* in irq context.
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-K?nig |
Industrial Linux Solutions | http://www.pengutronix.de/ |
next prev parent reply other threads:[~2010-01-29 14:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-28 17:00 disable_irq() causes hang on AT91RM9200 targets? Bill Gatliff
2010-01-28 17:15 ` Bill Gatliff
2010-01-29 14:49 ` Uwe Kleine-König [this message]
2010-01-29 0:29 ` Ben Dooks
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=20100129144931.GB27577@pengutronix.de \
--to=u.kleine-koenig@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.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).