Skip to content

mttcg: Handle exception and flags in atomic execution

Pranith Kumar qemu-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 0 repliesNew

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tcg: Save cpu flags in atomic executioncpu-exec.c+5 -00 replies
2/2tcg: Set jmp_env for exceptions from atomic executioncpu-exec.c+6 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/2] mttcg: Handle exception and flags in atomic execution

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(-)
Signature · 1 line
2.11.0