]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
hisi_acc_vfio_pci: update status after RAS error
authorLongfang Liu <liulongfang@huawei.com>
Thu, 22 Jan 2026 02:02:03 +0000 (10:02 +0800)
committerAlex Williamson <alex@shazbot.org>
Thu, 29 Jan 2026 21:11:00 +0000 (14:11 -0700)
commit8be14dd48dfee0df91e511acceb4beeb2461a083
treeeda7c3e9bebb6a2f548a1893576aab27a28b8822
parenta22099ed7936f8e8dabbdbadd97d56047797116b
hisi_acc_vfio_pci: update status after RAS error

After a RAS error occurs on the accelerator device, the accelerator
device will be reset. The live migration state will be abnormal
after reset, and the original state needs to be restored during
the reset process.
Therefore, reset processing needs to be performed in a live
migration scenario.

Signed-off-by: Longfang Liu <liulongfang@huawei.com>
Link: https://lore.kernel.org/r/20260122020205.2884497-3-liulongfang@huawei.com
Signed-off-by: Alex Williamson <alex@shazbot.org>
drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c