[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-arm] [PATCH v12 20/24] target-arm/powerctl: defer cpu reset wo
Re: [Qemu-arm] [PATCH v12 20/24] target-arm/powerctl: defer cpu reset work to CPU context
Fri, 17 Feb 2017 13:07:18 +0000
On 13 February 2017 at 12:10, Alex Bennée <address@hidden> wrote:
> When switching a new vCPU on we want to complete a bunch of the setup
> work before we start scheduling the vCPU thread. To do this cleanly we
> defer vCPU setup to async work which will run the vCPUs execution
> context as the thread is woken up. The scheduling of the work will kick
> the vCPU awake.
> This avoids potential races in MTTCG system emulation.
> Signed-off-by: Alex Bennée <address@hidden>
> Reviewed-by: Richard Henderson <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>