Re: tty/hvc: possible irq lock inversion dependency detected

2017-03-29 Thread Michael Ellerman
Denis Kirjanov writes: > Hi, > > Ok, now we have a new locking issue with interrupts which I found on my P8 > box. > I haven't found where we take the console_lock, only in hvc_remove. > > BTW, Ben, looks like it's a bug in hvc_remove: > we take spin_lock and then

tty/hvc: possible irq lock inversion dependency detected

2017-03-27 Thread Denis Kirjanov
Hi, Ok, now we have a new locking issue with interrupts which I found on my P8 box. I haven't found where we take the console_lock, only in hvc_remove. BTW, Ben, looks like it's a bug in hvc_remove: we take spin_lock and then semaphore lock. [178327.461954]