Re: Multiple MSI

From: Benjamin Herrenschmidt
Date: Mon Jul 07 2008 - 19:08:18 EST


On Mon, 2008-07-07 at 10:17 -0600, Grant Grundler wrote:
> The drivers have to deal with the limitations of the HW spec.
> In this case it means they have to know they are getting power of 2
> number of interrupts. I think exposing this in the API is a requirement
> and not optional.

Ugh ?

The number of interrupts isn't what I was talking about, but the
-alignment- was. ie, the driver should make no assumption that the
irq numbers it will obtain will be aligned to a power-of-two.

Cheers,
Ben.


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