From: Thomas Gleixner <tglx@linutronix.de>
To: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: "Uwe Kleine-König" <Uwe.Kleine-Koenig@digi.com>,
LKML <linux-kernel@vger.kernel.org>,
"Ingo Molnar" <mingo@elte.hu>
Subject: Re: [PATCH] let setup_irq reenable a shared irq
Date: Wed, 30 Apr 2008 23:36:56 +0200 (CEST) [thread overview]
Message-ID: <alpine.LFD.1.10.0804302336000.6003@apollo.tec.linutronix.de> (raw)
In-Reply-To: <m1d4o7kpme.fsf@frodo.ebiederm.org>
On Wed, 30 Apr 2008, Eric W. Biederman wrote:
> Thomas Gleixner <tglx@linutronix.de> writes:
> >
> > Subject: genirq: reenable a nobody cared disabled irq when a new driver arrives
> > From: Thomas Gleixner <tglx@linutronix.de>
> > Date: Mon, 28 Apr 2008 17:01:56 +0200
> >
> > Uwe Kleine-Koenig has some strange hardware where one of the shared
> > interrupts can be asserted during boot before the appropriate driver
> > loads. Requesting the shared irq line from another driver results in a
> > spurious interrupt storm which finally disables the interrupt line.
> >
> > I have seen similar behaviour on resume before (the hardware does not
> > work anymore so I can not verify) and this spurious irq issue is
> > raised on a regular base in bugreports.
>
> This case also happens on a regular basis in kdump kernels where we
> deliberately don't shutdown the hardware before starting the new kernel.
> This patch should reduce the need for using irqpoll in that situation
> by a small amount.
Makes sense.
> > Index: linux-2.6/include/linux/irq.h
> > ===================================================================
> > --- linux-2.6.orig/include/linux/irq.h
> > +++ linux-2.6/include/linux/irq.h
> > @@ -61,6 +61,7 @@ typedef void (*irq_flow_handler_t)(unsig
> > #define IRQ_WAKEUP 0x00100000 /* IRQ triggers system wakeup */
> > #define IRQ_MOVE_PENDING 0x00200000 /* need to re-target IRQ destination */
> > #define IRQ_NO_BALANCING 0x00400000 /* IRQ is excluded from balancing */
> > +#define IRQ_SPURIOUS_DISABLED 0x00400000 /* IRQ was disabled by the spurious trap */
>
> Looks like a duplicate define here. Don't you want:
> +#define IRQ_SPURIOUS_DISABLED 0x00800000 /* IRQ was disabled by the spurious trap */
Your the third one to notice :)
Thanks,
tglx
next prev parent reply other threads:[~2008-04-30 21:37 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-28 11:12 Uwe Kleine-König
2008-04-28 13:03 ` Thomas Gleixner
2008-04-28 14:11 ` Uwe Kleine-König
2008-04-28 16:10 ` Thomas Gleixner
2008-04-29 13:08 ` Uwe Kleine-König
2008-04-29 16:23 ` Thomas Gleixner
2008-04-30 21:19 ` Eric W. Biederman
2008-04-30 21:36 ` Thomas Gleixner [this message]
[not found] <1209557398-8228-1-git-send-email-Uwe.Kleine-Koenig@digi.com>
2008-04-30 12:32 ` Thomas Gleixner
2008-04-30 12:38 ` Andrew Morton
2008-04-30 12:43 ` Thomas Gleixner
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=alpine.LFD.1.10.0804302336000.6003@apollo.tec.linutronix.de \
--to=tglx@linutronix.de \
--cc=Uwe.Kleine-Koenig@digi.com \
--cc=ebiederm@xmission.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/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®