public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH RFC v2 0/3] add cpu physically hotplug driver
@ 2013-06-06  1:40 liguang
  2013-06-06  1:40 ` [PATCH RFC v2 1/3] drivers/platform/x86: " liguang
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: liguang @ 2013-06-06  1:40 UTC (permalink / raw)
  To: Len Brown, Rafael J. Wysocki
  Cc: Matthew Garrett, linux-kernel, linux-acpi, platform-driver-x86,
	Andreas Färber, Igor Mammedov, liguang

This patch-set try to support physically hot-plug/unplug
a cpu automatically, that is:
if you offline a cpu, it will automatically actually remove
a cpu, and if you hot-plug a cpu, then it will online this
cpu automatically.
so, offline is just like eject, but eject attribute seems not
available since recent kernel(can't figure out when), with
this driver, if allowed, it will trigger a eject cpu process.
and for automatically online, it was said there are objections,
don't know the reason, so, send this patch-set boldly.

of course, this approach is for QEMU 's hotplug cpu emulation 
only, but not limited, if someone like to explore ec space to
implment cpu hot-plug/unplug for real platform please
feel free to continue.

Li Guang (3)
	 drivers/platform/x86: add cpu physically hotplug driver
	 ec: add ec space notifier
	 cpu_physic_hotplug: register handler for ec space notifier

drivers/acpi/ec.c                         | 32 ++++++++++++++++++++++++++++++++
drivers/platform/x86/Kconfig              |  8 ++++
drivers/platform/x86/Makefile             |  1 +
drivers/platform/x86/cpu_physic_hotplug.c | 90 +++++++++++++++++++++++++++++
include/linux/acpi.h                      |  2 ++
5 files changed, 130 insertions(+), 3 deletions(-)
 create mode 100644 drivers/platform/x86/cpu_physic_hotplug.c

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2013-06-10 11:47 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-06  1:40 [PATCH RFC v2 0/3] add cpu physically hotplug driver liguang
2013-06-06  1:40 ` [PATCH RFC v2 1/3] drivers/platform/x86: " liguang
2013-06-06  2:24   ` Gu Zheng
2013-06-06  3:03     ` li guang
2013-06-06  9:34   ` Borislav Petkov
2013-06-06  1:40 ` [PATCH RFC v2 2/3] ec: add ec space notifier liguang
2013-06-06 10:59   ` Rafael J. Wysocki
2013-06-10  0:46     ` li guang
2013-06-10 11:43       ` Rafael J. Wysocki
2013-06-06  1:40 ` [PATCH RFC v2 3/3] cpu_physic_hotplug: register handler for " liguang
2013-06-06 11:00 ` [PATCH RFC v2 0/3] add cpu physically hotplug driver Rafael J. Wysocki
2013-06-10  0:36   ` li guang
2013-06-10  3:51     ` Yasuaki Ishimatsu
2013-06-10  4:04       ` li guang
2013-06-10 11:47         ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox