]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen/acpi: ACPI PAD driver
authorLiu, Jinsong <jinsong.liu@intel.com>
Thu, 8 Nov 2012 05:41:13 +0000 (05:41 +0000)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 5 Dec 2012 17:09:06 +0000 (12:09 -0500)
commit07f7ad897e4c9b5a87c57caa7cb0345ae3e533ee
tree482bae6ee4964a35606f65bddca63f32766cf222
parentc857b03eb94de162fc1010ac6d35a5631a501d70
xen/acpi: ACPI PAD driver

PAD is acpi Processor Aggregator Device which provides a control point
that enables the platform to perform specific processor configuration
and control that applies to all processors in the platform.

This patch is to implement Xen acpi pad logic. When running under Xen
virt platform, native pad driver would not work. Instead Xen pad driver,
a self-contained and thin logic level, would take over acpi pad logic.

When acpi pad notify OSPM, xen pad logic intercept and parse _PUR object
to get the expected idle cpu number, and then hypercall to hypervisor.
Xen hypervisor would then do the rest work, say, core parking, to idle
specific number of cpus on its own policy.

Signed-off-by: Jan Beulich <JBeulich@suse.com>
Signed-off-by: Liu Jinsong <jinsong.liu@intel.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Conflicts:
include/xen/interface/platform.h
drivers/xen/Makefile
drivers/xen/xen-acpi-pad.c [new file with mode: 0644]
include/xen/interface/platform.h
include/xen/interface/version.h