From: ben-linux@fluff.org (Ben Dooks)
To: linux-arm-kernel@lists.infradead.org
Subject: disable_irq() causes hang on AT91RM9200 targets?
Date: Fri, 29 Jan 2010 00:29:11 +0000 [thread overview]
Message-ID: <20100129002911.GN9153@trinity.fluff.org> (raw)
In-Reply-To: <4B61C2C7.2000405@billgatliff.com>
On Thu, Jan 28, 2010 at 11:00:55AM -0600, 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...
disable_irq_nosync(), disable_irq() has for a while waited for the IRQ
to clear before exiting. Now, guess what happens if you wait for the IRQ
to clear in the IRQ handler that is currently executing.
>
> b.g.
>
> --
> Bill Gatliff
> bgat at billgatliff.com
>
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
--
--
Ben
Q: What's a light-year?
A: One-third less calories than a regular year.
prev parent reply other threads:[~2010-01-29 0:29 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
2010-01-29 0:29 ` Ben Dooks [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=20100129002911.GN9153@trinity.fluff.org \
--to=ben-linux@fluff.org \
--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).