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)
commiteeb8a7e8bb123e84daeef84f5a2eab99ad2839a2
tree85ef0ee0a9064144e2562ea28e88c19fe9dec842
parent4f6e24ed9de8634d6471ef86b382cba6d4e57ca8
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