Re: 2.6.21-rc2-mm2

From: Magnus Damm
Date: Thu Mar 08 2007 - 03:42:00 EST


On 3/6/07, KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> wrote:

Following panic ouccurred (always) on ia64/NUMA(with empty node.)

Bug in here.
==
void move_native_irq(int irq)
{
struct irq_desc *desc = irq_desc + irq;

if (likely(!(desc->status & IRQ_MOVE_PENDING)))
return;

if (unlikely(desc->status & IRQ_DISABLED))
return;

desc->chip->mask(irq); <---------maybe this *mask* is NULL pointer
move_masked_irq(irq);
desc->chip->unmask(irq);
}
==

Is "mask" always valid pointer ?

Not last time I checked. Have a look at "no_irq_chip" in
linux/kernel/irq/handle.c.

Your problem looks somewhat similar to the problem I had with irq
migration on ia64:

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=29a002776ba5ef170446910b1f93c480cdd43706

/ magnus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/