Re: [PATCH v2 1/1] ppc/crash: Skip spinlocks during crash

2020-04-01 Thread kbuild test robot
Hi Leonardo, Thank you for the patch! Yet something to improve: [auto build test ERROR on tip/locking/core] [also build test ERROR on powerpc/next paulus-powerpc/kvm-ppc-next v5.6 next-20200401] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BT

Re: [PATCH v2 1/1] ppc/crash: Skip spinlocks during crash

2020-03-27 Thread Leonardo Bras
Hello Michael, On Fri, 2020-03-27 at 14:50 +1100, Michael Ellerman wrote: > Hi Leonardo, > > Leonardo Bras writes: > > During a crash, there is chance that the cpus that handle the NMI IPI > > are holding a spin_lock. If this spin_lock is needed by crashing_cpu it > > will cause a deadlock. (rta

Re: [PATCH v2 1/1] ppc/crash: Skip spinlocks during crash

2020-03-26 Thread Michael Ellerman
Hi Leonardo, Leonardo Bras writes: > During a crash, there is chance that the cpus that handle the NMI IPI > are holding a spin_lock. If this spin_lock is needed by crashing_cpu it > will cause a deadlock. (rtas_lock and printk logbuf_log as of today) Please give us more detail on how those lock

[PATCH v2 1/1] ppc/crash: Skip spinlocks during crash

2020-03-26 Thread Leonardo Bras
During a crash, there is chance that the cpus that handle the NMI IPI are holding a spin_lock. If this spin_lock is needed by crashing_cpu it will cause a deadlock. (rtas_lock and printk logbuf_log as of today) This is a problem if the system has kdump set up, given if it crashes for any reason kd