From: Keir Fraser <keir.xen@gmail.com>
To: Jan Beulich <JBeulich@suse.com>, xen-devel <xen-devel@lists.xen.org>
Cc: George Dunlap <George.Dunlap@eu.citrix.com>
Subject: Re: [PATCH] svm: amend c/s 24990:322300fd2ebd (fake BU_CFG MSR on AMD revF)
Date: Thu, 15 Mar 2012 13:54:33 +0000 [thread overview]
Message-ID: <CB87A519.2E5A9%keir.xen@gmail.com> (raw)
In-Reply-To: <4F61EFF80200007800078A9E@nat28.tlf.novell.com>
On 15/03/2012 12:34, "Jan Beulich" <JBeulich@suse.com> wrote:
> Let's restrict such a hack to the known affected family.
>
> Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
> --- a/xen/arch/x86/hvm/svm/svm.c
> +++ b/xen/arch/x86/hvm/svm/svm.c
> @@ -1505,7 +1505,7 @@ static int svm_msr_read_intercept(unsign
> 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-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
next prev parent reply other threads:[~2012-03-15 13:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-15 12:34 [PATCH] svm: amend c/s 24990:322300fd2ebd (fake BU_CFG MSR on AMD revF) Jan Beulich
2012-03-15 13:54 ` Keir Fraser [this message]
2012-03-15 14:00 ` George Dunlap
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=CB87A519.2E5A9%keir.xen@gmail.com \
--to=keir.xen@gmail.com \
--cc=George.Dunlap@eu.citrix.com \
--cc=JBeulich@suse.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).