public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* NUMA-Q breakage 3/7 irqbalance stuffs unreachable cpu's in IO-APICS
@ 2002-07-12 22:39 William Lee Irwin III
  0 siblings, 0 replies; only message in thread
From: William Lee Irwin III @ 2002-07-12 22:39 UTC (permalink / raw)
  To: linux-kernel; +Cc: mingo

irqbalance stuffs unreachable cpus' APIC ID's into the IO-APICs.
This cannot be done generically, as the cpu's that can be reached
from a given IO-APIC depend on the subarch. The net effect of the bug
is deadlocking while waiting for interrupts to come back from devices,
i.e. booting is impossible.

Fix (due to Matt Dobson) below.


Cheers,
Bill


diff -Nur linux-2.5.23-vanilla/arch/i386/kernel/io_apic.c linux-2.5.23-patched/arch/i386/kernel/io_apic.c
--- linux-2.5.23-vanilla/arch/i386/kernel/io_apic.c	Tue Jun 18 19:11:52 2002
+++ linux-2.5.23-patched/arch/i386/kernel/io_apic.c	Thu Jun 27 14:28:51 2002
@@ -247,7 +247,7 @@
 
 static inline void balance_irq(int irq)
 {
-#if CONFIG_SMP
+#if (CONFIG_SMP && !CONFIG_MULTIQUAD)
 	irq_balance_t *entry = irq_balance + irq;
 	unsigned long now = jiffies;
 

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

only message in thread, other threads:[~2002-07-12 22:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-12 22:39 NUMA-Q breakage 3/7 irqbalance stuffs unreachable cpu's in IO-APICS William Lee Irwin III

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox