xen/acpi: ACPI cpu hotplug
authorLiu Jinsong <jinsong.liu@intel.com>
Fri, 25 Jan 2013 07:43:34 +0000 (15:43 +0800)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 20 Feb 2013 03:02:29 +0000 (22:02 -0500)
commit39adc483d378f79711f291539f20e3797337892d
tree7f045e2f284864f5f16cb3b072d2cb25e6e16801
parent40a58637a4fa10a2faea71f0f30ff0b3d74c6e00
xen/acpi: ACPI cpu hotplug

This patch implement real Xen ACPI cpu hotplug driver as module.
When loaded, it replaces Xen stub driver.

For booting existed cpus, the driver enumerates them.
For hotadded cpus, which added at runtime and notify OS via
device or container event, the driver is invoked to add them,
parsing cpu information, hypercalling to Xen hypervisor to add
them, and finally setting up new /sys interface for them.

Signed-off-by: Liu Jinsong <jinsong.liu@intel.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/Kconfig
drivers/xen/Makefile
drivers/xen/pcpu.c
drivers/xen/xen-acpi-cpuhotplug.c [new file with mode: 0644]
include/xen/acpi.h
include/xen/interface/platform.h