]> git.baikalelectronics.ru Git - kernel.git/commit
genirq: Add a new function to get IPI reverse mapping
authorQais Yousef <qais.yousef@imgtec.com>
Tue, 8 Dec 2015 13:20:20 +0000 (13:20 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 25 Feb 2016 09:56:56 +0000 (10:56 +0100)
commitff2389593eea0298493f51d3ed4891bc0f9ed49e
tree73095b50502e126c58b16a05cfba733fee8648df
parentb01dfda5c7cca463e76167fcb014cb0ddd3f0cae
genirq: Add a new function to get IPI reverse mapping

When dealing with coprocessors we need to find out the actual hwirqs values to
pass on to the firmware so that it knows what it needs to use to receive IPIs
from and send IPIs to Linux cpus.

[ tglx: Fixed the single hwirq IPI case. The hardware irq number does not
   change due to the cpu number ]

Signed-off-by: Qais Yousef <qais.yousef@imgtec.com>
Cc: <jason@lakedaemon.net>
Cc: <marc.zyngier@arm.com>
Cc: <jiang.liu@linux.intel.com>
Cc: <ralf@linux-mips.org>
Cc: <linux-mips@linux-mips.org>
Cc: <lisa.parratt@imgtec.com>
Cc: Qais Yousef <qsyousef@gmail.com>
Link: http://lkml.kernel.org/r/1449580830-23652-10-git-send-email-qais.yousef@imgtec.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/irq.h
kernel/irq/ipi.c