]> Gentwo Git Trees - linux/.git/commit
drm/xe/pf: Add wait helper for VF FLR
authorMichał Winiarski <michal.winiarski@intel.com>
Wed, 12 Nov 2025 13:22:19 +0000 (14:22 +0100)
committerMichał Winiarski <michal.winiarski@intel.com>
Thu, 13 Nov 2025 10:48:20 +0000 (11:48 +0100)
commit3b358c21f93e0e83993c991bb208ae78e0253af9
tree26c5b6e5a6ccc089a2dbe72167e9b6142414ff79
parent49cf1b9b609feabd1f311aca09dded317a4df7ca
drm/xe/pf: Add wait helper for VF FLR

VF FLR requires additional processing done by PF driver.
The processing is done after FLR is already finished from PCIe
perspective.
In order to avoid a scenario where migration state transitions while
PF processing is still in progress, additional synchronization
point is needed.
Add a helper that will be used as part of VF driver struct
pci_error_handlers .reset_done() callback.

Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Link: https://patch.msgid.link/20251112132220.516975-24-michal.winiarski@intel.com
Signed-off-by: Michał Winiarski <michal.winiarski@intel.com>
drivers/gpu/drm/xe/xe_sriov_pf_control.c
drivers/gpu/drm/xe/xe_sriov_pf_control.h