diff options
author | Gautham R Shenoy <ego@in.ibm.com> | 2009-11-26 09:58:55 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-12-09 17:09:35 +1100 |
commit | b6db63d1a7f0138f348ba7a648df35ac6365988e (patch) | |
tree | d5e3aa14ba93f2dac15820bfec9fa2a6ae104206 /drivers/base/cpu.c | |
parent | 8389b37dffdc695b4fb363ebe0ed9748bb3b48d0 (diff) | |
download | kernel_goldelico_gta04-b6db63d1a7f0138f348ba7a648df35ac6365988e.zip kernel_goldelico_gta04-b6db63d1a7f0138f348ba7a648df35ac6365988e.tar.gz kernel_goldelico_gta04-b6db63d1a7f0138f348ba7a648df35ac6365988e.tar.bz2 |
pseries/pseries: Add code to online/offline CPUs of a DLPAR node
Currently the cpu-allocation/deallocation on pSeries is a
two step process from the Userspace.
- Set the indicators and update the device tree by writing to the sysfs
tunable "probe" during allocation and "release" during deallocation.
- Online / Offline the CPUs of the allocated/would_be_deallocated node by
writing to the sysfs tunable "online".
This patch adds kernel code to online/offline the CPUs soon_after/just_before
they have been allocated/would_be_deallocated. This way, the userspace tool
that performs DLPAR operations would only have to deal with one set of sysfs
tunables namely "probe" and release".
Signed-off-by: Gautham R Shenoy <ego@in.ibm.com>
Signed-off-by: Nathan Fontenot <nfont@austin.ibm.com>
Acked-by: Vaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'drivers/base/cpu.c')
0 files changed, 0 insertions, 0 deletions