Received: from eggs.gnu.org ([2001:4830:134:3::10]:37196) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bomjX-00087B-UC for qemu-devel@nongnu.org; Tue, 27 Sep 2016 03:23:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bomjU-0001UX-Mg for qemu-devel@nongnu.org; Tue, 27 Sep 2016 03:23:19 -0400 Received: from mailapp02.imgtec.com ([217.156.133.132]:34321 helo=mailapp01.imgtec.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bomjU-0001UP-Gw for qemu-devel@nongnu.org; Tue, 27 Sep 2016 03:23:16 -0400 From: Leon Alrae Date: Tue, 27 Sep 2016 08:23:06 +0100 Message-ID: <1474960986-8193-1-git-send-email-leon.alrae@imgtec.com> MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH] hw/mips_cpc: kick a VP when putting it into Run state List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: aurelien@aurel32.net, yongbok.kim@imgtec.com While testing mttcg I noticed that VP0 gets stuck in a loop waiting for other VPs to come up (which never actually happens). To fix this kick VPs while they are being powered up by Cluster Power Controller. Signed-off-by: Leon Alrae --- hw/misc/mips_cpc.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/hw/misc/mips_cpc.c b/hw/misc/mips_cpc.c index 6d34574..b3ff558 100644 --- a/hw/misc/mips_cpc.c +++ b/hw/misc/mips_cpc.c @@ -38,6 +38,7 @@ static void cpc_run_vp(MIPSCPCState *cpc, uint64_t vp_run) uint64_t i = 1ULL << cs->cpu_index; if (i & vp_run & ~cpc->vp_running) { cpu_reset(cs); + qemu_cpu_kick(cs); cpc->vp_running |= i; } } -- 1.7.1