Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] Reset recovery_queued after issuing RESFIX_START
@ 2025-12-05  8:26 Satyanarayana K V P
  2025-12-05  8:26 ` [PATCH 1/1] drm/xe/vf: " Satyanarayana K V P
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Satyanarayana K V P @ 2025-12-05  8:26 UTC (permalink / raw)
  To: intel-xe; +Cc: Satyanarayana K V P

During VF_RESTORE or VF_RESUME, the GuC sends a migration interrupt and
clears the RESFIX_START marker. If migration or resume occurs before the
VF issues its own RESFIX_START, VF KMD may receive two back-to-back
migration interrupts. VF then sends RESFIX_START to indicate the beginning
of fixups and RESFIX_DONE to mark completion. However, the second
RESFIX_START fails because the GuC is already in the RUNNING state.

To prevent VF KMD from queuing additional recovery work items when extra
interrupts arrive, move the clearing of recovery_queued from
vf_post_migration_shutdown() to vf_post_migration_resfix_start().
This ensures the state is reset only after the fixup process begins,
avoiding redundant work item queuing.

Satyanarayana K V P (1):
  drm/xe/vf: Reset recovery_queued after issuing RESFIX_START

 drivers/gpu/drm/xe/xe_gt_sriov_vf.c | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-12-05 20:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-05  8:26 [PATCH 0/1] Reset recovery_queued after issuing RESFIX_START Satyanarayana K V P
2025-12-05  8:26 ` [PATCH 1/1] drm/xe/vf: " Satyanarayana K V P
2025-12-05 20:01   ` Michal Wajdeczko
2025-12-05 20:27     ` Matthew Brost
2025-12-05 10:47 ` ✓ CI.KUnit: success for " Patchwork
2025-12-05 11:40 ` ✓ Xe.CI.BAT: " Patchwork
2025-12-05 13:23 ` ✗ Xe.CI.Full: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox