]> 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)
commit20205447363e7d6a937a48029ad8ed581b8e39c0
tree85ef0ee0a9064144e2562ea28e88c19fe9dec842
parenta58a4fdf10b5b4b309a85c29dbfc738f1ae9dae1
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