We already have do_cpu_reset called when the system is reset so there is no need to do it here.
By removing this we now only do (smp*2)-1 calls to cpu_reset. Once per core as part of qemu_system_reset and then once per secondary core as PSCI calls are made to reset them. Signed-off-by: Alex Bennée <[email protected]> --- target/arm/cpu.c | 1 - 1 file changed, 1 deletion(-) diff --git a/target/arm/cpu.c b/target/arm/cpu.c index caf7980b1fc..015131aea08 100644 --- a/target/arm/cpu.c +++ b/target/arm/cpu.c @@ -2208,7 +2208,6 @@ static void arm_cpu_realizefn(DeviceState *dev, Error **errp) } qemu_init_vcpu(cs); - cpu_reset(cs); acc->parent_realize(dev, errp); } -- 2.47.3
