• Liu, Jinsong's avatar
    xen/acpi: ACPI PAD driver · 92e3229d
    Liu, Jinsong authored
    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: default avatarJan Beulich <JBeulich@suse.com>
    Signed-off-by: default avatarLiu Jinsong <jinsong.liu@intel.com>
    Signed-off-by: default avatarKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
    92e3229d
platform.h 11.8 KB