On 11/16/2015 05:24 PM, Thomas Gleixner wrote:
int ipi_get_hw_irq(int irq) { struct irq_data *d = irq_get_irq_data(irq); return d ? irqd_to_hwirq(d); }Hmm?
We need cpu as an argument too.Taking your other comments into account and ignoring the random mapping space for now. I think I can expand that to do the right thing for when the IPI domain is per cpu or consecutive.
Thanks, Qais