]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit656d9125376006cf696b0836f1c6723a892629ca
tree0e5c7b817c01c408dc6edf28602c31a8b4fef299
parent2320c5793790fcda80e6dcc088dbda86040235e5
[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