Re: [PATCH 1/2] irq: sparseirq enabling

From: Thomas Gleixner
Date: Mon Nov 24 2008 - 17:27:19 EST


On Mon, 24 Nov 2008, Yinghai Lu wrote:
> Ingo Molnar wrote:
> > This should simplify quite a few things in the sparseirq code.
>
> ok, will change to that.
>
> 1. nr_irqs will be legacy number or GSI numbers. MSI will start to use irq nr from nr_irqs
> 2. or MSI still to use irq from NR_IRQS - 1, and ... go smaller?

We should go up from legacy/GSI. We can decode the max. number of
possible "wired" irqs from the number of IO_APICs. Everything above
that is "virtual MSI" space.

Going down just makes it harder to read (numbers have more
digits for no value).

Thanks,

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