tmp_suning_uos_patched/arch/powerpc/platforms
Milton Miller 7ef71d753e powerpc/cell: Use common smp ipi actions
The cell iic interrupt controller has enough software caused interrupts
to use a unique interrupt for each of the 4 messages powerpc uses.
This means each interrupt gets its own irq action/data combination.

Use the seperate, optimized, arch common ipi action functions
registered via the helper smp_request_message_ipi instead passing the
message as action data to a single action that then demultipexes to
the required acton via a switch statement.

smp_request_message_ipi will register the action as IRQF_PER_CPU
and IRQF_DISABLED, and WARN if the allocation fails for some reason,
so no need to print on that failure.  It will return positive if
the message will not be used by the kernel, in which case we can
free the virq.

In addition to elimiating inefficient code, this also corrects the
error that a kernel built with kexec but without a debugger would
not register the ipi for kdump to notify the other cpus of a crash.

This also restores the debugger action to be static to kernel/smp.c.

Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2011-05-26 13:38:58 +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/mpc62xx_pic: Fix get_irq handling of NO_IRQ 2011-05-19 15:31:49 +10:00
82xx powerpc: Remove trival irq_host_ops.unmap 2011-05-19 15:31:39 +10:00
83xx drivercore: revert addition of of_match to struct device 2011-05-18 12:32:23 -06:00
85xx powerpc: Consolidate ipi message mux and demux 2011-05-19 15:31:03 +10:00
86xx powerpc/86xx: don't pretend that we support 8-bit pixels on the MPC8610 HPCD 2011-05-19 01:13:53 -05:00
512x powerpc/mpc5121_ads_cpld: Remove use of NO_IRQ_IGNORE 2011-05-19 15:31:47 +10:00
amigaone of/address: Clean up function declarations 2010-08-01 01:42:42 -06:00
cell powerpc/cell: Use common smp ipi actions 2011-05-26 13:38:58 +10:00
chrp powerpc/smp: smp_ops->kick_cpu() should be able to fail 2011-04-20 17:01:18 +10:00
embedded6xx powerpc: Remove trival irq_host_ops.unmap 2011-05-19 15:31:39 +10:00
iseries powerpc: Add kconfig for muxed smp ipi support 2011-05-19 15:31:05 +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 Merge remote branch 'origin/master' into merge 2011-05-20 15:36:52 +10:00
prep powerpc/kconfig: Kill PPC_MULTIPLATFORM 2009-03-11 17:11:35 +11:00
ps3 powerpc: Remove trival irq_host_ops.unmap 2011-05-19 15:31:39 +10:00
pseries powerpc/pseries/iommu: Cleanup ddw naming 2011-05-19 17:25:28 +10:00
wsp powerpc: Consolidate ipi message mux and demux 2011-05-19 15:31:03 +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: Remove unused/obsolete CONFIG_XICS 2011-05-19 16:55:11 +10:00
Kconfig.cputype powerpc: Add kconfig for muxed smp ipi support 2011-05-19 15:31:05 +10:00
Makefile powerpc: Add WSP platform 2011-05-06 13:32:35 +10:00