Re: [PATCH v3 3/4] KVM: arm64: GICv4.1: Restore VLPI's pending state to physical side

2021-03-12 Thread Shenming Lu
On 2021/3/12 20:02, Marc Zyngier wrote: > On Fri, 12 Mar 2021 11:34:07 +, > Shenming Lu wrote: >> >> On 2021/3/12 19:10, Marc Zyngier wrote: >>> On Fri, 12 Mar 2021 10:48:29 +, >>> Shenming Lu wrote: On 2021/3/12 17:05, Marc Zyngier wrote: > On Thu, 11 Mar 2021 12:32:07

Re: [PATCH v3 3/4] KVM: arm64: GICv4.1: Restore VLPI's pending state to physical side

2021-03-12 Thread Marc Zyngier
On Fri, 12 Mar 2021 11:34:07 +, Shenming Lu wrote: > > On 2021/3/12 19:10, Marc Zyngier wrote: > > On Fri, 12 Mar 2021 10:48:29 +, > > Shenming Lu wrote: > >> > >> On 2021/3/12 17:05, Marc Zyngier wrote: > >>> On Thu, 11 Mar 2021 12:32:07 +, > >>> Shenming Lu wrote: > >

Re: [PATCH v3 3/4] KVM: arm64: GICv4.1: Restore VLPI's pending state to physical side

2021-03-12 Thread Shenming Lu
On 2021/3/12 19:10, Marc Zyngier wrote: > On Fri, 12 Mar 2021 10:48:29 +, > Shenming Lu wrote: >> >> On 2021/3/12 17:05, Marc Zyngier wrote: >>> On Thu, 11 Mar 2021 12:32:07 +, >>> Shenming Lu wrote: On 2021/3/11 17:14, Marc Zyngier wrote: > On Wed, 27 Jan 2021 12:13:36

Re: [PATCH v3 3/4] KVM: arm64: GICv4.1: Restore VLPI's pending state to physical side

2021-03-12 Thread Marc Zyngier
On Fri, 12 Mar 2021 10:48:29 +, Shenming Lu wrote: > > On 2021/3/12 17:05, Marc Zyngier wrote: > > On Thu, 11 Mar 2021 12:32:07 +, > > Shenming Lu wrote: > >> > >> On 2021/3/11 17:14, Marc Zyngier wrote: > >>> On Wed, 27 Jan 2021 12:13:36 +, > >>> Shenming Lu wrote: > >

Re: [PATCH v3 3/4] KVM: arm64: GICv4.1: Restore VLPI's pending state to physical side

2021-03-12 Thread Shenming Lu
On 2021/3/12 17:05, Marc Zyngier wrote: > On Thu, 11 Mar 2021 12:32:07 +, > Shenming Lu wrote: >> >> On 2021/3/11 17:14, Marc Zyngier wrote: >>> On Wed, 27 Jan 2021 12:13:36 +, >>> Shenming Lu wrote: From: Zenghui Yu When setting the forwarding path of a VLPI (switch

Re: [PATCH v3 3/4] KVM: arm64: GICv4.1: Restore VLPI's pending state to physical side

2021-03-12 Thread Marc Zyngier
On Thu, 11 Mar 2021 12:32:07 +, Shenming Lu wrote: > > On 2021/3/11 17:14, Marc Zyngier wrote: > > On Wed, 27 Jan 2021 12:13:36 +, > > Shenming Lu wrote: > >> > >> From: Zenghui Yu > >> > >> When setting the forwarding path of a VLPI (switch to the HW mode), > >> we could also transfer

Re: [PATCH v3 3/4] KVM: arm64: GICv4.1: Restore VLPI's pending state to physical side

2021-03-11 Thread Shenming Lu
On 2021/3/11 17:14, Marc Zyngier wrote: > On Wed, 27 Jan 2021 12:13:36 +, > Shenming Lu wrote: >> >> From: Zenghui Yu >> >> When setting the forwarding path of a VLPI (switch to the HW mode), >> we could also transfer the pending state from irq->pending_latch to >> VPT (especially in

Re: [PATCH v3 3/4] KVM: arm64: GICv4.1: Restore VLPI's pending state to physical side

2021-03-11 Thread Marc Zyngier
On Wed, 27 Jan 2021 12:13:36 +, Shenming Lu wrote: > > From: Zenghui Yu > > When setting the forwarding path of a VLPI (switch to the HW mode), > we could also transfer the pending state from irq->pending_latch to > VPT (especially in migration, the pending states of VLPIs are restored >

[PATCH v3 3/4] KVM: arm64: GICv4.1: Restore VLPI's pending state to physical side

2021-01-27 Thread Shenming Lu
From: Zenghui Yu When setting the forwarding path of a VLPI (switch to the HW mode), we could also transfer the pending state from irq->pending_latch to VPT (especially in migration, the pending states of VLPIs are restored into kvm’s vgic first). And we currently send "INT+VSYNC" to trigger a