search for: xenpf_set_processor_pminfo_t

Displaying 2 results from an estimated 2 matches for "xenpf_set_processor_pminfo_t".

2008 Sep 19
8
[PATCH] x86: add hypercall to query current underlying pCPU''s frequency
...================================ --- 2008-09-19.orig/xen/include/public/platform.h 2008-09-19 14:12:02.000000000 +0200 +++ 2008-09-19/xen/include/public/platform.h 2008-09-19 13:59:35.000000000 +0200 @@ -312,6 +312,16 @@ struct xenpf_set_processor_pminfo { typedef struct xenpf_set_processor_pminfo xenpf_set_processor_pminfo_t; DEFINE_XEN_GUEST_HANDLE(xenpf_set_processor_pminfo_t); +#define XENPF_get_cpu_freq 55 +struct xenpf_get_cpu_freq { + /* IN variables */ + uint32_t vcpu; + /* OUT variables */ + uint32_t freq; /* in kHz */ +}; +typedef struct xenpf_get_cpu_freq xenpf_get_cpu_freq_t; +DEFINE_XE...
2011 Aug 15
36
expose MWAIT to dom0
There''re basically two methods to enter a given C-state: legacy (hlt + I/O read), and native(using mwait). MWAIT is always preferred when both underlying CPU and OS support, which is a more efficient way to conduct C-state transition. Xen PM relies on Dom0 to parse ACPI Cx/Px information, which involves one step to notify BIOS about a set of capabilities supported by OSPM. One capability