xen/pcpu: Xen physical cpus online/offline sys interface
authorLiu, Jinsong <jinsong.liu@intel.com>
Mon, 11 Jun 2012 12:38:08 +0000 (20:38 +0800)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 19 Jul 2012 19:51:39 +0000 (15:51 -0400)
commitf65c9bb3fb725551d3e405f4d092caf24929cebe
treed68e9715ac73dd431709ddf2301a313105688b68
parent05e36006adc3046f86f2be8652a22d5f77ebd6ea
xen/pcpu: Xen physical cpus online/offline sys interface

This patch provide Xen physical cpus online/offline sys interface.
User can use it for their own purpose, like power saving:
by offlining some cpus when light workload it save power greatly.

Its basic workflow is, user online/offline cpu via sys interface,
then hypercall xen to implement, after done xen inject virq back to dom0,
and then dom0 sync cpu status.

Signed-off-by: Jiang, Yunhong <yunhong.jiang@intel.com>
Signed-off-by: Liu, Jinsong <jinsong.liu@intel.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Documentation/ABI/testing/sysfs-devices-system-xen_cpu [new file with mode: 0644]
drivers/xen/Makefile
drivers/xen/pcpu.c [new file with mode: 0644]
include/xen/interface/platform.h
include/xen/interface/xen.h