✗ CI.checkpatch: warning for drm/xe: Add reg read/write trace
Patchwork
patchwork at emeril.freedesktop.org
Thu Apr 18 23:44:53 UTC 2024
== Series Details ==
Series: drm/xe: Add reg read/write trace
URL : https://patchwork.freedesktop.org/series/132626/
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
0daf0be5bb95eb0a0e42275e00a0e42d8d8fd543
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 9858e33a836f10c429b48c683275ac187251a748
Author: Radhakrishna Sripada <radhakrishna.sripada at intel.com>
Date: Thu Apr 18 15:22:43 2024 -0700
drm/xe: Add reg read/write trace
This will help debug register read/writes and provides
a way to trace all the mmio transactions.
Signed-off-by: Radhakrishna Sripada <radhakrishna.sripada at intel.com>
+ /mt/dim checkpatch cabe88f47c1f688f4493de88acc532bf584efe3c drm-intel
9858e33a836f drm/xe: Add reg read/write trace
-:88: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#88: FILE: drivers/gpu/drm/xe/xe_trace.h:625:
+TRACE_EVENT_CONDITION(xe_reg_rw,
+ TP_PROTO(bool write, u32 reg, u64 val, int len, bool trace),
-:94: CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#94: FILE: drivers/gpu/drm/xe/xe_trace.h:631:
+ TP_STRUCT__entry(
-:101: CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#101: FILE: drivers/gpu/drm/xe/xe_trace.h:638:
+ TP_fast_assign(
-:109: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#109: FILE: drivers/gpu/drm/xe/xe_trace.h:646:
+ TP_printk("%s reg=0x%x, len=%d, val=(0x%x, 0x%x)",
+ __entry->write ? "write" : "read",
total: 0 errors, 0 warnings, 4 checks, 95 lines checked
More information about the Intel-xe
mailing list