Commit f38d6b51 authored by Michal Wajdeczko's avatar Michal Wajdeczko Committed by Greg Kroah-Hartman
Browse files

UPSTREAM: drm/xe/pf: Sanitize VF scratch registers on FLR



[ Upstream commit 13a48a0f ]

Some VF accessible registers (like GuC scratch registers) must be
explicitly reset during the FLR. While this is today done by the GuC
firmware, according to the design, this should be responsibility of
the PF driver, as future platforms may require more registers to be
reset. Likewise GuC, the PF can access VFs registers by adding some
platform specific offset to the original register address.

Change-Id: I9add6619e21272a725aff6421273abfb129cdcfe
Signed-off-by: default avatarMichal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: default avatarPiotr Piórkowski <piotr.piorkowski@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240902192953.1792-1-michal.wajdeczko@intel.com


Stable-dep-of: 81dccec4 ("drm/xe/pf: Prepare to stop SR-IOV support prior GT reset")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
(cherry picked from commit abe59c53)
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent 2bb5411e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment