]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xen/acpi: ACPI memory hotplug
authorLiu Jinsong <jinsong.liu@intel.com>
Thu, 24 Jan 2013 12:19:47 +0000 (20:19 +0800)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Sat, 26 Jan 2013 00:32:47 +0000 (19:32 -0500)
commit259f201cb7ea64de0943f782618a6736d4d073fb
treed43c90001531f947c922c6e7ff322e703d51ef27
parentaf4b3478d660ac552d44583a8f151742f47445f8
xen/acpi: ACPI memory hotplug

This patch implements real Xen acpi memory hotplug driver as module.
When loaded, it replaces Xen stub driver.

When an acpi memory device hotadd event occurs, it notifies OS and
invokes notification callback, adding related memory device and parsing
memory information, finally hypercall to xen hypervisor to add memory.

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/xen-acpi-memhotplug.c [new file with mode: 0644]
include/xen/interface/platform.h