Re: [PATCH] powerpc/xmon: Fix invocation inside lock region

2018-11-09 Thread Thiago Jung Bauermann
Breno Leitao writes: > Currently xmon needs to get devtree_lock (through rtas_token()) during its > invocation (at crash time). If there is a crash while devtree_lock is being > held, then xmon tries to get the lock but spins forever and never get into > the interactive debugger, as in the foll

[PATCH] powerpc/xmon: Fix invocation inside lock region

2018-11-08 Thread Breno Leitao
Currently xmon needs to get devtree_lock (through rtas_token()) during its invocation (at crash time). If there is a crash while devtree_lock is being held, then xmon tries to get the lock but spins forever and never get into the interactive debugger, as in the following case: int *ptr = N