Re: [PATCH] KVM: arm64: Allow in-atomic injection of SPIs

2020-06-09 Thread Marc Zyngier
On 2020-06-09 08:48, Auger Eric wrote: Hi Marc, On 6/8/20 7:19 PM, Marc Zyngier wrote: Hi Eric, On 2020-06-08 17:58, Auger Eric wrote: Hi Marc, On 5/26/20 6:11 PM, Marc Zyngier wrote: On a system that uses SPIs to implement MSIs (as it would be the case on a GICv2 system exposing a GICv2m

Re: [PATCH] KVM: arm64: Allow in-atomic injection of SPIs

2020-06-09 Thread Auger Eric
Hi Marc, On 6/8/20 7:19 PM, Marc Zyngier wrote: > Hi Eric, > > On 2020-06-08 17:58, Auger Eric wrote: >> Hi Marc, >> >> On 5/26/20 6:11 PM, Marc Zyngier wrote: >>> On a system that uses SPIs to implement MSIs (as it would be >>> the case on a GICv2 system exposing a GICv2m to its guests), >>> we

Re: [PATCH] KVM: arm64: Allow in-atomic injection of SPIs

2020-06-08 Thread Marc Zyngier
Hi Eric, On 2020-06-08 17:58, Auger Eric wrote: Hi Marc, On 5/26/20 6:11 PM, Marc Zyngier wrote: On a system that uses SPIs to implement MSIs (as it would be the case on a GICv2 system exposing a GICv2m to its guests), we deny the possibility of injecting SPIs on the in-atomic fast-path.

Re: [PATCH] KVM: arm64: Allow in-atomic injection of SPIs

2020-06-08 Thread Auger Eric
Hi Marc, On 5/26/20 6:11 PM, Marc Zyngier wrote: > On a system that uses SPIs to implement MSIs (as it would be > the case on a GICv2 system exposing a GICv2m to its guests), > we deny the possibility of injecting SPIs on the in-atomic > fast-path. > > This results in a very large amount of

Re: [PATCH] KVM: arm64: Allow in-atomic injection of SPIs

2020-05-27 Thread Zenghui Yu
Hi Marc, On 2020/5/27 15:55, Marc Zyngier wrote: Hi Zenghui, On 2020-05-27 08:41, Zenghui Yu wrote: On 2020/5/27 0:11, Marc Zyngier wrote: On a system that uses SPIs to implement MSIs (as it would be the case on a GICv2 system exposing a GICv2m to its guests), we deny the possibility of

Re: [PATCH] KVM: arm64: Allow in-atomic injection of SPIs

2020-05-27 Thread Marc Zyngier
Hi Zenghui, On 2020-05-27 08:41, Zenghui Yu wrote: On 2020/5/27 0:11, Marc Zyngier wrote: On a system that uses SPIs to implement MSIs (as it would be the case on a GICv2 system exposing a GICv2m to its guests), we deny the possibility of injecting SPIs on the in-atomic fast-path. This

Re: [PATCH] KVM: arm64: Allow in-atomic injection of SPIs

2020-05-27 Thread Zenghui Yu
On 2020/5/27 0:11, Marc Zyngier wrote: On a system that uses SPIs to implement MSIs (as it would be the case on a GICv2 system exposing a GICv2m to its guests), we deny the possibility of injecting SPIs on the in-atomic fast-path. This results in a very large amount of context-switches (roughly

[PATCH] KVM: arm64: Allow in-atomic injection of SPIs

2020-05-26 Thread Marc Zyngier
On a system that uses SPIs to implement MSIs (as it would be the case on a GICv2 system exposing a GICv2m to its guests), we deny the possibility of injecting SPIs on the in-atomic fast-path. This results in a very large amount of context-switches (roughly equivalent to twice the interrupt rate)