]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Sat, 26 Jan 2013 00:35:53 +0000 (19:35 -0500)
commit181232c249f0f910aec95af5effceb4fe640265e
tree885e9a2ae08adcc031bee07d10b828083421aa41
parent0681494dbe7eaa7f69c317e9831553d4df75f8e5
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