From: George Dunlap <george.dunlap@eu.citrix.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: Keir Fraser <keir@xen.org>, Eddie Dong <eddie.dong@intel.com>,
xen-devel <xen-devel@lists.xen.org>,
paul.durrant@citrix.com, Jun Nakajima <jun.nakajima@intel.com>,
Yang Z Zhang <yang.z.zhang@intel.com>
Subject: Re: [PATCH v2 1/5] VMX: fix interaction of APIC-V and Viridian emulation
Date: Mon, 24 Jun 2013 14:09:50 +0100 [thread overview]
Message-ID: <51C8451E.3060600@eu.citrix.com> (raw)
In-Reply-To: <51C85D3F02000078000E003A@nat28.tlf.novell.com>
On 24/06/13 13:52, Jan Beulich wrote:
>>>> On 24.06.13 at 12:10, George Dunlap <george.dunlap@eu.citrix.com> wrote:
>> On 24/06/13 08:03, Jan Beulich wrote:
>>> Viridian using a synthetic MSR for issuing EOI notifications bypasses
>>> the normal in-processor handling, which would clear
>>> GUEST_INTR_STATUS.SVI. Hence we need to do this in software in order
>>> for future interrupts to get delivered.
>>>
>>> Based on analysis by Yang Z Zhang <yang.z.zhang@intel.com>.
>>>
>>> Signed-off-by: Jan Beulich <jbeulich@suse.com>
>> Hmm... so there are three paths which may end up calling this vmx EOI
>> code -- from viridian.c:wrmsr_vidiridan_regs(), from
>> vlapic.c:vlapic_reg_write(), and vmx_handle_eoi_write().
> This is the very reason why I favored patch 2 over this one for
> 4.3 ...
Yes, I think I didn't realize that when I looked at the patch on
Friday. (It was the end of a very tiring week.)
What other operating systems have you tested patch #2 with? IIRC Vista
and Win7 both also have extensions, IIRC. Also, has either #1 or #2
been tested on AMD boxen?
Choosing #1 involves the risk that we've missed something an will make
one of those three cases *not* like real hardware, which seems fairly
small. Choosing #2 involves the risk that MS may not have implemented
the feature flag checking properly -- they almost surely test it *with*
the feature flag much more than *without* it. Even if they do test
without it, they may not test with the particular combination of flags
that we are proposing.
So overall, I still tend to think #1 is probably less risky. But as I
said, I'm willing to go with either one.
-George
next prev parent reply other threads:[~2013-06-24 13:09 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-24 6:54 [PATCH v2 0/5] VMX: fix interaction of Viridian emulation with advanced features Jan Beulich
2013-06-24 7:03 ` [PATCH v2 1/5] VMX: fix interaction of APIC-V and Viridian emulation Jan Beulich
2013-06-24 10:10 ` George Dunlap
2013-06-24 12:52 ` Jan Beulich
2013-06-24 13:09 ` George Dunlap [this message]
2013-06-24 13:26 ` Jan Beulich
2013-06-24 13:29 ` George Dunlap
2013-06-24 13:48 ` Jan Beulich
2013-07-04 9:03 ` Andrew Cooper
2013-06-24 7:04 ` [PATCH v2 2/5] VMX/Viridian: suppress MSR-based APIC suggestion when having APIC-V Jan Beulich
2013-06-25 10:29 ` Paul Durrant
2013-06-25 13:43 ` George Dunlap
2013-06-25 13:59 ` Jan Beulich
2013-06-24 7:06 ` [PATCH v2 3/5] VMX: suppress pointless indirect calls Jan Beulich
2013-07-04 9:10 ` Andrew Cooper
2013-06-24 7:06 ` [PATCH v2 4/5] Viridian: populate CPUID leaf 6 Jan Beulich
2013-07-04 9:38 ` Andrew Cooper
2013-07-04 10:05 ` Jan Beulich
2013-07-04 10:18 ` Andrew Cooper
2013-06-24 7:08 ` [PATCH v2 5/5] Viridian: cleanup Jan Beulich
2013-07-04 9:38 ` Andrew Cooper
2013-07-04 8:38 ` [PATCH v2 0/5] VMX: fix interaction of Viridian emulation with advanced features Jan Beulich
2013-07-04 9:24 ` Zhang, Yang Z
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=51C8451E.3060600@eu.citrix.com \
--to=george.dunlap@eu.citrix.com \
--cc=JBeulich@suse.com \
--cc=eddie.dong@intel.com \
--cc=jun.nakajima@intel.com \
--cc=keir@xen.org \
--cc=paul.durrant@citrix.com \
--cc=xen-devel@lists.xen.org \
--cc=yang.z.zhang@intel.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).