diff options
author | Longfang Liu <liulongfang@huawei.com> | 2025-05-10 16:11:51 +0800 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2025-05-19 12:41:31 -0600 |
commit | 3495cec0787721ba7a9d5c19d0bbb66d182de584 (patch) | |
tree | 452262287775961efc65a259a7f07c17c6dec5ca /scripts/lib/kdoc/kdoc_parser.py | |
parent | 8bb7170c5a055ea17c6857c256ee73c10ff872eb (diff) |
hisi_acc_vfio_pci: add eq and aeq interruption restore
In order to ensure that the task packets of the accelerator
device are not lost during the migration process, it is necessary
to send an EQ and AEQ command to the device after the live migration
is completed and to update the completion position of the task queue.
Let the device recheck the completed tasks data and if there are
uncollected packets, device resend a task completion interrupt
to the software.
Fixes: b0eed085903e ("hisi_acc_vfio_pci: Add support for VFIO live migration")
Signed-off-by: Longfang Liu <liulongfang@huawei.com>
Reviewed-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>
Link: https://lore.kernel.org/r/20250510081155.55840-3-liulongfang@huawei.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions