Re: [Qemu-devel] [PATCH 2/3] spapr_cpu_core: don't reset CPUs during realization

2018-01-18 Thread David Gibson
On Thu, Jan 18, 2018 at 04:39:30PM +0100, Greg Kurz wrote: > On Thu, 18 Jan 2018 14:43:40 +1100 > David Gibson wrote: > > > On Wed, Jan 17, 2018 at 10:20:35AM +0100, Greg Kurz wrote: > > > When QEMU is started, all cold-plugged CPUs are reset twice: first > > > during initialization and then duri

Re: [Qemu-devel] [PATCH 2/3] spapr_cpu_core: don't reset CPUs during realization

2018-01-18 Thread Greg Kurz
On Thu, 18 Jan 2018 14:43:40 +1100 David Gibson wrote: > On Wed, Jan 17, 2018 at 10:20:35AM +0100, Greg Kurz wrote: > > When QEMU is started, all cold-plugged CPUs are reset twice: first > > during initialization and then during machine reset. This is sub- > > optimal. > > > > The first reset is

Re: [Qemu-devel] [PATCH 2/3] spapr_cpu_core: don't reset CPUs during realization

2018-01-17 Thread David Gibson
On Wed, Jan 17, 2018 at 10:20:35AM +0100, Greg Kurz wrote: > When QEMU is started, all cold-plugged CPUs are reset twice: first > during initialization and then during machine reset. This is sub- > optimal. > > The first reset is only needed for hot-plugged CPUs because the CPU > hotplug code does

[Qemu-devel] [PATCH 2/3] spapr_cpu_core: don't reset CPUs during realization

2018-01-17 Thread Greg Kurz
When QEMU is started, all cold-plugged CPUs are reset twice: first during initialization and then during machine reset. This is sub- optimal. The first reset is only needed for hot-plugged CPUs because the CPU hotplug code doesn't reset them. This patch adds the necessary code to reset hot-plugged