]> git.baikalelectronics.ru Git - kernel.git/commit
um: virtio_uml: move device breaking into workqueue
authorBenjamin Berg <benjamin.berg@intel.com>
Thu, 9 Feb 2023 09:00:04 +0000 (10:00 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 11 Mar 2023 12:55:23 +0000 (13:55 +0100)
commit6044655a135a015c66148287e3effca15e6bfc7f
treef9c9c978bc26303bf61568caefeaab4abfba5302
parent725fd3f049be8d80ed194e1ada187a6627075c32
um: virtio_uml: move device breaking into workqueue

[ Upstream commit 479ef5e2d9f568a075612b8e6bccd7b247dc4844 ]

We should not be calling virtio_break_device from an IRQ context.
Move breaking the device into the workqueue so that it is done from
a reasonable context.

Fixes: 771c89cc2180 ("um: virtio_uml: Fix broken device handling in time-travel")
Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/um/drivers/virtio_uml.c