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

2013-07-24 Thread Stephen Boyd
On 07/24/13 13:21, Russell King - ARM Linux wrote: > On Wed, Jul 24, 2013 at 11:56:18AM -0700, Stephen Boyd wrote: >> On 07/09, 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

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

2013-07-24 Thread Russell King - ARM Linux
On Wed, Jul 24, 2013 at 11:56:18AM -0700, Stephen Boyd wrote: > On 07/09, 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

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

2013-07-24 Thread Stephen Boyd
On 07/09, 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] ARM: Fix deadlock scenario with smp_send_stop()

2013-07-09 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(

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

2012-09-11 Thread Stephen Boyd
On 09/05/12 14:01, 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] ARM: Fix deadlock scenario with smp_send_stop()

2012-09-05 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(