diff options
| author | Brett Creeley <[email protected]> | 2023-08-07 20:57:52 +0000 |
|---|---|---|
| committer | Alex Williamson <[email protected]> | 2023-08-16 16:53:26 +0000 |
| commit | bb500dbe2ac622551d98c0bb2735a68f59489c98 (patch) | |
| tree | ece715381ff3a196ce879f74cee292df6ace28ac /tools/perf/scripts/python/compaction-times.py | |
| parent | vfio/pds: register with the pds_core PF (diff) | |
| download | kernel-bb500dbe2ac622551d98c0bb2735a68f59489c98.tar.gz kernel-bb500dbe2ac622551d98c0bb2735a68f59489c98.zip | |
vfio/pds: Add VFIO live migration support
Add live migration support via the VFIO subsystem. The migration
implementation aligns with the definition from uapi/vfio.h and uses
the pds_core PF's adminq for device configuration.
The ability to suspend, resume, and transfer VF device state data is
included along with the required admin queue command structures and
implementations.
PDS_LM_CMD_SUSPEND and PDS_LM_CMD_SUSPEND_STATUS are added to support
the VF device suspend operation.
PDS_LM_CMD_RESUME is added to support the VF device resume operation.
PDS_LM_CMD_STATE_SIZE is added to determine the exact size of the VF
device state data.
PDS_LM_CMD_SAVE is added to get the VF device state data.
PDS_LM_CMD_RESTORE is added to restore the VF device with the
previously saved data from PDS_LM_CMD_SAVE.
PDS_LM_CMD_HOST_VF_STATUS is added to notify the DSC/firmware when
a migration is in/not-in progress from the host's perspective. The
DSC/firmware can use this to clear/setup any necessary state related
to a migration.
Signed-off-by: Brett Creeley <[email protected]>
Signed-off-by: Shannon Nelson <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Reviewed-by: Kevin Tian <[email protected]>
Reviewed-by: Shameer Kolothum <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions
