Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Reset recovery_queued after issuing RESFIX_START
@ 2025-12-10  5:25 Satyanarayana K V P
  2025-12-10  5:25 ` [PATCH v3 1/2] drm/xe/vf: Fix queuing of recovery work Satyanarayana K V P
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Satyanarayana K V P @ 2025-12-10  5:25 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.

Clear the recovery_queued flag after sending a RESFIX_START message to
ignore duplicated IRQs seen before we start actual recovery.

---
V2 -> V3:
- Fixed review comments (Matt B)
- Updated commit message (Michal W).

V1 -> V2:
- Fixed review comments (Michal W).
- Updated commit message.
- Used scoped_guard for spin_lock/unlock_irq.
- Created a new commit ("drm/xe/vf: Avoid queuing migration recovery if
queued or teardown is active").

Satyanarayana K V P (2):
  drm/xe/vf: Fix queuing of recovery work
  drm/xe/vf: Reset recovery_queued after issuing RESFIX_START

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

-- 
2.43.0


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

end of thread, other threads:[~2025-12-11 13:41 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-10  5:25 [PATCH v3 0/2] Reset recovery_queued after issuing RESFIX_START Satyanarayana K V P
2025-12-10  5:25 ` [PATCH v3 1/2] drm/xe/vf: Fix queuing of recovery work Satyanarayana K V P
2025-12-10  5:25 ` [PATCH v3 2/2] drm/xe/vf: Reset recovery_queued after issuing RESFIX_START Satyanarayana K V P
2025-12-10  5:39   ` Matthew Brost
2025-12-11 13:41   ` Michal Wajdeczko
2025-12-11  4:32 ` ✓ CI.KUnit: success for Reset recovery_queued after issuing RESFIX_START (rev4) Patchwork
2025-12-11  5:34 ` ✓ Xe.CI.BAT: " Patchwork
2025-12-11 11:42 ` ✗ Xe.CI.Full: failure " Patchwork
2025-12-11 11:46   ` K V P, Satyanarayana

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