From: Thomas Gleixner <tglx@linutronix.de>
To: Andrew Morton <akpm@osdl.org>
Cc: Ralf Hildebrandt <Ralf.Hildebrandt@charite.de>,
linux-kernel@vger.kernel.org, Ingo Molnar <mingo@elte.hu>
Subject: Re: Problem with 2.6.17-mm2
Date: Sun, 25 Jun 2006 19:24:06 +0200 [thread overview]
Message-ID: <1151256246.25491.398.camel@localhost.localdomain> (raw)
In-Reply-To: <20060625034913.315755ae.akpm@osdl.org>
Andrew,
On Sun, 2006-06-25 at 03:49 -0700, Andrew Morton wrote:
> OK, thanks.
>
> > 1) A lot of "unexpected IRQ trap at vector X" for X=[09,07]
>
> hm, ack_bad_irq(). That isn't supposed to happen.
>
> Ingo, Thomas - it's possible that -mm2's genirq is affecting x86?
I did some tests by asserting spurious interrupts. genirq is just making
them visible, backing out the genirq changes makes them invisible again.
The reason is:
ack_bad_irq() in !genirq is only called, when no hw_irq_controller has
been installed. The interrupts in question have the PIC/APIC/IOAPIC
functions installed.
Now when a spurios interrupt comes in we do
desc->handler->ack(irq);
if (!desc->action)
goto out;
So in fact this just silently acks spurious interrupts which have an
hw_irq_controller assigned. If there is no action, then nothing has
called setup_irq/request_irq for this interrupt line and therefor it is
an spurious interrupt which should not happen.
genirq makes these visible and informs noisily about those events.
Looking at the debug output we see:
irq 7, desc: c037bc00, depth: 1, count: 0, unhandled: 0
->handle_irq(): c013d360, handle_bad_irq+0x0/0x270
->chip(): c037f980, 0xc037f980
->action(): 00000000
IRQ_DISABLED set
The interrupt is disabled and action is NULL.
tglx
next prev parent reply other threads:[~2006-06-25 17:22 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-25 10:35 Problem with 2.6.17-mm2 Ralf Hildebrandt
2006-06-25 10:49 ` Andrew Morton
2006-06-25 10:55 ` Ralf Hildebrandt
[not found] ` <20060626074226.7B251E0035AE@knarzkiste.dyndns.org>
2006-06-25 15:41 ` Thomas Gleixner
2006-06-26 7:44 ` Ralf Hildebrandt
2006-06-26 7:58 ` Thomas Gleixner
2006-06-25 11:20 ` Ingo Molnar
2006-06-25 11:53 ` Ralf Hildebrandt
2006-06-25 17:24 ` Thomas Gleixner [this message]
2006-06-25 17:32 ` Andrew Morton
2006-06-25 17:38 ` Thomas Gleixner
2006-06-25 19:46 ` Ingo Molnar
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=1151256246.25491.398.camel@localhost.localdomain \
--to=tglx@linutronix.de \
--cc=Ralf.Hildebrandt@charite.de \
--cc=akpm@osdl.org \
--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