]> Git Repo - qemu.git/commitdiff
target/xtensa: add qemu_cpu_kick to xtensa_runstall
authorMax Filippov <[email protected]>
Mon, 14 Jan 2019 08:57:24 +0000 (00:57 -0800)
committerMax Filippov <[email protected]>
Thu, 24 Jan 2019 18:44:25 +0000 (10:44 -0800)
When xtensa_runstall is called to unstall a core it needs to kick it
after clearing runstall flag, otherwise the core doesn't start
immediately. There's also no point in clearing CPU_INTERRUPT_HALT, drop
it.

Signed-off-by: Max Filippov <[email protected]>
target/xtensa/helper.c

index 323c47a7fb54f0dca6f58b348f2388403e7bca40..bcf2f20d485843491e1d0657dacae07fc9518903 100644 (file)
@@ -252,7 +252,7 @@ void xtensa_runstall(CPUXtensaState *env, bool runstall)
     if (runstall) {
         cpu_interrupt(cpu, CPU_INTERRUPT_HALT);
     } else {
-        cpu_reset_interrupt(cpu, CPU_INTERRUPT_HALT);
+        qemu_cpu_kick(cpu);
     }
 }
 #endif
This page took 0.029643 seconds and 4 git commands to generate.