diff options
| author | GuoHan Zhao <zhaoguohan@kylinos.cn> | 2026-04-27 04:21:28 +0300 |
|---|---|---|
| committer | Alex Williamson <alex@shazbot.org> | 2026-05-20 23:52:21 +0300 |
| commit | b9285405c5f6144f4444f97bf3048d865e11cc1d (patch) | |
| tree | 8face43d13989184bbaedcbd73a29558f42670b3 /include/linux/debugobjects.h | |
| parent | e1b3b4d6ff6dc7f615c2259961ce860ceb93e74e (diff) | |
| download | linux-b9285405c5f6144f4444f97bf3048d865e11cc1d.tar.xz | |
vfio/xe: avoid duplicate reset in xe_vfio_pci_reset_done
xe_vfio_pci_reset_done() sets deferred_reset and, when it manages to
acquire state_mutex itself, hands the cleanup off to
xe_vfio_pci_state_mutex_unlock().
That helper already clears deferred_reset and runs xe_vfio_pci_reset()
before dropping the mutex. Calling xe_vfio_pci_reset() again right
afterwards repeats the reset handling unnecessarily.
Fixes: 1f5556ec8b9e ("vfio/xe: Add device specific vfio_pci driver variant for Intel graphics")
Signed-off-by: GuoHan Zhao <zhaoguohan@kylinos.cn>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Acked-by: MichaĆ Winiarski <michal.winiarski@intel.com>
Link: https://lore.kernel.org/r/20260427012128.117051-1-zhaoguohan@kylinos.cn
Signed-off-by: Alex Williamson <alex@shazbot.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
