All of lore.kernel.org
 help / color / mirror / Atom feed
From: Olaf Hering <olaf@aepfle.de>
To: Yang Zhang <yang.z.zhang@intel.com>
Cc: Andrew.Cooper3@citrix.com, kevin.tian@intel.com,
	malcolm.crossley@citrix.com, JBeulich@suse.com,
	xen-devel@lists.xen.org
Subject: Re: [PATCH] vmx, apicv: fix save/restore issue with apicv
Date: Tue, 14 Oct 2014 16:19:27 +0200	[thread overview]
Message-ID: <20141014141927.GB17988@aepfle.de> (raw)
In-Reply-To: <1413014093-23050-1-git-send-email-yang.z.zhang@intel.com>

On Sat, Oct 11, Yang Zhang wrote:

> From: Yang Zhang <yang.z.zhang@Intel.com>
> 
> This patch fix two issues:
> 
> 1. Interrupts on PIR are lost during save/restore. Syncing the PIR
> into IRR during save will fix it.
> 
> 2. EOI exit bitmap doesn't setup correctly after restore. Here we
> will construct the eoi exit bimap via (IRR | ISR). Though it may cause
> unnecessary eoi exit of the interrupts that pending in IRR or ISR during
> save/resotre, each pending interrupt only causes one vmexit. The
> subsequent interrupts will adjust the eoi exit bitmap correctly. So
> the performace hurt can be ignored.
> 
> Signed-off-by: Yang Zhang <yang.z.zhang@Intel.com>
> ---
> Hi Olaf and Malcolm, Can you help to retest it? Because the key part
> is changed in this patch, so i'm not sure whether it still works in
> your side.
> 
> Also, Olaf, is it ok to add your SOB in this patch? If yes, I can resend
> it to do it.

Yes, thats fine.

I have tested this version and save/restore still works with current
staging.

Olaf

      parent reply	other threads:[~2014-10-14 14:19 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-11  7:54 [PATCH] vmx, apicv: fix save/restore issue with apicv Yang Zhang
2014-10-13  8:33 ` Jan Beulich
2014-10-14  5:43   ` Zhang, Yang Z
2014-10-14  9:18     ` Andrew Cooper
2014-10-14 12:54       ` Zhang, Yang Z
2014-10-14  9:53     ` Jan Beulich
2014-10-14 13:10       ` Zhang, Yang Z
2014-10-14 13:31         ` Jan Beulich
2014-10-16  6:38           ` Zhang, Yang Z
2014-10-16  9:53             ` Andrew Cooper
2014-10-14 14:19 ` Olaf Hering [this message]

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=20141014141927.GB17988@aepfle.de \
    --to=olaf@aepfle.de \
    --cc=Andrew.Cooper3@citrix.com \
    --cc=JBeulich@suse.com \
    --cc=kevin.tian@intel.com \
    --cc=malcolm.crossley@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 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.