]> git.baikalelectronics.ru Git - kernel.git/commit
virtio_console: avoid config access from irq
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 5 Mar 2015 00:15:49 +0000 (10:45 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 5 Mar 2015 03:06:18 +0000 (13:36 +1030)
commit8b26285d970a943c5db11cddd1b0150ea4672691
tree85ef0ee0a9064144e2562ea28e88c19fe9dec842
parentbce13de1c34757595de54f1f95dd234b62f6f7dd
virtio_console: avoid config access from irq

when multiport is off, virtio console invokes config access from irq
context, config access is blocking on s390.
Fix this up by scheduling work from config irq - similar to what we do
for multiport configs.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: stable@kernel.org
drivers/char/virtio_console.c