lkml.org 
[lkml]   [2003]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] 2.5.68 Fix IO_APIC IRQ assignment bug
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/

\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.783 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site