Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Fix VFs resume errors
@ 2025-02-21 11:07 Satyanarayana K V P
  2025-02-21 11:07 ` [PATCH v3 1/2] drm/xe/pf: Create a link between PF and VF devices Satyanarayana K V P
                   ` (9 more replies)
  0 siblings, 10 replies; 12+ messages in thread
From: Satyanarayana K V P @ 2025-02-21 11:07 UTC (permalink / raw)
  To: intel-xe
  Cc: Satyanarayana K V P, Michał Wajdeczko, Michał Winiarski,
	Piotr Piórkowski

Establish a connection between the PF and VF to ensure that VFs only
resume after the PF has resumed. Although the PF resumes, the VF reset
and provisioning occur in a separate worker process. VFs begin resuming
once the PF has completed its resumption.

However, some VFs might attempt to resume before the provisioning is
fully completed. In such cases, if a VF resume fails due to an MMIO
request, retry the operation up to GUC_RESET_VF_STATE_RETRY_MAX times.

Satyanarayana K V P (2):
  drm/xe/pf: Create a link between PF and VF devices
  drm/xe/vf: Retry sending MMIO request to GUC on timeout error

 drivers/gpu/drm/xe/xe_gt_sriov_vf.c |  9 ++++-
 drivers/gpu/drm/xe/xe_pci_sriov.c   | 60 +++++++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_pci_sriov.h   |  6 +++
 3 files changed, 74 insertions(+), 1 deletion(-)

Signed-off-by: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
Cc: Michał Wajdeczko <michal.wajdeczko@intel.com>
Cc: Michał Winiarski <michal.winiarski@intel.com>
Cc: Piotr Piórkowski <piotr.piorkowski@intel.com>
-- 
2.35.3


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

end of thread, other threads:[~2025-02-22  3:04 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-21 11:07 [PATCH v3 0/2] Fix VFs resume errors Satyanarayana K V P
2025-02-21 11:07 ` [PATCH v3 1/2] drm/xe/pf: Create a link between PF and VF devices Satyanarayana K V P
2025-02-21 13:58   ` Michal Wajdeczko
2025-02-21 11:07 ` [PATCH v3 2/2] drm/xe/vf: Retry sending MMIO request to GUC on timeout error Satyanarayana K V P
2025-02-21 12:59 ` ✓ CI.Patch_applied: success for Fix VFs resume errors (rev2) Patchwork
2025-02-21 12:59 ` ✓ CI.checkpatch: " Patchwork
2025-02-21 13:00 ` ✓ CI.KUnit: " Patchwork
2025-02-21 13:17 ` ✓ CI.Build: " Patchwork
2025-02-21 13:19 ` ✓ CI.Hooks: " Patchwork
2025-02-21 13:20 ` ✓ CI.checksparse: " Patchwork
2025-02-21 13:48 ` ✓ Xe.CI.BAT: " Patchwork
2025-02-22  3:04 ` ✗ 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