Re: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-27 Thread rkrc...@redhat.com
2016-01-27 10:07+0800, Yang Zhang: > On 2016/1/27 2:22, rkrc...@redhat.com wrote: >>2016-01-26 09:44+0800, Yang Zhang: >>>On 2016/1/25 21:59, rkrc...@redhat.com wrote: >> Also, if wakeup vector were used for wakeup and multicast, we'd be >> uselessly doing work, because we can't tell

Re: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-27 Thread rkrc...@redhat.com
2016-01-27 10:07+0800, Yang Zhang: > On 2016/1/27 2:22, rkrc...@redhat.com wrote: >>2016-01-26 09:44+0800, Yang Zhang: >>>On 2016/1/25 21:59, rkrc...@redhat.com wrote: >> Also, if wakeup vector were used for wakeup and multicast, we'd be >> uselessly doing work, because we can't tell

Re: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-26 Thread Yang Zhang
On 2016/1/27 2:22, rkrc...@redhat.com wrote: 2016-01-26 09:44+0800, Yang Zhang: On 2016/1/25 21:59, rkrc...@redhat.com wrote: 2016-01-25 09:49+0800, Yang Zhang: On 2016/1/22 21:31, rkrc...@redhat.com wrote: 2016-01-22 10:03+0800, Yang Zhang: Not so complicated. We can reuse the wake up

Re: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-26 Thread rkrc...@redhat.com
2016-01-26 09:44+0800, Yang Zhang: > On 2016/1/25 21:59, rkrc...@redhat.com wrote: >>2016-01-25 09:49+0800, Yang Zhang: >>>On 2016/1/22 21:31, rkrc...@redhat.com wrote: 2016-01-22 10:03+0800, Yang Zhang: >Not so complicated. We can reuse the wake up vector and check whether the

Re: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-26 Thread rkrc...@redhat.com
2016-01-26 09:44+0800, Yang Zhang: > On 2016/1/25 21:59, rkrc...@redhat.com wrote: >>2016-01-25 09:49+0800, Yang Zhang: >>>On 2016/1/22 21:31, rkrc...@redhat.com wrote: 2016-01-22 10:03+0800, Yang Zhang: >Not so complicated. We can reuse the wake up vector and check whether the

Re: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-26 Thread Yang Zhang
On 2016/1/27 2:22, rkrc...@redhat.com wrote: 2016-01-26 09:44+0800, Yang Zhang: On 2016/1/25 21:59, rkrc...@redhat.com wrote: 2016-01-25 09:49+0800, Yang Zhang: On 2016/1/22 21:31, rkrc...@redhat.com wrote: 2016-01-22 10:03+0800, Yang Zhang: Not so complicated. We can reuse the wake up

Re: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-25 Thread Yang Zhang
On 2016/1/25 21:59, rkrc...@redhat.com wrote: 2016-01-25 09:49+0800, Yang Zhang: On 2016/1/22 21:31, rkrc...@redhat.com wrote: 2016-01-22 10:03+0800, Yang Zhang: Not so complicated. We can reuse the wake up vector and check whether the interrupt is multicast when one of destination vcpu

RE: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-25 Thread Wu, Feng
> -Original Message- > From: Radim Krcmár [mailto:rkrc...@redhat.com] > Sent: Monday, January 25, 2016 10:06 PM > To: Wu, Feng > Cc: Paolo Bonzini ; linux-kernel@vger.kernel.org; > k...@vger.kernel.org > Subject: Re: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the > interrupt

Re: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-25 Thread Radim Krcmár
2016-01-25 12:26+, Wu, Feng: >> From: Paolo Bonzini [mailto:paolo.bonz...@gmail.com] On Behalf Of Paolo >> It may be necessary because IRTE writes (128 bits) are not atomic. > > IRTE is updated atomically, I added the patch to support this. Please > refer to

Re: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-25 Thread rkrc...@redhat.com
2016-01-25 09:49+0800, Yang Zhang: > On 2016/1/22 21:31, rkrc...@redhat.com wrote: >>2016-01-22 10:03+0800, Yang Zhang: >>>Not so complicated. We can reuse the wake up vector and check whether the >>>interrupt is multicast when one of destination vcpu handles it. >> >>I'm not sure what you mean

RE: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-25 Thread Wu, Feng
> -Original Message- > From: Paolo Bonzini [mailto:pbonz...@redhat.com] > Sent: Monday, January 25, 2016 8:39 PM > To: Wu, Feng ; Radim Krcmár > Cc: linux-kernel@vger.kernel.org; k...@vger.kernel.org > Subject: Re: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the > interrupt is

