original_kernel/arch/powerpc/platforms/pseries
Jake Moilanen d8c391a559 [POWERPC] Donate idle CPU cycles on dedicated partitions
A Power6 can give up CPU cycles on a dedicated CPU (as opposed to a
shared CPU) to other shared processors if the administrator asks for it
(via the HMC).

This enables that to work properly on P6.

This just involves setting a bit in the CAS structure as well as the
VPA.  To donate cycles, a CPU has to have all SMT threads idle and
have the donate bit set in the VPA.  Then call H_CEDE.

The reason why shared processors just aren't used is because dedicated
CPUs are guaranteed an actual processor, yet the system is still able to
increase the capacity of the shared CPU pool.

Also rename the VPA's cpuctls_task_attrs field to a more accurate name.

Signed-off-by: Jake Moilanen <moilanen@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-06-14 22:29:58 +10:00
..
Kconfig
Makefile [POWERPC] Add EEH sysfs blinkenlights 2007-06-14 22:29:55 +10:00
eeh.c [POWERPC] Tweak EEH copyright info 2007-06-14 22:29:56 +10:00
eeh_cache.c [POWERPC] Tweak EEH copyright info 2007-06-14 22:29:56 +10:00
eeh_driver.c [POWERPC] Tweak EEH copyright info 2007-06-14 22:29:56 +10:00
eeh_event.c
eeh_sysfs.c [POWERPC] Show EEH per-device false positives 2007-06-14 22:29:55 +10:00
firmware.c
hotplug-cpu.c
hvCall.S
hvCall_inst.c
hvconsole.c
hvcserver.c
iommu.c [POWERPC] Minor pSeries IOMMU debug cleanup 2007-05-10 21:28:13 +10:00
kexec.c [POWERPC] Fix compile error with kexec and CONFIG_SMP=n 2007-05-10 22:17:18 +10:00
lpar.c [POWERPC] Rename device_is_compatible to of_device_is_compatible 2007-05-07 20:31:14 +10:00
msi.c [POWERPC] RTAS MSI implementation 2007-05-08 13:40:31 +10:00
nvram.c
pci.c
pci_dlpar.c [POWERPC] Rewrite IO allocation & mapping on powerpc64 2007-06-14 22:29:56 +10:00
plpar_wrappers.h
power.c remove "struct subsystem" as it is no longer needed 2007-05-02 18:57:59 -07:00
pseries.h [POWERPC] Rewrite IO allocation & mapping on powerpc64 2007-06-14 22:29:56 +10:00
ras.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
reconfig.c
rtasd.c
scanlog.c
setup.c [POWERPC] Donate idle CPU cycles on dedicated partitions 2007-06-14 22:29:58 +10:00
smp.c
xics.c [POWERPC] Fix compile warning in pseries xics code 2007-06-02 21:01:56 +10:00
xics.h