virtio_console: avoid config access from irq
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 5 Mar 2015 00:15:49 +0000 (10:45 +1030)
committerSasha Levin <sasha.levin@oracle.com>
Sat, 28 Mar 2015 13:36:55 +0000 (09:36 -0400)
commitee7fb5b37197d87a1bcf4e47b3b7f03ce6d02862
tree571050cfaeb52d89ee5e39c1d19edc77615e46c8
parent0b39fb19628e0f55676ce81e1411c45b7aebf43f
virtio_console: avoid config access from irq

[ Upstream commit eeb8a7e8bb123e84daeef84f5a2eab99ad2839a2 ]

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
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/char/virtio_console.c