Re: [patch] fix the irq migration
From: Eric W. Biederman
Date: Fri Feb 23 2007 - 01:54:10 EST
"Siddha, Suresh B" <suresh.b.siddha@xxxxxxxxx> writes:
> While debugging some other irq migration issue, observed this issue with
> -git kernels. Ingo, please ACK it.
> ---
>
> With the commit 76d2160147f43f982dfe881404cfde9fd0a9da21, irq_chip
> default_disable() became an empty function. And with this change, irq
> migration in the case of Edge triggered IO-APIC and MSI interrupts happens
> with out masking the irq.
>
> Appended patch fixes by using the mask/unmask handlers of irq_chip directly
> while doing the irq migration.
Close.
If the irq is disabled we need to bail out instead of skipping the
masking.
The masking is required for the function to run correctly and
when IRQ_DISABLED is set we don't know enough to do anything.
Once this is fixed we just need to fix the msi case where the
hardware doesn't provide a mask bit.
Eric
-
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/