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

[Xen-changelog] [xen-unstable] svm: amend c/s 24990:322300fd2ebd (fake BU_CFG MSR on AMD revF)



# HG changeset patch
# User Jan Beulich <jbeulich@xxxxxxxx>
# Date 1331820558 -3600
# Node ID f47d91cb0faac1f8b505bc5f61c9608d39010992
# Parent  4da1453ed61c28a366162b49b2f59f62e070a799
svm: amend c/s 24990:322300fd2ebd (fake BU_CFG MSR on AMD revF)

Let's restrict such a hack to the known affected family.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
Acked-by: Keir Fraser <keir@xxxxxxx>
Acked-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx>
---


diff -r 4da1453ed61c -r f47d91cb0faa xen/arch/x86/hvm/svm/svm.c
--- a/xen/arch/x86/hvm/svm/svm.c        Thu Mar 15 11:47:27 2012 +0000
+++ b/xen/arch/x86/hvm/svm/svm.c        Thu Mar 15 15:09:18 2012 +0100
@@ -1505,7 +1505,7 @@
         if ( rdmsr_safe(msr, *msr_content) == 0 )
             break;
 
-        if ( msr == MSR_F10_BU_CFG )
+        if ( boot_cpu_data.x86 == 0xf && msr == MSR_F10_BU_CFG )
         {
             /* Win2k8 x64 reads this MSR on revF chips, where it
              * wasn't publically available; it uses a magic constant

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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