Re: [PATCH v2] ARM: Fix deadlock scenario with smp_send_stop()

2013-07-30 Thread Stephen Boyd
On 07/24/13 13:36, Stephen Boyd wrote: > If one process calls sys_reboot and that process then stops other > CPUs while those CPUs are within a spin_lock() region we can > potentially encounter a deadlock scenario like below. > > CPU 0 CPU 1 > - - >

[PATCH v2] ARM: Fix deadlock scenario with smp_send_stop()

2013-07-24 Thread Stephen Boyd
If one process calls sys_reboot and that process then stops other CPUs while those CPUs are within a spin_lock() region we can potentially encounter a deadlock scenario like below. CPU 0 CPU 1 - - spin_lock(my_lock) smp_send_stop(