]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xen/pcu: 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>
Mon, 11 Jun 2012 20:21:06 +0000 (16:21 -0400)
commit363293ed0d3418610881bee6234199bcbb369654
treefcc8e50c5bfada9092399bd50bbc99c61ce399a2
parent149000b5bd77317c3f9b2672dddd5fcfc7fb5b07
xen/pcu: 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