Re: [RFC][PATCH] irq0 affinity broke on some i386 boxes
Joe Korty (jak@rudolph.ccur.com)
Fri, 1 Mar 2002 14:51:49 -0500 (EST)
> On Mon, 25 Feb 2002, Joe Korty wrote:
>
>> The following patch fixes a bug that prevents a write to
>> /proc/irq/0/smp_affinity from actually changing the cpu affinity
>> of IRQ #0, on all the (Dell server) SMP machines I have access to.
>
> A nice spotting. However what you describe is only a side effect of the
> bug, which is the IRQ is kept registered at the wrong pin. It's only
> because the timer is special and it's edge-triggered it remained unnoticed
> for so long.
>
> I propose the following patch. [...]
>
> I don't know if the changes are relevant to your system as you haven't
> sent the relevant fragment of a bootstrap log from your system. They
> affect all systems that have a bogus IRQ 0 entry in the MP table. For
> other systems the patch is equivalent to yours. Please test it if it
> works for you as I don't have a suitable system with IRQ 0 unconnected
> (I've been able to verify it builds only). Everyone with such a system is
> invited to test the patch as well.
Thanks. Your proposed patch works fine on the two of my five SMP systems
I have been able to get my hands on this afternoon.
Joe
PS: My original dmesg logs may now be found at
http://www.mindspring.com/~jakorty/irq0.bugreport.orig.
-
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/