On 2/12/2024 12:16 PM, Steve Sistare wrote: > Flush to guarantee no workers are running when suspend returns, > for vdpa, vpa_sim, and vduse. (mlx5 already does so, via the path > mlx5_vdpa_suspend -> unregister_link_notifier -> flush_workqueue.) Changes in V2: - renamed "vduse: suspend" (was vduse: flush workers on suspend) - call vhost_dev_flush unconditionally in "vhost-vdpa: flush workers on suspend" - Steve > Steve Sistare (3): > vhost-vdpa: flush workers on suspend > vduse: suspend > vdpa_sim: flush workers on suspend > > drivers/vdpa/vdpa_sim/vdpa_sim.c | 13 +++++++++++++ > drivers/vdpa/vdpa_user/vduse_dev.c | 24 ++++++++++++++++++++++++ > drivers/vhost/vdpa.c | 3 +++ > 3 files changed, 40 insertions(+) >