Re: [PATCH] cpu_exec_step_atomic: update the cpu running flag

2021-01-15 Thread Richard Henderson
On 9/21/20 9:42 PM, Douglas Crosher wrote: > > The cpu_exec_step_atomic() function is called with the cpu->running > clear and proceeds to run target code without setting this flag. If > this target code generates an exception then handle_cpu_signal() will > unnecessarily abort. > > For example i

[PATCH] cpu_exec_step_atomic: update the cpu running flag

2020-09-22 Thread Douglas Crosher
The cpu_exec_step_atomic() function is called with the cpu->running clear and proceeds to run target code without setting this flag. If this target code generates an exception then handle_cpu_signal() will unnecessarily abort. For example if atomic code generates a memory protection fault. Thi