linux-stable/arch/powerpc
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
..
boot powerpc/boot: Add an ePAPR compliant boot wrapper 2011-04-20 16:59:21 +10:00
configs powerpc: Fix build warning of the defconfigs 2011-04-27 14:18:41 +10:00
include/asm powerpc/pseries: Add support for IO event interrupts 2011-05-06 13:19:01 +10:00
kernel powerpc/pseries: Add page coalescing support 2011-05-04 16:02:21 +10:00
kvm powerpc: Always use SPRN_SPRG_HSCRATCH0 when running in HV mode 2011-04-20 11:03:23 +10:00
lib powerpc: Use MSR_64BIT in sstep.c, fix kprobes on BOOK3E 2011-04-27 14:18:46 +10:00
math-emu powerpc/85xx: Fix SPE float to integer conversion failure 2011-03-15 13:48:15 -05:00
mm powerpc: Fix compile with icwsx support 2011-05-06 13:18:34 +10:00
oprofile Fix common misspellings 2011-03-31 11:26:23 -03:00
platforms powerpc/pseries: Add support for IO event interrupts 2011-05-06 13:19:01 +10:00
sysdev powerpc/irq: Stop exporting irq_map 2011-05-04 15:02:15 +10:00
xmon powerpc: Convert old cpumask API into new one 2011-05-04 15:22:59 +10:00
Kconfig powerpc/boot: Add an ePAPR compliant boot wrapper 2011-04-20 16:59:21 +10:00
Kconfig.debug powerpc: Unconditionally enabled irq stacks 2010-06-15 15:02:37 +10:00
Makefile powerpc: Fix typo in uImage target 2010-08-24 15:26:32 +10:00
relocs_check.pl