All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: "Zhang, Yang Z" <yang.z.zhang@intel.com>
Cc: "keir.xen@gmail.com" <keir.xen@gmail.com>,
	"Zhang, Xiantao" <xiantao.zhang@intel.com>,
	"JBeulich@suse.com" <JBeulich@suse.com>,
	"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: [PATCH 0/4] Add posted interrupt supporting
Date: Wed, 10 Apr 2013 09:42:44 -0400	[thread overview]
Message-ID: <20130410134244.GB5686@phenom.dumpdata.com> (raw)
In-Reply-To: <A9667DDFB95DB7438FA9D7D576C3D87E09A069AE@SHSMSX101.ccr.corp.intel.com>

On Wed, Apr 10, 2013 at 01:32:41PM +0000, Zhang, Yang Z wrote:
> Konrad Rzeszutek Wilk wrote on 2013-04-10:
> > On Wed, Apr 10, 2013 at 02:51:41AM +0000, Zhang, Yang Z wrote:
> >> Konrad Rzeszutek Wilk wrote on 2013-04-10:
> >>> On Tue, Apr 09, 2013 at 02:01:27PM +0800, Yang Zhang wrote:
> >>>> From: Yang Zhang <yang.z.zhang@Intel.com>
> >>>> 
> >>>> The follwoing patches are adding the Posted Interrupt supporting to Xen:
> >>>> Posted Interrupt allows vAPIC interrupts to inject into guest directly
> >>>> without any vmexit.
> >>> 
> >>> Is there a mechanism for the guest to figure out whether this is exported?
> >> Expose it to guest? No.
> >> 
> >>> 
> >>> Right now the Linux PVHVM guests will use the event channel mechanism
> >>> (via the 0xf3 callback vector). This means that if we want to do IPIs
> >>> (RESCHEDULE_VECTOR or CALL_FUNCTION_*) we end up doing a vmexit - but
> >>> with this we should be able to do these inside the guest right?
> >> I am not familiar with PV staffs. Will event channel mechanism touch vAPIC? If
> > no, perhaps the answer is not.
> > 
> > No it won't. But any any inter-OS vectors (such as IPIs) would benefit
> > from vAPIC right? As in posting those vectors (assuming the destination
> > VCPU is running) would not cause an VMEXIT?
> Yes.
> 
> >> 
> >>> 
> >>> If so, is there a mechanism inside the guest to detect this and
> >>> use the HVM mechanisms for IPI?
> >> Why guest should aware of this? Current implementation already covers the
> > vIPI.
> > 
> > Not sure I understand you. What current implementation?
> I thought you mean the vIPI. Obviously, I am wrong. :(
> What does " HVM mechanisms for IPI " mean? 

'__default_send_IPI_dest_field' in the Linux code, which is
writting in the ICR2 field in the APIC.

  reply	other threads:[~2013-04-10 13:42 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-09  6:01 [PATCH 0/4] Add posted interrupt supporting Yang Zhang
2013-04-09  6:01 ` [PATCH 1/4] VMX: Detect posted interrupt capability Yang Zhang
2013-04-09  6:01 ` [PATCH 2/4] VMX: Turn on posted interrupt bit in vmcs Yang Zhang
2013-04-09  8:04   ` Jan Beulich
2013-04-09  8:30     ` Zhang, Yang Z
2013-04-09  8:55       ` Jan Beulich
2013-04-09  9:53         ` Zhang, Yang Z
2013-04-09  8:23   ` Jan Beulich
2013-04-09  8:38     ` Keir Fraser
2013-04-09  8:48       ` Zhang, Yang Z
2013-04-09  6:01 ` [PATCH 3/4] VMX: Add posted interrupt supporting Yang Zhang
2013-04-09  7:39   ` Keir Fraser
2013-04-09  7:58     ` Zhang, Yang Z
2013-04-09  8:14       ` Keir Fraser
2013-04-09  8:23         ` Zhang, Yang Z
2013-04-09  8:40           ` Keir Fraser
2013-04-09  8:17   ` Jan Beulich
2013-04-09  8:40     ` Zhang, Yang Z
2013-04-09  8:59       ` Keir Fraser
2013-04-09  8:53     ` Zhang, Yang Z
2013-04-09  9:00       ` Jan Beulich
2013-04-09  9:18         ` Keir Fraser
2013-04-09  6:01 ` [PATCH 4/4] VMX: Use posted interrupt to deliver virutal interrupt Yang Zhang
2013-04-09  7:40   ` Keir Fraser
2013-04-09  8:25     ` Zhang, Yang Z
2013-04-09 20:26 ` [PATCH 0/4] Add posted interrupt supporting Konrad Rzeszutek Wilk
2013-04-10  2:51   ` Zhang, Yang Z
2013-04-10 13:22     ` Konrad Rzeszutek Wilk
2013-04-10 13:32       ` Zhang, Yang Z
2013-04-10 13:42         ` Konrad Rzeszutek Wilk [this message]
2013-04-19 11:49           ` Stefano Stabellini
2013-04-19 13:10             ` Jan Beulich
2013-04-19 14:16               ` Stefano Stabellini
2013-04-19 14:23                 ` Jan Beulich
2013-04-20  7:26               ` Zhang, Yang Z
2013-04-20 13:33                 ` Stefano Stabellini
2013-04-10 13:58 ` Zhang, Yang Z
2013-04-10 14:34   ` Jan Beulich
2013-04-10 16:18     ` Keir Fraser
2013-04-11  1:04       ` 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=20130410134244.GB5686@phenom.dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=JBeulich@suse.com \
    --cc=keir.xen@gmail.com \
    --cc=xen-devel@lists.xen.org \
    --cc=xiantao.zhang@intel.com \
    --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.