kernel-fxtec-pro1x/arch/powerpc/platforms/pseries
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
..
eeh.c [POWERPC] EEH: Be careful when identifying "empty" slots. 2007-12-03 13:56:26 +11:00
eeh_cache.c [POWERPC] EEH: Fix PCI bridge handling bug 2007-08-17 11:01:50 +10:00
eeh_driver.c [POWERPC] EEH: Avoid a possible NULL pointer dereference 2007-12-11 13:46:12 +11:00
eeh_event.c [POWERPC] Rename get_property to of_get_property: arch/powerpc 2007-04-13 03:55:19 +10:00
eeh_sysfs.c [POWERPC] Show EEH per-device false positives 2007-06-14 22:29:55 +10:00
firmware.c [POWERPC] Include udbg.h when using udbg_printf 2007-11-08 14:15:31 +11:00
hotplug-cpu.c [POWERPC] Don't enable cpu hotplug on pSeries machines with MPIC 2007-10-11 21:06:06 +10:00
hvCall.S [POWERPC] Bypass hcall stats until cpu features have run 2007-03-22 15:01:43 +11:00
hvCall_inst.c [PATCH] mark struct file_operations const 2 2007-02-12 09:48:44 -08:00
hvconsole.c [POWERPC] clean up pseries hcall interfaces 2006-08-01 16:19:15 +10:00
hvcserver.c [PATCH] powerpc/pseries: Change H_StudlyCaps to H_SHOUTING_CAPS 2006-04-01 22:36:57 +11:00
iommu.c [POWERPC] pci_controller->arch_data really is a struct device_node * 2007-12-11 13:42:37 +11:00
Kconfig [POWERPC] pSeries: make pseries_defconfig minus PCI build again 2007-11-19 15:11:30 +11:00
kexec.c [POWERPC] Fix compile error with kexec and CONFIG_SMP=n 2007-05-10 22:17:18 +10:00
lpar.c [POWERPC] Use 1TB segments 2007-10-12 14:05:17 +10:00
Makefile [POWERPC] Add EEH sysfs blinkenlights 2007-06-14 22:29:55 +10:00
msi.c [POWERPC] Read back MSI message in rtas_setup_msi_irqs() so restore works 2007-11-08 14:15:29 +11:00
nvram.c [POWERPC] Rename get_property to of_get_property: arch/powerpc 2007-04-13 03:55:19 +10: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] Rewrite IO allocation & mapping on powerpc64 2007-06-14 22:29:56 +10:00
plpar_wrappers.h [POWERPC] Remove prod_processor() 2007-12-03 13:56:25 +11:00
power.c remove "struct subsystem" as it is no longer needed 2007-05-02 18:57:59 -07:00
pseries.h [POWERPC] Fix future firmware feature fixups function failure 2007-07-22 21:30:58 +10:00
ras.c pid namespaces: define is_global_init() and is_container_init() 2007-10-19 11:53:37 -07:00
reconfig.c [POWERPC] Generalise device_node flag interface 2007-07-10 21:53:46 +10:00
rtasd.c [POWERPC] Fix panic in RTAS code 2007-10-03 15:31:37 +10:00
scanlog.c [PATCH] mark struct file_operations const 2 2007-02-12 09:48:44 -08:00
setup.c Revert "[POWERPC] Fix RTAS os-term usage on kernel panic" 2007-12-03 09:39:45 +11:00
smp.c [POWERPC] Cleanup SMT thread handling 2007-12-03 13:56:25 +11:00
xics.c [POWERPC] Push down or eliminate smp_processor_id calls in xics code 2007-12-20 16:15:34 +11:00
xics.h [POWERPC] Push down or eliminate smp_processor_id calls in xics code 2007-12-20 16:15:34 +11:00