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:57:27 +0000 (13:57 +0100)
commit6c738b8805c6d45429458a0c7e8a24f4f3cce828
tree50df5e9747110fbbecb6ba366b33cc48872e3d15
parentb7d5712cf9f4c74b1d39d8789c01601d3e0e75a9
um: virtio_uml: move device breaking into workqueue

[ Upstream commit abdeb4fa5e1b5b4918034f02236fd886f40c20c1 ]

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: af9fb41ed315 ("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