Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] PF: Initial support to save/restore VF GuC state
@ 2024-09-12 20:38 Michal Wajdeczko
  2024-09-12 20:38 ` [PATCH 1/6] drm/xe/guc: Fix GUC_{SUBMIT,FIRMWARE}_VER helper macros Michal Wajdeczko
                   ` (18 more replies)
  0 siblings, 19 replies; 22+ messages in thread
From: Michal Wajdeczko @ 2024-09-12 20:38 UTC (permalink / raw)
  To: intel-xe; +Cc: Michal Wajdeczko

To successfully migrate a VM with attached GPU VF we also need to
migrate VF's GuC state. This series adds necessary functions to save
and restore a VF state and also allows testing migration flow using
debugfs, ahead of availability of other required components that are
under development.

Michal Wajdeczko (6):
  drm/xe/guc: Fix GUC_{SUBMIT,FIRMWARE}_VER helper macros
  drm/xe/guc: Add PF2GUC_SAVE_RESTORE_VF to ABI
  drm/xe/pf: Add functions to save and restore VF GuC state
  drm/xe/pf: Save VF GuC state when pausing VF
  drm/xe/pf: Allow to view and replace VF GuC state over debugfs
  drm/xe/pf: Allow to trigger VF GuC state restore from debugfs

 drivers/gpu/drm/xe/Makefile                   |   1 +
 .../gpu/drm/xe/abi/guc_actions_sriov_abi.h    |  61 +++
 drivers/gpu/drm/xe/xe_gt_sriov_pf.c           |   2 +
 drivers/gpu/drm/xe/xe_gt_sriov_pf_control.c   |  41 +-
 .../gpu/drm/xe/xe_gt_sriov_pf_control_types.h |   2 +
 drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c   |  49 ++
 drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c | 419 ++++++++++++++++++
 drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.h |  24 +
 .../drm/xe/xe_gt_sriov_pf_migration_types.h   |  40 ++
 drivers/gpu/drm/xe/xe_gt_sriov_pf_types.h     |   6 +
 drivers/gpu/drm/xe/xe_guc.h                   |   6 +-
 11 files changed, 648 insertions(+), 3 deletions(-)
 create mode 100644 drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
 create mode 100644 drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.h
 create mode 100644 drivers/gpu/drm/xe/xe_gt_sriov_pf_migration_types.h

-- 
2.43.0


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

end of thread, other threads:[~2024-09-16 10:59 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-12 20:38 [PATCH 0/6] PF: Initial support to save/restore VF GuC state Michal Wajdeczko
2024-09-12 20:38 ` [PATCH 1/6] drm/xe/guc: Fix GUC_{SUBMIT,FIRMWARE}_VER helper macros Michal Wajdeczko
2024-09-12 20:38 ` [PATCH 2/6] drm/xe/guc: Add PF2GUC_SAVE_RESTORE_VF to ABI Michal Wajdeczko
2024-09-12 20:38 ` [PATCH 3/6] drm/xe/pf: Add functions to save and restore VF GuC state Michal Wajdeczko
2024-09-13 12:00   ` Michal Wajdeczko
2024-09-12 20:38 ` [PATCH 4/6] drm/xe/pf: Save VF GuC state when pausing VF Michal Wajdeczko
2024-09-12 20:38 ` [PATCH 5/6] drm/xe/pf: Allow to view and replace VF GuC state over debugfs Michal Wajdeczko
2024-09-12 20:38 ` [PATCH 6/6] drm/xe/pf: Allow to trigger VF GuC state restore from debugfs Michal Wajdeczko
2024-09-12 20:43 ` ✓ CI.Patch_applied: success for PF: Initial support to save/restore VF GuC state Patchwork
2024-09-12 20:44 ` ✗ CI.checkpatch: warning " Patchwork
2024-09-12 20:45 ` ✓ CI.KUnit: success " Patchwork
2024-09-12 20:50 ` ✗ CI.Build: failure " Patchwork
2024-09-13 15:15 ` ✓ CI.Patch_applied: success for PF: Initial support to save/restore VF GuC state (rev2) Patchwork
2024-09-13 15:16 ` ✗ CI.checkpatch: warning " Patchwork
2024-09-13 15:17 ` ✓ CI.KUnit: success " Patchwork
2024-09-13 15:28 ` ✓ CI.Build: " Patchwork
2024-09-13 15:31 ` ✓ CI.Hooks: " Patchwork
2024-09-13 15:32 ` ✓ CI.checksparse: " Patchwork
2024-09-13 15:50 ` ✓ CI.BAT: " Patchwork
2024-09-14  7:08 ` ✗ CI.FULL: failure " Patchwork
2024-09-16 10:59   ` Michal Wajdeczko
2024-09-16  9:57 ` [PATCH 0/6] PF: Initial support to save/restore VF GuC state Michał Winiarski

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