Patchwork [3/3] x86/cpuidle: add new CPU families

login
register
mail settings
Submitter Jan Beulich
Date Sept. 11, 2017, 10:04 a.m.
Message ID <59B67BB002000078001797EE@prv-mh.provo.novell.com>
Download mbox | patch
Permalink /patch/335673/
State New
Headers show

Comments

Jan Beulich - Sept. 11, 2017, 10:04 a.m.
Bring code up-to-date with SDM version 063.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Tian, Kevin - Sept. 18, 2017, 8:09 a.m.
> From: Jan Beulich [mailto:JBeulich@suse.com]
> Sent: Monday, September 11, 2017 6:04 PM
> To: xen-devel <xen-devel@lists.xenproject.org>
> Cc: Andrew Cooper <andrew.cooper3@citrix.com>; Nakajima, Jun
> <jun.nakajima@intel.com>; Tian, Kevin <kevin.tian@intel.com>
> Subject: [PATCH 3/3] x86/cpuidle: add new CPU families
> 
> Bring code up-to-date with SDM version 063.
> 
> Signed-off-by: Jan Beulich <jbeulich@suse.com>

Acked-by: Kevin Tian <kevin.tian@intel.com>

Patch

--- a/xen/arch/x86/acpi/cpu_idle.c
+++ b/xen/arch/x86/acpi/cpu_idle.c
@@ -162,7 +162,13 @@  static void do_get_hw_residencies(void *
     case 0x56:
     /* Skylake */
     case 0x4E:
+    case 0x55:
     case 0x5E:
+    /* Cannon Lake */
+    case 0x66:
+    /* Kaby Lake */
+    case 0x8E:
+    case 0x9E:
         GET_PC2_RES(hw_res->pc2);
         GET_CC7_RES(hw_res->cc7);
         /* fall through */
@@ -181,8 +187,10 @@  static void do_get_hw_residencies(void *
         GET_CC3_RES(hw_res->cc3);
         GET_CC6_RES(hw_res->cc6);
         break;
-    /* next gen Xeon Phi */
+    /* Xeon Phi Knights Landing */
     case 0x57:
+    /* Xeon Phi Knights Mill */
+    case 0x85:
         GET_CC3_RES(hw_res->mc0); /* abusing GET_CC3_RES */
         GET_CC6_RES(hw_res->mc6); /* abusing GET_CC6_RES */
         GET_PC2_RES(hw_res->pc2);
@@ -213,6 +221,8 @@  static void do_get_hw_residencies(void *
     /* Goldmont */
     case 0x5C:
     case 0x5F:
+    /* Goldmont Plus */
+    case 0x7A:
         GET_PC2_RES(hw_res->pc2);
         GET_PC3_RES(hw_res->pc3);
         GET_PC6_RES(hw_res->pc6);