genirq: Add a new generic IPI reservation code to irq core
authorQais Yousef <qais.yousef@imgtec.com>
Tue, 8 Dec 2015 13:20:19 +0000 (13:20 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 25 Feb 2016 09:56:56 +0000 (10:56 +0100)
commitd17bf24e695290d3fe7943aca52ab48098a10653
tree3053c2e487c3b21c4541c3ee4102a8908fedd955
parentac0a0cd266d1f21236d5975ca6bced9b377a2a6a
genirq: Add a new generic IPI reservation code to irq core

Add a generic mechanism to dynamically allocate an IPI. Depending on the
underlying implementation this creates either a single Linux irq or a
consective range of Linux irqs. The Linux irq is used later to send IPIs to
other CPUs.

[ tglx: Massaged the code and removed the 'consecutive mask' restriction for
   the single IRQ case ]

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-9-git-send-email-qais.yousef@imgtec.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/irq.h
include/linux/irqdomain.h
kernel/irq/Makefile
kernel/irq/ipi.c [new file with mode: 0644]