[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] x86: support Atom Tremont



Add model 0x86 to relevant switch() statements, as per SDM 069 Vol 4.
Take the liberty and also change Gemini Lake comments to say Goldmont
Plus. to match the SDM.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>

--- a/xen/arch/x86/acpi/cpu_idle.c
+++ b/xen/arch/x86/acpi/cpu_idle.c
@@ -224,6 +224,8 @@ static void do_get_hw_residencies(void *
     case 0x5F:
     /* Goldmont Plus */
     case 0x7A:
+    /* Tremont */
+    case 0x86:
         GET_PC2_RES(hw_res->pc2);
         GET_PC3_RES(hw_res->pc3);
         GET_PC6_RES(hw_res->pc6);
--- a/xen/arch/x86/hvm/vmx/vmx.c
+++ b/xen/arch/x86/hvm/vmx/vmx.c
@@ -2767,6 +2767,8 @@ static const struct lbr_info *last_branc
         case 0x66:
         /* Goldmont Plus */
         case 0x7a:
+        /* Tremont */
+        case 0x86:
         /* Kaby Lake */
         case 0x8e: case 0x9e:
             return sk_lbr;
--- a/xen/arch/x86/spec_ctrl.c
+++ b/xen/arch/x86/spec_ctrl.c
@@ -443,7 +443,8 @@ static bool __init should_use_eager_fpu(
     case 0x5a: /* Moorefield */
     case 0x5c: /* Goldmont */
     case 0x5f: /* Denverton */
-    case 0x7a: /* Gemini Lake */
+    case 0x7a: /* Goldmont Plus */
+    case 0x86: /* Tremont */
         return false;
 
         /*
@@ -530,7 +531,8 @@ static __init void l1tf_calculations(uin
         case 0x5a: /* Moorefield */
         case 0x5c: /* Goldmont */
         case 0x5f: /* Denverton */
-        case 0x7a: /* Gemini Lake */
+        case 0x7a: /* Goldmont Plus */
+        case 0x86: /* Tremont */
             break;
 
             /*





_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.