]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe/vf: Teardown VF post migration worker on driver unload
authorMatthew Brost <matthew.brost@intel.com>
Wed, 8 Oct 2025 21:45:13 +0000 (14:45 -0700)
committerMatthew Brost <matthew.brost@intel.com>
Thu, 9 Oct 2025 10:22:36 +0000 (03:22 -0700)
commitb47c0c07c35022c56a7ab4d3ce8a9c5f8cce8453
tree831aab372675320cfc75d572578c83519e6520f0
parent7dd11d880456f591972eba173bade848359d6a94
drm/xe/vf: Teardown VF post migration worker on driver unload

Be cautious and ensure the VF post-migration worker is not running
during driver unload.

v3:
 - More teardown later in driver init, use devm (Tomasz)

Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Tomasz Lis <tomasz.lis@intel.com>
Link: https://lore.kernel.org/r/20251008214532.3442967-16-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_gt.c
drivers/gpu/drm/xe/xe_gt_sriov_vf.c
drivers/gpu/drm/xe/xe_gt_sriov_vf.h
drivers/gpu/drm/xe/xe_gt_sriov_vf_types.h