Re: [PATCH] 2.5.68 Fix IO_APIC IRQ assignment bug

From: Zwane Mwaikambo (zwane@linuxpower.ca)
Date: Sun Apr 20 2003 - 18:05:20 EST


On Sun, 20 Apr 2003, Linus Torvalds wrote:

> Good call.
>
> Although I suspect you need about a million interrupt sources to hit
> this, since FIRST_SYSTEM_VECTOR is somethign like 0xef, and thus you can
> hit it only when "offset" has already been incremented seven times
> (which implies that we've walked the whole vector space quite a few
> times by then).
>
> Did you actually see this on hardware?

Yes, we need to bail out in assign_irq_vector when we wrap around,
otherwise we cause collisions when programming the IOAPIC. And we also
need to avoid overruning NR_IRQS structures in setup_IO_APIC_irqs.

        Zwane

-
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/



This archive was generated by hypermail 2b29 : Wed Apr 23 2003 - 22:00:28 EST