Re: [PATCH v2 3/4] spapr/xive: Allocate IPIs independently from the other sources

2020-11-05 Thread Greg Kurz
On Thu, 5 Nov 2020 09:37:27 +0100 Cédric Le Goater wrote: > On 8/20/20 3:45 PM, Cédric Le Goater wrote: > > The vCPU IPIs are now allocated in kvmppc_xive_cpu_connect() when the > > vCPU connects to the KVM device and not when all the sources are reset > > in kvmppc_xive_source_reset() > > This

Re: [PATCH v2 3/4] spapr/xive: Allocate IPIs independently from the other sources

2020-11-05 Thread Cédric Le Goater
On 8/20/20 3:45 PM, Cédric Le Goater wrote: > The vCPU IPIs are now allocated in kvmppc_xive_cpu_connect() when the > vCPU connects to the KVM device and not when all the sources are reset > in kvmppc_xive_source_reset() This patch is introducing a regression when vsmt is in used. https://bugs.

[PATCH v2 3/4] spapr/xive: Allocate IPIs independently from the other sources

2020-08-20 Thread Cédric Le Goater
The vCPU IPIs are now allocated in kvmppc_xive_cpu_connect() when the vCPU connects to the KVM device and not when all the sources are reset in kvmppc_xive_source_reset() This requires extra care for hotplug vCPUs and VM restore. Signed-off-by: Cédric Le Goater --- hw/intc/spapr_xive_kvm.c | 47