Re: [Qemu-devel] [PATCH v2 07/27] tcg: Add EXCP_ATOMIC

2016-09-08 Thread Richard Henderson
On 09/08/2016 01:38 AM, Alex Bennée wrote: >> +} else if (r == EXCP_ATOMIC) { >> > +/* ??? When we begin running cpus in parallel, we should >> > + stop all cpus, clear parallel_cpus, and interpret a >> > + single insn with

Re: [Qemu-devel] [PATCH v2 07/27] tcg: Add EXCP_ATOMIC

2016-09-08 Thread Alex Bennée
Richard Henderson writes: > When we cannot emulate an atomic operation within a parallel > context, this exception allows us to stop the world and try > again in a serial context. > > Signed-off-by: Richard Henderson > --- > cpu-exec-common.c | 6

[Qemu-devel] [PATCH v2 07/27] tcg: Add EXCP_ATOMIC

2016-07-01 Thread Richard Henderson
When we cannot emulate an atomic operation within a parallel context, this exception allows us to stop the world and try again in a serial context. Signed-off-by: Richard Henderson --- cpu-exec-common.c | 6 + cpu-exec.c | 23 +++ cpus.c