]> git.baikalelectronics.ru Git - kernel.git/commit
genirq: Implement ipi_send_mask/single()
authorQais Yousef <qais.yousef@imgtec.com>
Tue, 8 Dec 2015 13:20:22 +0000 (13:20 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 25 Feb 2016 09:56:57 +0000 (10:56 +0100)
commitdcaca254b80409e4ccc0794cd8bba9f89dbd0875
tree27d950bf3bf6e4a7b12e2f969a069afd040115a1
parentf1e1e4428ea92399984cf3a3ab9e82dbdcbce620
genirq: Implement ipi_send_mask/single()

Add APIs to send IPIs from driver and arch code.

We have different functions because we allow architecture code to cache the
irq descriptor to avoid lookups. Driver code has to use the irq number and is
subject to more restrictive checks.

[ tglx: Polish the implementation ]

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-12-git-send-email-qais.yousef@imgtec.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/irq.h
kernel/irq/ipi.c