✓ CI.checkpatch: success for Imrpove GuC debug log/status output (rev2)
Patchwork
patchwork at emeril.freedesktop.org
Tue May 14 19:50:01 UTC 2024
== Series Details ==
Series: Imrpove GuC debug log/status output (rev2)
URL : https://patchwork.freedesktop.org/series/133349/
State : success
== 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
57b97a66dd129aea93991dc66cd10477f7a05cf8
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit c3413183d881b81a9852f05f833391498b4ee132
Author: John Harrison <John.C.Harrison at Intel.com>
Date: Tue May 14 12:08:19 2024 -0700
drm/xe/guc: Improve robustness of GuC log dumping to dmesg
There is a debug mechanism for dumping the GuC log as an ASCII hex
stream via dmesg. This is extremely useful for situations where it is
not possibe to query the log from debugfs (self tests, bugs that cause
the driver to fail to load, system hangs, etc.). However, dumping via
dmesg is not the most reliable. The dmesg buffer is limited in size,
can be rate limited and a simple hex stream is hard to parse by tools.
So add extra information to the dump to make it more robust and
parsable. This includes adding start and end tags to delimit the dump,
using longer lines to reduce the per line overhead, adding a rolling
count to check for missing lines and interleaved concurrent dumps and
adding other important information such as the GuC version number and
timestamp offset.
v2: Remove pm get/put as unnecessary (review feedback from Matthew B).
v3: Add firmware filename and 'wanted' version number.
v4: Add kernel doc and undef macros when done (review feedback from
Michal W).
Signed-off-by: John Harrison <John.C.Harrison at Intel.com>
+ /mt/dim checkpatch a0c161037de0a89c0a9ea744f60099a4f94cc123 drm-intel
a58ab20d8665 drm/xe/guc: Remove spurious line feed in debug print
c3413183d881 drm/xe/guc: Improve robustness of GuC log dumping to dmesg
More information about the Intel-xe
mailing list