Re: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-25 Thread Paolo Bonzini
On 25/01/2016 13:26, Wu, Feng wrote: >> > It may be necessary because IRTE writes (128 bits) are not atomic. > IRTE is updated atomically, I added the patch to support this. Please > refer to 344cb4e0b6f3a0dbef0643eacb4946338eb228c0. Great, I hadn't noticed that patch. Thanks. Paolo

RE: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-25 Thread Wu, Feng
> -Original Message- > From: Paolo Bonzini [mailto:paolo.bonz...@gmail.com] On Behalf Of Paolo > Bonzini > Sent: Monday, January 25, 2016 8:23 PM > To: Radim Krcmár ; Wu, Feng > Cc: linux-kernel@vger.kernel.org; k...@vger.kernel.org > Subject: Re: [PATCH v3 1/4] KVM: Recover IRTE to

Re: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-25 Thread Paolo Bonzini
On 22/01/2016 14:05, Radim Krcmár wrote: > > This is a good question. I also thought about this before, but after > > thinking it a bit more, seems we don't need to do this. > > If we don't do this, the in-flight interrupts will continue to be > > delivered in PI mode while we are changing it

Re: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-25 Thread Radim Krcmár
2016-01-25 12:26+, Wu, Feng: >> From: Paolo Bonzini [mailto:paolo.bonz...@gmail.com] On Behalf Of Paolo >> It may be necessary because IRTE writes (128 bits) are not atomic. > > IRTE is updated atomically, I added the patch to support this. Please > refer to

RE: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-25 Thread Wu, Feng
> -Original Message- > From: Paolo Bonzini [mailto:pbonz...@redhat.com] > Sent: Monday, January 25, 2016 8:39 PM > To: Wu, Feng ; Radim Krcmár > Cc: linux-kernel@vger.kernel.org; k...@vger.kernel.org > Subject: Re: [PATCH v3 1/4] KVM: Recover IRTE

RE: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-25 Thread Wu, Feng
> -Original Message- > From: Paolo Bonzini [mailto:paolo.bonz...@gmail.com] On Behalf Of Paolo > Bonzini > Sent: Monday, January 25, 2016 8:23 PM > To: Radim Krcmár ; Wu, Feng > Cc: linux-kernel@vger.kernel.org; k...@vger.kernel.org > Subject: Re:

Re: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-25 Thread Paolo Bonzini
On 25/01/2016 13:26, Wu, Feng wrote: >> > It may be necessary because IRTE writes (128 bits) are not atomic. > IRTE is updated atomically, I added the patch to support this. Please > refer to 344cb4e0b6f3a0dbef0643eacb4946338eb228c0. Great, I hadn't noticed that patch. Thanks. Paolo

Re: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-25 Thread rkrc...@redhat.com
2016-01-25 09:49+0800, Yang Zhang: > On 2016/1/22 21:31, rkrc...@redhat.com wrote: >>2016-01-22 10:03+0800, Yang Zhang: >>>Not so complicated. We can reuse the wake up vector and check whether the >>>interrupt is multicast when one of destination vcpu handles it. >> >>I'm not sure what you mean

Re: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-25 Thread Yang Zhang
On 2016/1/25 21:59, rkrc...@redhat.com wrote: 2016-01-25 09:49+0800, Yang Zhang: On 2016/1/22 21:31, rkrc...@redhat.com wrote: 2016-01-22 10:03+0800, Yang Zhang: Not so complicated. We can reuse the wake up vector and check whether the interrupt is multicast when one of destination vcpu

RE: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-25 Thread Wu, Feng
> -Original Message- > From: Radim Krcmár [mailto:rkrc...@redhat.com] > Sent: Monday, January 25, 2016 10:06 PM > To: Wu, Feng > Cc: Paolo Bonzini ; linux-kernel@vger.kernel.org; > k...@vger.kernel.org > Subject: Re: [PATCH v3 1/4] KVM: Recover

Re: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-25 Thread Paolo Bonzini
On 22/01/2016 14:05, Radim Krcmár wrote: > > This is a good question. I also thought about this before, but after > > thinking it a bit more, seems we don't need to do this. > > If we don't do this, the in-flight interrupts will continue to be > > delivered in PI mode while we are changing it

Re: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-24 Thread Yang Zhang
On 2016/1/22 21:31, rkrc...@redhat.com wrote: 2016-01-22 10:03+0800, Yang Zhang: On 2016/1/22 0:35, rkrc...@redhat.com wrote: 2016-01-21 13:44+0800, Yang Zhang: On 2016/1/21 13:41, Wu, Feng wrote: From: Yang Zhang [mailto:yang.zhang...@gmail.com] We may have different understanding on PI

