linux/kernel/irq
Marc Zyngier 11e4438ee3 irqdomain: Introduce a firmware-specific IRQ specifier structure
So far the closest thing to a generic IRQ specifier structure is
of_phandle_args, which happens to be pretty OF specific (the of_node
pointer in there is quite annoying).

Let's introduce 'struct irq_fwspec' that can be used in place of
of_phandle_args for OF, but also for other firmware implementations
(that'd be ACPI). This is used together with a new 'translate' method
that is the pendent of 'xlate'.

We convert irq_create_of_mapping to use this new structure (with a
small hack that will be removed later).

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Reviewed-and-tested-by: Hanjun Guo <hanjun.guo@linaro.org>
Tested-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: <linux-arm-kernel@lists.infradead.org>
Cc: Tomasz Nowicki <tomasz.nowicki@linaro.org>
Cc: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>
Cc: Graeme Gregory <graeme@xora.org.uk>
Cc: Jake Oshins <jakeo@microsoft.com>
Cc: Jiang Liu <jiang.liu@linux.intel.com>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Rafael J. Wysocki <rjw@rjwysocki.net>
Link: http://lkml.kernel.org/r/1444737105-31573-5-git-send-email-marc.zyngier@arm.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2015-10-13 19:01:23 +02:00
..
autoprobe.c genirq: Handle pending irqs in irq_startup() 2012-02-15 11:56:59 +01:00
chip.c genirq: Add flag to force mask in disable_irq[_nosync]() 2015-10-11 11:33:42 +02:00
cpuhotplug.c genirq: Introduce generic irq migration for cpu hotunplug 2015-10-01 14:51:15 +02:00
debug.h irq: hide debug macros so they don't collide with others. 2012-04-23 12:30:03 -04:00
devres.c genirq: devres: Fix testing return value of request_any_context_irq() 2015-05-13 10:47:37 +02:00
dummychip.c Merge branch 'linus' into irq/core 2015-06-05 22:25:01 +02:00
generic-chip.c genirq: Add chip_[suspend|resume] PM support to irq_chip 2015-07-27 08:09:38 +02:00
handle.c Merge branch 'linus' into irq/core 2015-10-13 19:00:14 +02:00
internals.h genirq: Allow migration of chained interrupts by installing default action 2015-10-09 22:47:27 +02:00
irqdesc.c genirq: Remove irq argument from irq flow handlers 2015-09-16 15:47:51 +02:00
irqdomain.c irqdomain: Introduce a firmware-specific IRQ specifier structure 2015-10-13 19:01:23 +02:00
Kconfig genirq: Introduce generic irq migration for cpu hotunplug 2015-10-01 14:51:15 +02:00
Makefile genirq: Introduce generic irq migration for cpu hotunplug 2015-10-01 14:51:15 +02:00
manage.c genirq: Add flag to force mask in disable_irq[_nosync]() 2015-10-11 11:33:42 +02:00
migration.c genirq: Remove bogus restriction in irq_move_mask_irq() 2015-06-20 19:05:14 +02:00
msi.c genirq/MSI: Move alloc_msi_entry() from PCI into generic MSI code 2015-07-22 18:37:44 +02:00
pm.c genirq: Remove irq argument from suspend/resume_irq() 2015-07-11 23:14:24 +02:00
proc.c Merge branch 'linus' into irq/core 2015-10-13 19:00:14 +02:00
resend.c genirq: Remove irq argument from irq flow handlers 2015-09-16 15:47:51 +02:00
settings.h genirq: Add flag to force mask in disable_irq[_nosync]() 2015-10-11 11:33:42 +02:00
spurious.c genirq: Remove the irq argument from note_interrupt() 2015-07-11 23:14:25 +02:00