Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/4] drm/xe/vf: Post-migration recovery worker basis
@ 2024-10-07 20:16 Tomasz Lis
  2024-10-07 20:16 ` [PATCH v4 1/4] drm/xe/vf: React to MIGRATED interrupt Tomasz Lis
                   ` (11 more replies)
  0 siblings, 12 replies; 17+ messages in thread
From: Tomasz Lis @ 2024-10-07 20:16 UTC (permalink / raw)
  To: intel-xe; +Cc: Michał Winiarski, Michał Wajdeczko

To support VF Migration, it is necessary to do fixups to any
non-virtualized resources. These fixups need to be applied within
VM, on the KMD working with VF.

This series introduces a post-migration recovery worker, executed
after migration to perform fixups.

Specific fixups will be added later in further series.

v2: renamed and moved functions, updated logged messages, removed
  unused includes, used anon struct, keeping pm ref during whole
  recovery, skip handshake, style fixes (Michal)
v3: ordering, kerneldoc, asserts, debug messages, on_all_tiles ->
  on_all_gts, switched 'err' and 'ret'  (Michal)
v4: fixed missing header include in one patch

Tomasz Lis (4):
  drm/xe/vf: React to MIGRATED interrupt
  drm/xe/vf: Send RESFIX_DONE message at end of VF restore
  drm/xe/vf: Start post-migration fixups with provisinoning query
  drm/xe/vf: Defer fixups if migrated twice fast

 drivers/gpu/drm/xe/Makefile                   |   3 +-
 .../gpu/drm/xe/abi/guc_actions_sriov_abi.h    |  38 +++++
 drivers/gpu/drm/xe/xe_device_types.h          |   2 +
 drivers/gpu/drm/xe/xe_gt_sriov_vf.c           |  60 +++++++
 drivers/gpu/drm/xe/xe_gt_sriov_vf.h           |   2 +
 drivers/gpu/drm/xe/xe_guc.c                   |  14 +-
 drivers/gpu/drm/xe/xe_memirq.c                |   3 +
 drivers/gpu/drm/xe/xe_sriov.c                 |   4 +
 drivers/gpu/drm/xe/xe_sriov_types.h           |  17 ++
 drivers/gpu/drm/xe/xe_sriov_vf.c              | 161 ++++++++++++++++++
 drivers/gpu/drm/xe/xe_sriov_vf.h              |  14 ++
 11 files changed, 316 insertions(+), 2 deletions(-)
 create mode 100644 drivers/gpu/drm/xe/xe_sriov_vf.c
 create mode 100644 drivers/gpu/drm/xe/xe_sriov_vf.h

-- 
2.25.1


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

end of thread, other threads:[~2024-10-21 22:42 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-07 20:16 [PATCH v4 0/4] drm/xe/vf: Post-migration recovery worker basis Tomasz Lis
2024-10-07 20:16 ` [PATCH v4 1/4] drm/xe/vf: React to MIGRATED interrupt Tomasz Lis
2024-10-13 17:05   ` Michal Wajdeczko
2024-10-07 20:16 ` [PATCH v4 2/4] drm/xe/vf: Send RESFIX_DONE message at end of VF restore Tomasz Lis
2024-10-13 17:39   ` Michal Wajdeczko
2024-10-21 22:42     ` Lis, Tomasz
2024-10-07 20:16 ` [PATCH v4 3/4] drm/xe/vf: Start post-migration fixups with provisinoning query Tomasz Lis
2024-10-07 20:16 ` [PATCH v4 4/4] drm/xe/vf: Defer fixups if migrated twice fast Tomasz Lis
2024-10-07 22:16 ` ✓ CI.Patch_applied: success for drm/xe/vf: Post-migration recovery worker basis (rev4) Patchwork
2024-10-07 22:16 ` ✗ CI.checkpatch: warning " Patchwork
2024-10-07 22:17 ` ✓ CI.KUnit: success " Patchwork
2024-10-07 22:29 ` ✓ CI.Build: " Patchwork
2024-10-07 22:31 ` ✗ CI.Hooks: failure " Patchwork
2024-10-07 22:33 ` ✓ CI.checksparse: success " Patchwork
2024-10-07 22:58 ` ✓ CI.BAT: " Patchwork
2024-10-08  9:20 ` ✗ CI.FULL: failure " Patchwork
2024-10-08 14:21   ` Lis, Tomasz

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