24 lines
794 B
Diff
24 lines
794 B
Diff
|
# HG changeset patch
|
||
|
# User Jan Beulich <jbeulich@suse.com>
|
||
|
# Date 1322645021 -3600
|
||
|
# Node ID 64088ba60263d3a623851b43a872c93c71cc3cbf
|
||
|
# Parent df7cec2c6c03f07932555954948ce7c8d09e88f4
|
||
|
x86/cpuidle: add Westmere-EX support to hw residencies reading logic
|
||
|
|
||
|
This is in accordance with
|
||
|
http://software.intel.com/en-us/articles/intel-processor-identification-with-cpuid-model-and-family-numbers/
|
||
|
|
||
|
Signed-off-by: Jan Beulich <jbeulich@suse.com>
|
||
|
Acked-by: Haitao Shan <maillists.shan@gmail.com>
|
||
|
|
||
|
--- a/xen/arch/x86/acpi/cpu_idle.c
|
||
|
+++ b/xen/arch/x86/acpi/cpu_idle.c
|
||
|
@@ -113,6 +113,7 @@ static void do_get_hw_residencies(void *
|
||
|
/* Westmere */
|
||
|
case 0x25:
|
||
|
case 0x2C:
|
||
|
+ case 0x2F:
|
||
|
GET_PC3_RES(hw_res->pc3);
|
||
|
GET_PC6_RES(hw_res->pc6);
|
||
|
GET_PC7_RES(hw_res->pc7);
|