Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Reset recovery_queued after issuing RESFIX_START
@ 2025-12-08  7:27 Satyanarayana K V P
  2025-12-08  7:27 ` [PATCH v2 1/2] drm/xe/vf: Avoid queuing migration recovery if queued or teardown is active Satyanarayana K V P
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Satyanarayana K V P @ 2025-12-08  7:27 UTC (permalink / raw)
  To: intel-xe; +Cc: Satyanarayana K V P

drm/xe/vf: Reset recovery_queued after issuing RESFIX_START

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.

---
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: Avoid queuing migration recovery if queued or teardown is
    active
  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-08 21:16 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-08  7:27 [PATCH v2 0/2] Reset recovery_queued after issuing RESFIX_START Satyanarayana K V P
2025-12-08  7:27 ` [PATCH v2 1/2] drm/xe/vf: Avoid queuing migration recovery if queued or teardown is active Satyanarayana K V P
2025-12-08 21:11   ` Michal Wajdeczko
2025-12-08 21:14     ` Matthew Brost
2025-12-08  7:27 ` [PATCH v2 2/2] drm/xe/vf: Reset recovery_queued after issuing RESFIX_START Satyanarayana K V P
2025-12-08 21:16   ` Matthew Brost
2025-12-08  8:02 ` ✓ CI.KUnit: success for Reset recovery_queued after issuing RESFIX_START (rev2) Patchwork
2025-12-08  9:04 ` ✓ Xe.CI.BAT: " Patchwork
2025-12-08  9:42 ` ✗ 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