tmp_suning_uos_patched/arch/powerpc/platforms
Milton Miller d7cf0edb8f [POWERPC] Push down or eliminate smp_processor_id calls in xics code
The per-processor interrupt request register and current processor
priority register are only accessed on the current cpu.  In fact the
hypervisor doesn't even let us choose which cpu's registers to access.

The only function to use cpu twice is xics_migrate_irqs_away, not a fast
path.  But we can cache the result of get_hard_processor_id() instead of
calling get_hard_smp_processor_id(cpu) in a loop across the call to rtas.

Years ago the irq code passed smp_processor_id into get_irq, I thought
we might initialize the CPPR third party at boot as an extra measure of
saftey, and it made the code symmetric with the qirr (queued interrupt
for software generated interrupts), but now it is just extra and
sometimes unneeded work to pass it down.

Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-12-20 16:15:34 +11:00
..
8xx [POWERPC] 8xx: Convert mpc866ads to the new device binding. 2007-12-13 22:45:35 -06:00
40x [POWERPC] 4xx: Replace #includes of asm/of_platform.h with linux/of_platform.h. 2007-11-19 08:13:08 -06:00
44x [POWERPC] 4xx: Replace #includes of asm/of_platform.h with linux/of_platform.h. 2007-11-19 08:13:08 -06:00
52xx [POWERPC] Enable restart support for lite5200 board 2007-10-21 12:43:14 -06:00
82xx [POWERPC] 8xxx: Convert #include of asm/of_{platform, device}.h into linux/of_{platform, device}.h. 2007-12-11 13:57:17 -06:00
83xx [POWERPC] 83xx: mpc8313erdb: Fix whitespace. 2007-12-13 22:52:45 -06:00
85xx [POWERPC] 8xxx: Convert #include of asm/of_{platform, device}.h into linux/of_{platform, device}.h. 2007-12-11 13:57:17 -06:00
86xx [POWERPC] pci_controller->arch_data really is a struct device_node * 2007-12-11 13:42:37 +11:00
cell [POWERPC] celleb: Split machine definition 2007-12-20 16:15:30 +11:00
celleb [POWERPC] celleb: Split machine definition 2007-12-20 16:15:30 +11:00
chrp powerpc: Fix IDE legacy vs. native fixups 2007-12-10 07:39:54 -08:00
embedded6xx [POWERPC] Clean out asm/of_{platform, device}.h 2007-12-06 14:44:30 +11:00
iseries [POWERPC] iSeries: Fix unregistering HV event handlers 2007-12-20 16:11:46 +11:00
maple [POWERPC] pci_controller->arch_data really is a struct device_node * 2007-12-11 13:42:37 +11:00
pasemi [POWERPC] pasemi: Implement MSI support 2007-12-20 16:15:23 +11:00
powermac Merge branch 'linux-2.6' into for-2.6.25 2007-12-11 15:30:27 +11:00
prep [POWERPC] Split several platforms into their respective Kconfig file 2007-03-22 10:07:32 -05:00
ps3 Update arch/ to use sg helpers 2007-10-22 21:19:59 +02:00
pseries [POWERPC] Push down or eliminate smp_processor_id calls in xics code 2007-12-20 16:15:34 +11:00
fsl_uli1575.c [POWERPC] Fix interrupt routing and setup of ULI M1575 on FSL boards 2007-08-17 13:22:16 -05:00
Kconfig typo fixes 2007-10-20 01:34:40 +02:00
Kconfig.cputype [POWERPC] 4xx: Split early debug output and early boot console for 44x 2007-10-19 16:18:18 -05:00
Makefile [POWERPC] Walnut board support 2007-09-07 07:51:24 -05:00