linux-stable/arch/powerpc/platforms/pseries
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
..
cmm.c powerpc/pseries: Cleanup use of notifier_from_errno() 2011-03-02 16:50:06 +11:00
dlpar.c Fix common misspellings 2011-03-31 11:26:23 -03:00
dtl.c powerpc/pseries: Re-enable dispatch trace log userspace interface 2010-09-02 14:07:32 +10:00
eeh.c powerpc/pseries/eeh: Handle functional reset on non-PCIe device 2011-05-04 16:02:38 +10:00
eeh_cache.c powerpc/pseries/eeh: Use for_each_pci_dev() 2010-07-09 11:28:25 +10:00
eeh_driver.c powerpc/eeh: Fix a bug when pci structure is null 2010-02-17 14:02:47 +11:00
eeh_event.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
eeh_sysfs.c headers: kobject.h redux 2011-01-10 08:51:44 -08:00
event_sources.c powerpc/pseries: Add WARN_ON() to request_event_sources_irqs() on irq allocation/request failure 2010-07-09 11:28:32 +10:00
firmware.c powerpc: Add VPHN firmware feature 2010-11-29 15:48:22 +11:00
hotplug-cpu.c powerpc: Convert old cpumask API into new one 2011-05-04 15:22:59 +10:00
hotplug-memory.c memory hotplug: Define memory_block_size_bytes for powerpc/pseries 2011-02-03 16:08:57 -08:00
hvCall.S powerpc: Remove second definition of STACK_FRAME_OVERHEAD 2010-11-29 15:48:23 +11:00
hvCall_inst.c powerpc: remove cast from void* 2010-11-03 10:23:26 -04:00
hvconsole.c
hvcserver.c
io_event_irq.c powerpc/pseries: Add support for IO event interrupts 2011-05-06 13:19:01 +10:00
iommu.c Fix common misspellings 2011-03-31 11:26:23 -03:00
Kconfig powerpc/pseries: Add support for IO event interrupts 2011-05-06 13:19:01 +10:00
kexec.c powerpc/xics: Rewrite XICS driver 2011-04-20 11:02:35 +10:00
lpar.c powerpc/pseries: Add page coalescing support 2011-05-04 16:02:21 +10:00
Makefile powerpc/pseries: Add support for IO event interrupts 2011-05-06 13:19:01 +10:00
mobility.c powerpc/pseries: Partition migration in the kernel 2010-10-13 16:19:03 +11:00
msi.c powerpc: Convert to new irq_* function names 2011-03-29 14:48:12 +02:00
nvram.c powerpc/nvram: Don't overwrite oops/panic report on normal shutdown 2011-03-30 10:36:23 +11:00
offline_states.h powerpc/smp: soft-replugged CPUs must go back to start_secondary 2011-04-01 15:37:09 +11:00
pci.c [POWERPC] Rename get_property to of_get_property: arch/powerpc 2007-04-13 03:55:19 +10:00
pci_dlpar.c powerpc/pci: Make both ppc32 and ppc64 use sysdata for pci_controller 2011-02-04 11:46:51 -07:00
phyp_dump.c lmb: rename to memblock 2010-07-14 17:14:00 +10:00
plpar_wrappers.h powerpc/xics: Rewrite XICS driver 2011-04-20 11:02:35 +10:00
power.c [POWERPC] Fix warning in pseries/power.c 2008-02-20 13:33:37 +11:00
pseries.h powerpc/pseries: Export device tree updating routines 2010-10-13 16:19:02 +11:00
pseries_energy.c powerpc: Add support for new hcall H_BEST_ENERGY 2010-11-29 15:48:19 +11:00
ras.c powerpc/irq: Stop exporting irq_map 2011-05-04 15:02:15 +10:00
reconfig.c llseek: automatically add .llseek fop 2010-10-15 15:53:27 +02:00
scanlog.c llseek: automatically add .llseek fop 2010-10-15 15:53:27 +02:00
setup.c powerpc/pseries: Add page coalescing support 2011-05-04 16:02:21 +10:00
smp.c powerpc/smp: smp_ops->kick_cpu() should be able to fail 2011-04-20 17:01:18 +10:00
suspend.c suspend: constify platform_suspend_ops 2010-11-16 14:14:02 +01:00