OpenCloudOS-Kernel/arch/powerpc/platforms
Mark Nelson 68581e9350 powerpc/pseries: Add WARN_ON() to request_event_sources_irqs() on irq allocation/request failure
At the moment if request_event_sources_irqs() can't allocate or request
the interrupt, it just does a KERN_ERR printk. This may be fine for the
existing RAS code where if we miss an EPOW event it just means that the
event won't be logged and if we miss one of the RAS errors then we could
miss an event that we perhaps should take action on.

But, for the upcoming IO events code that will use event-sources if we
can't allocate or request the interrupt it means we'd potentially miss
an interrupt from the device. So, let's add a WARN_ON() in this error
case so that we're a bit more vocal when something's amiss.

While we're at it, also use pr_err() to neaten the code up a bit.

Signed-off-by: Mark Nelson <markn@au1.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2010-07-09 11:28:32 +10:00
..
8xx 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
40x powerpc/40x: Add support for the ESTeem 195E (PPC405EP) SBC 2009-08-31 09:15:51 -04:00
44x powerpc/44x: Add basic ICON PPC440SPe board support 2010-05-12 07:50:53 -04:00
52xx powerpc: Clean up obsolete code relating to decrementer and timebase 2010-07-09 11:26:16 +10:00
82xx of: Remove duplicate fields from of_platform_driver 2010-05-22 00:10:40 -06:00
83xx Merge remote branch 'origin' into secretlab/next-devicetree 2010-05-22 00:36:56 -06:00
85xx powerpc/85xx: Add P1021MDS board support 2010-05-24 21:29:25 -05:00
86xx powerpc/8610: add probing for individual DMA channels, not just DMA controllers 2010-05-17 10:55:33 -05:00
512x powerpc/mpc5121: move PSC FIFO memory init to platform code 2010-05-25 00:23:16 -06:00
amigaone kbuild: move utsrelease.h to include/generated 2009-12-12 13:08:15 +01:00
cell powerpc/cell: Fix integer constant warning 2010-06-02 17:50:37 +10:00
chrp 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
embedded6xx Powerpc: wii: Fix typo in comment 2010-04-26 11:53:54 +02:00
iseries powerpc/iseries: Fix possible null pointer dereference in iSeries_pcibios_fixup_resources 2010-07-08 18:11:43 +10:00
maple 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
pasemi Merge remote branch 'origin' into secretlab/next-devicetree 2010-05-22 00:36:56 -06:00
powermac powerpc: Clean up obsolete code relating to decrementer and timebase 2010-07-09 11:26:16 +10:00
prep powerpc/kconfig: Kill PPC_MULTIPLATFORM 2009-03-11 17:11:35 +11:00
ps3 of: eliminate of_device->node and dev_archdata->{of,prom}_node 2010-05-18 16:10:45 -06:00
pseries powerpc/pseries: Add WARN_ON() to request_event_sources_irqs() on irq allocation/request failure 2010-07-09 11:28:32 +10:00
Kconfig powerpc/85xx: Kconfig cleanup 2009-11-20 16:45:27 -06:00
Kconfig.cputype powerpc/47x: Base ppc476 support 2010-05-05 09:11:10 -04:00
Makefile powerpc/85xx: Kconfig cleanup 2009-11-20 16:45:27 -06:00
fsl_uli1575.c PCI: add pci_bus_for_each_resource(), remove direct bus->resource[] refs 2010-02-23 09:43:31 -08:00