summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorRiana Tauro <riana.tauro@intel.com>2026-07-13 13:17:59 +0530
committerRiana Tauro <riana.tauro@intel.com>2026-07-15 10:56:21 +0530
commitd9732e498f5fc1a7e0e3bb287d631c84815a17f7 (patch)
treeb0d373272068ca7e8e5c643dd74c1bf4163ee719 /drivers
parent25913a062cd44bc23613b8de56f7261418d88d47 (diff)
downloadlinux-next-d9732e498f5fc1a7e0e3bb287d631c84815a17f7.tar.gz
linux-next-d9732e498f5fc1a7e0e3bb287d631c84815a17f7.zip
drm/xe/xe_ras: Query errors from system controller on probe
On driver load, process and log any errors detected by firmware prior to load. Critical errors such as Punit, CSC are reported through Pcode init failure, causing the driver to enter survivability mode on probe. Cc: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com> Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com> Link: https://patch.msgid.link/20260713074755.1278607-9-riana.tauro@intel.com Signed-off-by: Riana Tauro <riana.tauro@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/xe/xe_ras.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/drm/xe/xe_ras.c b/drivers/gpu/drm/xe/xe_ras.c
index 1204b9f05b24..845b0e99754c 100644
--- a/drivers/gpu/drm/xe/xe_ras.c
+++ b/drivers/gpu/drm/xe/xe_ras.c
@@ -464,4 +464,11 @@ void xe_ras_init(struct xe_device *xe)
if (IS_ENABLED(CONFIG_PCIEAER))
ras_usp_aer_init(xe);
+
+ /*
+ * During probe, process and log any errors detected by firmware while the driver was not
+ * loaded. Critical errors such as Punit and CSC are reported through Pcode init failure,
+ * causing the driver to enter survivability mode.
+ */
+ xe_ras_process_errors(xe);
}