Skip to contentSkip to conversation

x86/cpuidle: add Westmere-EX support to hw residencies reading logic

PATCH In review Jan Beulich 3 participants 5 messages Nov 9, 2011 – Dec 19, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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/

xen/arch/x86/acpi/cpu_idle.c +1 -0
@@ -120,6 +120,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);

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/

xen/arch/x86/acpi/cpu_idle.c +1 -0
@@ -120,6 +120,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);

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

ACK!
Thanks Jan for making the cpu model list more complete.

Shan Haitao

2011/11/9 Jan Beulich <[email protected]>:

Quoted 25 lines

This is in accordance with
http://software.intel.com/en-us/articles/intel-processor-identification-with-cpuid-model-and-family-numbers/

xen/arch/x86/acpi/cpu_idle.c +0 -0
@@ -120,6 +120,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);

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#2 lore raw

Should this be back-ported to 4.1?
-George

Quoted 36 lines · Haitao Shan

ACK!
Thanks Jan for making the cpu model list more complete.

Shan Haitao

2011/11/9 Jan Beulich <[email protected]>:

Quoted 19 lines

This is in accordance with
http://software.intel.com/en-us/articles/intel-processor-identification-with-cpuid-model-and-family-numbers/

xen/arch/x86/acpi/cpu_idle.c +0 -0
@@ -120,6 +120,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);

Quoted 6 lines

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw

Ping?

Quoted 40 lines · George Dunlap

Should this be back-ported to 4.1?
 -George

Quoted 36 lines · Haitao Shan

ACK!
Thanks Jan for making the cpu model list more complete.

Shan Haitao

2011/11/9 Jan Beulich <[email protected]>:

Quoted 19 lines

This is in accordance with
http://software.intel.com/en-us/articles/intel-processor-identification-with-cpuid-model-and-family-numbers/

xen/arch/x86/acpi/cpu_idle.c +0 -0
@@ -120,6 +120,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);

Quoted 6 lines

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#4 lore raw
Quoted 2 lines
Quoted 1 line
Quoted 1 line · George Dunlap

Ping?

Oops - was the original question directed to me, and overlooked it?

Anyway - it can easily be backported, but I don't view it as a critical fix.

Jan

Quoted 44 lines
Quoted 12 lines · George Dunlap

Should this be back-ported to 4.1?
-George

Quoted 8 lines · Haitao Shan

ACK!
Thanks Jan for making the cpu model list more complete.

Shan Haitao

2011/11/9 Jan Beulich <[email protected]>:

Quoted 2 lines

This is in accordance with

http://software.intel.com/en-us/articles/intel-processor-identification-with-cpuid
-model-and-family-numbers/

Quoted 28 lines
Quoted 28 lines
Quoted 17 lines
xen/arch/x86/acpi/cpu_idle.c +1 -0
@@ -120,6 +120,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);
Quoted 6 lines

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel