Re: [PATCH v3 3/8] ppc/spapr: Use start-powered-off CPUState property

2020-07-28 Thread Thiago Jung Bauermann
Greg Kurz writes: > On Wed, 22 Jul 2020 23:56:52 -0300 > Thiago Jung Bauermann wrote: > >> PowerPC sPAPR CPUs start in the halted state, and spapr_reset_vcpu() >> attempts to implement this by setting CPUState::halted to 1. But that's too >> late for the case of hotplugged CPUs in a machine co

Re: [PATCH v3 3/8] ppc/spapr: Use start-powered-off CPUState property

2020-07-27 Thread Philippe Mathieu-Daudé
On 7/23/20 4:56 AM, Thiago Jung Bauermann wrote: > PowerPC sPAPR CPUs start in the halted state, and spapr_reset_vcpu() > attempts to implement this by setting CPUState::halted to 1. But that's too > late for the case of hotplugged CPUs in a machine configure with 2 or more > threads per core. > >

Re: [PATCH v3 3/8] ppc/spapr: Use start-powered-off CPUState property

2020-07-27 Thread Greg Kurz
On Wed, 22 Jul 2020 23:56:52 -0300 Thiago Jung Bauermann wrote: > PowerPC sPAPR CPUs start in the halted state, and spapr_reset_vcpu() > attempts to implement this by setting CPUState::halted to 1. But that's too > late for the case of hotplugged CPUs in a machine configure with 2 or more > threa

Re: [PATCH v3 3/8] ppc/spapr: Use start-powered-off CPUState property

2020-07-22 Thread David Gibson
On Wed, Jul 22, 2020 at 11:56:52PM -0300, Thiago Jung Bauermann wrote: 65;6003;1c> PowerPC sPAPR CPUs start in the halted state, and spapr_reset_vcpu() > attempts to implement this by setting CPUState::halted to 1. But that's too > late for the case of hotplugged CPUs in a machine configure with 2

[PATCH v3 3/8] ppc/spapr: Use start-powered-off CPUState property

2020-07-22 Thread Thiago Jung Bauermann
PowerPC sPAPR CPUs start in the halted state, and spapr_reset_vcpu() attempts to implement this by setting CPUState::halted to 1. But that's too late for the case of hotplugged CPUs in a machine configure with 2 or more threads per core. By then, other parts of QEMU have already caused the vCPU to