]> Gentwo Git Trees - linux/.git/commit
drm/xe/vf: Workaround for race condition in GuC firmware during VF pause
authorMatthew Brost <matthew.brost@intel.com>
Wed, 8 Oct 2025 21:45:27 +0000 (14:45 -0700)
committerMatthew Brost <matthew.brost@intel.com>
Thu, 9 Oct 2025 10:22:57 +0000 (03:22 -0700)
commit3b56911960b3c938d2eed70526ef4bc496520123
tree39678dde3419dcf578378596869d4e3c227a4560
parent1521fad9ad876238161fc25d91b7274a4a0b63d9
drm/xe/vf: Workaround for race condition in GuC firmware during VF pause

A race condition exists where a paused VF's H2G request can be processed
and subsequently rejected. This rejection results in a FAST_REQ failure
being delivered to the KMD, which then terminates the CT via a dead
worker and triggers a GT reset—an undesirable outcome.

This workaround mitigates the issue by checking if a VF post-migration
recovery is in progress and aborting these adverse actions accordingly.
The GuC firmware will address this bug in an upcoming release. Once that
version is available and VF migration depends on it, this workaround can
be safely removed.

Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Tomasz Lis <tomasz.lis@intel.com>
Link: https://lore.kernel.org/r/20251008214532.3442967-30-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_guc_ct.c