summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/xe/xe_cper.c
AgeCommit message (Collapse)Author
2 daysdrm/xe/cper: Emit cper record to trace bufBadal Nilawar
Add the xe_error_cper tracepoint and emit each assembled CPER record through it. Besides the raw record, the event carries the device name, platform ID, FRU ID, severity and the Intel error section header, so tools can pick up the records from the trace buffer. Assisted-by: LLM Reviewed-by: Raag Jadav <raag.jadav@intel.com> Link: https://patch.msgid.link/20261029113653.1860286-18-badal.nilawar@intel.com Signed-off-by: Badal Nilawar <badal.nilawar@intel.com>
2 daysdrm/xe/cper: Log CPER records for aggregate counter retrievalBadal Nilawar
Log CPER records for aggregate counter retrieval from userspace when cper_on_query sysfs is enabled. Assisted-by: LLM Reviewed-by: Raag Jadav <raag.jadav@intel.com> Link: https://patch.msgid.link/20261029113653.1860286-17-badal.nilawar@intel.com Signed-off-by: Badal Nilawar <badal.nilawar@intel.com>
2 daysdrm/xe/cper: Construct CPER record for hardware errorsBadal Nilawar
Assemble the CPER record header, section descriptor and the Intel error section for Intel GPU hardware errors. Assisted-by: LLM Reviewed-by: Raag Jadav <raag.jadav@intel.com> Link: https://patch.msgid.link/20261029113653.1860286-16-badal.nilawar@intel.com Signed-off-by: Badal Nilawar <badal.nilawar@intel.com>
2 daysdrm/xe/cper: Initialize Intel-specific CPER headerBadal Nilawar
Define the Intel-specific CPER header and initialize it from the error counter record for Intel GPU hardware errors. Assisted-by: LLM Reviewed-by: Raag Jadav <raag.jadav@intel.com> Link: https://patch.msgid.link/20261029113653.1860286-15-badal.nilawar@intel.com Signed-off-by: Badal Nilawar <badal.nilawar@intel.com>
2 daysdrm/xe/cper: Retrieve the error counter record for CPER reportingBadal Nilawar
Retrieve error counter record required to build a CPER record. Assisted-by: LLM Reviewed-by: Raag Jadav <raag.jadav@intel.com> Link: https://patch.msgid.link/20261029113653.1860286-14-badal.nilawar@intel.com Signed-off-by: Badal Nilawar <badal.nilawar@intel.com>
2 daysdrm/xe/cper: Add CPER reporting entry point for xe_logBadal Nilawar
Introduce xe_cper_emit() as the single entry point for emitting CPER records from xe_log. xe_log now forwards every SIGID log entry with its full context (component, location, data/len and formatted message), and xe_cper decides how to report it. Hardware SIGIDs are routed to a hardware error helper, software SIGIDs are left as TODO. Assisted-by: LLM Reviewed-by: Raag Jadav <raag.jadav@intel.com> Link: https://patch.msgid.link/20261029113653.1860286-13-badal.nilawar@intel.com Signed-off-by: Badal Nilawar <badal.nilawar@intel.com>