✗ CI.checkpatch: warning for Add get-error-counter support for CRI

Patchwork
2026-03-20T10:33:52Z

== Series Details ==

Series: Add get-error-counter support for CRI
URL : https://patchwork.freedesktop.org/series/163576/
State : warning

== Summary ==

+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
1f57ba1afceae32108bd24770069f764d940a0e4
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 68f67adb8ef89098921fbc4faf08894fbcf0f122
Author: Riana Tauro <riana.tauro@intel.com>
Date: Fri Mar 20 15:56:00 2026 +0530

drm/xe/xe_ras: Add support to query error counter for CRI

Add support to query error counter for all errors.

When userspace queries a DRM RAS error counter, fetch the
latest value from system controller.

Integrate this with XE DRM RAS.

Example : query the counters using ynl

List all supported errors

$ sudo ynl --family drm_ras --dump get-error-counter \
--json '{"node-id":1}'
[{"error-id": 1, "error-name": "core-compute", "error-value": 0},
{"error-id": 2, "error-name": "soc-internal", "error-value": 0},
{"error-id": 3, "error-name": "device-memory", "error-value": 0},
{"error-id": 4, "error-name": "pcie", "error-value": 0},
{"error-id": 5, "error-name": "fabric", "error-value": 0},]

Query single error counter

$ sudo ynl --family drm_ras --do get-error-counter --json \
'{"node-id":1, "error-id":1}'
{'error-id': 1, 'error-name': 'core-compute', 'error-value': 20}

Signed-off-by: Riana Tauro <riana.tauro@intel.com>
+ /mt/dim checkpatch 7535044a2418d22b59be0eb64af0353971f16bd8 drm-intel
e8bb56c93c25 drm/xe/xe_sysctrl: Add System controller patch
-:27: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#27:
new file mode 100644

-:668: WARNING:LINE_SPACING: Missing a blank line after declarations
#668: FILE: drivers/gpu/drm/xe/xe_sysctrl_mailbox.c:225:
+ size_t remain = sizeof(*hdr) + data_out_len;
+ u8 *buffer __free(kfree) = kzalloc(remain, GFP_KERNEL);

total: 0 errors, 2 warnings, 0 checks, 835 lines checked
ce613758b0ce drm/xe/uapi: Add additional error components to XE DRM RAS
54fab64feef7 drm/xe/ras: Add flag for Xe RAS
-:21: WARNING:LONG_LINE_COMMENT: line length of 101 exceeds 100 columns
#21: FILE: drivers/gpu/drm/xe/xe_device_types.h:194:
+ /** @info.has_ras: Device supports RAS (Reliability, Availability, Serviceability) */

total: 0 errors, 1 warnings, 0 checks, 44 lines checked
7171e58ddb2b drm/xe/xe_ras: Add structures and commands for get counter
-:31: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#31:
new file mode 100644

total: 0 errors, 1 warnings, 0 checks, 166 lines checked
68f67adb8ef8 drm/xe/xe_ras: Add support to query error counter for CRI
-:103: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#103:
new file mode 100644

-:150: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations
#150: FILE: drivers/gpu/drm/xe/xe_ras.c:43:
+};
+static_assert(ARRAY_SIZE(drm_to_xe_ras_component) == DRM_XE_RAS_ERR_COMP_MAX);

total: 0 errors, 1 warnings, 1 checks, 185 lines checked