Re: [PATCH v4 16/20] KVM: arm64: GICv4.1: Allow SGIs to switch between HW and SW interrupts

2020-03-01 Thread Zenghui Yu
Hi Marc, On 2020/2/29 3:16, Marc Zyngier wrote: Hi Zenghui, On 2020-02-20 03:55, Zenghui Yu wrote: Hi Marc, On 2020/2/14 22:57, Marc Zyngier wrote: In order to let a guest buy in the new, active-less SGIs, we need to be able to switch between the two modes. Handle this by stopping all

Re: [PATCH v4 16/20] KVM: arm64: GICv4.1: Allow SGIs to switch between HW and SW interrupts

2020-02-28 Thread Marc Zyngier
Hi Zenghui, On 2020-02-20 03:55, Zenghui Yu wrote: Hi Marc, On 2020/2/14 22:57, Marc Zyngier wrote: In order to let a guest buy in the new, active-less SGIs, we need to be able to switch between the two modes. Handle this by stopping all guest activity, transfer the state from one mode to

Re: [PATCH v4 16/20] KVM: arm64: GICv4.1: Allow SGIs to switch between HW and SW interrupts

2020-02-19 Thread Zenghui Yu
Hi Marc, On 2020/2/14 22:57, Marc Zyngier wrote: In order to let a guest buy in the new, active-less SGIs, we need to be able to switch between the two modes. Handle this by stopping all guest activity, transfer the state from one mode to the other, and resume the guest. Signed-off-by: Marc

[PATCH v4 16/20] KVM: arm64: GICv4.1: Allow SGIs to switch between HW and SW interrupts

2020-02-14 Thread Marc Zyngier
In order to let a guest buy in the new, active-less SGIs, we need to be able to switch between the two modes. Handle this by stopping all guest activity, transfer the state from one mode to the other, and resume the guest. Signed-off-by: Marc Zyngier --- include/kvm/arm_vgic.h | 3 ++