]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe/vf: Reset VF GuC state on fini
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Thu, 22 Jan 2026 15:19:24 +0000 (16:19 +0100)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Tue, 27 Jan 2026 20:26:38 +0000 (21:26 +0100)
commitd043b95983e692718922abdc6ba652322e66d318
treebc5241442412b6c5edcc4803477a9ab8db4d6b1e
parent91e0c2fec10c975a0e2a4b91e137825d1447f50f
drm/xe/vf: Reset VF GuC state on fini

Unlike native/PF driver, which was explicitly triggering full GuC
reset during driver unwind, the VF driver was not notifying GuC that
it is about to unwind, and this could lead GuC to access stale data,
which in turn could be interpreted as VF's malicious activity.

Add managed action to send to GuC VF_RESET message during GT unwind.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Link: https://patch.msgid.link/20260122151924.3726-1-michal.wajdeczko@intel.com
drivers/gpu/drm/xe/xe_guc.c