✗ CI.checkpatch: warning for drm/xe/uapi: Bring back reset uevent (rev2)
Patchwork
patchwork at emeril.freedesktop.org
Mon Aug 12 07:47:42 UTC 2024
== Series Details ==
Series: drm/xe/uapi: Bring back reset uevent (rev2)
URL : https://patchwork.freedesktop.org/series/136909/
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
9fe5037901cabbcdf27a6fe0dfb047ca1474d363
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 6f08695ef26754b232692ea6788ec34fb59987da
Author: Himal Prasad Ghimiray <himal.prasad.ghimiray at intel.com>
Date: Mon Aug 12 13:18:12 2024 +0530
drm/xe/uapi: Bring back reset uevent
This was dropped in commit 77a0d4d1cea2 ("drm/xe/uapi: Remove reset
uevent for now") as part of refactoring.
Now that we have better uapi semantics and naming for the uevent,
bring it back. With this in place, userspace will be notified of
wedged device along with its reason.
$ udevadm monitor --property --kernel
monitor will print the received events for:
KERNEL - the kernel uevent
KERNEL[871.188570] change /devices/pci0000:00/0000:00:01.0/0000:01:00.0/0000:02:01.0/0000:03:00.0 (pci)
ACTION=change
DEVPATH=/devices/pci0000:00/0000:00:01.0/0000:01:00.0/0000:02:01.0/0000:03:00.0
SUBSYSTEM=pci
DEVICE_STATUS=NEEDS_RESET
REASON=GT_RESET_FAILED
TILE_ID=0
GT_ID=0
DRIVER=xe
PCI_CLASS=30000
PCI_ID=8086:56B1
PCI_SUBSYS_ID=8086:1210
PCI_SLOT_NAME=0000:03:00.0
MODALIAS=pci:v00008086d000056B1sv00008086sd00001210bc03sc00i00
SEQNUM=6104
v2: Change authorship to Himal (Aravind)
Add uevent for all device wedged cases (Aravind)
Signed-off-by: Himal Prasad Ghimiray <himal.prasad.ghimiray at intel.com>
Signed-off-by: Raag Jadav <raag.jadav at intel.com>
+ /mt/dim checkpatch ac6319ef8c6027f0fc65b71b614a8312aed19423 drm-intel
6f08695ef267 drm/xe/uapi: Bring back reset uevent
-:17: WARNING:COMMIT_LOG_LONG_LINE: Prefer a maximum 75 chars per line (possible unwrapped commit description?)
#17:
KERNEL[871.188570] change /devices/pci0000:00/0000:00:01.0/0000:01:00.0/0000:02:01.0/0000:03:00.0 (pci)
total: 0 errors, 1 warnings, 0 checks, 169 lines checked
More information about the Intel-xe
mailing list