Re: [Xen-devel] [PATCH v2] x86/apicv: fix RTC periodic timer and apicv issue

2016-10-26 Thread Xuquan (Quan Xu)
On October 26, 2016 5:35 PM, Tian, Kevin wrote: >> From: Xuquan (Quan Xu) [mailto:xuqu...@huawei.com] >> Sent: Wednesday, October 26, 2016 4:39 PM >> >> On October 26, 2016 1:20 PM, Tian, Kevin wrote: >> >> From: Xuquan (Quan Xu) [mailto:xuqu...@huawei.com] >> >> Sent: Tuesday, October 25, 2016

Re: [Xen-devel] [PATCH v2] x86/apicv: fix RTC periodic timer and apicv issue

2016-10-26 Thread Tian, Kevin
> From: Xuquan (Quan Xu) [mailto:xuqu...@huawei.com] > Sent: Wednesday, October 26, 2016 4:39 PM > > On October 26, 2016 1:20 PM, Tian, Kevin wrote: > >> From: Xuquan (Quan Xu) [mailto:xuqu...@huawei.com] > >> Sent: Tuesday, October 25, 2016 4:36 PM > >> > >> On October 24, 2016 3:02 PM, Tian,

Re: [Xen-devel] [PATCH v2] x86/apicv: fix RTC periodic timer and apicv issue

2016-10-26 Thread Xuquan (Quan Xu)
On October 25, 2016 9:01 PM, Konrad Rzeszutek Wilk < konrad.w...@oracle.com > wrote: >> > >Could you describe what the KVM implementation solution did that made it clean? >I am curious whether the concept could be put in Xen? Konrad, I am still learning this part. I will update it later. Quan

Re: [Xen-devel] [PATCH v2] x86/apicv: fix RTC periodic timer and apicv issue

2016-10-26 Thread Xuquan (Quan Xu)
On October 26, 2016 1:20 PM, Tian, Kevin wrote: >> From: Xuquan (Quan Xu) [mailto:xuqu...@huawei.com] >> Sent: Tuesday, October 25, 2016 4:36 PM >> >> On October 24, 2016 3:02 PM, Tian, Kevin wrote: >> >> From: Xuquan (Quan Xu) [mailto:xuqu...@huawei.com] >> >> Sent: Monday, October 17, 2016 5:28

Re: [Xen-devel] [PATCH v2] x86/apicv: fix RTC periodic timer and apicv issue

2016-10-25 Thread Tian, Kevin
> From: Xuquan (Quan Xu) [mailto:xuqu...@huawei.com] > Sent: Tuesday, October 25, 2016 4:36 PM > > On October 24, 2016 3:02 PM, Tian, Kevin wrote: > >> From: Xuquan (Quan Xu) [mailto:xuqu...@huawei.com] > >> Sent: Monday, October 17, 2016 5:28 PM > >> > >> >> > >> >>Back to the main open before

Re: [Xen-devel] [PATCH v2] x86/apicv: fix RTC periodic timer and apicv issue

2016-10-25 Thread Konrad Rzeszutek Wilk
On Tue, Oct 25, 2016 at 08:36:23AM +, Xuquan (Quan Xu) wrote: > On October 24, 2016 3:02 PM, Tian, Kevin wrote: > >> From: Xuquan (Quan Xu) [mailto:xuqu...@huawei.com] > >> Sent: Monday, October 17, 2016 5:28 PM > >> > >> >> > >> >>Back to the main open before holiday - multiple EOIs may come

Re: [Xen-devel] [PATCH v2] x86/apicv: fix RTC periodic timer and apicv issue

2016-10-25 Thread Xuquan (Quan Xu)
On October 25, 2016 4:36 PM, Quan Xu wrote: >I am afraid we could find a clean solution based on current implementation (kvm Sorry, a typo.. s/could/could not/ >is ok).. and apicv results in decreased application performance for some >windows >guest. > >So I suggest to configure '

