From: Eduardo Habkost <ehabkost@redhat.com>
To: Brijesh Singh <brijesh.singh@amd.com>, Babu Moger <babu.moger@amd.com>
Cc: qemu-devel@nongnu.org, Paolo Bonzini <pbonzini@redhat.com>,
Tom Lendacky <Thomas.Lendacky@amd.com>,
Richard Henderson <rth@twiddle.net>,
"Daniel P. Berrange" <berrange@redhat.com>,
Jon Masters <jcm@redhat.com>
Subject: [Qemu-devel] MSRC001_102C on EPYC (was Re: [PATCH v3] target-i386/cpu: Add new EPYC CPU model)
Date: Wed, 27 Jun 2018 11:48:34 -0300 [thread overview]
Message-ID: <20180627144834.GA20218@localhost.localdomain> (raw)
In-Reply-To: <20170815170051.127257-1-brijesh.singh@amd.com>
Hi,
On Tue, Aug 15, 2017 at 12:00:51PM -0500, Brijesh Singh wrote:
> Add a new base CPU model called 'EPYC' to model processors from AMD EPYC
> family (which includes EPYC 76xx,75xx,74xx, 73xx and 72xx).
>
> The following features bits have been added/removed compare to Opteron_G5
>
> Added: monitor, movbe, rdrand, mmxext, ffxsr, rdtscp, cr8legacy, osvw,
> fsgsbase, bmi1, avx2, smep, bmi2, rdseed, adx, smap, clfshopt, sha
> xsaveopt, xsavec, xgetbv1, arat
>
> Removed: xop, fma4, tbm
>
[...]
> + {
> + .name = "EPYC",
> + .level = 0xd,
> + .vendor = CPUID_VENDOR_AMD,
> + .family = 23,
> + .model = 1,
> + .stepping = 2,
These f/m/s values trigger model-specific code in Windows 10
guests[1], and I couldn't find any public information that allow
us to fix the problem.
Windows 10 tries to set bit 15 of MSRC001_102C, in code that
looks like workarounds for CPU Erratas.
I found a Revision Guide for family 17h[2], but it has no mention
of MSRC001_102C at all.
Can AMD help us fix this?
If we are unable to fix it, I plan to work around it by changing
EPYC's family/model/stepping to the values in Opteron_G5 on QEMU
3.0.
[1] Details can be seen at:
https://bugzilla.redhat.com/show_bug.cgi?id=1592276
https://bugzilla.redhat.com/show_bug.cgi?id=1593190#c12
[2] https://developer.amd.com/wp-content/resources/55449_1.12.pdf
--
Eduardo
next prev parent reply other threads:[~2018-06-27 14:48 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-15 17:00 [Qemu-devel] [PATCH v3] target-i386/cpu: Add new EPYC CPU model Brijesh Singh
2017-08-17 3:55 ` Wanpeng Li
2017-08-17 16:21 ` Brijesh Singh
2017-08-17 16:45 ` Paolo Bonzini
2017-08-17 18:37 ` Brijesh Singh
2017-08-21 11:52 ` Brijesh Singh
2017-08-22 14:44 ` Brijesh Singh
2017-08-22 15:49 ` Paolo Bonzini
2017-08-23 14:17 ` Eduardo Habkost
2018-06-27 14:48 ` Eduardo Habkost [this message]
2018-06-27 15:07 ` [Qemu-devel] MSRC001_102C on EPYC (was Re: [PATCH v3] target-i386/cpu: Add new EPYC CPU model) Paolo Bonzini
2018-06-27 15:09 ` Brijesh Singh
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=20180627144834.GA20218@localhost.localdomain \
--to=ehabkost@redhat.com \
--cc=Thomas.Lendacky@amd.com \
--cc=babu.moger@amd.com \
--cc=berrange@redhat.com \
--cc=brijesh.singh@amd.com \
--cc=jcm@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=rth@twiddle.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.