On Mon, Oct 04, 2010 at 09:54:19AM +1100, Benjamin Herrenschmidt wrote:
[...]
[...]
Right, the stability of irq numbers is more of a user-interface
problem than a technical deficiency with virq, and a solvable one at
that. If fact, I'd go as far as saying that having irq numbers mean
nothing is a *virtue* of the approach because it forces developers to
look at the real irq controller attachment rather than some
hwirq==linux-irq assumption.
As mentioned in my other reply, I'd be perfectly happy to stop exposing
linux irq numbers to userspace entirely, but I realize that would
break /proc/interrupts users. However, I do completely agree that
exposing the hwirq information is very much required.
g.
--