From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: Boris Ostrovsky <boris.ostrovsky@amd.com>,
Christoph.Egger@amd.com, xen-devel@lists.xensource.com,
keir@xen.org
Subject: Re: [PATCH v5] x86/AMD: Add support for AMD's OSVW feature in guests
Date: Tue, 7 Feb 2012 12:05:35 -0500 [thread overview]
Message-ID: <20120207170535.GC4375@phenom.dumpdata.com> (raw)
In-Reply-To: <4F30EE610200007800071801@nat28.tlf.novell.com>
On Tue, Feb 07, 2012 at 08:26:57AM +0000, Jan Beulich wrote:
> >>> On 06.02.12 at 18:47, Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> wrote:
> > On Mon, Feb 06, 2012 at 06:39:25PM +0100, Boris Ostrovsky wrote:
> >> # HG changeset patch
> >> # User Boris Ostrovsky <boris.ostrovsky@amd.com>
> >> # Date 1328549858 -3600
> >> # Node ID 3cf8ffd0ab883dd09f943f4d8fb50f5cc1f04cd5
> >> # Parent e2722b24dc0962de37215320b05d1bb7c4c42864
> >> x86/AMD: Add support for AMD's OSVW feature in guests.
> >>
> >> In some cases guests should not provide workarounds for errata even when the
> >> physical processor is affected. For example, because of erratum 400 on
> > family
> >> 10h processors a Linux guest will read an MSR (resulting in VMEXIT) before
> >> going to idle in order to avoid getting stuck in a non-C0 state. This is not
> >
> > What about fixing the Linux guest to actually not do this? I presume you
> > have encountered this with HVM guests - would it be possible to use
> >
> > set_pm_idle_to_default(default_idle) in the HVM bootup path, say in
> > 'xen_hvm_guest_init' ??
>
> Are you saying this would work even with CONFIG_XEN not set
> (which I doubt, but is a valid case to consider)?
Ugh. Not in that case.
>
> Also, this sort of adjustment is exactly what is being done better
> in the hypervisor, as it'll address the problem at hand for all guests,
> no matter what kernel (version or kind) they run.
Right. I concur that it should also be done in the hypervisor. But earlier
versions of the hypervisor are not getting this patch. So fixing it in
the kernel could cover some issues if one is using Xen 4.0 for example.
Hm, it seems that I actually neglected to say that and made it sound
like it should be either in the hypervisor or in the kernel. I meant both.
>
> Jan
next prev parent reply other threads:[~2012-02-07 17:05 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-06 17:39 [PATCH v5] x86/AMD: Add support for AMD's OSVW feature in guests Boris Ostrovsky
2012-02-06 17:47 ` Konrad Rzeszutek Wilk
2012-02-06 18:44 ` Boris Ostrovsky
2012-02-06 23:08 ` Konrad Rzeszutek Wilk
2012-02-07 9:12 ` Christoph Egger
2012-02-07 8:26 ` Jan Beulich
2012-02-07 17:05 ` Konrad Rzeszutek Wilk [this message]
2012-02-07 11:51 ` Jan Beulich
2012-02-07 5:15 ` Keir Fraser
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=20120207170535.GC4375@phenom.dumpdata.com \
--to=konrad.wilk@oracle.com \
--cc=Christoph.Egger@amd.com \
--cc=JBeulich@suse.com \
--cc=boris.ostrovsky@amd.com \
--cc=keir@xen.org \
--cc=xen-devel@lists.xensource.com \
/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).