From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: [Xenhackthon] Virtualized APIC registers - virtual interrupt delivery. Date: Mon, 15 Jul 2013 10:54:33 -0400 Message-ID: <20130715145433.GA5521@phenom.dumpdata.com> References: <20130603125949.GH6893@phenom.dumpdata.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "Zhang, Yang Z" Cc: "Nakajima, Jun" , Stefano Stabellini , xen-devel , "keir.xen@gmail.com" , Jan Beulich , "Zhang, Xiantao" List-Id: xen-devel@lists.xenproject.org On Thu, Jun 06, 2013 at 03:08:07AM +0000, Zhang, Yang Z wrote: > Stefano Stabellini wrote on 2013-06-05: > > On Wed, 5 Jun 2013, Zhang, Yang Z wrote: > >>>> Or just split the mechanism. Meaning use the event callback for "legacy" > >>>> type events, and for PCI passthrough devices (where the host supports > >>>> posted interrupts) just use the baremetal implementation. > >>>> > >>>> That would entail some form of hypercall to identify whether a PCIe device > >>>> is "posted-interrupt" candidate and if so don't use the event channel > >>>> mechanism for it. > >> What you mean "a PCIe device is posted-interrupt candidate"? Do you mean > > pass-through device will use event channel currently? > > > > On Linux, yes: Linux is going to remap the MSI/MSI-X onto an event > > channel. Therefore if we want to use posted-interrupts with pass-through > > devices we would need to disable event channel remapping for them. > Then we must disable event channel remapping if posted interrupt is used. When can we expect some of these patches to be posted? Thanks! > > Best regards, > Yang > >