Re: Strange panic as soon as timer interrupts are enabled (recent 2.5)

Martin J. Bligh (mbligh@aracnet.com)
Thu, 07 Nov 2002 07:23:54 -0800


> The question really is whether the secondaries need to receive any interrupts
> at all (except for the one that booted them) before the smp_commence mask is
> cleared. I don't believe this to be the case. calibrate_delay only requires
> that jiffies be ticking, which will happen as long as the boot cpu is
> receiving timer interrupts. Perhaps the correct fix is not to enable the
> interrupts early in the start_secondary sequence, and not to lower the APIC
> (or VIC in my case) interrupt masks at all until after smp_commence. Thus the
> boot CPU will handle all the interrupts up until that point.

Someone suggested that the other arches do all this in a different
order. Would someone who knows about them care to explain what they
do differently and why, or at least point me to an arch to look at
that does this well?

M.

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