]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] 3215 deadlock with tty_wakeup
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 17 Feb 2012 09:29:22 +0000 (10:29 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 17 Feb 2012 09:29:33 +0000 (10:29 +0100)
commitd728f80c81f396544ce97b270fd6642d5f218537
tree0e5c7b817c01c408dc6edf28602c31a8b4fef299
parentecf7afe7921d57c2dfe0445721b1bd9370aba439
[S390] 3215 deadlock with tty_wakeup

The 3215 driver calls tty_wakeup from irq context while holding the
device spinlock. If printk is called by any function on the callchain
starting from tty_wakeup the system deadlocks on the device spinlock.
Using a tasklet to call tty_wakup solves the problem.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/char/con3215.c