mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] thinko in APIC_LOCKUP_DEBUG can cause SMP hang (2.4.7+)
@ 2001-10-31  1:39 James Bottomley
  0 siblings, 0 replies; only message in thread
From: James Bottomley @ 2001-10-31  1:39 UTC (permalink / raw)
  To: linux-kernel; +Cc: James.Bottomley

[-- 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)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-10-31  1:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-31  1:39 [PATCH] thinko in APIC_LOCKUP_DEBUG can cause SMP hang (2.4.7+) James Bottomley

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®