x86/intel: insert Ice Lake-SP and Ice Lake-D model numbers
authorIgor Druzhinin <igor.druzhinin@citrix.com>
Mon, 26 Apr 2021 08:22:48 +0000 (10:22 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 26 Apr 2021 08:22:48 +0000 (10:22 +0200)
LBR, C-state MSRs should correspond to Ice Lake desktop according to
SDM rev. 74 for both models.

Ice Lake-SP is known to expose IF_PSCHANGE_MC_NO in IA32_ARCH_CAPABILITIES MSR
(as advisory tells and Whitley SDP confirms) which means the erratum is fixed
in hardware for that model and therefore it shouldn't be present in
has_if_pschange_mc list. Provisionally assume the same to be the case
for Ice Lake-D.

Signed-off-by: Igor Druzhinin <igor.druzhinin@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
xen/arch/x86/acpi/cpu_idle.c
xen/arch/x86/hvm/vmx/vmx.c

index c092086b332209e0057276a0bf34fe137d0b344f..d788c8bffc843c77dde7a0cab54342e2bc23d70c 100644 (file)
@@ -181,6 +181,8 @@ static void do_get_hw_residencies(void *arg)
     case 0x55:
     case 0x5E:
     /* Ice Lake */
+    case 0x6A:
+    case 0x6C:
     case 0x7D:
     case 0x7E:
     /* Tiger Lake */
index 8e0aa976c22f5f916273fb700fc7895dd2827f97..dde4f3b70d5355220994fbcd665f9f357ebcd58c 100644 (file)
@@ -2973,7 +2973,7 @@ static const struct lbr_info *last_branch_msr_get(void)
         /* Goldmont Plus */
         case 0x7a:
         /* Ice Lake */
-        case 0x7d: case 0x7e:
+        case 0x6a: case 0x6c: case 0x7d: case 0x7e:
         /* Tiger Lake */
         case 0x8c: case 0x8d:
         /* Tremont */