Re: [Xen-devel] [PATCH v2] x86/apicv: fix RTC periodic timer and apicv issue

2016-10-25 Thread Xuquan (Quan Xu)
On October 24, 2016 3:02 PM, Tian, Kevin wrote: >> From: Xuquan (Quan Xu) [mailto:xuqu...@huawei.com] >> Sent: Monday, October 17, 2016 5:28 PM >> >> >> >> >>Back to the main open before holiday - multiple EOIs may come to >> >>clear irq_issued before guest actually handles the very vpt >>

Re: [Xen-devel] [PATCH v2] x86/apicv: fix RTC periodic timer and apicv issue

2016-10-24 Thread Tian, Kevin
> From: Xuquan (Quan Xu) [mailto:xuqu...@huawei.com] > Sent: Monday, October 17, 2016 5:28 PM > > >> > >>Back to the main open before holiday - multiple EOIs may come to clear > >>irq_issued before guest actually handles the very vpt injection > >>(possible if vpt vector is shared with other

Re: [Xen-devel] [PATCH v2] x86/apicv: fix RTC periodic timer and apicv issue

2016-10-21 Thread Tian, Kevin
Sorry I haven't got on this thread yet, but want you know it's on my list (hopefully will respond next week). > -Original Message- > From: Xuquan (Quan Xu) [mailto:xuqu...@huawei.com] > Sent: Monday, October 17, 2016 5:28 PM > To: Xuquan (Quan Xu); Tian, Kevin; Jan Beulich > Cc: Andrew

Re: [Xen-devel] [PATCH v2] x86/apicv: fix RTC periodic timer and apicv issue

2016-10-17 Thread Xuquan (Quan Xu)
On October 11, 2016 7:11 PM, Xuquan < xuqu...@huawei.com > wrote: >On October 11, 2016 3:49 PM, Tian, Kevin >>> From: Xuquan (Quan Xu) [mailto:xuqu...@huawei.com] >>> Sent: Monday, October 10, 2016 6:49 PM >>> >>> On October 10, 2016 5:40 PM, Jan Beulich < jbeul...@suse.com

Re: [Xen-devel] [PATCH v2] x86/apicv: fix RTC periodic timer and apicv issue

2016-10-11 Thread Xuquan (Quan Xu)
On October 11, 2016 3:49 PM, Tian, Kevin >> From: Xuquan (Quan Xu) [mailto:xuqu...@huawei.com] >> Sent: Monday, October 10, 2016 6:49 PM >> >> On October 10, 2016 5:40 PM, Jan Beulich < jbeul...@suse.com > wrote: >> >> >>> On 20.09.16 at 15:30,

Re: [Xen-devel] [PATCH v2] x86/apicv: fix RTC periodic timer and apicv issue

2016-10-11 Thread Tian, Kevin
> From: Xuquan (Quan Xu) [mailto:xuqu...@huawei.com] > Sent: Monday, October 10, 2016 6:49 PM > > On October 10, 2016 5:40 PM, Jan Beulich < jbeul...@suse.com > wrote: > >> >>> On 20.09.16 at 15:30, wrote: > >> > --- a/xen/arch/x86/hvm/vlapic.c > >> > +++

Re: [Xen-devel] [PATCH v2] x86/apicv: fix RTC periodic timer and apicv issue

2016-10-10 Thread Xuquan (Quan Xu)
On October 10, 2016 5:40 PM, Jan Beulich < jbeul...@suse.com > wrote: >> >>> On 20.09.16 at 15:30, wrote: >> > --- a/xen/arch/x86/hvm/vlapic.c >> > +++ b/xen/arch/x86/hvm/vlapic.c >> > @@ -433,6 +433,12 @@ void vlapic_EOI_set(struct vlapic *vlapic) >> >

Re: [Xen-devel] [PATCH v2] x86/apicv: fix RTC periodic timer and apicv issue

2016-10-10 Thread Jan Beulich
>>> On 10.10.16 at 11:21, wrote: > On September 26, 2016 2:39 PM, Jan Beulich < jbeul...@suse.com > wrote: > On 24.09.16 at 03:06, wrote: >>> On September 24, 2016 7:34 AM, Tian Kevin < kevin.t...@intel.com > wrote: > From: Jan Beulich

Re: [Xen-devel] [PATCH v2] x86/apicv: fix RTC periodic timer and apicv issue

2016-10-10 Thread Xuquan (Quan Xu)
On September 26, 2016 2:39 PM, Jan Beulich < jbeul...@suse.com > wrote: On 24.09.16 at 03:06, wrote: >> On September 24, 2016 7:34 AM, Tian Kevin < kevin.t...@intel.com > wrote: From: Jan Beulich [mailto:jbeul...@suse.com] Sent: Friday, September 23, 2016 11:34

Re: [Xen-devel] [PATCH v2] x86/apicv: fix RTC periodic timer and apicv issue

2016-09-26 Thread Tian, Kevin
> From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: Monday, September 26, 2016 2:35 PM > > >>> On 24.09.16 at 01:34, wrote: > >> From: Jan Beulich [mailto:jbeul...@suse.com] > >> Sent: Friday, September 23, 2016 11:34 PM > >> > >> >>> On 20.09.16 at 15:30,

Re: [Xen-devel] [PATCH v2] x86/apicv: fix RTC periodic timer and apicv issue

2016-09-26 Thread Jan Beulich
>>> On 24.09.16 at 03:06, wrote: > On September 24, 2016 7:34 AM, Tian Kevin < kevin.t...@intel.com > wrote: >>> From: Jan Beulich [mailto:jbeul...@suse.com] >>> Sent: Friday, September 23, 2016 11:34 PM >>> >>> >>> On 20.09.16 at 15:30, wrote: >>> > ---

Re: [Xen-devel] [PATCH v2] x86/apicv: fix RTC periodic timer and apicv issue

2016-09-26 Thread Jan Beulich
>>> On 24.09.16 at 01:34, wrote: >> From: Jan Beulich [mailto:jbeul...@suse.com] >> Sent: Friday, September 23, 2016 11:34 PM >> >> >>> On 20.09.16 at 15:30, wrote: >> > --- a/xen/arch/x86/hvm/vlapic.c >> > +++ b/xen/arch/x86/hvm/vlapic.c >> > @@

Re: [Xen-devel] [PATCH v2] x86/apicv: fix RTC periodic timer and apicv issue

2016-09-23 Thread Xuquan (Euler)
On September 24, 2016 7:34 AM, Tian Kevin < kevin.t...@intel.com > wrote: >> From: Jan Beulich [mailto:jbeul...@suse.com] >> Sent: Friday, September 23, 2016 11:34 PM >> >> >>> On 20.09.16 at 15:30, wrote: >> > --- a/xen/arch/x86/hvm/vlapic.c >> > +++

Re: [Xen-devel] [PATCH v2] x86/apicv: fix RTC periodic timer and apicv issue

2016-09-23 Thread Tian, Kevin
> From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: Friday, September 23, 2016 11:34 PM > > >>> On 20.09.16 at 15:30, wrote: > > --- a/xen/arch/x86/hvm/vlapic.c > > +++ b/xen/arch/x86/hvm/vlapic.c > > @@ -433,6 +433,12 @@ void vlapic_EOI_set(struct vlapic *vlapic) > >

Re: [Xen-devel] [PATCH v2] x86/apicv: fix RTC periodic timer and apicv issue

2016-09-23 Thread Jan Beulich
>>> On 20.09.16 at 15:30, wrote: > --- a/xen/arch/x86/hvm/vlapic.c > +++ b/xen/arch/x86/hvm/vlapic.c > @@ -433,6 +433,12 @@ void vlapic_EOI_set(struct vlapic *vlapic) > void vlapic_handle_EOI(struct vlapic *vlapic, u8 vector) > { > struct domain *d =