From: James Bottomley <James.Bottomley@SteelEye.com>
To: linux-kernel@vger.kernel.org
Cc: James.Bottomley@SteelEye.com
Subject: [PATCH] thinko in APIC_LOCKUP_DEBUG can cause SMP hang (2.4.7+)
Date: Tue, 30 Oct 2001 19:39:46 -0600 [thread overview]
Message-ID: <200110310139.f9V1dkB10594@localhost.localdomain> (raw)
[-- Attachment #1: Type: text/plain, Size: 152 bytes --]
This one looks like it would trip if the lockup debug code encounters a shared
level interrupt which would cause it to loop forever.
James Bottomley
[-- Attachment #2: ioapic-shared.diff --]
[-- Type: text/plain , Size: 764 bytes --]
Index: arch/i386/kernel/io_apic.c
===================================================================
RCS file: /home/jejb/CVSROOT/linux/2.4/arch/i386/kernel/io_apic.c,v
retrieving revision 1.1.1.22
diff -u -r1.1.1.22 io_apic.c
--- arch/i386/kernel/io_apic.c 2001/09/25 23:59:50 1.1.1.22
+++ arch/i386/kernel/io_apic.c 2001/10/31 01:34:49
@@ -1236,6 +1236,9 @@
ack_APIC_irq();
if (!(v & (1 << (i & 0x1f)))) {
+#ifdef APIC_LOCKUP_DEBUG
+ struct irq_pin_list *entry = irq_2_pin + irq;
+#endif
#ifdef APIC_MISMATCH_DEBUG
atomic_inc(&irq_mis_count);
#endif
@@ -1243,7 +1246,6 @@
__mask_and_edge_IO_APIC_irq(irq);
#ifdef APIC_LOCKUP_DEBUG
for (;;) {
- struct irq_pin_list *entry = irq_2_pin + irq;
unsigned int reg;
if (entry->pin == -1)
reply other threads:[~2001-10-31 1:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=200110310139.f9V1dkB10594@localhost.localdomain \
--to=james.bottomley@steeleye.com \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®