Re: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-24 Thread Yang Zhang
On 2016/1/22 21:31, rkrc...@redhat.com wrote: 2016-01-22 10:03+0800, Yang Zhang: On 2016/1/22 0:35, rkrc...@redhat.com wrote: 2016-01-21 13:44+0800, Yang Zhang: On 2016/1/21 13:41, Wu, Feng wrote: From: Yang Zhang [mailto:yang.zhang...@gmail.com] We may have different understanding on PI

Re: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-22 Thread rkrc...@redhat.com
2016-01-22 10:03+0800, Yang Zhang: > On 2016/1/22 0:35, rkrc...@redhat.com wrote: >>2016-01-21 13:44+0800, Yang Zhang: >>>On 2016/1/21 13:41, Wu, Feng wrote: >From: Yang Zhang [mailto:yang.zhang...@gmail.com] >We may have different understanding on PI mode. My understanding is if >we

Re: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-22 Thread Radim Krcmár
2016-01-22 01:49+, Wu, Feng: >> From: Radim Krčmář [mailto:rkrc...@redhat.com] >> 2016-01-20 09:42+0800, Feng Wu: >> > - if (!kvm_intr_is_single_vcpu(kvm, , )) >> > + if (!kvm_intr_is_single_vcpu(kvm, , )) { >> > + /* >> > + * Make sure the

Re: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-22 Thread Radim Krcmár
2016-01-22 01:49+, Wu, Feng: >> From: Radim Krčmář [mailto:rkrc...@redhat.com] >> 2016-01-20 09:42+0800, Feng Wu: >> > - if (!kvm_intr_is_single_vcpu(kvm, , )) >> > + if (!kvm_intr_is_single_vcpu(kvm, , )) { >> > + /* >> > + * Make sure the

Re: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-22 Thread rkrc...@redhat.com
2016-01-22 10:03+0800, Yang Zhang: > On 2016/1/22 0:35, rkrc...@redhat.com wrote: >>2016-01-21 13:44+0800, Yang Zhang: >>>On 2016/1/21 13:41, Wu, Feng wrote: >From: Yang Zhang [mailto:yang.zhang...@gmail.com] >We may have different understanding on PI mode. My understanding is if >we

Re: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-21 Thread Yang Zhang
On 2016/1/22 0:35, rkrc...@redhat.com wrote: 2016-01-21 13:44+0800, Yang Zhang: On 2016/1/21 13:41, Wu, Feng wrote: From: Yang Zhang [mailto:yang.zhang...@gmail.com] We may have different understanding on PI mode. My understanding is if we set the IRTE to PI format, than the subsequent

RE: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-21 Thread Wu, Feng
> -Original Message- > From: Radim Krčmář [mailto:rkrc...@redhat.com] > Sent: Friday, January 22, 2016 12:20 AM > To: Wu, Feng > Cc: pbonz...@redhat.com; linux-kernel@vger.kernel.org; > k...@vger.kernel.org > Subject: Re: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the >

Re: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-21 Thread rkrc...@redhat.com
2016-01-21 13:44+0800, Yang Zhang: > On 2016/1/21 13:41, Wu, Feng wrote: >>>From: Yang Zhang [mailto:yang.zhang...@gmail.com] >>>We may have different understanding on PI mode. My understanding is if >>>we set the IRTE to PI format, than the subsequent interrupt will be >>>handled in PI mode.

Re: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-21 Thread Radim Krčmář
2016-01-20 09:42+0800, Feng Wu: > When the interrupt is not single destination any more, we need > to change back IRTE to remapped mode explicitly. > > Signed-off-by: Feng Wu > --- > diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c > @@ -10764,8 +10764,17 @@ static int

Re: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-21 Thread rkrc...@redhat.com
2016-01-21 13:44+0800, Yang Zhang: > On 2016/1/21 13:41, Wu, Feng wrote: >>>From: Yang Zhang [mailto:yang.zhang...@gmail.com] >>>We may have different understanding on PI mode. My understanding is if >>>we set the IRTE to PI format, than the subsequent interrupt will be >>>handled in PI mode.

Re: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-21 Thread Radim Krčmář
2016-01-20 09:42+0800, Feng Wu: > When the interrupt is not single destination any more, we need > to change back IRTE to remapped mode explicitly. > > Signed-off-by: Feng Wu > --- > diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c > @@ -10764,8 +10764,17 @@ static int

RE: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-21 Thread Wu, Feng
> -Original Message- > From: Radim Krčmář [mailto:rkrc...@redhat.com] > Sent: Friday, January 22, 2016 12:20 AM > To: Wu, Feng > Cc: pbonz...@redhat.com; linux-kernel@vger.kernel.org; > k...@vger.kernel.org > Subject: Re: [PATCH v3 1/4] KVM: Recover IRTE to remapped

Re: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-21 Thread Yang Zhang
On 2016/1/22 0:35, rkrc...@redhat.com wrote: 2016-01-21 13:44+0800, Yang Zhang: On 2016/1/21 13:41, Wu, Feng wrote: From: Yang Zhang [mailto:yang.zhang...@gmail.com] We may have different understanding on PI mode. My understanding is if we set the IRTE to PI format, than the subsequent

Re: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-20 Thread Yang Zhang
On 2016/1/21 13:41, Wu, Feng wrote: -Original Message- From: Yang Zhang [mailto:yang.zhang...@gmail.com] Sent: Thursday, January 21, 2016 1:36 PM To: Wu, Feng ; pbonz...@redhat.com; rkrc...@redhat.com Cc: linux-kernel@vger.kernel.org; k...@vger.kernel.org Subject: Re: [PATCH v3 1/4]

RE: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-20 Thread Wu, Feng
> -Original Message- > From: Yang Zhang [mailto:yang.zhang...@gmail.com] > Sent: Thursday, January 21, 2016 1:36 PM > To: Wu, Feng ; pbonz...@redhat.com; > rkrc...@redhat.com > Cc: linux-kernel@vger.kernel.org; k...@vger.kernel.org > Subject: Re: [PATCH v3 1/4] KVM: Recover IRTE to

Re: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-20 Thread Yang Zhang
On 2016/1/21 13:07, Wu, Feng wrote: -Original Message- From: Yang Zhang [mailto:yang.zhang...@gmail.com] Sent: Thursday, January 21, 2016 1:00 PM To: Wu, Feng ; pbonz...@redhat.com; rkrc...@redhat.com Cc: linux-kernel@vger.kernel.org; k...@vger.kernel.org Subject: Re: [PATCH v3 1/4]

RE: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-20 Thread Wu, Feng
> -Original Message- > From: Yang Zhang [mailto:yang.zhang...@gmail.com] > Sent: Thursday, January 21, 2016 1:00 PM > To: Wu, Feng ; pbonz...@redhat.com; > rkrc...@redhat.com > Cc: linux-kernel@vger.kernel.org; k...@vger.kernel.org > Subject: Re: [PATCH v3 1/4] KVM: Recover IRTE to

Re: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-20 Thread Yang Zhang
On 2016/1/21 12:42, Wu, Feng wrote: -Original Message- From: kvm-ow...@vger.kernel.org [mailto:kvm-ow...@vger.kernel.org] On Behalf Of Yang Zhang Sent: Thursday, January 21, 2016 11:35 AM To: Wu, Feng ; pbonz...@redhat.com; rkrc...@redhat.com Cc: linux-kernel@vger.kernel.org;

RE: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-20 Thread Tian, Kevin
> From: Wu, Feng > Sent: Thursday, January 21, 2016 12:43 PM > > > -Original Message- > > From: kvm-ow...@vger.kernel.org [mailto:kvm-ow...@vger.kernel.org] On > > Behalf Of Yang Zhang > > Sent: Thursday, January 21, 2016 11:35 AM > > To: Wu, Feng ; pbonz...@redhat.com; > >

RE: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-20 Thread Wu, Feng
> -Original Message- > From: kvm-ow...@vger.kernel.org [mailto:kvm-ow...@vger.kernel.org] On > Behalf Of Yang Zhang > Sent: Thursday, January 21, 2016 11:35 AM > To: Wu, Feng ; pbonz...@redhat.com; > rkrc...@redhat.com > Cc: linux-kernel@vger.kernel.org; k...@vger.kernel.org > Subject:

Re: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-20 Thread Yang Zhang
On 2016/1/21 11:14, Wu, Feng wrote: -Original Message- From: Yang Zhang [mailto:yang.zhang...@gmail.com] Sent: Thursday, January 21, 2016 11:06 AM To: Wu, Feng ; pbonz...@redhat.com; rkrc...@redhat.com Cc: linux-kernel@vger.kernel.org; k...@vger.kernel.org Subject: Re: [PATCH v3 1/4]

RE: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-20 Thread Wu, Feng
> -Original Message- > From: Yang Zhang [mailto:yang.zhang...@gmail.com] > Sent: Thursday, January 21, 2016 11:06 AM > To: Wu, Feng ; pbonz...@redhat.com; > rkrc...@redhat.com > Cc: linux-kernel@vger.kernel.org; k...@vger.kernel.org > Subject: Re: [PATCH v3 1/4] KVM: Recover IRTE to

Re: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-20 Thread Yang Zhang
On 2016/1/20 9:42, Feng Wu wrote: When the interrupt is not single destination any more, we need to change back IRTE to remapped mode explicitly. Signed-off-by: Feng Wu --- arch/x86/kvm/vmx.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/arch/x86/kvm/vmx.c

RE: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-20 Thread Wu, Feng
> -Original Message- > From: Yang Zhang [mailto:yang.zhang...@gmail.com] > Sent: Thursday, January 21, 2016 11:06 AM > To: Wu, Feng ; pbonz...@redhat.com; > rkrc...@redhat.com > Cc: linux-kernel@vger.kernel.org; k...@vger.kernel.org > Subject: Re: [PATCH v3 1/4] KVM:

Re: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-20 Thread Yang Zhang
On 2016/1/21 13:41, Wu, Feng wrote: -Original Message- From: Yang Zhang [mailto:yang.zhang...@gmail.com] Sent: Thursday, January 21, 2016 1:36 PM To: Wu, Feng ; pbonz...@redhat.com; rkrc...@redhat.com Cc: linux-kernel@vger.kernel.org; k...@vger.kernel.org Subject:

RE: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-20 Thread Tian, Kevin
> From: Wu, Feng > Sent: Thursday, January 21, 2016 12:43 PM > > > -Original Message- > > From: kvm-ow...@vger.kernel.org [mailto:kvm-ow...@vger.kernel.org] On > > Behalf Of Yang Zhang > > Sent: Thursday, January 21, 2016 11:35 AM > > To: Wu, Feng ; pbonz...@redhat.com;

Re: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-20 Thread Yang Zhang
On 2016/1/21 13:07, Wu, Feng wrote: -Original Message- From: Yang Zhang [mailto:yang.zhang...@gmail.com] Sent: Thursday, January 21, 2016 1:00 PM To: Wu, Feng ; pbonz...@redhat.com; rkrc...@redhat.com Cc: linux-kernel@vger.kernel.org; k...@vger.kernel.org Subject:

Re: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-20 Thread Yang Zhang
On 2016/1/20 9:42, Feng Wu wrote: When the interrupt is not single destination any more, we need to change back IRTE to remapped mode explicitly. Signed-off-by: Feng Wu --- arch/x86/kvm/vmx.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git

Re: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-20 Thread Yang Zhang
On 2016/1/21 12:42, Wu, Feng wrote: -Original Message- From: kvm-ow...@vger.kernel.org [mailto:kvm-ow...@vger.kernel.org] On Behalf Of Yang Zhang Sent: Thursday, January 21, 2016 11:35 AM To: Wu, Feng ; pbonz...@redhat.com; rkrc...@redhat.com Cc:

RE: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-20 Thread Wu, Feng
> -Original Message- > From: kvm-ow...@vger.kernel.org [mailto:kvm-ow...@vger.kernel.org] On > Behalf Of Yang Zhang > Sent: Thursday, January 21, 2016 11:35 AM > To: Wu, Feng ; pbonz...@redhat.com; > rkrc...@redhat.com > Cc: linux-kernel@vger.kernel.org;

RE: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-20 Thread Wu, Feng
> -Original Message- > From: Yang Zhang [mailto:yang.zhang...@gmail.com] > Sent: Thursday, January 21, 2016 1:36 PM > To: Wu, Feng ; pbonz...@redhat.com; > rkrc...@redhat.com > Cc: linux-kernel@vger.kernel.org; k...@vger.kernel.org > Subject: Re: [PATCH v3 1/4] KVM:

Re: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-20 Thread Yang Zhang
On 2016/1/21 11:14, Wu, Feng wrote: -Original Message- From: Yang Zhang [mailto:yang.zhang...@gmail.com] Sent: Thursday, January 21, 2016 11:06 AM To: Wu, Feng ; pbonz...@redhat.com; rkrc...@redhat.com Cc: linux-kernel@vger.kernel.org; k...@vger.kernel.org Subject:

RE: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-20 Thread Wu, Feng
> -Original Message- > From: Yang Zhang [mailto:yang.zhang...@gmail.com] > Sent: Thursday, January 21, 2016 1:00 PM > To: Wu, Feng ; pbonz...@redhat.com; > rkrc...@redhat.com > Cc: linux-kernel@vger.kernel.org; k...@vger.kernel.org > Subject: Re: [PATCH v3 1/4] KVM: