Re: Multiple MSI, take 3

From: Eric W. Biederman
Date: Fri Jul 11 2008 - 20:02:25 EST


Suresh Siddha <suresh.b.siddha@xxxxxxxxx> writes:

> And why do we need to mask/unmask the device in the interrupt-remapping case?

Why do we ever? It is part of the linux irq API and people wind up using
it in all kinds of strange ways.

One of the more surprising uses I have see is for the real time kernel
people mask the irq, wake up a kernel thread (to handle the irq), then
ack the irq and get out of the interrupt handler. It looked like
people working on UIO were starting to implement something similar.

>> Speaking of. How many interrupt targets does the dmar iommu have
>> for interrupts? 16K?
>
> There can be multiple interrupt-remapping units in the platform and
> each of table in the remapping unit has max 64K entries.

Thanks. That should last us for a little while. :)

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/