From: Christoph Egger <Christoph.Egger@amd.com>
To: "xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: [PATCH] MCE: Allow AMD MSRs injected via xen-mceinj
Date: Fri, 26 Oct 2012 11:31:53 +0200 [thread overview]
Message-ID: <508A5889.8030801@amd.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 349 bytes --]
Allow AMD MSRs injected via xen-mceinj
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
--
---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
[-- Attachment #2: xen_mce_msrinject.diff --]
[-- Type: text/plain, Size: 904 bytes --]
diff -r 7abb25095de0 xen/arch/x86/cpu/mcheck/mce.c
--- a/xen/arch/x86/cpu/mcheck/mce.c Thu Oct 25 13:15:19 2012 +0200
+++ b/xen/arch/x86/cpu/mcheck/mce.c Fri Oct 26 09:55:35 2012 +0200
@@ -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)
[-- Attachment #3: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
reply other threads:[~2012-10-26 9:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=508A5889.8030801@amd.com \
--to=christoph.egger@amd.com \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).