]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe/pf: Fix VF FLR synchronization between all GTs
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Sat, 25 Oct 2025 12:49:05 +0000 (14:49 +0200)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Mon, 27 Oct 2025 14:23:32 +0000 (15:23 +0100)
commit3764e9b99fa85ca51be9c08dc82c1121e4654f49
tree340a040af51427f60f8b3feec25dc8340a14d3ef
parentdd5d11b657120a8fc8b2a62784d5c1d2f2579acb
drm/xe/pf: Fix VF FLR synchronization between all GTs

If subsequent VF FLR request is triggered when previous VF FLR
sequence is still being processed, we ignore it as not needed.

But in case of the multi-GT platforms, one GT may already finish
its VF FLR processing and will start a new sequence, which includes
new cross-GT synchronization point.  However, since other GT may
be still busy with post-sync cleanup steps, this will put on hold
this new FLR sequence, which might never finish due to lack of any
future synchronization checkouts.

Add additional cross-GT FLR synchronization point when each GT
ends processing its own FLR sequence.  This should also help to
cover the case when one GT fails FLR processing before reaching
the first synchronization point.

Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/6287
Fixes: 2a8fcf7cc950 ("drm/xe/pf: Synchronize VF FLR between all GTs")
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Piotr Piórkowski <piotr.piorkowski@intel.com>
Link: https://patch.msgid.link/20251025124906.5264-1-michal.wajdeczko@intel.com
drivers/gpu/drm/xe/xe_gt_sriov_pf_control.c