Skip to content

drm/xe/vf: Post-migration recovery worker basis

Tomasz Lis intel-xe 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest5 patches 2 repliesIn review
  2. v55 patches 4 repliesSuperseded
  3. v44 patches 4 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v34 patches0 repliesSuperseded
v24 patches6 repliesSuperseded
v14 patches5 repliesSuperseded

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5drm/xe/vf: React to MIGRATED interruptdrivers/gpu/drm/xe/Makefile drivers/gpu/drm/xe/xe_device_types.h drivers/gpu/drm/xe/xe_gt_sriov_vf.c +7 more+156 -10 replies
2/5drm/xe/vf: Document SRIOV VF restore flowdrivers/gpu/drm/xe/xe_sriov_vf.h+107 -01 reply
3/5drm/xe/vf: Send RESFIX_DONE message at end of VF restoredrivers/gpu/drm/xe/abi/guc_actions_sriov_abi.h drivers/gpu/drm/xe/xe_gt_sriov_vf.c drivers/gpu/drm/xe/xe_gt_sriov_vf.h +1 more+95 -00 replies
4/5drm/xe/vf: Start post-migration fixups with provisinoning querydrivers/gpu/drm/xe/xe_sriov_vf.c+36 -00 replies
5/5drm/xe/vf: Defer fixups if migrated twice fastdrivers/gpu/drm/xe/xe_sriov_vf.c+25 -00 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMichal Wajdeczko
SeriesR-b
1/5
2/5R-b
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [PATCH v6 0/5] drm/xe/vf: Post-migration recovery worker basis

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
v5: Explained what fixups are, explained which IRQ is used, style
fixes, assert to separate patch, debug message per GuC instead of one, comments changes (Michal)
v6: Improved documentation patch, updated one debug message

Tomasz Lis (5):
drm/xe/vf: React to MIGRATED interrupt
drm/xe/vf: Document SRIOV VF restore flow
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           |  63 +++++++
 drivers/gpu/drm/xe/xe_gt_sriov_vf.h           |   2 +
 drivers/gpu/drm/xe/xe_guc.c                   |  11 ++
 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              | 156 ++++++++++++++++++
 drivers/gpu/drm/xe/xe_sriov_vf.h              | 121 ++++++++++++++
 11 files changed, 419 insertions(+), 1 deletion(-)
 create mode 100644 drivers/gpu/drm/xe/xe_sriov_vf.c
 create mode 100644 drivers/gpu/drm/xe/xe_sriov_vf.h
Signature · 1 line
2.25.1