projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b7a3e1
)
target/xtensa: add qemu_cpu_kick to xtensa_runstall
author
Max Filippov
<jcmvbkbc@gmail.com>
Mon, 14 Jan 2019 08:57:24 +0000
(
00:57
-0800)
committer
Max Filippov
<jcmvbkbc@gmail.com>
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 <jcmvbkbc@gmail.com>
target/xtensa/helper.c
patch
|
blob
|
history
diff --git
a/target/xtensa/helper.c
b/target/xtensa/helper.c
index 323c47a7fb54f0dca6f58b348f2388403e7bca40..bcf2f20d485843491e1d0657dacae07fc9518903 100644
(file)
--- a/
target/xtensa/helper.c
+++ b/
target/xtensa/helper.c
@@
-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