Re: [Xen-devel] [PATCH RFC] x86/vMSI-X: avoid missing first unmask of vectors

2016-04-01 Thread Jan Beulich
>>> On 01.04.16 at 16:58, wrote: >> From: Jan Beulich [mailto:jbeul...@suse.com] >> Sent: 01 April 2016 15:40 >> >>> On 01.04.16 at 16:27, wrote: >> >> From: Paul Durrant >> >> Sent: 01 April 2016 15:20 >> > I pulled staging and I still see (starting at line 300 in vmsi.c) >> > >> > /* Exit t

Re: [Xen-devel] [PATCH RFC] x86/vMSI-X: avoid missing first unmask of vectors

2016-04-01 Thread Paul Durrant
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: 01 April 2016 15:40 > To: Paul Durrant > Cc: Andrew Cooper; Anthony Perard; Stefano Stabellini; xen-devel; Keir > (Xen.org) > Subject: RE: [PATCH RFC] x86/vMSI-X: avoid missing first unmask of vectors > > >>> On 01

Re: [Xen-devel] [PATCH RFC] x86/vMSI-X: avoid missing first unmask of vectors

2016-04-01 Thread Jan Beulich
>>> On 01.04.16 at 16:27, wrote: >> -Original Message- >> From: Paul Durrant >> Sent: 01 April 2016 15:20 >> To: 'Jan Beulich' >> Cc: Andrew Cooper; Anthony Perard; Stefano Stabellini; xen-devel; Keir >> (Xen.org) >> Subject: RE: [PATCH RFC] x86/vMSI-X: avoid missing first unmask of vecto

Re: [Xen-devel] [PATCH RFC] x86/vMSI-X: avoid missing first unmask of vectors

2016-04-01 Thread Jan Beulich
>>> On 01.04.16 at 16:19, wrote: >> From: Jan Beulich [mailto:jbeul...@suse.com] >> Sent: 01 April 2016 15:18 >> Are you looking at some old code base? There's no entry->flags >> manipulation. We call guest_mask_msi_irq(), and for that we need >> to know the IRQ descriptor, which in turn requires

Re: [Xen-devel] [PATCH RFC] x86/vMSI-X: avoid missing first unmask of vectors

2016-04-01 Thread Paul Durrant
> -Original Message- > From: Paul Durrant > Sent: 01 April 2016 15:20 > To: 'Jan Beulich' > Cc: Andrew Cooper; Anthony Perard; Stefano Stabellini; xen-devel; Keir > (Xen.org) > Subject: RE: [PATCH RFC] x86/vMSI-X: avoid missing first unmask of vectors > > > -Original Message- > > F

Re: [Xen-devel] [PATCH RFC] x86/vMSI-X: avoid missing first unmask of vectors

2016-04-01 Thread Paul Durrant
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: 01 April 2016 15:18 > To: Paul Durrant > Cc: Andrew Cooper; Anthony Perard; Stefano Stabellini; xen-devel; Keir > (Xen.org) > Subject: RE: [PATCH RFC] x86/vMSI-X: avoid missing first unmask of vectors > > >>> On 01

Re: [Xen-devel] [PATCH RFC] x86/vMSI-X: avoid missing first unmask of vectors

2016-04-01 Thread Jan Beulich
>>> On 01.04.16 at 15:54, wrote: >> From: Jan Beulich [mailto:jbeul...@suse.com] >> Sent: 01 April 2016 14:43 >> >>> On 01.04.16 at 15:01, wrote: >> >> From: Jan Beulich [mailto:jbeul...@suse.com] >> >> Sent: 01 April 2016 12:21 >> >> >>> On 01.04.16 at 12:56, wrote: >> >> >> From: Jan Beulich [

Re: [Xen-devel] [PATCH RFC] x86/vMSI-X: avoid missing first unmask of vectors

2016-04-01 Thread Paul Durrant
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: 01 April 2016 14:43 > To: Paul Durrant > Cc: Andrew Cooper; Anthony Perard; Stefano Stabellini; xen-devel; Keir > (Xen.org) > Subject: RE: [PATCH RFC] x86/vMSI-X: avoid missing first unmask of vectors > > >>> On 01

Re: [Xen-devel] [PATCH RFC] x86/vMSI-X: avoid missing first unmask of vectors

2016-04-01 Thread Jan Beulich
>>> On 01.04.16 at 15:01, wrote: >> From: Jan Beulich [mailto:jbeul...@suse.com] >> Sent: 01 April 2016 12:21 >> >>> On 01.04.16 at 12:56, wrote: >> >> From: Jan Beulich [mailto:jbeul...@suse.com] >> >> Sent: 01 April 2016 10:59 >> >> >>> On 01.04.16 at 11:15, wrote: >> >> > Recent changes to Li

Re: [Xen-devel] [PATCH RFC] x86/vMSI-X: avoid missing first unmask of vectors

2016-04-01 Thread Paul Durrant
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: 01 April 2016 12:21 > To: Paul Durrant > Cc: Andrew Cooper; Anthony Perard; Stefano Stabellini; xen-devel; Keir > (Xen.org) > Subject: RE: [PATCH RFC] x86/vMSI-X: avoid missing first unmask of vectors > > >>> On 01

Re: [Xen-devel] [PATCH RFC] x86/vMSI-X: avoid missing first unmask of vectors

2016-04-01 Thread Jan Beulich
>>> On 01.04.16 at 12:56, wrote: >> -Original Message- >> From: Jan Beulich [mailto:jbeul...@suse.com] >> Sent: 01 April 2016 10:59 >> To: xen-devel >> Cc: Andrew Cooper; Anthony Perard; Paul Durrant; Stefano Stabellini; Keir >> (Xen.org) >> Subject: Re: [PATCH RFC] x86/vMSI-X: avoid miss

Re: [Xen-devel] [PATCH RFC] x86/vMSI-X: avoid missing first unmask of vectors

2016-04-01 Thread Paul Durrant
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: 01 April 2016 10:59 > To: xen-devel > Cc: Andrew Cooper; Anthony Perard; Paul Durrant; Stefano Stabellini; Keir > (Xen.org) > Subject: Re: [PATCH RFC] x86/vMSI-X: avoid missing first unmask of vectors > > >>> On 01

Re: [Xen-devel] [PATCH RFC] x86/vMSI-X: avoid missing first unmask of vectors

2016-04-01 Thread Jan Beulich
>>> On 01.04.16 at 11:15, wrote: > Recent changes to Linux result in there just being a single unmask > operation prior to expecting the first interrupts to arrive. However, > we've had a chicken-and-egg problem here: Qemu invokes > xc_domain_update_msi_irq(), ultimately leading to > msixtbl_pt_re