Skip to contentSkip to conversation

MCE: Allow AMD MSRs injected via xen-mceinj

PATCH New Christoph Egger 1 participant 1 message Oct 26, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MCE: Allow AMD MSRs injected via xen-mceinj

Allow AMD MSRs injected via xen-mceinj

Signature · 6 lines
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85689 Dornach b. Muenchen
Geschaeftsfuehrer: Alberto Bozzo
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632
xen/arch/x86/cpu/mcheck/mce.c +13 -0
diff -r 7abb25095de0 xen/arch/x86/cpu/mcheck/mce.c
@@ -1145,6 +1121,19 @@ static int x86_mc_msrinject_verify(struc
             case MSR_IA32_MCG_STATUS:
                 break;
 
+            case MSR_F10_MC4_MISC1:
+            case MSR_F10_MC4_MISC2:
+            case MSR_F10_MC4_MISC3:
+                if (c->x86_vendor != X86_VENDOR_AMD) {
+                    reason = "only supported on AMD";
+                    break;
+                }
+                if (c->x86 < 0x10) {
+                    reason = "only supported on AMD Family 10h+";
+                    break;
+                }
+                break;
+
                 /* MSRs that the HV will take care of */
             case MSR_K8_HWCR:
                 if (c->x86_vendor == X86_VENDOR_AMD)

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