linux-stable/arch/powerpc/platforms
Tseng-Hui (Frank) Lin 77eafe101a powerpc/pseries: Add support for IO event interrupts
This patch adds support for handling IO Event interrupts which come
through at the /event-sources/ibm,io-events device tree node.

The interrupts come through ibm,io-events device tree node are generated
by the firmware to report IO events. The firmware uses the same interrupt
to report multiple types of events for multiple devices. Each device may
have its own event handler. This patch implements a plateform interrupt
handler that is triggered by the IO event interrupts come through
ibm,io-events device tree node, pull in the IO events from RTAS and call
device event handlers registered in the notifier list.

Device event handlers are expected to use atomic_notifier_chain_register()
and atomic_notifier_chain_unregister() to register/unregister their
event handler in pseries_ioei_notifier_list list with IO event interrupt.
Device event handlers are responsible to identify if the event belongs
to the device event handler. The device event handle should return NOTIFY_OK
after the event is handled if the event belongs to the device event handler,
or NOTIFY_DONE otherwise.

Signed-off-by: Tseng-Hui (Frank) Lin <thlin@us.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2011-05-06 13:19:01 +10:00
..
8xx powerpc/irq: Stop exporting irq_map 2011-05-04 15:02:15 +10:00
40x of/flattree: Add of_flat_dt_match() helper function 2011-01-01 13:03:25 -07:00
44x powerpc/smp: smp_ops->kick_cpu() should be able to fail 2011-04-20 17:01:18 +10:00
52xx powerpc/irq: Stop exporting irq_map 2011-05-04 15:02:15 +10:00
82xx powerpc/irq: Stop exporting irq_map 2011-05-04 15:02:15 +10:00
83xx Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2011-03-18 06:31:43 -07:00
85xx powerpc/irq: Stop exporting irq_map 2011-05-04 15:02:15 +10:00
86xx powerpc/irq: Stop exporting irq_map 2011-05-04 15:02:15 +10:00
512x powerpc/irq: Stop exporting irq_map 2011-05-04 15:02:15 +10:00
amigaone of/address: Clean up function declarations 2010-08-01 01:42:42 -06:00
cell powerpc: Convert old cpumask API into new one 2011-05-04 15:22:59 +10:00
chrp powerpc/smp: smp_ops->kick_cpu() should be able to fail 2011-04-20 17:01:18 +10:00
embedded6xx powerpc/irq: Stop exporting irq_map 2011-05-04 15:02:15 +10:00
iseries powerpc/irq: Stop exporting irq_map 2011-05-04 15:02:15 +10:00
maple powerpc: Convert to new irq_* function names 2011-03-29 14:48:12 +02:00
pasemi Fix common misspellings 2011-03-31 11:26:23 -03:00
powermac powerpc/irq: Stop exporting irq_map 2011-05-04 15:02:15 +10:00
prep
ps3 powerpc/ps3: Update debug message for irq_set_chip_data() 2011-04-27 14:18:39 +10:00
pseries powerpc/pseries: Add support for IO event interrupts 2011-05-06 13:19:01 +10:00
fsl_uli1575.c PCI: add pci_bus_for_each_resource(), remove direct bus->resource[] refs 2010-02-23 09:43:31 -08:00
Kconfig powerpc/pci: Move IO workarounds to the common kernel dir 2011-04-27 14:18:29 +10:00
Kconfig.cputype powerpc: Add Initiate Coprocessor Store Word (icswx) support 2011-05-04 15:19:26 +10:00
Makefile