From: Mikael Pettersson <mikpe@csd.uu.se>
To: Linus Torvalds <torvalds@osdl.org>
Cc: "M.H.VanLeeuwen" <vanl@megsinet.net>,
Kernel Mailing List <linux-kernel@vger.kernel.org>,
<marcelo.tosatti@cyclades.com>
Subject: Re: [BUG somewhere] 2.6.0-test8 irq.c, IRQ_INPROGRESS ?
Date: Thu, 23 Oct 2003 13:30:28 +0200 [thread overview]
Message-ID: <16279.48084.668213.169062@alkaid.it.uu.se> (raw)
In-Reply-To: <Pine.LNX.4.44.0310222021410.3151-100000@home.osdl.org>
Linus Torvalds writes:
> On Wed, 22 Oct 2003, M.H.VanLeeuwen wrote:
> >
> > I'm seeing an NMI Watchdog detected LOCKUP go away when I revert this patch
> > previously added into test8.
>
> Yes, the thing is buggy.
>
> It's not correct for "disable_irq_nosync()" users, and reverting it is the
> right thing to do. Thanks for the report.
>
> Marcelo, please note if you played with this in 2.4.x..
>
> Linus
>
> ------
> > diff -Nru a/arch/i386/kernel/irq.c b/arch/i386/kernel/irq.c
> > --- a/arch/i386/kernel/irq.c Fri Oct 17 14:43:50 2003
> > +++ b/arch/i386/kernel/irq.c Fri Oct 17 14:43:50 2003
> > @@ -378,7 +380,7 @@
> > spin_lock_irqsave(&desc->lock, flags);
> > switch (desc->depth) {
> > case 1: {
> > - unsigned int status = desc->status & ~IRQ_DISABLED;
> > + unsigned int status = desc->status & ~(IRQ_DISABLED | IRQ_INPROGRESS);
It seems 2.4.23-pre8 included something like this apparently broken
change (see diff from -pre7 below). Should it be reverted?
--- linux-2.4.23-pre7/arch/i386/kernel/irq.c 2003-10-23 13:17:43.700067608 +0200
+++ linux-2.4.23-pre8/arch/i386/kernel/irq.c 2003-10-23 13:17:10.071202512 +0200
@@ -1036,7 +1036,7 @@
if (!shared) {
desc->depth = 0;
- desc->status &= ~(IRQ_DISABLED | IRQ_AUTODETECT | IRQ_WAITING);
+ desc->status &= ~(IRQ_DISABLED | IRQ_AUTODETECT | IRQ_WAITING | IRQ_INPROGRESS);
desc->handler->startup(irq);
}
spin_unlock_irqrestore(&desc->lock,flags);
next prev parent reply other threads:[~2003-10-23 11:30 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.LNX.4.10.10009211329001.1627-100000@penguin.transmeta.com>
2003-10-23 3:18 ` M.H.VanLeeuwen
2003-10-23 3:25 ` Linus Torvalds
2003-10-23 3:29 ` Linus Torvalds
2003-10-23 11:24 ` Marcelo Tosatti
2003-10-23 11:30 ` Mikael Pettersson [this message]
2003-10-23 14:31 ` Linus Torvalds
2003-10-23 4:30 ` [PATCH] 2.6.0-test8 ISAPNP ne.c initialization M.H.VanLeeuwen
2003-11-03 23:43 ` Adam Belay
2003-11-04 6:04 ` M.H.VanLeeuwen
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=16279.48084.668213.169062@alkaid.it.uu.se \
--to=mikpe@csd.uu.se \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo.tosatti@cyclades.com \
--cc=torvalds@osdl.org \
--cc=vanl@megsinet.net \
/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
all inboxes | Powered by JetHome®