Messages in this thread | | | From | "Fenghua Yu" <> | Subject | [PATCH 0/8] Online/offline BSP on x86 | Date | Wed, 5 Oct 2011 09:39:11 -0700 |
| |
From: Fenghua Yu <fenghua.yu@intel.com>
BSP or CPU0 has been the last obstacle to CPU hotplug on x86. This patch set implements BSP online and offline and removes this obstacle to CPU hotplug.
Fenghua Yu (8): x86, apic.c: Disable irq0 if CPU enables ARAT for local apic timer x86/mtrr/main.c: Ask the first online CPU to save mtrr x86, i387.c: thread xstate is initialized only on BSP once kernel/workqueue.c: unbound work queue rescuer runs on first cpu in cpumask_online_cpu x86, common.c, smpboot.c: Init BSP during BSP online and don't offline BSP if irq is bound to it x86, topology.c: Enable CPU0 online/offline kernel/power/main.c: Not suspend/resume if CPU0 is offlined kernel/cpu.c: Define bsp_hotpluggable variable
Documentation/kernel-parameters.txt | 7 ++++++ arch/x86/include/asm/processor.h | 1 + arch/x86/kernel/apic/apic.c | 5 ++++ arch/x86/kernel/cpu/common.c | 13 +++++++++-- arch/x86/kernel/cpu/mtrr/main.c | 6 +++- arch/x86/kernel/i387.c | 9 +++++++- arch/x86/kernel/smpboot.c | 38 ++++++++++++++++++++++++++++------ arch/x86/kernel/topology.c | 22 +++++++++++++------ include/linux/cpu.h | 2 + kernel/cpu.c | 5 ++++ kernel/power/main.c | 9 ++++++++ kernel/workqueue.c | 4 +- 12 files changed, 99 insertions(+), 22 deletions(-)
| |