qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/2] mttcg: Handle exception and flags in atomic execution
@ 2017-02-10 18:45 Pranith Kumar
  2017-02-10 18:45 ` [Qemu-devel] [PATCH v2 1/2] tcg: Save cpu " Pranith Kumar
  2017-02-10 18:45 ` [Qemu-devel] [PATCH v2 2/2] tcg: Set jmp_env for exceptions from " Pranith Kumar
  0 siblings, 2 replies; 3+ messages in thread
From: Pranith Kumar @ 2017-02-10 18:45 UTC (permalink / raw)
  To: qemu-devel; +Cc: Alex Bennée, Richard Henderson, Paolo Bonzini

The previous version, though ideal, needs more work to enable calling
start_exclusive() from cpu_exec() and also does not properly handle
exception from atomic context. Exceptions in atomic context will not
call exclusive_end() and would go to the outer most loop causing a deadlock.

The following patches allow proper handling of flags set and
exceptions from the atomic exectuion context.

Alex, please fold/squash them as you feel necessary.

Pranith Kumar (2):
  tcg: Save cpu flags in atomic execution
  tcg: Set jmp_env to handle exceptions from atomic execution

 cpu-exec.c | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

-- 
2.11.0

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-02-10 18:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-10 18:45 [Qemu-devel] [PATCH v2 0/2] mttcg: Handle exception and flags in atomic execution Pranith Kumar
2017-02-10 18:45 ` [Qemu-devel] [PATCH v2 1/2] tcg: Save cpu " Pranith Kumar
2017-02-10 18:45 ` [Qemu-devel] [PATCH v2 2/2] tcg: Set jmp_env for exceptions from " Pranith Kumar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).