drm/xe: Add structured SIGID error logging infrastructure
Subsystems (4)
v2 cover drm/xe: Add structured SIGID error logging infrastructure
Today the driver reports faults with ad-hoc drm_err()/xe_gt_err() strings that have no stable shape. That is readable for a human, but it gives fleet tooling nothing durable to match on: the wording changes between releases, lines can be rate-limited or dropped under an error storm, and there is no consistent way to ask "which recognised fault just happened?".
Introduce a signature identifier (SIGID): a small, stable integer that names one recognised Xe fault situation and serves as the primary handle for triage. A SIGID maps, through published end-user documentation, to a description and a recommended action; the driver only has to emit the right SIGID next to the usual human-readable text.
Design decisions:
- Software-emitted signatures only. This header enumerates just the situations the driver detects and reports itself. Signatures that originate in firmware or hardware are identified by those layers (via their own records/counters) and are logged as received -- minting a driver-side id for them would duplicate an id the reporting layer already owns.
- Flat catalogue, chosen per report site. Each site emits the single most specific situation for that site, so a multi-layer failure produces a chain of reports rather than one ambiguous classification (e.g. a failed GT reset reports GT_TDR and then WEDGED). A site that matches no defined situation keeps using ordinary xe_err() / xe_gt_err() rather than forcing a wrong id.
- Stable numbering. A single flat list numbered sequentially from 1, in introduction order. Values are only ever appended, never renumbered or reused.
- First-order action. Each SIGID carries a coarse, in-tree resolution bucket (COLLECT / RETRY / UPDATE / RECOVER) so it is actionable without an external reference, and so every new id must declare what to do about it.
- Severity is decoupled from the SIGID and chosen at the call site via xe_ras_log_fatal() / _recoverable() / _info(); the same situation can be reported at different severities depending on the instance.
- dmesg stays close to a normal xe error line by reusing xe_err() / xe_gt_err() (and their Tile/GT decoration); the only stable, machine-matchable token added is SIGID=<n>. dmesg is not an ABI -- the durable machine record is the CPER carrying the same SIGID (a planned follow-up, left as a TODO).
Wire up a representative site for each software signature so the set is exercised rather than merely declared:
- PROBE: xe workqueue allocation failure during early init
- WEDGED: xe_device_declare_wedged() (drop redundant "CRITICAL" + BDF)
- SURVIVABILITY: entering boot survivability mode
- RUNTIME_FW: GuC mmio request failure
- DEVICE_FW: PCODE mailbox failure
- GT_TDR: GT reset failure (which then chains into a WEDGED report)
- MEM_FAULT: page-fault queue overflow
- IO_BUS: PCI re-enable failure after a bus reset
v1: https://patchwork.freedesktop.org/series/171022/#rev1
v2: component/location dmesg decorations moved away from macros
HW component identifiers related to RAS/FW enum values CORRECTED severity rendered as an error
more support for const pointers
log 'probe blocked' as INFO
fix kunit device setup
more tests
Mallesh Koujalagi (1):
drm/xe/log: Add structured SIGID error logging infrastructure
Michal Wajdeczko (21):
drm/xe: Introduce xe_any helpers
drm/xe/log: Introduce structured component/location identifiers drm/xe/log: Add component/location decorations to dmesg drm/xe/log: Add SIGID log helpers for severity drm/xe/log: Add SIGID log helpers for location drm/xe/log: Add SIGID log helpers for location & severity drm/xe/log: Add SIGID log helpers for components drm/xe/log: Add SIGID log helpers for errno-only drm/xe/log: Add hardware error signatures
drm/xe/log: Extend components list with hardware items drm/xe/ras: Check RAS and LOG component definitions drm/xe/kunit: Setup driver data in the test device drm/xe/tests: Add Kunit tests for xe_log
drm/xe: Report 'probe blocked' error using SIGID drm/xe: Report 'device wedged' errors using SIGID drm/xe: Report 'Survivability Mode' errors using SIGID drm/xe/guc: Report 'GuC mmio' errors using SIGID drm/xe/pcode: Report 'Mailbox failed' error using SIGID drm/xe/gt: Report 'reset failed' errors using SIGID drm/xe/gt: Report 'pagefault' errors using SIGID drm/xe/pci: Report 'cannot re-enable' error using SIGID
Documentation/gpu/xe/index.rst | 1 + Documentation/gpu/xe/xe_sigid.rst | 14 + drivers/gpu/drm/xe/Makefile | 1 + drivers/gpu/drm/xe/abi/xe_log_abi.h | 197 ++++++++ drivers/gpu/drm/xe/abi/xe_sigid_abi.h | 195 ++++++++ drivers/gpu/drm/xe/tests/xe_kunit_helpers.c | 4 + drivers/gpu/drm/xe/tests/xe_log_kunit.c | 480 ++++++++++++++++++++ drivers/gpu/drm/xe/xe_any.h | 112 +++++ drivers/gpu/drm/xe/xe_device.c | 16 +- drivers/gpu/drm/xe/xe_gt.c | 7 +- drivers/gpu/drm/xe/xe_guc.c | 18 +- drivers/gpu/drm/xe/xe_log.c | 212 +++++++++ drivers/gpu/drm/xe/xe_log.h | 158 +++++++ drivers/gpu/drm/xe/xe_pagefault.c | 10 +- drivers/gpu/drm/xe/xe_pci.c | 5 +- drivers/gpu/drm/xe/xe_pci_error.c | 7 +- drivers/gpu/drm/xe/xe_pcode.c | 5 +- drivers/gpu/drm/xe/xe_ras.c | 11 + drivers/gpu/drm/xe/xe_survivability_mode.c | 24 +- 19 files changed, 1438 insertions(+), 39 deletions(-) create mode 100644 Documentation/gpu/xe/xe_sigid.rst create mode 100644 drivers/gpu/drm/xe/abi/xe_log_abi.h create mode 100644 drivers/gpu/drm/xe/abi/xe_sigid_abi.h create mode 100644 drivers/gpu/drm/xe/tests/xe_log_kunit.c create mode 100644 drivers/gpu/drm/xe/xe_any.h create mode 100644 drivers/gpu/drm/xe/xe_log.c create mode 100644 drivers/gpu/drm/xe/xe_log.h
Signature · 1 line
2.47.1
PATCH v2 1/22 drm/xe: Introduce xe_any helpers
In upcoming patches we want to define macros that will work with either xe_device or xe_tile or xe_gt pointers. To make them work and to allow compiler optimizations, introduce set of helpers that will return either expected pointer type or NULL or make necessary conversions to/from the struct xe/device/pci_dev.
---
v2: add include (Sashiko) and const support (Mallesh)
reuse existing to_xe() helpers (Michal)
--- drivers/gpu/drm/xe/xe_any.h | 112 ++++++++++++++++++++++++++++++++++++ 1 file changed, 112 insertions(+) create mode 100644 drivers/gpu/drm/xe/xe_any.h
drivers/gpu/drm/xe/xe_any.h new file +112 -0
@@ -0,0 +1,112 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright © 2026 Intel Corporation +*/ + +#ifndef _XE_ANY_H_ +#define _XE_ANY_H_ + +#include "xe_device.h" + +/** +* xe_any_if_type() - Get the pointer only if it is @type pointer. +* @any: any pointer +* @type: data type to look for +* +* Return: the @type pointer or NULL. +*/ +#define xe_any_if_type (any, type) \ + _Generic((any), \ + type * : (any), \ + const type * : (any), \ + default : NULL) + +/** +* xe_any_if_gt() - Get the pointer only if it is &xe_gt. +* @any: any pointer +* +* Return: the @xe_gt pointer or NULL. +*/ +#define xe_any_if_gt (any) xe_any_if_type((any), struct xe_gt) + +/** +* xe_any_if_tile() - Get the pointer only if it is &xe_tile. +* @any: any pointer +* +* Return: the @xe_tile pointer or NULL. +*/ +#define xe_any_if_tile (any) xe_any_if_type((any), struct xe_tile) + +/** +* xe_any_if_xe() - Get the pointer only if it is &xe_device. +* @any: any pointer +* +* Return: the @xe_device pointer or NULL. +*/ +#define xe_any_if_xe (any) xe_any_if_type((any), struct xe_device) + +/** +* xe_any_if_pdev() - Get the pointer only if it is &pci_dev. +* @any: any pointer +* +* Return: the @pci_dev pointer or NULL. +*/ +#define xe_any_if_pdev (any) xe_any_if_type((any), struct pci_dev) + +/** +* xe_any_to_xe() - Obtain the &xe_device pointer. +* @any: the &pci_dev or the &xe_device or &xe_tile or &xe_gt pointer +* +* Return: the @xe_device pointer or backpointer. +*/ +#define xe_any_to_xe (any) \ + _Generic((any), \ + struct xe_device * : (any), \ + const struct xe_device * : (any), \ + struct xe_tile * : tile_to_xe((struct xe_tile *)(any)), \ + const struct xe_tile * : tile_to_xe((const struct xe_tile *)(any)), \ + struct xe_gt * : gt_to_xe((struct xe_gt *)(any)), \ + const struct xe_gt * : gt_to_xe((const struct xe_gt *)(any)), \ + struct pci_dev * : pdev_to_xe_device((struct pci_dev *)(any)), \ + struct device * : kdev_to_xe_device((struct device *)(any))) + +/** +* xe_any_to_dev() - Obtain the &device pointer. +* @any: the &pci_dev or the &xe_device or &xe_tile or &xe_gt pointer +* +* Return: the @xe_device pointer or backpointer. +*/ +#define xe_any_to_dev (any) \ + _Generic((any), \ + struct device * : (any), \ + default : xe_any_to_xe(any)->drm.dev) + +/** +* xe_any_to_pdev() - Obtain the &pci_dev pointer. +* @any: the &pci_dev or the &xe_device or &xe_tile or &xe_gt pointer +* +* Return: the @pci_dev pointer or backpointer. +*/ +#define xe_any_to_pdev (any) \ + _Generic((any), \ + struct pci_dev * : (any), \ + default : to_pci_dev(xe_any_to_dev(any))) + +/** +* xe_any_id() - Get the identifier of the underlying object. +* @any: the &pci_dev or the &xe_device or &xe_tile or &xe_gt pointer +* +* Return: the identifier of the object, or 0 if nor applicable/available. +*/ +#define xe_any_id (any) \ + _Generic((any), \ + struct xe_gt * : ((struct xe_gt *)(any))->info.id, \ + const struct xe_gt * : ((const struct xe_gt *)(any))->info.id, \ + struct xe_tile * : ((struct xe_tile *)(any))->id, \ + const struct xe_tile * : ((const struct xe_tile *)(any))->id, \ + struct xe_device * : 0, \ + const struct xe_device * : 0, \ + struct pci_dev * : 0, \ + struct device * : 0) + +#endif
Signature · 1 line
2.47.1
Re: [PATCH v2 01/22] drm/xe: Introduce xe_any helpers
Quoted 113 lines · Michal Wajdeczko
In upcoming patches we want to define macros that will work with either
xe_deviceorxe_tileorxe_gtpointers. To make them work and to allow compiler optimizations, introduce set of helpers that will return either expected pointer type or NULL or make necessary conversions to/from the struct xe/device/pci_dev.Signed-off-by Michal Wajdeczko <[email protected]>Cc Rodrigo Vivi <[email protected]>Cc Thomas Hellström <[email protected]>Cc Matthew Brost <[email protected]>---
v2: add include (Sashiko) and const support (Mallesh)
reuse existingto_xe()helpers (Michal)--- drivers/gpu/drm/xe/xe_any.h | 112 ++++++++++++++++++++++++++++++++++++ 1 file changed, 112 insertions(+) create mode 100644 drivers/gpu/drm/xe/xe_any.hdrivers/gpu/drm/xe/xe_any.h new file +89
-0@@ -0,0 +1,112 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright © 2026 Intel Corporation +*/ + +#ifndef _XE_ANY_H_ +#define _XE_ANY_H_ + +#include "xe_device.h" + +/** +* xe_any_if_type() - Get the pointer only if it is @type pointer. +* @any: any pointer +* @type: data type to look for +* +* Return: the @type pointer or NULL. +*/ +#define xe_any_if_type (any, type) \ + _Generic((any), \ + type * : (any), \ + const type * : (any), \ + default : NULL) + +/** +* xe_any_if_gt() - Get the pointer only if it is &xe_gt. +* @any: any pointer +* +* Return: the @xe_gt pointer or NULL. +*/ +#define xe_any_if_gt (any) xe_any_if_type((any), struct xe_gt) + +/** +* xe_any_if_tile() - Get the pointer only if it is &xe_tile. +* @any: any pointer +* +* Return: the @xe_tile pointer or NULL. +*/ +#define xe_any_if_tile (any) xe_any_if_type((any), struct xe_tile) + +/** +* xe_any_if_xe() - Get the pointer only if it is &xe_device. +* @any: any pointer +* +* Return: the @xe_device pointer or NULL. +*/ +#define xe_any_if_xe (any) xe_any_if_type((any), struct xe_device) + +/** +* xe_any_if_pdev() - Get the pointer only if it is &pci_dev. +* @any: any pointer +* +* Return: the @pci_dev pointer or NULL. +*/ +#define xe_any_if_pdev (any) xe_any_if_type((any), struct pci_dev) + +/** +* xe_any_to_xe() - Obtain the &xe_device pointer. +* @any: the &pci_dev or the &xe_device or &xe_tile or &xe_gt pointer +* +* Return: the @xe_device pointer or backpointer. +*/ +#define xe_any_to_xe (any) \ + _Generic((any), \ + struct xe_device * : (any), \ + const struct xe_device * : (any), \ + struct xe_tile * : tile_to_xe((struct xe_tile *)(any)), \ + const struct xe_tile * : tile_to_xe((const struct xe_tile *)(any)), \ + struct xe_gt * : gt_to_xe((struct xe_gt *)(any)), \ + const struct xe_gt * : gt_to_xe((const struct xe_gt *)(any)), \ + struct pci_dev * : pdev_to_xe_device((struct pci_dev *)(any)), \ + struct device * : kdev_to_xe_device((struct device *)(any))) + +/** +* xe_any_to_dev() - Obtain the &device pointer. +* @any: the &pci_dev or the &xe_device or &xe_tile or &xe_gt pointer +* +* Return: the @xe_device pointer or backpointer. +*/ +#define xe_any_to_dev (any) \ + _Generic((any), \ + struct device * : (any), \ + default : xe_any_to_xe(any)->drm.dev) + +/** +* xe_any_to_pdev() - Obtain the &pci_dev pointer. +* @any: the &pci_dev or the &xe_device or &xe_tile or &xe_gt pointer +* +* Return: the @pci_dev pointer or backpointer. +*/
drivers/gpu/drm/xe/xe_any.h line 99
Quoted 10 lines
drivers/gpu/drm/xe/xe_any.h new file +10
-0+#define xe_any_to_pdev (any) \ + _Generic((any), \ + struct pci_dev * : (any), \ + default : to_pci_dev(xe_any_to_dev(any))) + +/** +* xe_any_id() - Get the identifier of the underlying object. +* @any: the &pci_dev or the &xe_device or &xe_tile or &xe_gt pointer +* +* Return: the identifier of the object, or 0 if nor applicable/available.
as Sashiko pointed out s/nor/not
Please check the other Sashiko comment around the xe_any_to_dev default, but I believe we should be fine with that.
with this
Quoted 16 lines
drivers/gpu/drm/xe/xe_any.h new file +13
-0+*/ +#define xe_any_id (any) \ + _Generic((any), \ + struct xe_gt * : ((struct xe_gt *)(any))->info.id, \ + const struct xe_gt * : ((const struct xe_gt *)(any))->info.id, \ + struct xe_tile * : ((struct xe_tile *)(any))->id, \ + const struct xe_tile * : ((const struct xe_tile *)(any))->id, \ + struct xe_device * : 0, \ + const struct xe_device * : 0, \ + struct pci_dev * : 0, \ + struct device * : 0) + +#endif Signature · 1 line
2.47.1
Re: [PATCH v2 01/22] drm/xe: Introduce xe_any helpers
In reply to Michal WajdeczkoQuoted 92 lines · Michal Wajdeczko
In upcoming patches we want to define macros that will work with either
xe_deviceorxe_tileorxe_gtpointers. To make them work and to allow compiler optimizations, introduce set of helpers that will return either expected pointer type or NULL or make necessary conversions to/from the struct xe/device/pci_dev.Signed-off-by Michal Wajdeczko <[email protected]>Cc Rodrigo Vivi <[email protected]>Cc Thomas Hellström <[email protected]>Cc Matthew Brost <[email protected]>---
v2: add include (Sashiko) and const support (Mallesh)
reuse existingto_xe()helpers (Michal)--- drivers/gpu/drm/xe/xe_any.h | 112 ++++++++++++++++++++++++++++++++++++ 1 file changed, 112 insertions(+)create mode 100644
drivers/gpu/drm/xe/xe_any.hdrivers/gpu/drm/xe/xe_any.h new file +68
-0@@ -0,0 +1,112 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright © 2026 Intel Corporation +*/ + +#ifndef _XE_ANY_H_ +#define _XE_ANY_H_ + +#include "xe_device.h" + +/** +* xe_any_if_type() - Get the pointer only if it is @type pointer. +* @any: any pointer +* @type: data type to look for +* +* Return: the @type pointer or NULL. +*/ +#define xe_any_if_type (any, type) \ + _Generic((any), \ + type * : (any), \ + const type * : (any), \ + default : NULL) + +/** +* xe_any_if_gt() - Get the pointer only if it is &xe_gt. +* @any: any pointer +* +* Return: the @xe_gt pointer or NULL. +*/ +#define xe_any_if_gt (any) xe_any_if_type((any), struct xe_gt) + +/** +* xe_any_if_tile() - Get the pointer only if it is &xe_tile. +* @any: any pointer +* +* Return: the @xe_tile pointer or NULL. +*/ +#define xe_any_if_tile (any) xe_any_if_type((any), struct xe_tile) + +/** +* xe_any_if_xe() - Get the pointer only if it is &xe_device. +* @any: any pointer +* +* Return: the @xe_device pointer or NULL. +*/ +#define xe_any_if_xe (any) xe_any_if_type((any), struct xe_device) + +/** +* xe_any_if_pdev() - Get the pointer only if it is &pci_dev. +* @any: any pointer +* +* Return: the @pci_dev pointer or NULL. +*/ +#define xe_any_if_pdev (any) xe_any_if_type((any), struct pci_dev) + +/** +* xe_any_to_xe() - Obtain the &xe_device pointer. +* @any: the &pci_dev or the &xe_device or &xe_tile or &xe_gt pointer +* +* Return: the @xe_device pointer or backpointer. +*/ +#define xe_any_to_xe (any) \ + _Generic((any), \ + struct xe_device * : (any), \ + const struct xe_device * : (any), \ + struct xe_tile * : tile_to_xe((struct xe_tile *)(any)), \ + const struct xe_tile * : tile_to_xe((const struct xe_tile *)(any)), \ + struct xe_gt * : gt_to_xe((struct xe_gt *)(any)), \
drivers/gpu/drm/xe/xe_any.h line 78
Quoted 10 lines
drivers/gpu/drm/xe/xe_any.h new file +10
-0+ const struct xe_gt * : gt_to_xe((const struct xe_gt *)(any)), \ + struct pci_dev * : pdev_to_xe_device((struct pci_dev *)(any)), \ + struct device * : kdev_to_xe_device((struct device *)(any))) + +/** +* xe_any_to_dev() - Obtain the &device pointer. +* @any: the &pci_dev or the &xe_device or &xe_tile or &xe_gt pointer +* +* Return: the @xe_device pointer or backpointer. +*/
should be device pointer right.
drivers/gpu/drm/xe/xe_any.h line 83
Quoted 5 lines
drivers/gpu/drm/xe/xe_any.h new file +5
-0+#define xe_any_to_dev (any) \ + _Generic((any), \ + struct device * : (any), \ + default : xe_any_to_xe(any)->drm.dev) +
Add const struct device* as well.
drivers/gpu/drm/xe/xe_any.h line 93
Quoted 10 lines
drivers/gpu/drm/xe/xe_any.h new file +10
-0+/** +* xe_any_to_pdev() - Obtain the &pci_dev pointer. +* @any: the &pci_dev or the &xe_device or &xe_tile or &xe_gt pointer +* +* Return: the @pci_dev pointer or backpointer. +*/ +#define xe_any_to_pdev (any) \ + _Generic((any), \ + struct pci_dev * : (any), \ + default : to_pci_dev(xe_any_to_dev(any)))
Please add struct pci_dev * : &((struct pci_dev *)(any))->dev and const struct pci_dev *.
drivers/gpu/drm/xe/xe_any.h line 100
Quoted 7 lines
drivers/gpu/drm/xe/xe_any.h new file +7
-0+ +/** +* xe_any_id() - Get the identifier of the underlying object. +* @any: the &pci_dev or the &xe_device or &xe_tile or &xe_gt pointer +* +* Return: the identifier of the object, or 0 if nor applicable/available. +*/
Typo: please change "nor" to "not"
With all above cosmetic changes.
Quoted 12 lines
drivers/gpu/drm/xe/xe_any.h new file +12
-0+#define xe_any_id (any) \ + _Generic((any), \ + struct xe_gt * : ((struct xe_gt *)(any))->info.id, \ + const struct xe_gt * : ((const struct xe_gt *)(any))->info.id, \ + struct xe_tile * : ((struct xe_tile *)(any))->id, \ + const struct xe_tile * : ((const struct xe_tile *)(any))->id, \ + struct xe_device * : 0, \ + const struct xe_device * : 0, \ + struct pci_dev * : 0, \ + struct device * : 0) + +#endif
Re: [PATCH v2 01/22] drm/xe: Introduce xe_any helpers
In reply to Michal WajdeczkoQuoted 5 lines · Michal Wajdeczko
In upcoming patches we want to define macros that will work with either
xe_deviceorxe_tileorxe_gtpointers. To make them work and to allow compiler optimizations, introduce set of helpers that will return either expected pointer type or NULL or make necessary conversions to/from the struct xe/device/pci_dev.
I'm obviously biased, but I think the style I used for to_intel_display() in intel_display_types.h is cleaner.
BR,
Jani.
Quoted 131 lines
Signed-off-by Michal Wajdeczko <[email protected]>Cc Rodrigo Vivi <[email protected]>Cc Thomas Hellström <[email protected]>Cc Matthew Brost <[email protected]>---
v2: add include (Sashiko) and const support (Mallesh)
reuse existingto_xe()helpers (Michal)--- drivers/gpu/drm/xe/xe_any.h | 112 ++++++++++++++++++++++++++++++++++++ 1 file changed, 112 insertions(+) create mode 100644 drivers/gpu/drm/xe/xe_any.hdrivers/gpu/drm/xe/xe_any.h new file +112
-0@@ -0,0 +1,112 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright © 2026 Intel Corporation +*/ + +#ifndef _XE_ANY_H_ +#define _XE_ANY_H_ + +#include "xe_device.h" + +/** +* xe_any_if_type() - Get the pointer only if it is @type pointer. +* @any: any pointer +* @type: data type to look for +* +* Return: the @type pointer or NULL. +*/ +#define xe_any_if_type (any, type) \ + _Generic((any), \ + type * : (any), \ + const type * : (any), \ + default : NULL) + +/** +* xe_any_if_gt() - Get the pointer only if it is &xe_gt. +* @any: any pointer +* +* Return: the @xe_gt pointer or NULL. +*/ +#define xe_any_if_gt (any) xe_any_if_type((any), struct xe_gt) + +/** +* xe_any_if_tile() - Get the pointer only if it is &xe_tile. +* @any: any pointer +* +* Return: the @xe_tile pointer or NULL. +*/ +#define xe_any_if_tile (any) xe_any_if_type((any), struct xe_tile) + +/** +* xe_any_if_xe() - Get the pointer only if it is &xe_device. +* @any: any pointer +* +* Return: the @xe_device pointer or NULL. +*/ +#define xe_any_if_xe (any) xe_any_if_type((any), struct xe_device) + +/** +* xe_any_if_pdev() - Get the pointer only if it is &pci_dev. +* @any: any pointer +* +* Return: the @pci_dev pointer or NULL. +*/ +#define xe_any_if_pdev (any) xe_any_if_type((any), struct pci_dev) + +/** +* xe_any_to_xe() - Obtain the &xe_device pointer. +* @any: the &pci_dev or the &xe_device or &xe_tile or &xe_gt pointer +* +* Return: the @xe_device pointer or backpointer. +*/ +#define xe_any_to_xe (any) \ + _Generic((any), \ + struct xe_device * : (any), \ + const struct xe_device * : (any), \ + struct xe_tile * : tile_to_xe((struct xe_tile *)(any)), \ + const struct xe_tile * : tile_to_xe((const struct xe_tile *)(any)), \ + struct xe_gt * : gt_to_xe((struct xe_gt *)(any)), \ + const struct xe_gt * : gt_to_xe((const struct xe_gt *)(any)), \ + struct pci_dev * : pdev_to_xe_device((struct pci_dev *)(any)), \ + struct device * : kdev_to_xe_device((struct device *)(any))) + +/** +* xe_any_to_dev() - Obtain the &device pointer. +* @any: the &pci_dev or the &xe_device or &xe_tile or &xe_gt pointer +* +* Return: the @xe_device pointer or backpointer. +*/ +#define xe_any_to_dev (any) \ + _Generic((any), \ + struct device * : (any), \ + default : xe_any_to_xe(any)->drm.dev) + +/** +* xe_any_to_pdev() - Obtain the &pci_dev pointer. +* @any: the &pci_dev or the &xe_device or &xe_tile or &xe_gt pointer +* +* Return: the @pci_dev pointer or backpointer. +*/ +#define xe_any_to_pdev (any) \ + _Generic((any), \ + struct pci_dev * : (any), \ + default : to_pci_dev(xe_any_to_dev(any))) + +/** +* xe_any_id() - Get the identifier of the underlying object. +* @any: the &pci_dev or the &xe_device or &xe_tile or &xe_gt pointer +* +* Return: the identifier of the object, or 0 if nor applicable/available. +*/ +#define xe_any_id (any) \ + _Generic((any), \ + struct xe_gt * : ((struct xe_gt *)(any))->info.id, \ + const struct xe_gt * : ((const struct xe_gt *)(any))->info.id, \ + struct xe_tile * : ((struct xe_tile *)(any))->id, \ + const struct xe_tile * : ((const struct xe_tile *)(any))->id, \ + struct xe_device * : 0, \ + const struct xe_device * : 0, \ + struct pci_dev * : 0, \ + struct device * : 0) + +#endif
Signature · 1 line
Jani Nikula, Intel
PATCH v2 2/22 drm/xe/log: Add structured SIGID error logging infrastructure
In reply to Michal WajdeczkoFrom: Mallesh Koujalagi <[email protected]>
Today the driver reports faults with ad-hoc drm_err()/xe_gt_err() strings that have no stable shape. That is readable for a human, but it gives fleet tooling nothing durable to match on: the wording changes between releases, lines can be rate-limited or dropped under an error storm, and there is no consistent way to ask "which recognised fault just happened?".
Introduce a signature identifier (SIGID): a small, stable integer that names one recognised Xe fault situation and serves as the primary handle for triage. A SIGID maps, through published end-user documentation, to a description and a recommended action; the driver only has to emit the right SIGID next to the usual human-readable text.
---
Cc: Yoni Levitt <[email protected]>
Cc: Aravind Iddamsetty <[email protected]>
Cc: Raag Jadav <[email protected]>
Cc: Riana Tauro <[email protected]>
---
v2: CORRECTED is still an error (Michal)
prepare to decorate dmesg with comp/loc (Michal)
--- Documentation/gpu/xe/index.rst | 1 + Documentation/gpu/xe/xe_sigid.rst | 14 ++ drivers/gpu/drm/xe/Makefile | 1 + drivers/gpu/drm/xe/abi/xe_sigid_abi.h | 183 ++++++++++++++++++++++++++ drivers/gpu/drm/xe/xe_log.c | 135 +++++++++++++++++++ drivers/gpu/drm/xe/xe_log.h | 20 +++ 6 files changed, 354 insertions(+) create mode 100644 Documentation/gpu/xe/xe_sigid.rst create mode 100644 drivers/gpu/drm/xe/abi/xe_sigid_abi.h create mode 100644 drivers/gpu/drm/xe/xe_log.c create mode 100644 drivers/gpu/drm/xe/xe_log.h
Documentation/gpu/xe/index.rst +1 -0
@@ -35,3 +35,4 @@ The display, or :ref:`drm-kms`, support for drm/xe is provided by xe-drm-usage-stats.rst xe_configfs xe_gt_stats + xe_sigid
Documentation/gpu/xe/xe_sigid.rst new file +14 -0
@@ -0,0 +1,14 @@ +.. SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +======== +Xe SIGID +======== + +.. kernel-doc:: drivers/gpu/drm/xe/abi/xe_sigid_abi.h + :doc: Xe Error Signatures (SIGID) + +Signature Identifiers +===================== + +.. kernel-doc:: drivers/gpu/drm/xe/abi/xe_sigid_abi.h + :internal:
drivers/gpu/drm/xe/Makefile +1 -0
@@ -87,6 +87,7 @@ xe-y += xe_bb.o \ xe_hw_fence.o \ xe_irq.o \ xe_late_bind_fw.o \ + xe_log.o \ xe_lrc.o \ xe_mem_pool.o \ xe_migrate.o \
drivers/gpu/drm/xe/abi/xe_sigid_abi.h new file +183 -0
183 lines not on this page · raw message
drivers/gpu/drm/xe/xe_log.c new file +135 -0
135 lines not on this page · raw message
drivers/gpu/drm/xe/xe_log.h new file +20 -0
@@ -0,0 +1,20 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright © 2026 Intel Corporation +*/ + +#ifndef _XE_LOG_H_ +#define _XE_LOG_H_ + +#include <linux/cper.h> + +#include "abi/xe_sigid_abi.h" + +struct pci_dev ; + +__printf(8, 9) +void xe_log_emit (struct pci_dev *pdev,int cper_sev,enum xe_sigid sigid, +u32 component,u32 location,const void *data,size_t len, +const char *fmt, ...); + +#endif
Signature · 1 line
2.47.1
PATCH v2 3/22 drm/xe/log: Introduce structured component/location identifiers
In reply to Michal WajdeczkoIntroduce structured identifiers for each component type that could emit a SIGID log entry and for their locations. We plan to store those IDs in the CPER records for better filtering. Define also structured identifiers for the supported locations.
---
Cc: Aravind Iddamsetty <[email protected]>
Cc: Mallesh Koujalagi <[email protected]>
Cc: Raag Jadav <[email protected]>
Cc: Riana Tauro <[email protected]>
---
v2: fix typo, define reserved ids (Michal)
--- drivers/gpu/drm/xe/abi/xe_log_abi.h | 185 ++++++++++++++++++++++++++++ 1 file changed, 185 insertions(+) create mode 100644 drivers/gpu/drm/xe/abi/xe_log_abi.h
drivers/gpu/drm/xe/abi/xe_log_abi.h new file +185 -0
@@ -0,0 +1,185 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright © 2026 Intel Corporation +*/ + +#ifndef _ABI_XE_LOG_ABI_H_ +#define _ABI_XE_LOG_ABI_H_ + +#include <linux/bits.h> +#include <linux/bitfield.h> + +#include "abi/xe_sigid_abi.h" + +/** +* enum xe_log_component_bits - bits for components structure definitions +* +* Component identifiers are structured based on:: +* +* COMPONENT = TYPE(8b).ID(8b) +* +* and the structure looks like this:: +* +* ├── SYSTEM(0) +* │ └── ... +* ├── DRIVER(1) +* │ └── ... +* ├── FEATURE(2) +* │ └── ... +* ├── FIRMWARE(4) +* │ └── ... +* └── HARDWARE(8) +* └── ... +* +* Examples:: +* +* COMPONENT(0.type) = SYSTEM.type = system component +* COMPONENT(1.type) = DRIVER.type = driver core component +* COMPONENT(3.type) = DRIVER_FEATURE.type = driver feature +* COMPONENT(5.type) = DRIVER_FIRMWARE.type = firmware driver component +* COMPONENT(9.type) = DRIVER_HARDWARE.type = hardware driver component +* +*/ +enum xe_log_component_bits { +/* private: */ +XE_LOG_COMPONENT_CLASS_MASK =GENMASK_U16 (7 ,0 ), +XE_LOG_COMPONENT_TYPE_MASK =GENMASK_U16 (15 ,8 ), +/* private: component classes */ +XE_LOG_COMPONENT_CLASS_SYSTEM =0u , +XE_LOG_COMPONENT_CLASS_DRIVER =1u , +XE_LOG_COMPONENT_CLASS_FEATURE =2u , +XE_LOG_COMPONENT_CLASS_FIRMWARE =4u , +XE_LOG_COMPONENT_CLASS_HARDWARE =8u , +XE_LOG_COMPONENT_CLASS_DRIVER_FEATURE =XE_LOG_COMPONENT_CLASS_DRIVER | +XE_LOG_COMPONENT_CLASS_FEATURE , +XE_LOG_COMPONENT_CLASS_DRIVER_FIRMWARE =XE_LOG_COMPONENT_CLASS_DRIVER | +XE_LOG_COMPONENT_CLASS_FIRMWARE , +XE_LOG_COMPONENT_CLASS_DRIVER_HARDWARE =XE_LOG_COMPONENT_CLASS_DRIVER | +XE_LOG_COMPONENT_CLASS_HARDWARE , +/* private: reserved identifiers */ +XE_LOG_COMPONENT_NONE =0u , +}; + +#define MAKE_XE_LOG_COMPONENT (_CLASS, type) \ + (FIELD_PREP_CONST(XE_LOG_COMPONENT_CLASS_MASK, \ + XE_LOG_COMPONENT_CLASS_##_CLASS) | \ + FIELD_PREP_CONST(XE_LOG_COMPONENT_TYPE_MASK, (type))) + +/** +* enum xe_log_location_bits - bits for location structure definitions +* +* Location identifiers are structured based on:: +* +* LOCATION = TYPE(8b).ID(8b) +* +* and the structure looks like this:: +* +* ├── DEVICE(0) +* │ └── MBZ(0) +* ├── TILE(1) +* │ ├── Tile0(0) +* │ ├── ... +* │ └── TileN(n) +* ├── GT(1) +* │ ├── GT0(0) +* │ ├── ... +* │ └── GTn(n) +* └── ... +* +* Examples:: +* +* LOCATION(0.0) = DEVICE.0 = "Device" +* LOCATION(1.2) = TILE.2 = "Tile2" +* LOCATION(2.3) = GT.3 = "GT3" +* +*/ +enum xe_log_location_bits { +/* private: */ +XE_LOG_LOCATION_TYPE_MASK =GENMASK_U16 (7 ,0 ), +XE_LOG_LOCATION_ID_MASK =GENMASK_U16 (15 ,8 ), +/* private: location types */ +XE_LOG_LOCATION_TYPE_DEVICE =1u , +XE_LOG_LOCATION_TYPE_TILE =2u , +XE_LOG_LOCATION_TYPE_GT =3u , +/* private: reserved identifiers */ +XE_LOG_LOCATION_NONE =0u , +}; + +#define PREP_XE_LOG_LOCATION (type, id) \ + (FIELD_PREP(XE_LOG_LOCATION_TYPE_MASK, (type)) | \ + FIELD_PREP(XE_LOG_LOCATION_ID_MASK, (id))) + +#define MAKE_XE_LOG_LOCATION (_TYPE, id) \ + PREP_XE_LOG_LOCATION(XE_LOG_LOCATION_TYPE_##_TYPE, (id)) + +/** +* DEFINE_XE_LOG_COMPONENTS() - Define log components. +* @define: name of the inner macro to expand. +* +* Use this super macro to define custom code for the log components. +* The following parameters are available for each component:: +* +* define(CLASS, ID, TAG, SIGID, NAME) +* +* where: +* +* @ID is the unique component identifier within CLASS.SUBCLASS.CATEGORY +* @TAG is unique component tag (across all components) +* @SIGID is the default xe_sigid for the component (without the XE_SIGID_ prefix) +*/ +#define DEFINE_XE_LOG_COMPONENTS (define) \ +/* */ \ + define(SYSTEM, 1, PCI, SW, "Linux PCI Subsystem") \ + define(SYSTEM, 2, DRM, SW, "DRM") \ +/* */ \ + define(DRIVER, 1, XE, SW, "Xe Driver") \ + define(DRIVER, 2, PROBE, PROBE, "Driver Initialization") \ + define(DRIVER, 3, WEDGED, WEDGED, "Device Malfunction") \ + define(DRIVER, 4, RTP, SW, "Register Table Processing") \ + define(DRIVER, 5, WA, SW, "Workarounds") \ +define (DRIVER ,6 ,PAGEFAULT ,MEM_FAULT ,"Page Fault" ) \ + /* */ \ + define(DRIVER_HARDWARE, 1, REGS, IO_BUS, "Registers") \ + define(DRIVER_HARDWARE, 2, GGTT, IO_BUS, "Global GTT") \ + define(DRIVER_HARDWARE, 3, GT, GT_TDR, "Graphics Technology") \ + define(DRIVER_HARDWARE, 4, LMTT, IO_BUS, "LMEM Translation Table") \ +define (DRIVER_HARDWARE ,5 ,MEMIRQ ,IO_BUS ,"Memory Based IRQ" ) \ + /* */ \ + define(DRIVER_FEATURE, 1, PF, SW, "SR-IOV Physical Function") \ + define(DRIVER_FEATURE, 2, VF, SW, "SR-IOV Virtual Function") \ + define(DRIVER_FEATURE, 3, SURVIVABILITY, SURVIVABILITY, "Survivability") \ +define (DRIVER_FEATURE ,4 ,RAS ,SW ,"Reliability, Accessibility, Serviceability" ) \ + /* */ \ + define(DRIVER_FIRMWARE, 1, GUC, RUNTIME_FW, "GuC") \ + define(DRIVER_FIRMWARE, 2, HUC, RUNTIME_FW, "HuC") \ + define(DRIVER_FIRMWARE, 3, GSC, RUNTIME_FW, "GSC") \ + define(DRIVER_FIRMWARE, 16, PCODE, DEVICE_FW, "PCode") \ +define (DRIVER_FIRMWARE ,17 ,SYSCTRL ,DEVICE_FW ,"System Controller" ) \ +/* eod */ + +/** +* enum xe_log_component_tags - TAGs of all supported components + */ +enum xe_log_component_tags { +/* private: */ +#define MAKE_XE_LOG_COMPONENT_ENUM(_CLASS, _ID, _TAG, _SIG, _NAME) \ + XE_LOG_COMPONENT_##_TAG = MAKE_XE_LOG_COMPONENT(_CLASS, (_ID)), \ + XE_LOG_COMPONENT_##_CLASS##_##_ID = XE_LOG_COMPONENT_##_TAG, \ +/* eod */ + DEFINE_XE_LOG_COMPONENTS(MAKE_XE_LOG_COMPONENT_ENUM) +#undef MAKE_XE_LOG_COMPONENT_ENUM +}; + +/** +* enum xe_log_component_sigids - SIGIDs of all supported components +*/ +enum xe_log_component_sigids { +/* private: */ +#define MAKE_XE_LOG_COMPONENT_SIGID(_CLASS, _ID, _TAG, _SIG, _NAME) \ + XE_LOG_COMPONENT_##_TAG##_SIGID = XE_SIGID_##_SIG, \ +/* eod */ + DEFINE_XE_LOG_COMPONENTS(MAKE_XE_LOG_COMPONENT_SIGID) +#undef MAKE_XE_LOG_COMPONENT_SIGID +}; + +#endif
Signature · 1 line
2.47.1
Re: [PATCH v2 03/22] drm/xe/log: Introduce structured component/location identifiers
Quoted 172 lines · Michal Wajdeczko
Introduce structured identifiers for each component type that could emit a SIGID log entry and for their locations. We plan to store those IDs in the CPER records for better filtering. Define also structured identifiers for the supported locations.
Signed-off-by Michal Wajdeczko <[email protected]>Cc Rodrigo Vivi <[email protected]>---
Cc: Aravind Iddamsetty <[email protected]>
Cc: Mallesh Koujalagi <[email protected]>
Cc: Raag Jadav <[email protected]>
Cc: Riana Tauro <[email protected]>
---
v2: fix typo, define reserved ids (Michal)--- drivers/gpu/drm/xe/abi/xe_log_abi.h | 185 ++++++++++++++++++++++++++++ 1 file changed, 185 insertions(+) create mode 100644 drivers/gpu/drm/xe/abi/xe_log_abi.hdrivers/gpu/drm/xe/abi/xe_log_abi.h new file +147
-0@@ -0,0 +1,185 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright © 2026 Intel Corporation +*/ + +#ifndef _ABI_XE_LOG_ABI_H_ +#define _ABI_XE_LOG_ABI_H_ + +#include <linux/bits.h> +#include <linux/bitfield.h> + +#include "abi/xe_sigid_abi.h" + +/** +* enum xe_log_component_bits - bits for components structure definitions +* +* Component identifiers are structured based on:: +* +* COMPONENT = TYPE(8b).ID(8b) +* +* and the structure looks like this:: +* +* ├── SYSTEM(0) +* │ └── ... +* ├── DRIVER(1) +* │ └── ... +* ├── FEATURE(2) +* │ └── ... +* ├── FIRMWARE(4) +* │ └── ... +* └── HARDWARE(8) +* └── ... +* +* Examples:: +* +* COMPONENT(0.type) = SYSTEM.type = system component +* COMPONENT(1.type) = DRIVER.type = driver core component +* COMPONENT(3.type) = DRIVER_FEATURE.type = driver feature +* COMPONENT(5.type) = DRIVER_FIRMWARE.type = firmware driver component +* COMPONENT(9.type) = DRIVER_HARDWARE.type = hardware driver component +* +*/ +enum xe_log_component_bits { +/* private: */ +XE_LOG_COMPONENT_CLASS_MASK =GENMASK_U16 (7 ,0 ), +XE_LOG_COMPONENT_TYPE_MASK =GENMASK_U16 (15 ,8 ), +/* private: component classes */ +XE_LOG_COMPONENT_CLASS_SYSTEM =0u , +XE_LOG_COMPONENT_CLASS_DRIVER =1u , +XE_LOG_COMPONENT_CLASS_FEATURE =2u , +XE_LOG_COMPONENT_CLASS_FIRMWARE =4u , +XE_LOG_COMPONENT_CLASS_HARDWARE =8u , +XE_LOG_COMPONENT_CLASS_DRIVER_FEATURE =XE_LOG_COMPONENT_CLASS_DRIVER | +XE_LOG_COMPONENT_CLASS_FEATURE , +XE_LOG_COMPONENT_CLASS_DRIVER_FIRMWARE =XE_LOG_COMPONENT_CLASS_DRIVER | +XE_LOG_COMPONENT_CLASS_FIRMWARE , +XE_LOG_COMPONENT_CLASS_DRIVER_HARDWARE =XE_LOG_COMPONENT_CLASS_DRIVER | +XE_LOG_COMPONENT_CLASS_HARDWARE , +/* private: reserved identifiers */ +XE_LOG_COMPONENT_NONE =0u , +}; + +#define MAKE_XE_LOG_COMPONENT (_CLASS, type) \ + (FIELD_PREP_CONST(XE_LOG_COMPONENT_CLASS_MASK, \ + XE_LOG_COMPONENT_CLASS_##_CLASS) | \ + FIELD_PREP_CONST(XE_LOG_COMPONENT_TYPE_MASK, (type))) + +/** +* enum xe_log_location_bits - bits for location structure definitions +* +* Location identifiers are structured based on:: +* +* LOCATION = TYPE(8b).ID(8b) +* +* and the structure looks like this:: +* +* ├── DEVICE(0) +* │ └── MBZ(0) +* ├── TILE(1) +* │ ├── Tile0(0) +* │ ├── ... +* │ └── TileN(n) +* ├── GT(1) +* │ ├── GT0(0) +* │ ├── ... +* │ └── GTn(n) +* └── ... +* +* Examples:: +* +* LOCATION(0.0) = DEVICE.0 = "Device" +* LOCATION(1.2) = TILE.2 = "Tile2" +* LOCATION(2.3) = GT.3 = "GT3" +* +*/ +enum xe_log_location_bits { +/* private: */ +XE_LOG_LOCATION_TYPE_MASK =GENMASK_U16 (7 ,0 ), +XE_LOG_LOCATION_ID_MASK =GENMASK_U16 (15 ,8 ), +/* private: location types */ +XE_LOG_LOCATION_TYPE_DEVICE =1u , +XE_LOG_LOCATION_TYPE_TILE =2u , +XE_LOG_LOCATION_TYPE_GT =3u , +/* private: reserved identifiers */ +XE_LOG_LOCATION_NONE =0u , +}; + +#define PREP_XE_LOG_LOCATION (type, id) \ + (FIELD_PREP(XE_LOG_LOCATION_TYPE_MASK, (type)) | \ + FIELD_PREP(XE_LOG_LOCATION_ID_MASK, (id))) + +#define MAKE_XE_LOG_LOCATION (_TYPE, id) \ + PREP_XE_LOG_LOCATION(XE_LOG_LOCATION_TYPE_##_TYPE, (id)) + +/** +* DEFINE_XE_LOG_COMPONENTS() - Define log components. +* @define: name of the inner macro to expand. +* +* Use this super macro to define custom code for the log components. +* The following parameters are available for each component:: +* +* define(CLASS, ID, TAG, SIGID, NAME) +* +* where: +* +* @ID is the unique component identifier within CLASS.SUBCLASS.CATEGORY +* @TAG is unique component tag (across all components) +* @SIGID is the default xe_sigid for the component (without the XE_SIGID_ prefix) +*/ +#define DEFINE_XE_LOG_COMPONENTS (define) \ +/* */ \ + define(SYSTEM, 1, PCI, SW, "Linux PCI Subsystem") \ + define(SYSTEM, 2, DRM, SW, "DRM") \ +/* */ \ + define(DRIVER, 1, XE, SW, "Xe Driver") \ + define(DRIVER, 2, PROBE, PROBE, "Driver Initialization") \ + define(DRIVER, 3, WEDGED, WEDGED, "Device Malfunction") \ + define(DRIVER, 4, RTP, SW, "Register Table Processing") \ + define(DRIVER, 5, WA, SW, "Workarounds") \ +define (DRIVER ,6 ,PAGEFAULT ,MEM_FAULT ,"Page Fault" ) \ + /* */ \ + define(DRIVER_HARDWARE, 1, REGS, IO_BUS, "Registers") \ + define(DRIVER_HARDWARE, 2, GGTT, IO_BUS, "Global GTT") \ + define(DRIVER_HARDWARE, 3, GT, GT_TDR, "Graphics Technology") \ + define(DRIVER_HARDWARE, 4, LMTT, IO_BUS, "LMEM Translation Table") \ +define (DRIVER_HARDWARE ,5 ,MEMIRQ ,IO_BUS ,"Memory Based IRQ" ) \ +/* */ \
drivers/gpu/drm/xe/abi/xe_log_abi.h line 157
Quoted 10 lines
drivers/gpu/drm/xe/abi/xe_log_abi.h new file +10
-0+ define(DRIVER_FEATURE, 1, PF, SW, "SR-IOV Physical Function") \ + define(DRIVER_FEATURE, 2, VF, SW, "SR-IOV Virtual Function") \ + define(DRIVER_FEATURE, 3, SURVIVABILITY, SURVIVABILITY, "Survivability") \ +define (DRIVER_FEATURE ,4 ,RAS ,SW ,"Reliability, Accessibility, Serviceability" ) \ + /* */ \ + define(DRIVER_FIRMWARE, 1, GUC, RUNTIME_FW, "GuC") \ + define(DRIVER_FIRMWARE, 2, HUC, RUNTIME_FW, "HuC") \ + define(DRIVER_FIRMWARE, 3, GSC, RUNTIME_FW, "GSC") \ + define(DRIVER_FIRMWARE, 16, PCODE, DEVICE_FW, "PCode") \ +define (DRIVER_FIRMWARE ,17 ,SYSCTRL ,DEVICE_FW ,"System Controller" ) \
As I had stated before, I would prefer a simpler map of component to sig_id instead of this multi-level. But I believe that this data can be useful in future.
Quoted 31 lines
drivers/gpu/drm/xe/abi/xe_log_abi.h new file +28
-0+/* eod */ + +/** +* enum xe_log_component_tags - TAGs of all supported components +*/ +enum xe_log_component_tags { +/* private: */ +#define MAKE_XE_LOG_COMPONENT_ENUM(_CLASS, _ID, _TAG, _SIG, _NAME) \ + XE_LOG_COMPONENT_##_TAG = MAKE_XE_LOG_COMPONENT(_CLASS, (_ID)), \ + XE_LOG_COMPONENT_##_CLASS##_##_ID = XE_LOG_COMPONENT_##_TAG, \ +/* eod */ + DEFINE_XE_LOG_COMPONENTS(MAKE_XE_LOG_COMPONENT_ENUM) +#undef MAKE_XE_LOG_COMPONENT_ENUM +}; + +/** +* enum xe_log_component_sigids - SIGIDs of all supported components +*/ +enum xe_log_component_sigids { +/* private: */ +#define MAKE_XE_LOG_COMPONENT_SIGID(_CLASS, _ID, _TAG, _SIG, _NAME) \ + XE_LOG_COMPONENT_##_TAG##_SIGID = XE_SIGID_##_SIG, \ +/* eod */ + DEFINE_XE_LOG_COMPONENTS(MAKE_XE_LOG_COMPONENT_SIGID) +#undef MAKE_XE_LOG_COMPONENT_SIGID +}; + +#endif Signature · 1 line
2.47.1
PATCH v2 4/22 drm/xe/log: Add component/location decorations to dmesg
In reply to Michal WajdeczkoWhile we can't directly use our xe_tile|gt_err|info helpers to get nice Tile/GT decorations, we can still add them manually based on the structured location parameter. Similarly, we can add component name prefix based on the component identifier.
---
Cc: Aravind Iddamsetty <[email protected]>
Cc: Mallesh Koujalagi <[email protected]>
--- drivers/gpu/drm/xe/xe_log.c | 82 +++++++++++++++++++++++++++++++++---- 1 file changed, 74 insertions(+), 8 deletions(-)
drivers/gpu/drm/xe/xe_log.c +74 -8
@@ -3,6 +3,9 @@* Copyright © 2026 Intel Corporation */ +#include "abi/xe_log_abi.h" + +#include "xe_device.h" #include "xe_log.h" #include "xe_printk.h"
@@ -13,6 +16,65 @@ static void log_emit_cper(struct pci_dev *pdev, int cper_sev, enum xe_sigid sigi/* TODO */ } +static const char *log_component_prefix (u32 component) +{ +switch (component) { +#define MAKE_XE_LOG_COMPONENT_CASE_PREFIX (_CLASS, _ID, _TAG, _SIG, _NAME) \ + case XE_LOG_COMPONENT_##_TAG: return #_TAG ": "; + DEFINE_XE_LOG_COMPONENTS(MAKE_XE_LOG_COMPONENT_CASE_PREFIX) +#undef MAKE_XE_LOG_COMPONENT_CASE_PREFIX + } +return "" ; +} + +static struct xe_gt *get_gt_safe (struct pci_dev *pdev,u8 id) +{ +struct xe_device *xe =pdev_to_xe_device (pdev); + +return xe ?xe_device_get_gt (xe, id) :NULL ; +} + +static struct xe_tile *get_tile_safe (struct pci_dev *pdev,u8 id) +{ +struct xe_device *xe =pdev_to_xe_device (pdev); + +return xe && id <XE_MAX_TILES_PER_DEVICE ? &xe->tiles[id] :NULL ; +} + +static const char *log_location_prefix (struct pci_dev *pdev,u32 location,char *buf,size_t size) +{ +u32 type =FIELD_GET (XE_LOG_LOCATION_TYPE_MASK , location); +u32 id =FIELD_GET (XE_LOG_LOCATION_ID_MASK , location); + +if (!location || type ==XE_LOG_LOCATION_TYPE_DEVICE ) { +if (id) + goto unrecognized; +strscpy (buf,"" , size); + }else if (type ==XE_LOG_LOCATION_TYPE_TILE ) { +struct xe_tile *tile =get_tile_safe (pdev, id); + +if (!tile) + goto unrecognized; +snprintf (buf, size,"Tile%u: " , id); + }else if (type ==XE_LOG_LOCATION_TYPE_GT ) { +struct xe_gt *gt =get_gt_safe (pdev, id); + +if (!gt) + goto unrecognized; +snprintf (buf, size,"Tile%u: GT%u: " , gt->tile->id, id); + }else { + goto unrecognized; + } + +return buf; + +unrecognized: +pci_WARN (pdev,IS_ENABLED (CONFIG_DRM_XE_DEBUG ), +"LOG: malformed location %#x\n" , location); +snprintf (buf, size,"LOC%u? ID%u? " , type, id); +return buf; +} +static bool is_hw_sigid (enum xe_sigid sigid) {return (int )sigid >=INTEL_SIGID_GPU_XE_HARDWARE_START ;
@@ -71,20 +133,24 @@ static void log_emit_dmesg(struct pci_dev *pdev, int cper_sev, enum xe_sigid sig u32 component, u32 location, const void *data, size_t len, struct va_format *vaf) { + char buf[32]; +const char *loc_prefix =log_location_prefix (pdev, location, buf,sizeof (buf)); +const char *comp_prefix =log_component_prefix (component);const char *hwe_prefix =log_hwe_prefix (cper_sev, sigid);const char *sev_prefix =log_sev_prefix (cper_sev); -/* TODO: add component/location details */ -if (IS_ERR (data)) -log_dmesg_printf (pdev, cper_sev,"SIGID=%u %s(%pe) %s%pV" , - sigid, sev_prefix, data, hwe_prefix, vaf); +log_dmesg_printf (pdev, cper_sev,"SIGID=%u %s(%pe) %s%s%s%pV" , + sigid, sev_prefix, data, hwe_prefix, + loc_prefix, comp_prefix, vaf);else if (data && len) -log_dmesg_printf (pdev, cper_sev,"SIGID=%u %s(%*phN) %s%pV" , - sigid, sev_prefix, (int )len, data, hwe_prefix, vaf); +log_dmesg_printf (pdev, cper_sev,"SIGID=%u %s(%*phN) %s%s%s%pV" , + sigid, sev_prefix, (int )len, data, hwe_prefix, + loc_prefix, comp_prefix, vaf);else -log_dmesg_printf (pdev, cper_sev,"SIGID=%u %s%s%pV" , - sigid, sev_prefix, hwe_prefix, vaf); +log_dmesg_printf (pdev, cper_sev,"SIGID=%u %s%s%s%s%pV" , + sigid, sev_prefix, hwe_prefix, + loc_prefix, comp_prefix, vaf); }/**
Signature · 1 line
2.47.1
Re: [PATCH v2 04/22] drm/xe/log: Add component/location decorations to dmesg
Quoted 4 lines · Michal Wajdeczko
While we can't directly use our xe_tile|gt_err|info helpers to get nice Tile/GT decorations, we can still add them manually based on the structured location parameter. Similarly, we can add component name prefix based on the component identifier.
Okay, perhaps I was wrong and these levels are indeed useful info there.
Quoted 126 lines
Signed-off-by Michal Wajdeczko <[email protected]>Cc Rodrigo Vivi <[email protected]>---
Cc: Aravind Iddamsetty <[email protected]>
Cc: Mallesh Koujalagi <[email protected]>--- drivers/gpu/drm/xe/xe_log.c | 82 +++++++++++++++++++++++++++++++++---- 1 file changed, 74 insertions(+), 8 deletions(-)drivers/gpu/drm/xe/xe_log.c +74
-8@@ -3,6 +3,9 @@* Copyright © 2026 Intel Corporation */ +#include "abi/xe_log_abi.h" + +#include "xe_device.h" #include "xe_log.h" #include "xe_printk.h" @@ -13,6 +16,65 @@ static void log_emit_cper(struct pci_dev *pdev, int cper_sev, enum xe_sigid sigi/* TODO */ } +static const char *log_component_prefix (u32 component) +{ +switch (component) { +#define MAKE_XE_LOG_COMPONENT_CASE_PREFIX (_CLASS, _ID, _TAG, _SIG, _NAME) \ + case XE_LOG_COMPONENT_##_TAG: return #_TAG ": "; + DEFINE_XE_LOG_COMPONENTS(MAKE_XE_LOG_COMPONENT_CASE_PREFIX) +#undef MAKE_XE_LOG_COMPONENT_CASE_PREFIX + } +return "" ; +} + +static struct xe_gt *get_gt_safe (struct pci_dev *pdev,u8 id) +{ +struct xe_device *xe =pdev_to_xe_device (pdev); + +return xe ?xe_device_get_gt (xe, id) :NULL ; +} + +static struct xe_tile *get_tile_safe (struct pci_dev *pdev,u8 id) +{ +struct xe_device *xe =pdev_to_xe_device (pdev); + +return xe && id <XE_MAX_TILES_PER_DEVICE ? &xe->tiles[id] :NULL ; +} + +static const char *log_location_prefix (struct pci_dev *pdev,u32 location,char *buf,size_t size) +{ +u32 type =FIELD_GET (XE_LOG_LOCATION_TYPE_MASK , location); +u32 id =FIELD_GET (XE_LOG_LOCATION_ID_MASK , location); + +if (!location || type ==XE_LOG_LOCATION_TYPE_DEVICE ) { +if (id) + goto unrecognized; +strscpy (buf,"" , size); + }else if (type ==XE_LOG_LOCATION_TYPE_TILE ) { +struct xe_tile *tile =get_tile_safe (pdev, id); + +if (!tile) + goto unrecognized; +snprintf (buf, size,"Tile%u: " , id); + }else if (type ==XE_LOG_LOCATION_TYPE_GT ) { +struct xe_gt *gt =get_gt_safe (pdev, id); + +if (!gt) + goto unrecognized; +snprintf (buf, size,"Tile%u: GT%u: " , gt->tile->id, id); + }else { + goto unrecognized; + } + +return buf; + +unrecognized: +pci_WARN (pdev,IS_ENABLED (CONFIG_DRM_XE_DEBUG ), +"LOG: malformed location %#x\n" , location); +snprintf (buf, size,"LOC%u? ID%u? " , type, id); +return buf; +} +static bool is_hw_sigid (enum xe_sigid sigid) {return (int )sigid >=INTEL_SIGID_GPU_XE_HARDWARE_START ;@@ -71,20 +133,24 @@ static void log_emit_dmesg(struct pci_dev *pdev, int cper_sev, enum xe_sigid sig u32 component, u32 location, const void *data, size_t len, struct va_format *vaf) { + char buf[32]; +const char *loc_prefix =log_location_prefix (pdev, location, buf,sizeof (buf)); +const char *comp_prefix =log_component_prefix (component);const char *hwe_prefix =log_hwe_prefix (cper_sev, sigid);const char *sev_prefix =log_sev_prefix (cper_sev); -/* TODO: add component/location details */ -if (IS_ERR (data)) -log_dmesg_printf (pdev, cper_sev,"SIGID=%u %s(%pe) %s%pV" , - sigid, sev_prefix, data, hwe_prefix, vaf); +log_dmesg_printf (pdev, cper_sev,"SIGID=%u %s(%pe) %s%s%s%pV" , + sigid, sev_prefix, data, hwe_prefix, + loc_prefix, comp_prefix, vaf);else if (data && len) -log_dmesg_printf (pdev, cper_sev,"SIGID=%u %s(%*phN) %s%pV" , - sigid, sev_prefix, (int )len, data, hwe_prefix, vaf); +log_dmesg_printf (pdev, cper_sev,"SIGID=%u %s(%*phN) %s%s%s%pV" , + sigid, sev_prefix, (int )len, data, hwe_prefix, + loc_prefix, comp_prefix, vaf);else -log_dmesg_printf (pdev, cper_sev,"SIGID=%u %s%s%pV" , - sigid, sev_prefix, hwe_prefix, vaf); +log_dmesg_printf (pdev, cper_sev,"SIGID=%u %s%s%s%s%pV" , + sigid, sev_prefix, hwe_prefix, + loc_prefix, comp_prefix, vaf); }/** Signature · 1 line
2.47.1
PATCH v2 5/22 drm/xe/log: Add SIGID log helpers for severity
In reply to Michal WajdeczkoThere are only few CPER severity levels defined, add simple helper for each of them, to avoid forcing developers to write full severity name in every function call.
---
v2: drop support for any_to_pdev (Michal)
--- drivers/gpu/drm/xe/xe_log.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)
drivers/gpu/drm/xe/xe_log.h +16 -0
@@ -17,4 +17,20 @@ void xe_log_emit(struct pci_dev *pdev, int cper_sev, enum xe_sigid sigid, u32 component, u32 location, const void *data, size_t len, const char *fmt, ...); +#define xe_log_emit_fatal(pdev, sig, comp, loc, data, len, fmt, args...) \ + xe_log_emit((pdev), CPER_SEV_FATAL, (sig), (comp), (loc), \ + (data), (len), fmt, ##args) + +#define xe_log_emit_recoverable(pdev, sig, comp, loc, data, len, fmt, args...) \ + xe_log_emit((pdev), CPER_SEV_RECOVERABLE, (sig), (comp), (loc), \ + (data), (len), fmt, ##args) + +#define xe_log_emit_corrected(pdev, sig, comp, loc, data, len, fmt, args...) \ + xe_log_emit((pdev), CPER_SEV_CORRECTED, (sig), (comp), (loc), \ + (data), (len), fmt, ##args) + +#define xe_log_emit_info(pdev, sig, comp, loc, data, len, fmt, args...) \ + xe_log_emit((pdev), CPER_SEV_INFORMATIONAL, (sig), (comp), (loc), \ + (data), (len), fmt, ##args) +#endif
Signature · 1 line
2.47.1
PATCH v2 6/22 drm/xe/log: Add SIGID log helpers for location
In reply to Michal WajdeczkoWe can determine the location of the SIGID error source based on the type of the xe pointer being currently available. Add helper macros that will accept any of xe_device, xe_tile or xe_gt pointers instead of plain pci_dev to generate valid XE_LOG_LOCATION identifier and then call low-level xe_log_emit(pdev) function.
---
Cc: Aravind Iddamsetty <[email protected]>
Cc: Mallesh Koujalagi <[email protected]>
--- drivers/gpu/drm/xe/xe_log.h | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+)
drivers/gpu/drm/xe/xe_log.h +36 -0
@@ -8,7 +8,9 @@#include <linux/cper.h> +#include "abi/xe_log_abi.h" #include "abi/xe_sigid_abi.h" +#include "xe_any.h" struct pci_dev ;
@@ -33,4 +35,38 @@ void xe_log_emit(struct pci_dev *pdev, int cper_sev, enum xe_sigid sigid,xe_log_emit ((pdev),CPER_SEV_INFORMATIONAL , (sig), (comp), (loc), \ (data), (len), fmt, ##args) +#define xe_log_location_type(any) \ + _Generic((any), \ +struct xe_gt * :XE_LOG_LOCATION_TYPE_GT , \ +const struct xe_gt * :XE_LOG_LOCATION_TYPE_GT , \ +struct xe_tile * :XE_LOG_LOCATION_TYPE_TILE , \ +const struct xe_tile * :XE_LOG_LOCATION_TYPE_TILE , \ +struct xe_device * :XE_LOG_LOCATION_TYPE_DEVICE , \ +const struct xe_device * :XE_LOG_LOCATION_TYPE_DEVICE , \ +struct pci_dev * :XE_LOG_LOCATION_TYPE_DEVICE , \ +struct device * :XE_LOG_LOCATION_TYPE_DEVICE ) + +#define xe_log_location(any) \ +PREP_XE_LOG_LOCATION (xe_log_location_type (any),xe_any_id (any)) + +/** +* xe_log_from() - Emit a structured SIGID log entry using @any pointer as location. +* @any: the &xe_device or &xe_tile or &xe_gt pointer this report relates to +* @cper_sev: CPER severity (CPER_SEV_FATAL, CPER_SEV_RECOVERABLE, ...) +* @sigid: signature identifier, see &enum xe_sigid +* @component: component identifer +* @data: pointer to the additional details, or ERR_PTR, or NULL if not applicable +* @len: length of the @data in bytes, or 0 if not applicable +* @fmt: printf-style format string +* @args: arguments for the @fmt format string +* +* The location used to emit SIGID entry will be based on the @any pointer type. +* See xe_log_emit() for more details. + */ +#define xe_log_from(any, cper_sev, sigid, component, data, len, fmt, args...) do { \ + typeof(any) ___any = (any); \ + xe_log_emit(xe_any_to_pdev(___any), (cper_sev), (sigid), (component), \ + xe_log_location(___any), (data), (len), fmt, ##args); \ +} while (0) +#endif
Signature · 1 line
2.47.1
PATCH v2 7/22 drm/xe/log: Add SIGID log helpers for location & severity
In reply to Michal WajdeczkoThere are only few CPER severity levels defined, add more helpers to avoid forcing developers to write full CPER severity name in every function call.
--- drivers/gpu/drm/xe/xe_log.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)
drivers/gpu/drm/xe/xe_log.h +16 -0
@@ -69,4 +69,20 @@ void xe_log_emit(struct pci_dev *pdev, int cper_sev, enum xe_sigid sigid, xe_log_location(___any), (data), (len), fmt, ##args); \ } while (0) +#define xe_log_from_fatal(any, sig, comp, loc, data, len, fmt, args...) \ + xe_log_from((any), CPER_SEV_FATAL, (sig), (comp), (loc), \ + (data), (len), fmt, ##args) + +#define xe_log_from_recoverable(any, sig, comp, loc, data, len, fmt, args...) \ + xe_log_from((any), CPER_SEV_RECOVERABLE, (sig), (comp), (loc), \ + (data), (len), fmt, ##args) + +#define xe_log_from_corrected(any, sig, comp, loc, data, len, fmt, args...) \ + xe_log_from((any), CPER_SEV_CORRECTED, (sig), (comp), (loc), \ + (data), (len), fmt, ##args) + +#define xe_log_from_info(any, sig, comp, loc, data, len, fmt, args...) \ + xe_log_from((any), CPER_SEV_INFORMATIONAL, (sig), (comp), (loc), \ + (data), (len), fmt, ##args) + #endif
Signature · 1 line
2.47.1
PATCH v2 8/22 drm/xe/log: Add SIGID log helpers for components
In reply to Michal WajdeczkoOur component list already defines relation between the component name, identified by the TAG, and its numerical identifier and the assigned SIGID. We can also already prepare location identifier based on the pointer type used to emit the log entry. Add helper that will prepare SIGID, COMPONENT and LOCATION parameters for xe_log_emit() using provided componentn TAG and the pointer.
---
Cc: Aravind Iddamsetty <[email protected]>
Cc: Mallesh Koujalagi <[email protected]>
---
v2: rebased/simplified (Michal)
--- drivers/gpu/drm/xe/xe_log.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+)
drivers/gpu/drm/xe/xe_log.h +18 -0
@@ -85,4 +85,22 @@ void xe_log_emit(struct pci_dev *pdev, int cper_sev, enum xe_sigid sigid, xe_log_from((any), CPER_SEV_INFORMATIONAL, (sig), (comp), (loc), \ (data), (len), fmt, ##args) +/** +* xe_log_comp() - Emit a structured SIGID log entry on the component behalf. +* @any: the &xe_device or &xe_tile or &xe_gt pointer this report relates to +* @cper_sev: CPER severity (CPER_SEV_FATAL, CPER_SEV_RECOVERABLE, ...) +* @TAG: the component tag to use +* @data: pointer to the additional details, or ERR_PTR, or NULL if not applicable +* @len: length of the @data in bytes, or 0 if not applicable +* @fmt: printf-style free text format string (not a stable interface) +* @args: arguments for the @fmt format string +* +* The SIGID will be determined from the component's @TAG. +* The component identifier will be determined from the component's @TAG. +* The location used to emit SIGID entry will be based on the @any pointer type. +*/ +#define xe_log_comp(any, cper_sev, TAG, data, len, fmt, args...) \ + xe_log_from((any), (cper_sev), (int)XE_LOG_COMPONENT_##TAG##_SIGID, \ + XE_LOG_COMPONENT_##TAG, (data), (len), fmt, ##args) +#endif
Signature · 1 line
2.47.1
Re: [PATCH v2 08/22] drm/xe/log: Add SIGID log helpers for components
Quoted 33 lines · Michal Wajdeczko
Our component list already defines relation between the component name, identified by the TAG, and its numerical identifier and the assigned SIGID. We can also already prepare location identifier based on the pointer type used to emit the log entry. Add helper that will prepare SIGID, COMPONENT and LOCATION parameters for
xe_log_emit()using provided componentn TAG and the pointer.Signed-off-by Michal Wajdeczko <[email protected]>Cc Rodrigo Vivi <[email protected]>---
Cc: Aravind Iddamsetty <[email protected]>
Cc: Mallesh Koujalagi <[email protected]>
---
v2: rebased/simplified (Michal)--- drivers/gpu/drm/xe/xe_log.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+)drivers/gpu/drm/xe/xe_log.h +7
-0@@ -85,4 +85,22 @@ void xe_log_emit(struct pci_dev *pdev, int cper_sev, enum xe_sigid sigid,xe_log_from ((any),CPER_SEV_INFORMATIONAL , (sig), (comp), (loc), \ (data), (len), fmt, ##args) +/** +* xe_log_comp() - Emit a structured SIGID log entry on the component behalf. +* @any: the &xe_device or &xe_tile or &xe_gt pointer this report relates to +* @cper_sev: CPER severity (CPER_SEV_FATAL, CPER_SEV_RECOVERABLE, ...) +* @TAG: the component tag to use +* @data: pointer to the additional details, or ERR_PTR, or NULL if not applicable +* @len: length of the @data in bytes, or 0 if not applicable
drivers/gpu/drm/xe/xe_log.h void xe_log_emit(struct pci_dev *pdev, int cper_sev, enum xe_sigid sigid, · line 104
Quoted 10 lines
drivers/gpu/drm/xe/xe_log.h +10
-0+* @fmt: printf-style free text format string (not a stable interface) +* @args: arguments for the @fmt format string +* +* The SIGID will be determined from the component's @TAG. +* The component identifier will be determined from the component's @TAG. +* The location used to emit SIGID entry will be based on the @any pointer type. +*/ +#define xe_log_comp(any, cper_sev, TAG, data, len, fmt, args...) \ + xe_log_from((any), (cper_sev), (int)XE_LOG_COMPONENT_##TAG##_SIGID, \ + XE_LOG_COMPONENT_##TAG, (data), (len), fmt, ##args)
I understand you want to use a short TAG at call sites, but the string concatenation means cscope/global can't find any of them, and you have to resort to git grep.
BR,
Jani.
Quoted 2 lines
drivers/gpu/drm/xe/xe_log.h +1
-0+#endif
Signature · 1 line
Jani Nikula, Intel
Re: [PATCH v2 08/22] drm/xe/log: Add SIGID log helpers for components
Quoted 40 lines · Jani Nikula
Quoted 39 lines · Michal Wajdeczko
Our component list already defines relation between the component name, identified by the TAG, and its numerical identifier and the assigned SIGID. We can also already prepare location identifier based on the pointer type used to emit the log entry. Add helper that will prepare SIGID, COMPONENT and LOCATION parameters for
xe_log_emit()using provided componentn TAG and the pointer.Signed-off-by Michal Wajdeczko <[email protected]>Cc Rodrigo Vivi <[email protected]>---
Cc: Aravind Iddamsetty <[email protected]>
Cc: Mallesh Koujalagi <[email protected]>
---
v2: rebased/simplified (Michal)--- drivers/gpu/drm/xe/xe_log.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+)drivers/gpu/drm/xe/xe_log.h +13
-0@@ -85,4 +85,22 @@ void xe_log_emit(struct pci_dev *pdev, int cper_sev, enum xe_sigid sigid,xe_log_from ((any),CPER_SEV_INFORMATIONAL , (sig), (comp), (loc), \ (data), (len), fmt, ##args) +/** +* xe_log_comp() - Emit a structured SIGID log entry on the component behalf. +* @any: the &xe_device or &xe_tile or &xe_gt pointer this report relates to +* @cper_sev: CPER severity (CPER_SEV_FATAL, CPER_SEV_RECOVERABLE, ...) +* @TAG: the component tag to use +* @data: pointer to the additional details, or ERR_PTR, or NULL if not applicable +* @len: length of the @data in bytes, or 0 if not applicable +* @fmt: printf-style free text format string (not a stable interface) +* @args: arguments for the @fmt format string +* +* The SIGID will be determined from the component's @TAG. +* The component identifier will be determined from the component's @TAG. +* The location used to emit SIGID entry will be based on the @any pointer type.
Quoted 8 lines
drivers/gpu/drm/xe/xe_log.h void xe_log_emit(struct pci_dev *pdev, int cper_sev, enum xe_sigid sigid, · line 104
Quoted 4 lines
drivers/gpu/drm/xe/xe_log.h +4
-0+*/ +#define xe_log_comp(any, cper_sev, TAG, data, len, fmt, args...) \ + xe_log_from((any), (cper_sev), (int)XE_LOG_COMPONENT_##TAG##_SIGID, \ + XE_LOG_COMPONENT_##TAG, (data), (len), fmt, ##args)I understand you want to use a short TAG at call sites, but the string concatenation means cscope/global can't find any of them, and you have to resort to git grep.
but there should be no need to look for full enum names, as those are only needed for internal use by the macros. And "grep -w TAG" shall point you to the component definitions in xe_log_abi.h (PATCH 3/22)
Quoted 7 lines
BR,
Jani.Quoted 2 lines
drivers/gpu/drm/xe/xe_log.h +1
-0+#endif
Re: [PATCH v2 08/22] drm/xe/log: Add SIGID log helpers for components
Quoted 50 lines · Michal Wajdeczko
Quoted 40 lines · Jani Nikula
Quoted 39 lines · Michal Wajdeczko
Our component list already defines relation between the component name, identified by the TAG, and its numerical identifier and the assigned SIGID. We can also already prepare location identifier based on the pointer type used to emit the log entry. Add helper that will prepare SIGID, COMPONENT and LOCATION parameters for
xe_log_emit()using provided componentn TAG and the pointer.Signed-off-by Michal Wajdeczko <[email protected]>Cc Rodrigo Vivi <[email protected]>---
Cc: Aravind Iddamsetty <[email protected]>
Cc: Mallesh Koujalagi <[email protected]>
---
v2: rebased/simplified (Michal)--- drivers/gpu/drm/xe/xe_log.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+)drivers/gpu/drm/xe/xe_log.h +13
-0@@ -85,4 +85,22 @@ void xe_log_emit(struct pci_dev *pdev, int cper_sev, enum xe_sigid sigid,xe_log_from ((any),CPER_SEV_INFORMATIONAL , (sig), (comp), (loc), \ (data), (len), fmt, ##args) +/** +* xe_log_comp() - Emit a structured SIGID log entry on the component behalf. +* @any: the &xe_device or &xe_tile or &xe_gt pointer this report relates to +* @cper_sev: CPER severity (CPER_SEV_FATAL, CPER_SEV_RECOVERABLE, ...) +* @TAG: the component tag to use +* @data: pointer to the additional details, or ERR_PTR, or NULL if not applicable +* @len: length of the @data in bytes, or 0 if not applicable +* @fmt: printf-style free text format string (not a stable interface) +* @args: arguments for the @fmt format string +* +* The SIGID will be determined from the component's @TAG. +* The component identifier will be determined from the component's @TAG. +* The location used to emit SIGID entry will be based on the @any pointer type. Quoted 8 lines
drivers/gpu/drm/xe/xe_log.h void xe_log_emit(struct pci_dev *pdev, int cper_sev, enum xe_sigid sigid, · line 104
Quoted 4 lines
drivers/gpu/drm/xe/xe_log.h +4
-0+*/ +#define xe_log_comp(any, cper_sev, TAG, data, len, fmt, args...) \ + xe_log_from((any), (cper_sev), (int)XE_LOG_COMPONENT_##TAG##_SIGID, \ + XE_LOG_COMPONENT_##TAG, (data), (len), fmt, ##args)I understand you want to use a short TAG at call sites, but the string concatenation means cscope/global can't find any of them, and you have to resort to git grep.
Quoted 3 lines
but there should be no need to look for full enum names, as those are only needed for internal use by the macros. And "grep -w TAG" shall point you to the component definitions in
xe_log_abi.h(PATCH 3/22)
The point is to look for where each tag is used. The tags are short, like PROBE, WEDGED, GUC, etc. so the simple 'git grep -w' will produce too much, and then you have to figure out what *else* to include in the grep, and it's a bit meh.
BR,
Jani.
Quoted 9 lines
Quoted 8 lines
BR,
Jani.Quoted 2 lines
drivers/gpu/drm/xe/xe_log.h +1
-0+#endif
Signature · 1 line
Jani Nikula, Intel
PATCH v2 9/22 drm/xe/log: Add SIGID log helpers for errno-only
In reply to Michal WajdeczkoFor the software based SIGID errors, we will usually want to pass only the errno value as the data to be logged in the dmesg line or the CPER record. Add simple wrappers for that.
---
Cc: Aravind Iddamsetty <[email protected]>
Cc: Mallesh Koujalagi <[email protected]>
---
v2: include linux/err.h (Sashiko)
add xe_log_err_corrected (Michal)
--- drivers/gpu/drm/xe/xe_log.h | 52 +++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+)
drivers/gpu/drm/xe/xe_log.h +52 -0
@@ -7,6 +7,7 @@#define _XE_LOG_H_#include <linux/cper.h> +#include <linux/err.h> #include "abi/xe_log_abi.h" #include "abi/xe_sigid_abi.h"
@@ -103,4 +104,55 @@ void xe_log_emit(struct pci_dev *pdev, int cper_sev, enum xe_sigid sigid, xe_log_from((any), (cper_sev), (int)XE_LOG_COMPONENT_##TAG##_SIGID, \ XE_LOG_COMPONENT_##TAG, (data), (len), fmt, ##args) +/** +* xe_log_err() - Emit a structured SIGID error log entry on the component behalf. +* @any: the &xe_device or &xe_tile or &xe_gt pointer this report relates to +* @TAG: the component tag to use +* @err: negative errno for the failing operation, or 0 if not applicable +* @fmt: printf-style free text format string (not a stable interface) +* @args: arguments for the @fmt format string +* +* The log entry will be emitted with @CPER_SEV_RECOVERABLE severity. +*/ +#define xe_log_err(any, TAG, err, fmt, args...) \ + xe_log_comp((any), CPER_SEV_RECOVERABLE, TAG, ERR_PTR(err), 0, fmt, ##args) + +/** +* xe_log_err_fatal() - Emit a structured SIGID error log entry on the component behalf. +* @any: the &xe_device or &xe_tile or &xe_gt pointer this report relates to +* @TAG: the component tag to use +* @err: negative errno for the failing operation, or 0 if not applicable +* @fmt: printf-style free text format string (not a stable interface) +* @args: arguments for the @fmt format string +* +* The log entry will be emitted with @CPER_SEV_FATAL severity. +*/ +#define xe_log_err_fatal(any, TAG, err, fmt, args...) \ + xe_log_comp((any), CPER_SEV_FATAL, TAG, ERR_PTR(err), 0, fmt, ##args) + +/** +* xe_log_err_corrected() - Emit a structured SIGID error log entry on the component behalf. +* @any: the &xe_device or &xe_tile or &xe_gt pointer this report relates to +* @TAG: the component tag to use +* @err: negative errno for the failing operation, or 0 if not applicable +* @fmt: printf-style free text format string (not a stable interface) +* @args: arguments for the @fmt format string +* +* The log entry will be emitted with @CPER_SEV_CORRECTED severity. +*/ +#define xe_log_err_corrected(any, TAG, err, fmt, args...) \ + xe_log_comp((any), CPER_SEV_CORRECTED, TAG, ERR_PTR(err), 0, fmt, ##args) + +/** +* xe_log_info() - Emit a structured SIGID information log entry on the component behalf. +* @any: the &xe_device or &xe_tile or &xe_gt pointer this report relates to +* @TAG: the component tag to use +* @fmt: printf-style free text format string (not a stable interface) +* @args: arguments for the @fmt format string +* +* The log entry will be emitted with @CPER_SEV_INFORMATIONAL severity. +*/ +#define xe_log_info(any, TAG, fmt, args...) \ + xe_log_comp((any), CPER_SEV_INFORMATIONAL, TAG, NULL, 0, fmt, ##args) +#endif
Signature · 1 line
2.47.1
PATCH v2 10/22 drm/xe/log: Add hardware error signatures
In reply to Michal WajdeczkoExtend our error signatures definitions xe_sigid to cover also hardware-originated errors and make them distinguishable from initially defined software-initiated errors.
---
v2: update comment (Sashiko)
--- drivers/gpu/drm/xe/abi/xe_sigid_abi.h | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-)
drivers/gpu/drm/xe/abi/xe_sigid_abi.h +14 -2
@@ -159,14 +159,19 @@* @XE_SIGID_GT_TDR: Engine hang / timeout detection and recovery (reset). [RETRY] * @XE_SIGID_MEM_FAULT: VM bind, page fault or GTT fault. [COLLECT] * @XE_SIGID_IO_BUS: Runtime PCIe / IOMMU / MMIO access fault. [RECOVER] +* @XE_SIGID_HW: Generic hardware failure. +* @XE_SIGID_PCIE: PCIe interface errors. +* @XE_SIGID_DEVICE_MEMORY: Device memory errors +* @XE_SIGID_CORE_COMPUTE: Compute/shader core errors. +* @XE_SIGID_FABRIC: Fabric errors. +* @XE_SIGID_SOC_INTERNAL: SoC-internal errors. * * The situations the driver detects and reports in software. Values are * numbered sequentially, are only ever appended, and are never renumbered or * reused. The tag in brackets is the default resolution bucket (see the `Xe * Error Signatures (SIGID)`_ section). * -* Firmware- and hardware-originated signatures are not listed here; they are -* logged as reported by those layers. +* Firmware- and hardware-originated signatures are numbered separately. */ enum xe_sigid {XE_SIGID_SW =INTEL_SIGID_GPU_XE_SOFTWARE_START ,
@@ -178,6 +183,13 @@ enum xe_sigid {XE_SIGID_GT_TDR =INTEL_SIGID_GPU_XE_SOFTWARE_START +6 ,XE_SIGID_MEM_FAULT =INTEL_SIGID_GPU_XE_SOFTWARE_START +7 ,XE_SIGID_IO_BUS =INTEL_SIGID_GPU_XE_SOFTWARE_START +8 , + +XE_SIGID_HW =INTEL_SIGID_GPU_XE_HARDWARE_START , +XE_SIGID_PCIE =INTEL_SIGID_GPU_XE_HARDWARE_START +1 , +XE_SIGID_DEVICE_MEMORY =INTEL_SIGID_GPU_XE_HARDWARE_START +2 , +XE_SIGID_CORE_COMPUTE =INTEL_SIGID_GPU_XE_HARDWARE_START +3 , +XE_SIGID_FABRIC =INTEL_SIGID_GPU_XE_HARDWARE_START +4 , + XE_SIGID_SOC_INTERNAL = INTEL_SIGID_GPU_XE_HARDWARE_START + 5, };#endif
Signature · 1 line
2.47.1
PATCH v2 11/22 drm/xe/log: Extend components list with hardware items
In reply to Michal WajdeczkoUpdate our super macro with new top level hardware components.
---
v2: follow enum xe_ras_component values (Aravind)
--- drivers/gpu/drm/xe/abi/xe_log_abi.h | 12 ++++++++++++ 1 file changed, 12 insertions(+)
drivers/gpu/drm/xe/abi/xe_log_abi.h +12 -0
@@ -128,6 +128,10 @@ enum xe_log_location_bits {* @SIGID is the default xe_sigid for the component (without the XE_SIGID_ prefix) */ #define DEFINE_XE_LOG_COMPONENTS (define) \ + DEFINE_XE_LOG_SOFTWARE_COMPONENTS(define) \ + DEFINE_XE_LOG_HARDWARE_COMPONENTS(define) + +#define DEFINE_XE_LOG_SOFTWARE_COMPONENTS (define) \/* */ \ define(SYSTEM, 1, PCI, SW, "Linux PCI Subsystem") \ define(SYSTEM, 2, DRM, SW, "DRM") \
@@ -155,6 +159,14 @@ enum xe_log_location_bits { define(DRIVER_FIRMWARE, 3, GSC, RUNTIME_FW, "GSC") \ define(DRIVER_FIRMWARE, 16, PCODE, DEVICE_FW, "PCode") \ define(DRIVER_FIRMWARE, 17, SYSCTRL, DEVICE_FW, "System Controller") \ + +#define DEFINE_XE_LOG_HARDWARE_COMPONENTS (define) \ + define(HARDWARE, 1, DEVMEM, DEVICE_MEMORY, "Device Memory") \ + define(HARDWARE, 2, HWCORE, CORE_COMPUTE, "Core Compute") \ +/* HARDWARE, 3, RESERVED */ \ + define(HARDWARE, 4, PCIE, PCIE, "PCIe Interface") \ + define(HARDWARE, 5, FABRIC, FABRIC, "Fabric") \ +define (HARDWARE ,6 ,SOC ,SOC_INTERNAL ,"SoC Internal" ) \/* eod */ /**
Signature · 1 line
2.47.1
PATCH v2 12/22 drm/xe/ras: Check RAS and LOG component definitions
In reply to Michal WajdeczkoWhile not strictly required, we want to make sure that components definitions used by the RAS firmware are in the same fixed relation with HW components definitions used by the LOG infrastructure to allow code simplification. Add static asserts to enforce that.
---
Cc: Mallesh Koujalagi <[email protected]>
--- drivers/gpu/drm/xe/xe_ras.c | 11 +++++++++++ 1 file changed, 11 insertions(+)
drivers/gpu/drm/xe/xe_ras.c +11 -0
@@ -5,6 +5,7 @@#include "xe_device.h" #include "xe_drm_ras.h" +#include "xe_log.h" #include "xe_pm.h" #include "xe_printk.h" #include "xe_ras.h"
@@ -45,6 +46,16 @@ enum xe_ras_component {XE_RAS_COMP_MAX }; +#define CHECK_COMPONENT (RAS_COMP ,LOG_COMP ) \ + static_assert(MAKE_XE_LOG_COMPONENT(HARDWARE, (RAS_COMP)) == (LOG_COMP)) +/* make sure components definitions maintain stable relation */ +CHECK_COMPONENT (XE_RAS_COMP_DEVICE_MEMORY ,XE_LOG_COMPONENT_DEVMEM ); +CHECK_COMPONENT (XE_RAS_COMP_CORE_COMPUTE ,XE_LOG_COMPONENT_HWCORE ); +CHECK_COMPONENT (XE_RAS_COMP_PCIE ,XE_LOG_COMPONENT_PCIE ); +CHECK_COMPONENT (XE_RAS_COMP_FABRIC ,XE_LOG_COMPONENT_FABRIC ); +CHECK_COMPONENT (XE_RAS_COMP_SOC_INTERNAL ,XE_LOG_COMPONENT_SOC ); +#undef CHECK_COMPONENT +/* RAS response status codes */ enum xe_ras_response_status {XE_RAS_STATUS_SUCCESS =0 ,
Signature · 1 line
2.47.1
PATCH v2 13/22 drm/xe/kunit: Setup driver data in the test device
In reply to Michal WajdeczkoWhile we have helpers pdev_to_xe_device() and kdev_to_xe_device() to obtain the xe_device pointer from the struct device pointer or from the struct pci_dev pointer, we must also setup the drm_device pointer as driver data in the device to make them work.
--- drivers/gpu/drm/xe/tests/xe_kunit_helpers.c | 4 ++++ 1 file changed, 4 insertions(+)
drivers/gpu/drm/xe/tests/xe_kunit_helpers.c +4 -0
@@ -39,6 +39,10 @@ struct xe_device *xe_kunit_helper_alloc_xe_device(struct kunit *test, struct xe_device, drm, DRIVER_GEM);KUNIT_ASSERT_NOT_ERR_OR_NULL (test, xe); + +dev_set_drvdata (xe->drm.dev, &xe->drm); +KUNIT_ASSERT_PTR_EQ (test, xe,kdev_to_xe_device (dev)); +return xe; }EXPORT_SYMBOL_IF_KUNIT (xe_kunit_helper_alloc_xe_device);
Signature · 1 line
2.47.1
PATCH v2 14/22 drm/xe/tests: Add Kunit tests for xe_log
In reply to Michal WajdeczkoAll dmesg log lines generated by the xe_log() functions or helper macros are expected to have a stable format. Add tests to verify that generated output is not accidentally changed. Add demo pseudo tests to show how to use all variants of the xe_log() helpers.
---
Cc: Aravind Iddamsetty <[email protected]>
Cc: Yoni Levitt <[email protected]>
Cc: Mallesh Koujalagi <[email protected]>
---
v2: less demos/more tests (Michal)
--- drivers/gpu/drm/xe/tests/xe_log_kunit.c | 480 ++++++++++++++++++++++++ drivers/gpu/drm/xe/xe_log.c | 11 + 2 files changed, 491 insertions(+) create mode 100644 drivers/gpu/drm/xe/tests/xe_log_kunit.c
drivers/gpu/drm/xe/tests/xe_log_kunit.c new file +480 -0
@@ -0,0 +1,480 @@ +// SPDX-License-Identifier: GPL-2.0 AND MIT +/* +* Copyright © 2026 Intel Corporation +*/ + +#include <kunit/static_stub.h> +#include <kunit/test.h> +#include <kunit/test-bug.h> + +#include "tests/xe_kunit_helpers.h" +#include "tests/xe_pci_test.h" +#include "xe_device.h" +#include "xe_log.h" + +static void nop_dmesg_vprintk (struct pci_dev *pdev,int cper_sev,struct va_format *vaf) +{ +} + +static void nop_emit_cper (struct pci_dev *pdev,int cper_sev, +enum xe_sigid sigid,u32 component,u32 location, +const void *data,size_t len,struct va_format *vaf) +{ +} + +static const char *component_name (u32 component) +{ +switch (component) { +#define make_component_tag_case (_CLASS, _ID, _TAG, _SIG, _NAME) \ + case XE_LOG_COMPONENT_##_TAG: return _NAME; + DEFINE_XE_LOG_COMPONENTS(make_component_tag_case) +#undef make_component_tag_case + } +return component ?"???" :"" ; +} + +static const char *location_type (u32 location) +{ +u32 type =FIELD_GET (XE_LOG_LOCATION_TYPE_MASK , location); + +return type ==XE_LOG_LOCATION_TYPE_DEVICE ?"DEVICE" : + type ==XE_LOG_LOCATION_TYPE_TILE ?"TILE" : + type ==XE_LOG_LOCATION_TYPE_GT ?"GT" : + location ?"?" :"" ; +} + +static void fake_emit_cper (struct pci_dev *pdev,int cper_sev, +enum xe_sigid sigid,u32 component,u32 location, +const void *data,size_t len,struct va_format *vaf) +{ +char msg[64 ]; +int n, err; + +pr_info ("\n" ); +pr_info ("CPER SEV=%u SIGID=%u\n" , cper_sev, sigid); +pr_info ("CPER DEVICE=%s\n" ,dev_name (&pdev->dev)); +if (location) +pr_info ("CPER LOCATION=%#x \t# %s.%u\n" , + location,location_type (location), +FIELD_GET (XE_LOG_LOCATION_ID_MASK , location)); +if (component) +pr_info ("CPER COMPONENT=%#x \t# %s\n" , + component,component_name (component)); +if (IS_ERR (data)) { + err =PTR_ERR (data); +pr_info ("CPER ERR=%d \t\t# %pe\n" , err, data); + }else if (len) { +print_hex_dump (KERN_INFO ,"CPER BIN=" ,DUMP_PREFIX_OFFSET , +16 ,1 , data, len, false); + } + + n =vscnprintf (msg,sizeof (msg), vaf->fmt, *vaf->va); +print_hex_dump (KERN_INFO ,"CPER MSG=" ,DUMP_PREFIX_OFFSET ,16 ,1 , msg, n, true); +pr_info ("CPER END\n" ); +} + +static const u8 blob[] = {1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,9 ,10 ,11 ,12 }; +static const u8 dead[] = {0xde ,0xad ,0xbe ,0xef }; + +static struct xe_tile *to_tile_safe (struct xe_device *xe) +{ +return xe ? &xe->tiles[1 ] :NULL ; +} + +static struct xe_gt *to_gt_safe (struct xe_device *xe) +{ +return xe ?to_tile_safe (xe)->primary_gt :NULL ; +} + +static struct pci_dev *to_pdev_safe (struct xe_device *xe) +{ +return xe ?xe_any_to_pdev (xe) :NULL ; +} + +static void demo (struct xe_device *xe) +{ +struct pci_dev *pdev =xe_any_to_pdev (xe); +struct xe_tile *tile =to_tile_safe (xe); +struct xe_gt *gt =to_gt_safe (xe); + +/* SW errno */ +xe_log_emit (pdev,CPER_SEV_FATAL ,XE_SIGID_PROBE , +XE_LOG_COMPONENT_NONE ,XE_LOG_LOCATION_NONE , +ERR_PTR (-ENODEV ),0 ,"testing %s signature\n" ,"software" ); + +xe_log_err (tile,PROBE , -ENODEV ,"testing %s signature\n" ,"software" ); +xe_log_err_corrected (gt,PROBE , -ENODEV ,"testing %s signature\n" ,"software" ); +xe_log_info (gt,PROBE ,"testing %s signature\n" ,"software" ); + +/* HW data */ +xe_log_emit (pdev,CPER_SEV_FATAL ,XE_SIGID_PCIE , +XE_LOG_COMPONENT_NONE ,XE_LOG_LOCATION_NONE , + blob,sizeof (blob),"testing %s signature\n" ,"HARDWARE" ); +xe_log_emit_recoverable (pdev,XE_SIGID_FABRIC , +XE_LOG_COMPONENT_NONE ,XE_LOG_LOCATION_NONE , + blob,sizeof (blob),"testing %s signature\n" ,"HARDWARE" ); +xe_log_from_corrected (tile,XE_SIGID_DEVICE_MEMORY ,XE_LOG_COMPONENT_NONE , + blob,sizeof (blob),"testing %s signature\n" ,"HARDWARE" ); +xe_log_from_info (gt,XE_SIGID_CORE_COMPUTE ,XE_LOG_COMPONENT_NONE , + blob,sizeof (blob),"testing %s signature\n" ,"HARDWARE" ); +} + +static void demo_dmesg (struct kunit *test) +{ +kunit_activate_static_stub (test, log_emit_cper, nop_emit_cper); +demo (test->priv); +} + +static void demo_cper (struct kunit *test) +{ +kunit_activate_static_stub (test, log_emit_cper, fake_emit_cper); +kunit_activate_static_stub (test, log_dmesg_vprintk, nop_dmesg_vprintk); +demo (test->priv); +} + +static const char *test_fatal (struct xe_device *xe) +{ +struct pci_dev *pdev =to_pdev_safe (xe); + +if (pdev) +xe_log_emit_fatal (pdev,XE_SIGID_PROBE , +XE_LOG_COMPONENT_NONE ,XE_LOG_LOCATION_NONE , +NULL ,0 ,"testing %d\n" ,123 ); +return "SIGID=101 FATAL testing 123\n" ; +} + +static const char *test_fatal_tile (struct xe_device *xe) +{ +struct xe_tile *tile =to_tile_safe (xe); + +if (tile) +xe_log_from_fatal (tile,XE_SIGID_PROBE ,XE_LOG_COMPONENT_NONE , +ERR_PTR (-ENODEV ),0 ,"testing %d\n" ,123 ); +return "SIGID=101 FATAL (-ENODEV) Tile1: testing 123\n" ; +} + +static const char *test_fatal_gt (struct xe_device *xe) +{ +struct xe_gt *gt =to_gt_safe (xe); + +if (gt) +xe_log_from_fatal (gt,XE_SIGID_PROBE ,XE_LOG_COMPONENT_NONE , +ERR_PTR (-ENODEV ),0 ,"testing %d\n" ,123 ); +return "SIGID=101 FATAL (-ENODEV) Tile1: GT1: testing 123\n" ; +} + +static const char *test_fatal_comp (struct xe_device *xe) +{ +struct pci_dev *pdev =to_pdev_safe (xe); + +if (pdev) +xe_log_err_fatal (pdev,PROBE , -ENODEV ,"testing %d\n" ,123 ); +return "SIGID=101 FATAL (-ENODEV) PROBE: testing 123\n" ; +} + +static const char *test_fatal_comp_tile (struct xe_device *xe) +{ +struct xe_tile *tile =to_tile_safe (xe); + +if (tile) +xe_log_err_fatal (tile,PROBE , -ENODEV ,"testing %d\n" ,123 ); +return "SIGID=101 FATAL (-ENODEV) Tile1: PROBE: testing 123\n" ; +} + +static const char *test_fatal_comp_gt (struct xe_device *xe) +{ +struct xe_gt *gt =to_gt_safe (xe); + +if (gt) +xe_log_err_fatal (gt,PROBE , -ENODEV ,"testing %d\n" ,123 ); +return "SIGID=101 FATAL (-ENODEV) Tile1: GT1: PROBE: testing 123\n" ; +} + +static const char *test_fatal_all (struct xe_device *xe) +{ +struct pci_dev *pdev =to_pdev_safe (xe); +struct xe_gt *gt =to_gt_safe (xe); + +if (pdev) +xe_log_emit (pdev,CPER_SEV_FATAL ,XE_SIGID_PROBE , +XE_LOG_COMPONENT_PROBE ,MAKE_XE_LOG_LOCATION (GT , gt->info.id), +ERR_PTR (-ENODEV ),0 ,"testing %d\n" ,123 ); +return "SIGID=101 FATAL (-ENODEV) Tile1: GT1: PROBE: testing 123\n" ; +} + +static const char *test_recoverable (struct xe_device *xe) +{ +struct pci_dev *pdev =to_pdev_safe (xe); + +if (pdev) +xe_log_emit_recoverable (pdev,XE_SIGID_RUNTIME_FW , +XE_LOG_COMPONENT_NONE ,XE_LOG_LOCATION_NONE , +ERR_PTR (-EIO ),0 ,"testing %d\n" ,123 ); +return "SIGID=104 (-EIO) testing 123\n" ; +} + +static const char *test_recoverable_tile (struct xe_device *xe) +{ +struct xe_tile *tile =to_tile_safe (xe); + +if (tile) +xe_log_from_recoverable (tile,XE_SIGID_RUNTIME_FW ,XE_LOG_COMPONENT_NONE , +ERR_PTR (-EIO ),0 ,"testing %d\n" ,123 ); +return "SIGID=104 (-EIO) Tile1: testing 123\n" ; +} + +static const char *test_recoverable_gt (struct xe_device *xe) +{ +struct xe_gt *gt =to_gt_safe (xe); + +if (gt) +xe_log_from_recoverable (gt,XE_SIGID_RUNTIME_FW ,XE_LOG_COMPONENT_NONE , +ERR_PTR (-EIO ),0 ,"testing %d\n" ,123 ); +return "SIGID=104 (-EIO) Tile1: GT1: testing 123\n" ; +} + +static const char *test_recoverable_comp (struct xe_device *xe) +{ +struct pci_dev *pdev =to_pdev_safe (xe); + +if (pdev) +xe_log_err (pdev,GUC , -EIO ,"testing %d\n" ,123 ); +return "SIGID=104 (-EIO) GUC: testing 123\n" ; +} + +static const char *test_recoverable_comp_tile (struct xe_device *xe) +{ +struct xe_tile *tile =to_tile_safe (xe); + +if (tile) +xe_log_err (tile,GUC , -EIO ,"testing %d\n" ,123 ); +return "SIGID=104 (-EIO) Tile1: GUC: testing 123\n" ; +} + +static const char *test_recoverable_comp_gt (struct xe_device *xe) +{ +struct xe_gt *gt =to_gt_safe (xe); + +if (gt) +xe_log_err (gt,GUC , -EIO ,"testing %d\n" ,123 ); +return "SIGID=104 (-EIO) Tile1: GT1: GUC: testing 123\n" ; +} + +static const char *test_recoverable_all (struct xe_device *xe) +{ +struct pci_dev *pdev =to_pdev_safe (xe); +struct xe_gt *gt =to_gt_safe (xe); + +if (pdev) +xe_log_emit (pdev,CPER_SEV_RECOVERABLE ,XE_SIGID_RUNTIME_FW , +XE_LOG_COMPONENT_GUC ,MAKE_XE_LOG_LOCATION (GT , gt->info.id), +ERR_PTR (-EIO ),0 ,"testing %d\n" ,123 ); +return "SIGID=104 (-EIO) Tile1: GT1: GUC: testing 123\n" ; +} + +static const char *test_info (struct xe_device *xe) +{ +struct pci_dev *pdev =to_pdev_safe (xe); + +if (pdev) +xe_log_emit (pdev,CPER_SEV_INFORMATIONAL ,XE_SIGID_DEVICE_FW , +XE_LOG_COMPONENT_NONE ,XE_LOG_LOCATION_NONE , +NULL ,0 ,"testing %d\n" ,123 ); +return "SIGID=105 testing 123\n" ; +} + +static const char *test_info_tile (struct xe_device *xe) +{ +struct xe_tile *tile =to_tile_safe (xe); + +if (tile) +xe_log_from_info (tile,XE_SIGID_DEVICE_FW ,XE_LOG_COMPONENT_NONE , +NULL ,0 ,"testing %d\n" ,123 ); +return "SIGID=105 Tile1: testing 123\n" ; +} + +static const char *test_info_gt (struct xe_device *xe) +{ +struct xe_gt *gt =to_gt_safe (xe); + +if (gt) +xe_log_from_info (gt,XE_SIGID_DEVICE_FW ,XE_LOG_COMPONENT_NONE , +NULL ,0 ,"testing %d\n" ,123 ); +return "SIGID=105 Tile1: GT1: testing 123\n" ; +} + +static const char *test_info_comp (struct xe_device *xe) +{ +struct pci_dev *pdev =to_pdev_safe (xe); + +if (pdev) +xe_log_info (pdev,PCODE ,"testing %d\n" ,123 ); +return "SIGID=105 PCODE: testing 123\n" ; +} + +static const char *test_info_comp_tile (struct xe_device *xe) +{ +struct xe_tile *tile =to_tile_safe (xe); + +if (tile) +xe_log_info (tile,PCODE ,"testing %d\n" ,123 ); +return "SIGID=105 Tile1: PCODE: testing 123\n" ; +} + +static const char *test_info_comp_gt (struct xe_device *xe) +{ +struct xe_gt *gt =to_gt_safe (xe); + +if (gt) +xe_log_info (gt,PCODE ,"testing %d\n" ,123 ); +return "SIGID=105 Tile1: GT1: PCODE: testing 123\n" ; +} + +static const char *test_info_all (struct xe_device *xe) +{ +struct pci_dev *pdev =to_pdev_safe (xe); +struct xe_gt *gt =to_gt_safe (xe); + +if (pdev) +xe_log_emit (pdev,CPER_SEV_INFORMATIONAL ,XE_SIGID_DEVICE_FW , +XE_LOG_COMPONENT_PCODE ,MAKE_XE_LOG_LOCATION (GT , gt->info.id), +NULL ,0 ,"testing %d\n" ,123 ); +return "SIGID=105 Tile1: GT1: PCODE: testing 123\n" ; +} + +static const char *test_hw_fatal (struct xe_device *xe) +{ +struct pci_dev *pdev =to_pdev_safe (xe); + +if (pdev) +xe_log_emit_fatal (pdev,XE_SIGID_PCIE , +XE_LOG_COMPONENT_NONE ,XE_LOG_LOCATION_NONE , + dead,sizeof (dead),"testing %d\n" ,123 ); +return "SIGID=201 FATAL (deadbeef) " HW_ERR "testing 123\n" ; +} + +static const char *test_hw_recoverable (struct xe_device *xe) +{ +struct pci_dev *pdev =to_pdev_safe (xe); + +if (pdev) +xe_log_emit_recoverable (pdev,XE_SIGID_DEVICE_MEMORY , +XE_LOG_COMPONENT_NONE ,XE_LOG_LOCATION_NONE , + dead,sizeof (dead),"testing %d\n" ,123 ); +return "SIGID=202 (deadbeef) " HW_ERR "testing 123\n" ; +} + +static const char *test_hw_corrected (struct xe_device *xe) +{ +struct pci_dev *pdev =to_pdev_safe (xe); + +if (pdev) +xe_log_emit_corrected (pdev,XE_SIGID_DEVICE_MEMORY , +XE_LOG_COMPONENT_NONE ,XE_LOG_LOCATION_NONE , + dead,sizeof (dead),"testing %d\n" ,123 ); +return "SIGID=202 CORRECTED (deadbeef) " HW_ERR "testing 123\n" ; +} + +static const char *test_hw_informational (struct xe_device *xe) +{ +struct pci_dev *pdev =to_pdev_safe (xe); + +if (pdev) +xe_log_emit_info (pdev,XE_SIGID_DEVICE_MEMORY , +XE_LOG_COMPONENT_NONE ,XE_LOG_LOCATION_NONE , + dead,sizeof (dead),"testing %d\n" ,123 ); +return "SIGID=202 (deadbeef) testing 123\n" ; +} + +static const struct log_test_param { +const char *(*func)(struct xe_device *xe); +} log_test_params[] = { + { .func = test_fatal }, + { .func = test_fatal_tile }, + { .func = test_fatal_gt }, + { .func = test_fatal_comp }, + { .func = test_fatal_comp_tile }, + { .func = test_fatal_comp_gt }, + { .func = test_fatal_all }, + { .func = test_recoverable }, + { .func = test_recoverable_tile }, + { .func = test_recoverable_gt }, + { .func = test_recoverable_comp }, + { .func = test_recoverable_comp_tile }, + { .func = test_recoverable_comp_gt }, + { .func = test_recoverable_all }, + { .func = test_info }, + { .func = test_info_tile }, + { .func = test_info_gt }, + { .func = test_info_comp }, + { .func = test_info_comp_tile }, + { .func = test_info_comp_gt }, + { .func = test_info_all }, + { .func = test_hw_fatal }, + { .func = test_hw_recoverable }, + { .func = test_hw_corrected }, + { .func = test_hw_informational }, +}; + +static void log_param_get_desc (const struct log_test_param *p,char *desc) +{ +snprintf (desc,KUNIT_PARAM_DESC_SIZE ,"%ps" , p->func); +} + +KUNIT_ARRAY_PARAM (log, log_test_params, log_param_get_desc); + +static void check_dmesg_vprintk (struct pci_dev *pdev,int cper_sev,struct va_format *vaf) +{ +struct kunit *test =kunit_get_current_test (); +const struct log_test_param *param = test->param_value; +const char *exp = param->func (NULL ); +char msg[64 ]; +int n; + + n =vsnprintf (msg,sizeof (msg), vaf->fmt, *vaf->va); +KUNIT_EXPECT_LT (test, n,sizeof (msg)); +KUNIT_EXPECT_STREQ (test, msg, exp); +} + +static void test_dmesg (struct kunit *test) +{ +const struct log_test_param *param = test->param_value; + +kunit_activate_static_stub (test, log_emit_cper, nop_emit_cper); +kunit_activate_static_stub (test, log_dmesg_vprintk, check_dmesg_vprintk); + + param->func (test->priv); +} + +static int xe_log_test_init (struct kunit *test) +{ +struct xe_pci_fake_data fake = { + .platform =XE_PVC ,/* with max_remote_tiles != 0 */ + .subplatform =XE_SUBPLATFORM_NONE , + .graphics_verx100 =2001 , + .media_verx100 =2001 , + }; +struct xe_device *xe; + + test->priv = &fake; +xe_kunit_helper_xe_device_test_init (test); + xe = test->priv; + xe->tiles[1 ].id =1 ; + +return 0 ; +} + +static struct kunit_case xe_log_test_cases[] = { +KUNIT_CASE (demo_cper), +KUNIT_CASE (demo_dmesg), +KUNIT_CASE_PARAM (test_dmesg, log_gen_params), + {} +}; + +static struct kunit_suite xe_log_suite = { + .name ="xe_log" , + .test_cases = xe_log_test_cases, + .init = xe_log_test_init, +}; + +kunit_test_suites (&xe_log_suite);
drivers/gpu/drm/xe/xe_log.c +11 -0
@@ -3,6 +3,9 @@* Copyright © 2026 Intel Corporation */ +#include <kunit/static_stub.h> +#include <kunit/visibility.h> +#include "abi/xe_log_abi.h" #include "xe_device.h"
@@ -13,6 +16,8 @@ static void log_emit_cper(struct pci_dev *pdev, int cper_sev, enum xe_sigid sigi u32 component, u32 location, const void *data, size_t len, struct va_format *vaf) { +KUNIT_STATIC_STUB_REDIRECT (log_emit_cper ,pdev ,cper_sev ,sigid , +component ,location ,data ,len ,vaf );/* TODO */ }
@@ -109,6 +114,8 @@ static const char *log_sev_prefix(int cper_sev)static void log_dmesg_vprintk (struct pci_dev *pdev,int cper_sev,struct va_format *vaf) { +KUNIT_STATIC_STUB_REDIRECT (log_dmesg_vprintk, pdev, cper_sev, vaf); +if (cper_sev ==CPER_SEV_INFORMATIONAL )pci_info (pdev,__LOG_DRM_PRINTK_FMT ("%pV" , vaf));else
@@ -199,3 +206,7 @@ void xe_log_emit(struct pci_dev *pdev, int cper_sev, enum xe_sigid sigid,va_end (args); } + +#if IS_BUILTIN (CONFIG_DRM_XE_KUNIT_TEST ) +#include "tests/xe_log_kunit.c" +#endif
Signature · 1 line
2.47.1
PATCH v2 15/22 drm/xe: Report 'probe blocked' error using SIGID
In reply to Michal WajdeczkoReport 'probe blocked' error using xe_log_info() helper.
---
v2: use info severity (Aravind)
--- drivers/gpu/drm/xe/xe_pci.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
drivers/gpu/drm/xe/xe_pci.c +3 -2
@@ -25,6 +25,7 @@#include "xe_gt_printk.h" #include "xe_gt_sriov_vf.h" #include "xe_guc.h" +#include "xe_log.h" #include "xe_mmio.h" #include "xe_module.h" #include "xe_pci_error.h"
@@ -1172,8 +1173,8 @@ static int xe_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) }if (id_blocked (pdev->device)) { -dev_info (&pdev->dev,"Probe blocked for device [%04x:%04x].\n" , - pdev->vendor, pdev->device); +xe_log_info (pdev,PROBE ,"Probe blocked for device [%04x:%04x]\n" , + pdev->vendor, pdev->device);return -ENODEV ; }
Signature · 1 line
2.47.1
PATCH v2 16/22 drm/xe: Report 'device wedged' errors using SIGID
In reply to Michal WajdeczkoReport 'device wedged' error using xe_log_err_fatal() helper. Use -EIO as the error cause, as nothing else is provided here. The hints about the recovery method and bug filling are now separated as it only needs to be printed once.
--- drivers/gpu/drm/xe/xe_device.c | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-)
drivers/gpu/drm/xe/xe_device.c +10 -6
@@ -48,6 +48,7 @@#include "xe_i2c.h" #include "xe_irq.h" #include "xe_late_bind_fw.h" +#include "xe_log.h" #include "xe_mmio.h" #include "xe_module.h" #include "xe_nvm.h"
@@ -1396,6 +1397,9 @@ void xe_device_set_wedged_method(struct xe_device *xe, unsigned long method) xe->wedged.method = method; } +#define WEDGED_URL "https://docs.kernel.org/gpu/drm-uapi.html#device-wedging" +#define XE_BUG_URL "https://gitlab.freedesktop.org/drm/xe/kernel/issues/new" +/** * xe_device_declare_wedged - Declare device wedged * @xe: xe device instance
@@ -1427,12 +1431,12 @@ void xe_device_declare_wedged(struct xe_device *xe)if (!atomic_xchg (&xe->wedged.flag,1 )) { xe->needs_flr_on_fini = true;xe_pm_runtime_get_noresume (xe); -drm_err (&xe->drm, -"CRITICAL: Xe has declared device %s as wedged.\n" -"IOCTLs and executions are blocked.\n" -"For recovery procedure, refer to https://docs.kernel.org/gpu/drm-uapi.html#device-wedging\n" -"Please file a _new_ bug report at https://gitlab.freedesktop.org/drm/xe/kernel/issues/new\n" , -dev_name (xe->drm.dev)); + +xe_log_err_fatal (xe,WEDGED , -EIO ,"Device declared wedged!\n" ); +xe_err_once (xe,"IOCTLs and executions are now blocked!\n" +"For recovery procedure, refer to %s\n" +"Please file a _new_ bug report at %s\n" , +WEDGED_URL ,XE_BUG_URL ); }for_each_gt (gt, xe, id)
Signature · 1 line
2.47.1
PATCH v2 17/22 drm/xe: Report 'Survivability Mode' errors using SIGID
In reply to Michal WajdeczkoReport various 'Survivability Mode' errors using xe_log() helpers.
--- drivers/gpu/drm/xe/xe_survivability_mode.c | 24 +++++++++++++--------- 1 file changed, 14 insertions(+), 10 deletions(-)
drivers/gpu/drm/xe/xe_survivability_mode.c +14 -10
@@ -14,9 +14,11 @@#include "xe_device.h" #include "xe_heci_gsc.h" #include "xe_i2c.h" +#include "xe_log.h" #include "xe_mmio.h" #include "xe_nvm.h" #include "xe_pcode_api.h" +#include "xe_printk.h" #include "xe_vsec.h" /**
@@ -179,11 +181,11 @@ static void log_survivability_info(struct pci_dev *pdev)u32 *info = survivability->info;int id; -dev_info (&pdev->dev,"Survivability Boot Status : Critical Failure (%d)\n" , - survivability->boot_status); +xe_log_info (xe,SURVIVABILITY ,"Boot Status : Critical Failure (%d)\n" , + survivability->boot_status);for (id =0 ; id <MAX_SCRATCH_REG ; id++) {if (info[id]) -dev_info (&pdev->dev,"%s: 0x%x\n" , reg_map[id], info[id]); +xe_log_info (xe,SURVIVABILITY ,"%s: 0x%x\n" , reg_map[id], info[id]); } }
@@ -316,7 +318,6 @@ static int create_survivability_sysfs(struct pci_dev *pdev)static int enable_boot_survivability_mode (struct pci_dev *pdev) { -struct device *dev = &pdev->dev;struct xe_device *xe =pdev_to_xe_device (pdev);struct xe_survivability *survivability = &xe->survivability;int ret =0 ;
@@ -342,12 +343,12 @@ static int enable_boot_survivability_mode(struct pci_dev *pdev)if (ret) goto err; -dev_err (dev,"In Survivability Mode\n" ); - +xe_log_emit (pdev,check_boot_failure (xe) ?CPER_SEV_FATAL :CPER_SEV_INFORMATIONAL , +XE_SIGID_SURVIVABILITY ,0 ,0 ,0 ,0 ,"In Survivability Boot Mode\n" );return 0 ; err: -dev_err (dev,"Failed to enable Survivability Mode\n" ); +xe_log_err_fatal (xe,SURVIVABILITY , ret,"Failed to enable Survivability Mode\n" ); survivability->mode = false;return ret; }
@@ -412,7 +413,7 @@ void xe_survivability_mode_runtime_enable(struct xe_device *xe)struct pci_dev *pdev =to_pci_dev (xe->drm.dev);if (!IS_DGFX (xe) ||IS_SRIOV_VF (xe) || xe->info.platform <XE_BATTLEMAGE ) { -dev_err (&pdev->dev,"Runtime Survivability Mode not supported\n" ); +xe_log_info (xe,SURVIVABILITY ,"Runtime Mode not supported!\n" );return ; }
@@ -422,11 +423,14 @@ void xe_survivability_mode_runtime_enable(struct xe_device *xe)dev_err (&pdev->dev,"Failed to create survivability sysfs\n" ); survivability->type =XE_SURVIVABILITY_TYPE_RUNTIME ; -dev_err (&pdev->dev,"Runtime Survivability mode enabled\n" ); +xe_log_err_fatal (xe,SURVIVABILITY ,0 ,"Runtime Mode enabled!\n" );xe_device_set_wedged_method (xe,DRM_WEDGE_RECOVERY_VENDOR );xe_device_declare_wedged (xe); -dev_err (&pdev->dev,"Firmware flash required, Please refer to the userspace documentation for more details!\n" ); + +xe_log_err_fatal (xe,SURVIVABILITY ,0 ,"Firmware flash required!\n" ); +xe_info (xe,"Please refer to the userspace documentation for more details how to flash the firmware on %s!\n" , + xe->info.platform_name); }/**
Signature · 1 line
2.47.1
PATCH v2 18/22 drm/xe/guc: Report 'GuC mmio' errors using SIGID
In reply to Michal WajdeczkoReport various 'GuC mmio' errors using xe_log() helpers.
--- drivers/gpu/drm/xe/xe_guc.c | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-)
drivers/gpu/drm/xe/xe_guc.c +10 -8
@@ -39,6 +39,7 @@#include "xe_guc_rc.h" #include "xe_guc_relay.h" #include "xe_guc_submit.h" +#include "xe_log.h" #include "xe_memirq.h" #include "xe_mmio.h" #include "xe_platform_types.h"
@@ -1542,8 +1543,9 @@ int xe_guc_mmio_send_recv(struct xe_guc *guc, const u32 *request,/* scratch registers might be cleared during FLR, try once more */ if (!header) {if (++lost >MAX_RETRIES_ON_FLR ) { -xe_gt_err (gt,"GuC mmio request %#x: lost, too many retries %u\n" , - request[0 ], lost); +xe_log_err (gt,GUC , -ENOLINK , +"MMIO request %#x: lost, too many retries %u\n" , + request[0 ], lost);return -ENOLINK ; }xe_gt_dbg (gt,"GuC mmio request %#x: lost, trying again\n" , request[0 ]);
@@ -1551,8 +1553,8 @@ int xe_guc_mmio_send_recv(struct xe_guc *guc, const u32 *request, goto retry; } timeout: -xe_gt_err (gt,"GuC mmio request %#x: no reply %#x\n" , - request[0 ], header); +xe_log_err (gt,GUC , ret,"MMIO request %#x: no reply %#x\n" , + request[0 ], header);return ret; }
@@ -1607,16 +1609,16 @@ int xe_guc_mmio_send_recv(struct xe_guc *guc, const u32 *request,return -EREMCHG ; } -xe_gt_err (gt,"GuC mmio request %#x: failure %#x hint %#x\n" , - request[0 ], error, hint); +xe_log_err (gt,GUC , -ENXIO ,"MMIO request %#x: failure %#x hint %#x\n" , + request[0 ], error, hint);return -ENXIO ; }if (FIELD_GET (GUC_HXG_MSG_0_TYPE , header) !=GUC_HXG_TYPE_RESPONSE_SUCCESS ) { proto: -xe_gt_err (gt,"GuC mmio request %#x: unexpected reply %#x\n" , - request[0 ], header); +xe_log_err (gt,GUC , -EPROTO ,"MMIO request %#x: unexpected reply %#x\n" , + request[0 ], header);return -EPROTO ; }
Signature · 1 line
2.47.1
PATCH v2 19/22 drm/xe/pcode: Report 'Mailbox failed' error using SIGID
In reply to Michal WajdeczkoReport 'Mailbox failed' error using xe_log() helper.
--- drivers/gpu/drm/xe/xe_pcode.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
drivers/gpu/drm/xe/xe_pcode.c +2 -3
@@ -14,6 +14,7 @@#include "regs/xe_pmt.h" #include "xe_assert.h" #include "xe_device.h" +#include "xe_log.h" #include "xe_mmio.h" #include "xe_pcode_api.h" #include "xe_pm.h"
@@ -61,9 +62,7 @@ static int pcode_mailbox_status(struct xe_tile *tile) }if (err) { -drm_err (&tile_to_xe (tile)->drm,"PCODE Mailbox failed: %d %s" , - err_decode, err_str); - +xe_log_err (tile,PCODE , err_decode,"Mailbox failed: %s\n" , err_str);return err_decode; }
Signature · 1 line
2.47.1
PATCH v2 20/22 drm/xe/gt: Report 'reset failed' errors using SIGID
In reply to Michal WajdeczkoReport 'reset' related err/info messages using xe_log() helpers.
--- drivers/gpu/drm/xe/xe_gt.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
drivers/gpu/drm/xe/xe_gt.c +4 -3
@@ -48,6 +48,7 @@#include "xe_hw_engine_class_sysfs.h" #include "xe_irq.h" #include "xe_lmtt.h" +#include "xe_log.h" #include "xe_lrc.h" #include "xe_map.h" #include "xe_migrate.h"
@@ -925,7 +926,7 @@ static void gt_reset_worker(struct work_struct *w)if (!xe_device_uc_enabled (gt_to_xe (gt))) goto err_pm_put; -xe_gt_info (gt,"reset started\n" ); +xe_log_info (gt,GT ,"reset started\n" );if (xe_fault_gt_reset ()) { err = -ECANCELED ;
@@ -964,7 +965,7 @@ static void gt_reset_worker(struct work_struct *w)/* Pair with get while enqueueing the work in xe_gt_reset_async() */ xe_pm_runtime_put (gt_to_xe (gt)); -xe_gt_info (gt,"reset done\n" ); +xe_log_info (gt,GT ,"reset done\n" );return ;
@@ -973,7 +974,7 @@ static void gt_reset_worker(struct work_struct *w)XE_WARN_ON (xe_uc_start (>->uc)); err_fail: -xe_gt_err (gt,"reset failed (%pe)\n" ,ERR_PTR (err)); +xe_log_err_fatal (gt,GT , err,"reset failed\n" );xe_device_declare_wedged (gt_to_xe (gt)); err_pm_put:xe_pm_runtime_put (gt_to_xe (gt));
Signature · 1 line
2.47.1
PATCH v2 21/22 drm/xe/gt: Report 'pagefault' errors using SIGID
In reply to Michal WajdeczkoReport 'Queue full/Unsuccessful response' pagefault errors using xe_log() helpers.
--- drivers/gpu/drm/xe/xe_pagefault.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
drivers/gpu/drm/xe/xe_pagefault.c +5 -5
@@ -14,6 +14,7 @@#include "xe_gt_types.h" #include "xe_gt_stats.h" #include "xe_hw_engine.h" +#include "xe_log.h" #include "xe_pagefault.h" #include "xe_pagefault_types.h" #include "xe_svm.h"
@@ -309,8 +310,7 @@ static void xe_pagefault_queue_work(struct work_struct *w)xe_pagefault_save_to_vm (gt_to_xe (pf.gt), &pf);if (!(pf.consumer.access_type &XE_PAGEFAULT_ACCESS_PREFETCH )) {xe_pagefault_print (&pf); -xe_gt_info (pf.gt,"Fault response: Unsuccessful %pe\n" , -ERR_PTR (err)); +xe_log_err (pf.gt,PAGEFAULT , err,"Fault response: Unsuccessful\n" ); }else {xe_gt_stats_incr (pf.gt,XE_GT_STATS_ID_INVALID_PREFETCH_PAGEFAULT_COUNT ,1 ); xe_gt_dbg(pf.gt, "Prefetch Fault response: Unsuccessful %pe\n",
@@ -487,9 +487,9 @@ int xe_pagefault_handler(struct xe_device *xe, struct xe_pagefault *pf) pf_queue->size;queue_work (xe->usm.pf_wq, &pf_queue->worker); }else { -drm_warn (&xe->drm, -"PageFault Queue (%d) full, shouldn't be possible\n" , - pf->consumer.asid %XE_PAGEFAULT_QUEUE_COUNT ); +xe_log_err (xe,PAGEFAULT , -ENOSPC , +"Queue (%d) full, shouldn't be possible\n" , + pf->consumer.asid %XE_PAGEFAULT_QUEUE_COUNT ); }spin_unlock_irqrestore (&pf_queue->lock, flags);
Signature · 1 line
2.47.1
PATCH v2 22/22 drm/xe/pci: Report 'cannot re-enable' error using SIGID
In reply to Michal WajdeczkoReport 'cannot re-enable PCI device' error using xe_log() helper.
--- drivers/gpu/drm/xe/xe_pci_error.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
drivers/gpu/drm/xe/xe_pci_error.c +5 -2
@@ -7,6 +7,7 @@#include "xe_device.h" #include "xe_gt.h" +#include "xe_log.h" #include "xe_pci.h" #include "xe_pm.h" #include "xe_printk.h"
@@ -90,13 +91,15 @@ static pci_ers_result_t xe_pci_error_slot_reset(struct pci_dev *pdev) {const struct pci_device_id *ent =pci_match_id (pdev->driver->id_table, pdev);struct xe_device *xe =pdev_to_xe_device (pdev); +int err;xe_info (xe,"PCI error: slot reset\n" );pci_restore_state (pdev); -if (pci_enable_device (pdev)) { -xe_err (xe,"Cannot re-enable PCI device after reset\n" ); + err =pci_enable_device (pdev); +if (err) { +xe_log_err_fatal (xe,PCI , err,"Cannot re-enable PCI device after reset\n" );return PCI_ERS_RESULT_DISCONNECT ; }
Signature · 1 line
2.47.1
Patchwork
CI✗ CI.checkpatch: warning for drm/xe: Add structured SIGID error logging infrastructure (rev2)
In reply to Michal Wajdeczko== Series Details ==
== Series Details ==
Series: drm/xe: Add structured SIGID error logging infrastructure (rev2)
URL : https://patchwork.freedesktop.org/series/171022/
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 061140b9bc586ae7f40abc1249c97e1cc72d1b9d
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit fae2b92f00b64bc3e03957a8b3bb14a1ecca0342
Author: Michal Wajdeczko <[email protected]> Date: Tue Jul 28 18:10:37 2026 +0200
drm/xe/pci: Report 'cannot re-enable' error using SIGID
Report 'cannot re-enable PCI device' error using xe_log() helper.
+ /mt/dim checkpatch 231ba00442a06ee877bfed4765c0b1b48bebbf78 drm-intel 56c655077570 drm/xe: Introduce xe_any helpers
-:21: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #21:
new file mode 100644
-:43: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'any' - possible side-effects? #43: FILE: drivers/gpu/drm/xe/xe_any.h:18:
+#define xe_any_if_type(any, type) \
+ _Generic((any), \
+ type * : (any), \
+ const type * : (any), \
+ default : NULL)
-:47: WARNING:TABSTOP: Statements should start on a tabstop #47: FILE: drivers/gpu/drm/xe/xe_any.h:22:
+ default : NULL)
-:47: ERROR:TRAILING_STATEMENTS: trailing statements should be on next line #47: FILE: drivers/gpu/drm/xe/xe_any.h:22:
+ default : NULL)
-:87: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'any' - possible side-effects? #87: FILE: drivers/gpu/drm/xe/xe_any.h:62:
+#define xe_any_to_xe(any) \
+ _Generic((any), \
+ struct xe_device * : (any), \
+ const struct xe_device * : (any), \
+ struct xe_tile * : tile_to_xe((struct xe_tile *)(any)), \
+ const struct xe_tile * : tile_to_xe((const struct xe_tile *)(any)), \
+ struct xe_gt * : gt_to_xe((struct xe_gt *)(any)), \
+ const struct xe_gt * : gt_to_xe((const struct xe_gt *)(any)), \
+ struct pci_dev * : pdev_to_xe_device((struct pci_dev *)(any)), \
+ struct device * : kdev_to_xe_device((struct device *)(any)))
-:104: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'any' - possible side-effects? #104: FILE: drivers/gpu/drm/xe/xe_any.h:79:
+#define xe_any_to_dev(any) \
+ _Generic((any), \
+ struct device * : (any), \
+ default : xe_any_to_xe(any)->drm.dev)
-:107: WARNING:TABSTOP: Statements should start on a tabstop #107: FILE: drivers/gpu/drm/xe/xe_any.h:82:
+ default : xe_any_to_xe(any)->drm.dev)
-:107: ERROR:TRAILING_STATEMENTS: trailing statements should be on next line #107: FILE: drivers/gpu/drm/xe/xe_any.h:82:
+ default : xe_any_to_xe(any)->drm.dev)
-:115: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'any' - possible side-effects? #115: FILE: drivers/gpu/drm/xe/xe_any.h:90:
+#define xe_any_to_pdev(any) \
+ _Generic((any), \
+ struct pci_dev * : (any), \
+ default : to_pci_dev(xe_any_to_dev(any)))
-:118: WARNING:TABSTOP: Statements should start on a tabstop #118: FILE: drivers/gpu/drm/xe/xe_any.h:93:
+ default : to_pci_dev(xe_any_to_dev(any)))
-:118: ERROR:TRAILING_STATEMENTS: trailing statements should be on next line #118: FILE: drivers/gpu/drm/xe/xe_any.h:93:
+ default : to_pci_dev(xe_any_to_dev(any)))
-:126: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'any' - possible side-effects? #126: FILE: drivers/gpu/drm/xe/xe_any.h:101:
+#define xe_any_id(any) \
+ _Generic((any), \
+ struct xe_gt * : ((struct xe_gt *)(any))->info.id, \
+ const struct xe_gt * : ((const struct xe_gt *)(any))->info.id, \
+ struct xe_tile * : ((struct xe_tile *)(any))->id, \
+ const struct xe_tile * : ((const struct xe_tile *)(any))->id, \
+ struct xe_device * : 0, \
+ const struct xe_device * : 0, \
+ struct pci_dev * : 0, \
+ struct device * : 0)
total: 3 errors, 4 warnings, 5 checks, 112 lines checkedb398f16ee34c drm/xe/log: Add structured SIGID error logging infrastructure
-:35: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #35:
new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 363 lines checkedc2abf0c55928 drm/xe/log: Introduce structured component/location identifiers -:16: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #16:
new file mode 100644
-:150: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #150: FILE: drivers/gpu/drm/xe/abi/xe_log_abi.h:130:
+#define DEFINE_XE_LOG_COMPONENTS(define) \
+ /* */ \
+ define(SYSTEM, 1, PCI, SW, "Linux PCI Subsystem") \
+ define(SYSTEM, 2, DRM, SW, "DRM") \
+ /* */ \
+ define(DRIVER, 1, XE, SW, "Xe Driver") \
+ define(DRIVER, 2, PROBE, PROBE, "Driver Initialization") \
+ define(DRIVER, 3, WEDGED, WEDGED, "Device Malfunction") \
+ define(DRIVER, 4, RTP, SW, "Register Table Processing") \
+ define(DRIVER, 5, WA, SW, "Workarounds") \
+ define(DRIVER, 6, PAGEFAULT, MEM_FAULT, "Page Fault") \
+ /* */ \
+ define(DRIVER_HARDWARE, 1, REGS, IO_BUS, "Registers") \
+ define(DRIVER_HARDWARE, 2, GGTT, IO_BUS, "Global GTT") \
+ define(DRIVER_HARDWARE, 3, GT, GT_TDR, "Graphics Technology") \
+ define(DRIVER_HARDWARE, 4, LMTT, IO_BUS, "LMEM Translation Table") \
+ define(DRIVER_HARDWARE, 5, MEMIRQ, IO_BUS, "Memory Based IRQ") \
+ /* */ \
+ define(DRIVER_FEATURE, 1, PF, SW, "SR-IOV Physical Function") \
+ define(DRIVER_FEATURE, 2, VF, SW, "SR-IOV Virtual Function") \
+ define(DRIVER_FEATURE, 3, SURVIVABILITY, SURVIVABILITY, "Survivability") \
+ define(DRIVER_FEATURE, 4, RAS, SW, "Reliability, Accessibility, Serviceability") \
+ /* */ \
+ define(DRIVER_FIRMWARE, 1, GUC, RUNTIME_FW, "GuC") \
+ define(DRIVER_FIRMWARE, 2, HUC, RUNTIME_FW, "HuC") \
+ define(DRIVER_FIRMWARE, 3, GSC, RUNTIME_FW, "GSC") \
+ define(DRIVER_FIRMWARE, 16, PCODE, DEVICE_FW, "PCode") \
+ define(DRIVER_FIRMWARE, 17, SYSCTRL, DEVICE_FW, "System Controller") \
+ /* eod */
BUT SEE:
do {} while (0) advice is over-stated in a few situations:
The more obvious case is macros, like MODULE_PARM_DESC, invoked at file-scope, where C disallows code (it must be in functions). See $exceptions if you have one to add by name.
More troublesome is declarative macros used at top of new scope, like DECLARE_PER_CPU. These might just compile with a do-while-0 wrapper, but would be incorrect. Most of these are handled by detecting struct,union,etc declaration primitives in $exceptions.
Theres also macros called inside an if (block), which "return" an expression. These cannot do-while, and need a ({}) wrapper.
Enjoy this qualification while we work to improve our heuristics.
-:150: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'define' - possible side-effects? #150: FILE: drivers/gpu/drm/xe/abi/xe_log_abi.h:130:
+#define DEFINE_XE_LOG_COMPONENTS(define) \
+ /* */ \
+ define(SYSTEM, 1, PCI, SW, "Linux PCI Subsystem") \
+ define(SYSTEM, 2, DRM, SW, "DRM") \
+ /* */ \
+ define(DRIVER, 1, XE, SW, "Xe Driver") \
+ define(DRIVER, 2, PROBE, PROBE, "Driver Initialization") \
+ define(DRIVER, 3, WEDGED, WEDGED, "Device Malfunction") \
+ define(DRIVER, 4, RTP, SW, "Register Table Processing") \
+ define(DRIVER, 5, WA, SW, "Workarounds") \
+ define(DRIVER, 6, PAGEFAULT, MEM_FAULT, "Page Fault") \
+ /* */ \
+ define(DRIVER_HARDWARE, 1, REGS, IO_BUS, "Registers") \
+ define(DRIVER_HARDWARE, 2, GGTT, IO_BUS, "Global GTT") \
+ define(DRIVER_HARDWARE, 3, GT, GT_TDR, "Graphics Technology") \
+ define(DRIVER_HARDWARE, 4, LMTT, IO_BUS, "LMEM Translation Table") \
+ define(DRIVER_HARDWARE, 5, MEMIRQ, IO_BUS, "Memory Based IRQ") \
+ /* */ \
+ define(DRIVER_FEATURE, 1, PF, SW, "SR-IOV Physical Function") \
+ define(DRIVER_FEATURE, 2, VF, SW, "SR-IOV Virtual Function") \
+ define(DRIVER_FEATURE, 3, SURVIVABILITY, SURVIVABILITY, "Survivability") \
+ define(DRIVER_FEATURE, 4, RAS, SW, "Reliability, Accessibility, Serviceability") \
+ /* */ \
+ define(DRIVER_FIRMWARE, 1, GUC, RUNTIME_FW, "GuC") \
+ define(DRIVER_FIRMWARE, 2, HUC, RUNTIME_FW, "HuC") \
+ define(DRIVER_FIRMWARE, 3, GSC, RUNTIME_FW, "GSC") \
+ define(DRIVER_FIRMWARE, 16, PCODE, DEVICE_FW, "PCode") \
+ define(DRIVER_FIRMWARE, 17, SYSCTRL, DEVICE_FW, "System Controller") \
+ /* eod */
-:185: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #185: FILE: drivers/gpu/drm/xe/abi/xe_log_abi.h:165:
+#define MAKE_XE_LOG_COMPONENT_ENUM(_CLASS, _ID, _TAG, _SIG, _NAME) \
+ XE_LOG_COMPONENT_##_TAG = MAKE_XE_LOG_COMPONENT(_CLASS, (_ID)), \
+ XE_LOG_COMPONENT_##_CLASS##_##_ID = XE_LOG_COMPONENT_##_TAG, \
+ /* eod */
BUT SEE:
do {} while (0) advice is over-stated in a few situations:
The more obvious case is macros, like MODULE_PARM_DESC, invoked at file-scope, where C disallows code (it must be in functions). See $exceptions if you have one to add by name.
More troublesome is declarative macros used at top of new scope, like DECLARE_PER_CPU. These might just compile with a do-while-0 wrapper, but would be incorrect. Most of these are handled by detecting struct,union,etc declaration primitives in $exceptions.
Theres also macros called inside an if (block), which "return" an expression. These cannot do-while, and need a ({}) wrapper.
Enjoy this qualification while we work to improve our heuristics.
-:185: WARNING:MACRO_ARG_UNUSED: Argument '_SIG' is not used in function-like macro #185: FILE: drivers/gpu/drm/xe/abi/xe_log_abi.h:165:
+#define MAKE_XE_LOG_COMPONENT_ENUM(_CLASS, _ID, _TAG, _SIG, _NAME) \
+ XE_LOG_COMPONENT_##_TAG = MAKE_XE_LOG_COMPONENT(_CLASS, (_ID)), \
+ XE_LOG_COMPONENT_##_CLASS##_##_ID = XE_LOG_COMPONENT_##_TAG, \
+ /* eod */
-:185: WARNING:MACRO_ARG_UNUSED: Argument '_NAME' is not used in function-like macro #185: FILE: drivers/gpu/drm/xe/abi/xe_log_abi.h:165:
+#define MAKE_XE_LOG_COMPONENT_ENUM(_CLASS, _ID, _TAG, _SIG, _NAME) \
+ XE_LOG_COMPONENT_##_TAG = MAKE_XE_LOG_COMPONENT(_CLASS, (_ID)), \
+ XE_LOG_COMPONENT_##_CLASS##_##_ID = XE_LOG_COMPONENT_##_TAG, \
+ /* eod */
-:198: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #198: FILE: drivers/gpu/drm/xe/abi/xe_log_abi.h:178:
+#define MAKE_XE_LOG_COMPONENT_SIGID(_CLASS, _ID, _TAG, _SIG, _NAME) \
+ XE_LOG_COMPONENT_##_TAG##_SIGID = XE_SIGID_##_SIG, \
+ /* eod */
BUT SEE:
do {} while (0) advice is over-stated in a few situations:
The more obvious case is macros, like MODULE_PARM_DESC, invoked at file-scope, where C disallows code (it must be in functions). See $exceptions if you have one to add by name.
More troublesome is declarative macros used at top of new scope, like DECLARE_PER_CPU. These might just compile with a do-while-0 wrapper, but would be incorrect. Most of these are handled by detecting struct,union,etc declaration primitives in $exceptions.
Theres also macros called inside an if (block), which "return" an expression. These cannot do-while, and need a ({}) wrapper.
Enjoy this qualification while we work to improve our heuristics.
-:198: WARNING:MACRO_ARG_UNUSED: Argument '_CLASS' is not used in function-like macro #198: FILE: drivers/gpu/drm/xe/abi/xe_log_abi.h:178:
+#define MAKE_XE_LOG_COMPONENT_SIGID(_CLASS, _ID, _TAG, _SIG, _NAME) \
+ XE_LOG_COMPONENT_##_TAG##_SIGID = XE_SIGID_##_SIG, \
+ /* eod */
-:198: WARNING:MACRO_ARG_UNUSED: Argument '_ID' is not used in function-like macro #198: FILE: drivers/gpu/drm/xe/abi/xe_log_abi.h:178:
+#define MAKE_XE_LOG_COMPONENT_SIGID(_CLASS, _ID, _TAG, _SIG, _NAME) \
+ XE_LOG_COMPONENT_##_TAG##_SIGID = XE_SIGID_##_SIG, \
+ /* eod */
-:198: WARNING:MACRO_ARG_UNUSED: Argument '_NAME' is not used in function-like macro #198: FILE: drivers/gpu/drm/xe/abi/xe_log_abi.h:178:
+#define MAKE_XE_LOG_COMPONENT_SIGID(_CLASS, _ID, _TAG, _SIG, _NAME) \
+ XE_LOG_COMPONENT_##_TAG##_SIGID = XE_SIGID_##_SIG, \
+ /* eod */
total: 3 errors, 6 warnings, 1 checks, 185 lines checked857d2c52f847 drm/xe/log: Add component/location decorations to dmesg -:35: WARNING:MACRO_ARG_UNUSED: Argument '_CLASS' is not used in function-like macro #35: FILE: drivers/gpu/drm/xe/xe_log.c:22:
+#define MAKE_XE_LOG_COMPONENT_CASE_PREFIX(_CLASS, _ID, _TAG, _SIG, _NAME) \
+ case XE_LOG_COMPONENT_##_TAG: return #_TAG ": ";
-:35: WARNING:MACRO_ARG_UNUSED: Argument '_ID' is not used in function-like macro #35: FILE: drivers/gpu/drm/xe/xe_log.c:22:
+#define MAKE_XE_LOG_COMPONENT_CASE_PREFIX(_CLASS, _ID, _TAG, _SIG, _NAME) \
+ case XE_LOG_COMPONENT_##_TAG: return #_TAG ": ";
-:35: WARNING:MACRO_ARG_UNUSED: Argument '_SIG' is not used in function-like macro #35: FILE: drivers/gpu/drm/xe/xe_log.c:22:
+#define MAKE_XE_LOG_COMPONENT_CASE_PREFIX(_CLASS, _ID, _TAG, _SIG, _NAME) \
+ case XE_LOG_COMPONENT_##_TAG: return #_TAG ": ";
-:35: WARNING:MACRO_ARG_UNUSED: Argument '_NAME' is not used in function-like macro #35: FILE: drivers/gpu/drm/xe/xe_log.c:22:
+#define MAKE_XE_LOG_COMPONENT_CASE_PREFIX(_CLASS, _ID, _TAG, _SIG, _NAME) \
+ case XE_LOG_COMPONENT_##_TAG: return #_TAG ": ";
-:35: WARNING:TRAILING_SEMICOLON: macros should not use a trailing semicolon #35: FILE: drivers/gpu/drm/xe/xe_log.c:22:
+#define MAKE_XE_LOG_COMPONENT_CASE_PREFIX(_CLASS, _ID, _TAG, _SIG, _NAME) \
+ case XE_LOG_COMPONENT_##_TAG: return #_TAG ": ";
total: 0 errors, 5 warnings, 0 checks, 106 lines checked 886cd48c2df3 drm/xe/log: Add SIGID log helpers for severity e0d63997b932 drm/xe/log: Add SIGID log helpers for location
-:44: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'any' - possible side-effects? #44: FILE: drivers/gpu/drm/xe/xe_log.h:49:
+#define xe_log_location(any) \
+ PREP_XE_LOG_LOCATION(xe_log_location_type(any), xe_any_id(any))
total: 0 errors, 0 warnings, 1 checks, 47 lines checked35055b71024c drm/xe/log: Add SIGID log helpers for location & severity a7651bad09df drm/xe/log: Add SIGID log helpers for components 9e6a67c86efa drm/xe/log: Add SIGID log helpers for errno-only 18f14af80ea2 drm/xe/log: Add hardware error signatures5ec51ce609eb drm/xe/log: Extend components list with hardware items
-:23: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #23: FILE: drivers/gpu/drm/xe/abi/xe_log_abi.h:134:
+#define DEFINE_XE_LOG_SOFTWARE_COMPONENTS(define) \
/* */ \
define(SYSTEM, 1, PCI, SW, "Linux PCI Subsystem") \
define(SYSTEM, 2, DRM, SW, "DRM") \
BUT SEE:
do {} while (0) advice is over-stated in a few situations:
The more obvious case is macros, like MODULE_PARM_DESC, invoked at file-scope, where C disallows code (it must be in functions). See $exceptions if you have one to add by name.
More troublesome is declarative macros used at top of new scope, like DECLARE_PER_CPU. These might just compile with a do-while-0 wrapper, but would be incorrect. Most of these are handled by detecting struct,union,etc declaration primitives in $exceptions.
Theres also macros called inside an if (block), which "return" an expression. These cannot do-while, and need a ({}) wrapper.
Enjoy this qualification while we work to improve our heuristics.
-:23: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'define' - possible side-effects? #23: FILE: drivers/gpu/drm/xe/abi/xe_log_abi.h:134:
+#define DEFINE_XE_LOG_SOFTWARE_COMPONENTS(define) \
/* */ \
define(SYSTEM, 1, PCI, SW, "Linux PCI Subsystem") \
define(SYSTEM, 2, DRM, SW, "DRM") \
-:32: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #32: FILE: drivers/gpu/drm/xe/abi/xe_log_abi.h:163:
+#define DEFINE_XE_LOG_HARDWARE_COMPONENTS(define) \
+ define(HARDWARE, 1, DEVMEM, DEVICE_MEMORY, "Device Memory") \
+ define(HARDWARE, 2, HWCORE, CORE_COMPUTE, "Core Compute") \
+ /* HARDWARE, 3, RESERVED */ \
+ define(HARDWARE, 4, PCIE, PCIE, "PCIe Interface") \
+ define(HARDWARE, 5, FABRIC, FABRIC, "Fabric") \
+ define(HARDWARE, 6, SOC, SOC_INTERNAL, "SoC Internal") \
/* eod */
BUT SEE:
do {} while (0) advice is over-stated in a few situations:
The more obvious case is macros, like MODULE_PARM_DESC, invoked at file-scope, where C disallows code (it must be in functions). See $exceptions if you have one to add by name.
More troublesome is declarative macros used at top of new scope, like DECLARE_PER_CPU. These might just compile with a do-while-0 wrapper, but would be incorrect. Most of these are handled by detecting struct,union,etc declaration primitives in $exceptions.
Theres also macros called inside an if (block), which "return" an expression. These cannot do-while, and need a ({}) wrapper.
Enjoy this qualification while we work to improve our heuristics.
-:32: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'define' - possible side-effects? #32: FILE: drivers/gpu/drm/xe/abi/xe_log_abi.h:163:
+#define DEFINE_XE_LOG_HARDWARE_COMPONENTS(define) \
+ define(HARDWARE, 1, DEVMEM, DEVICE_MEMORY, "Device Memory") \
+ define(HARDWARE, 2, HWCORE, CORE_COMPUTE, "Core Compute") \
+ /* HARDWARE, 3, RESERVED */ \
+ define(HARDWARE, 4, PCIE, PCIE, "PCIe Interface") \
+ define(HARDWARE, 5, FABRIC, FABRIC, "Fabric") \
+ define(HARDWARE, 6, SOC, SOC_INTERNAL, "SoC Internal") \
/* eod */
total: 2 errors, 0 warnings, 2 checks, 24 lines checkedb773712c4923 drm/xe/ras: Check RAS and LOG component definitions35b11d827714 drm/xe/kunit: Setup driver data in the test device62357b1a3193 drm/xe/tests: Add Kunit tests for xe_log
-:15: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #15:
new file mode 100644
-:47: WARNING:MACRO_ARG_UNUSED: Argument '_CLASS' is not used in function-like macro #47: FILE: drivers/gpu/drm/xe/tests/xe_log_kunit.c:28:
+#define make_component_tag_case(_CLASS, _ID, _TAG, _SIG, _NAME) \
+ case XE_LOG_COMPONENT_##_TAG: return _NAME;
-:47: WARNING:MACRO_ARG_UNUSED: Argument '_ID' is not used in function-like macro #47: FILE: drivers/gpu/drm/xe/tests/xe_log_kunit.c:28:
+#define make_component_tag_case(_CLASS, _ID, _TAG, _SIG, _NAME) \
+ case XE_LOG_COMPONENT_##_TAG: return _NAME;
-:47: WARNING:MACRO_ARG_UNUSED: Argument '_SIG' is not used in function-like macro #47: FILE: drivers/gpu/drm/xe/tests/xe_log_kunit.c:28:
+#define make_component_tag_case(_CLASS, _ID, _TAG, _SIG, _NAME) \
+ case XE_LOG_COMPONENT_##_TAG: return _NAME;
-:47: WARNING:TRAILING_SEMICOLON: macros should not use a trailing semicolon #47: FILE: drivers/gpu/drm/xe/tests/xe_log_kunit.c:28:
+#define make_component_tag_case(_CLASS, _ID, _TAG, _SIG, _NAME) \
+ case XE_LOG_COMPONENT_##_TAG: return _NAME;
total: 0 errors, 5 warnings, 0 checks, 512 lines checked b8c199034655 drm/xe: Report 'probe blocked' error using SIGID 6844b0cac047 drm/xe: Report 'device wedged' errors using SIGID 4edc148b3c2e drm/xe: Report 'Survivability Mode' errors using SIGID fb4a9ce39f47 drm/xe/guc: Report 'GuC mmio' errors using SIGID c78de87889d9 drm/xe/pcode: Report 'Mailbox failed' error using SIGID ec8375ad8847 drm/xe/gt: Report 'reset failed' errors using SIGID 7720f044c76a drm/xe/gt: Report 'pagefault' errors using SIGID fae2b92f00b6 drm/xe/pci: Report 'cannot re-enable' error using SIGID
Patchwork
CI✓ CI.KUnit: success for drm/xe: Add structured SIGID error logging infrastructure (rev2)
In reply to Michal Wajdeczko== Series Details ==
== Series Details ==
Series: drm/xe: Add structured SIGID error logging infrastructure (rev2)
URL : https://patchwork.freedesktop.org/series/171022/
State : success
== Summary ==
+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig [16:17:19] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [16:17:23] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48 [16:17:55] Starting KUnit Kernel (1/1)... [16:17:55] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [16:17:55] ================== guc_buf (11 subtests) =================== [16:17:55] [PASSED] test_smallest [16:17:55] [PASSED] test_largest [16:17:55] [PASSED] test_granular [16:17:55] [PASSED] test_unique [16:17:55] [PASSED] test_overlap [16:17:55] [PASSED] test_reusable [16:17:55] [PASSED] test_too_big [16:17:55] [PASSED] test_flush [16:17:55] [PASSED] test_lookup [16:17:55] [PASSED] test_data [16:17:55] [PASSED] test_class [16:17:55] ===================== [PASSED] guc_buf ===================== [16:17:55] =================== guc_dbm (7 subtests) =================== [16:17:55] [PASSED] test_empty [16:17:55] [PASSED] test_default [16:17:55] ======================== test_size ======================== [16:17:55] [PASSED] 4 [16:17:55] [PASSED] 8 [16:17:55] [PASSED] 32 [16:17:55] [PASSED] 256 [16:17:55] ==================== [PASSED] test_size ==================== [16:17:55] ======================= test_reuse ======================== [16:17:55] [PASSED] 4 [16:17:55] [PASSED] 8 [16:17:55] [PASSED] 32 [16:17:55] [PASSED] 256 [16:17:55] =================== [PASSED] test_reuse ==================== [16:17:55] =================== test_range_overlap ==================== [16:17:55] [PASSED] 4 [16:17:55] [PASSED] 8 [16:17:55] [PASSED] 32 [16:17:55] [PASSED] 256 [16:17:55] =============== [PASSED] test_range_overlap ================ [16:17:55] =================== test_range_compact ==================== [16:17:55] [PASSED] 4 [16:17:55] [PASSED] 8 [16:17:55] [PASSED] 32 [16:17:55] [PASSED] 256 [16:17:55] =============== [PASSED] test_range_compact ================ [16:17:55] ==================== test_range_spare ===================== [16:17:55] [PASSED] 4 [16:17:55] [PASSED] 8 [16:17:55] [PASSED] 32 [16:17:55] [PASSED] 256 [16:17:55] ================ [PASSED] test_range_spare ================= [16:17:55] ===================== [PASSED] guc_dbm ===================== [16:17:55] =================== guc_idm (6 subtests) =================== [16:17:55] [PASSED] bad_init [16:17:55] [PASSED] no_init [16:17:55] [PASSED] init_fini [16:17:55] [PASSED] check_used [16:17:55] [PASSED] check_quota [16:17:55] [PASSED] check_all [16:17:55] ===================== [PASSED] guc_idm ===================== [16:17:55] =============== guc_klv_helpers (9 subtests) =============== [16:17:55] [PASSED] test_count [16:17:55] [PASSED] test_encode_u32 [16:17:55] [PASSED] test_encode_u64 [16:17:55] [PASSED] test_encode_string [16:17:55] [PASSED] test_encode_object_raw [16:17:55] [PASSED] test_encode_object_klv [16:17:55] [PASSED] test_encode_object_nested [16:17:55] [PASSED] test_encode_object_basic [16:17:55] [PASSED] test_print [16:17:55] ================= [PASSED] guc_klv_helpers ================= [16:17:55] =================== xe_log (3 subtests) ==================== [16:17:55] [PASSED] demo_cper [16:17:55] [PASSED] demo_dmesg [16:17:55] ======================= test_dmesg ======================== [16:17:55] [PASSED] test_fatal [16:17:55] [PASSED] test_fatal_tile [16:17:55] [PASSED] test_fatal_gt [16:17:55] [PASSED] test_fatal_comp [16:17:55] [PASSED] test_fatal_comp_tile [16:17:55] [PASSED] test_fatal_comp_gt [16:17:55] [PASSED] test_fatal_all [16:17:55] [PASSED] test_recoverable [16:17:55] [PASSED] test_recoverable_tile [16:17:55] [PASSED] test_recoverable_gt [16:17:55] [PASSED] test_recoverable_comp [16:17:55] [PASSED] test_recoverable_comp_tile [16:17:55] [PASSED] test_recoverable_comp_gt [16:17:55] [PASSED] test_recoverable_all [16:17:55] [PASSED] test_info [16:17:55] [PASSED] test_info_tile [16:17:55] [PASSED] test_info_gt [16:17:55] [PASSED] test_info_comp [16:17:55] [PASSED] test_info_comp_tile [16:17:55] [PASSED] test_info_comp_gt [16:17:55] [PASSED] test_info_all [16:17:55] [PASSED] test_hw_fatal [16:17:55] [PASSED] test_hw_recoverable [16:17:55] [PASSED] test_hw_corrected [16:17:55] [PASSED] test_hw_informational [16:17:55] =================== [PASSED] test_dmesg ==================== [16:17:55] ===================== [PASSED] xe_log ====================== [16:17:55] ================== no_relay (3 subtests) =================== [16:17:55] [PASSED] xe_drops_guc2pf_if_not_ready [16:17:55] [PASSED] xe_drops_guc2vf_if_not_ready [16:17:55] [PASSED] xe_rejects_send_if_not_ready [16:17:55] ==================== [PASSED] no_relay ===================== [16:17:55] ================== pf_relay (14 subtests) ================== [16:17:55] [PASSED] pf_rejects_guc2pf_too_short [16:17:55] [PASSED] pf_rejects_guc2pf_too_long [16:17:55] [PASSED] pf_rejects_guc2pf_no_payload [16:17:55] [PASSED] pf_fails_no_payload [16:17:55] [PASSED] pf_fails_bad_origin [16:17:55] [PASSED] pf_fails_bad_type [16:17:55] [PASSED] pf_txn_reports_error [16:17:55] [PASSED] pf_txn_sends_pf2guc [16:17:55] [PASSED] pf_sends_pf2guc [16:17:55] [SKIPPED] pf_loopback_nop (requires CONFIG_DRM_XE_DEBUG_SRIOV) [16:17:55] [SKIPPED] pf_loopback_echo (requires CONFIG_DRM_XE_DEBUG_SRIOV) [16:17:55] [SKIPPED] pf_loopback_fail (requires CONFIG_DRM_XE_DEBUG_SRIOV) [16:17:55] [SKIPPED] pf_loopback_busy (requires CONFIG_DRM_XE_DEBUG_SRIOV) [16:17:55] [SKIPPED] pf_loopback_retry (requires CONFIG_DRM_XE_DEBUG_SRIOV) [16:17:55] ==================== [PASSED] pf_relay ===================== [16:17:55] ================== vf_relay (3 subtests) =================== [16:17:55] [PASSED] vf_rejects_guc2vf_too_short [16:17:55] [PASSED] vf_rejects_guc2vf_too_long [16:17:55] [PASSED] vf_rejects_guc2vf_no_payload [16:17:55] ==================== [PASSED] vf_relay ===================== [16:17:55] ================ pf_gt_config (9 subtests) ================= [16:17:55] [PASSED] fair_contexts_1vf [16:17:55] [PASSED] fair_doorbells_1vf [16:17:55] [PASSED] fair_ggtt_1vf [16:17:55] ====================== fair_vram_1vf ====================== [16:17:55] [PASSED] 3.50 GiB [16:17:55] [PASSED] 11.5 GiB [16:17:55] [PASSED] 15.5 GiB [16:17:55] [PASSED] 31.5 GiB [16:17:55] [PASSED] 63.5 GiB [16:17:55] [PASSED] 1.91 GiB [16:17:55] ================== [PASSED] fair_vram_1vf ================== [16:17:55] ================ fair_vram_1vf_admin_only ================= [16:17:55] [PASSED] 3.50 GiB [16:17:55] [PASSED] 11.5 GiB [16:17:55] [PASSED] 15.5 GiB [16:17:55] [PASSED] 31.5 GiB [16:17:55] [PASSED] 63.5 GiB [16:17:55] [PASSED] 1.91 GiB [16:17:55] ============ [PASSED] fair_vram_1vf_admin_only ============= [16:17:55] ====================== fair_contexts ====================== [16:17:55] [PASSED] 1 VF [16:17:55] [PASSED] 2 VFs [16:17:55] [PASSED] 3 VFs [16:17:55] [PASSED] 4 VFs [16:17:55] [PASSED] 5 VFs [16:17:55] [PASSED] 6 VFs [16:17:55] [PASSED] 7 VFs [16:17:55] [PASSED] 8 VFs [16:17:55] [PASSED] 9 VFs [16:17:55] [PASSED] 10 VFs [16:17:55] [PASSED] 11 VFs [16:17:55] [PASSED] 12 VFs [16:17:55] [PASSED] 13 VFs [16:17:55] [PASSED] 14 VFs [16:17:55] [PASSED] 15 VFs [16:17:55] [PASSED] 16 VFs [16:17:55] [PASSED] 17 VFs [16:17:55] [PASSED] 18 VFs [16:17:55] [PASSED] 19 VFs [16:17:55] [PASSED] 20 VFs [16:17:55] [PASSED] 21 VFs [16:17:55] [PASSED] 22 VFs [16:17:55] [PASSED] 23 VFs [16:17:55] [PASSED] 24 VFs [16:17:55] [PASSED] 25 VFs [16:17:55] [PASSED] 26 VFs [16:17:55] [PASSED] 27 VFs [16:17:55] [PASSED] 28 VFs [16:17:55] [PASSED] 29 VFs [16:17:55] [PASSED] 30 VFs [16:17:55] [PASSED] 31 VFs [16:17:55] [PASSED] 32 VFs [16:17:55] [PASSED] 33 VFs [16:17:55] [PASSED] 34 VFs [16:17:55] [PASSED] 35 VFs [16:17:55] [PASSED] 36 VFs [16:17:55] [PASSED] 37 VFs [16:17:55] [PASSED] 38 VFs [16:17:55] [PASSED] 39 VFs [16:17:55] [PASSED] 40 VFs [16:17:55] [PASSED] 41 VFs [16:17:55] [PASSED] 42 VFs [16:17:55] [PASSED] 43 VFs [16:17:55] [PASSED] 44 VFs [16:17:55] [PASSED] 45 VFs [16:17:55] [PASSED] 46 VFs [16:17:55] [PASSED] 47 VFs [16:17:55] [PASSED] 48 VFs [16:17:55] [PASSED] 49 VFs [16:17:55] [PASSED] 50 VFs [16:17:55] [PASSED] 51 VFs [16:17:55] [PASSED] 52 VFs [16:17:55] [PASSED] 53 VFs [16:17:55] [PASSED] 54 VFs [16:17:55] [PASSED] 55 VFs [16:17:55] [PASSED] 56 VFs [16:17:55] [PASSED] 57 VFs [16:17:55] [PASSED] 58 VFs [16:17:55] [PASSED] 59 VFs [16:17:55] [PASSED] 60 VFs [16:17:55] [PASSED] 61 VFs [16:17:55] [PASSED] 62 VFs [16:17:55] [PASSED] 63 VFs [16:17:55] ================== [PASSED] fair_contexts ================== [16:17:55] ===================== fair_doorbells ====================== [16:17:55] [PASSED] 1 VF [16:17:55] [PASSED] 2 VFs [16:17:55] [PASSED] 3 VFs [16:17:55] [PASSED] 4 VFs [16:17:55] [PASSED] 5 VFs [16:17:55] [PASSED] 6 VFs [16:17:55] [PASSED] 7 VFs [16:17:55] [PASSED] 8 VFs [16:17:55] [PASSED] 9 VFs [16:17:55] [PASSED] 10 VFs [16:17:55] [PASSED] 11 VFs [16:17:55] [PASSED] 12 VFs [16:17:55] [PASSED] 13 VFs [16:17:55] [PASSED] 14 VFs [16:17:55] [PASSED] 15 VFs [16:17:55] [PASSED] 16 VFs [16:17:55] [PASSED] 17 VFs [16:17:55] [PASSED] 18 VFs [16:17:55] [PASSED] 19 VFs [16:17:55] [PASSED] 20 VFs [16:17:55] [PASSED] 21 VFs [16:17:55] [PASSED] 22 VFs [16:17:55] [PASSED] 23 VFs [16:17:55] [PASSED] 24 VFs [16:17:55] [PASSED] 25 VFs [16:17:55] [PASSED] 26 VFs [16:17:55] [PASSED] 27 VFs [16:17:55] [PASSED] 28 VFs [16:17:55] [PASSED] 29 VFs [16:17:55] [PASSED] 30 VFs [16:17:55] [PASSED] 31 VFs [16:17:55] [PASSED] 32 VFs [16:17:55] [PASSED] 33 VFs [16:17:55] [PASSED] 34 VFs [16:17:55] [PASSED] 35 VFs [16:17:55] [PASSED] 36 VFs [16:17:55] [PASSED] 37 VFs [16:17:55] [PASSED] 38 VFs [16:17:55] [PASSED] 39 VFs [16:17:55] [PASSED] 40 VFs [16:17:55] [PASSED] 41 VFs [16:17:55] [PASSED] 42 VFs [16:17:55] [PASSED] 43 VFs [16:17:55] [PASSED] 44 VFs [16:17:55] [PASSED] 45 VFs [16:17:55] [PASSED] 46 VFs [16:17:55] [PASSED] 47 VFs [16:17:55] [PASSED] 48 VFs [16:17:55] [PASSED] 49 VFs [16:17:55] [PASSED] 50 VFs [16:17:55] [PASSED] 51 VFs [16:17:55] [PASSED] 52 VFs [16:17:55] [PASSED] 53 VFs [16:17:55] [PASSED] 54 VFs [16:17:55] [PASSED] 55 VFs [16:17:55] [PASSED] 56 VFs [16:17:55] [PASSED] 57 VFs [16:17:55] [PASSED] 58 VFs [16:17:55] [PASSED] 59 VFs [16:17:55] [PASSED] 60 VFs [16:17:55] [PASSED] 61 VFs [16:17:55] [PASSED] 62 VFs [16:17:55] [PASSED] 63 VFs [16:17:55] ================= [PASSED] fair_doorbells ================== [16:17:55] ======================== fair_ggtt ======================== [16:17:55] [PASSED] 1 VF [16:17:55] [PASSED] 2 VFs [16:17:55] [PASSED] 3 VFs [16:17:55] [PASSED] 4 VFs [16:17:55] [PASSED] 5 VFs [16:17:55] [PASSED] 6 VFs [16:17:55] [PASSED] 7 VFs [16:17:55] [PASSED] 8 VFs [16:17:55] [PASSED] 9 VFs [16:17:55] [PASSED] 10 VFs [16:17:55] [PASSED] 11 VFs [16:17:55] [PASSED] 12 VFs [16:17:55] [PASSED] 13 VFs [16:17:55] [PASSED] 14 VFs [16:17:55] [PASSED] 15 VFs [16:17:55] [PASSED] 16 VFs [16:17:55] [PASSED] 17 VFs [16:17:55] [PASSED] 18 VFs [16:17:55] [PASSED] 19 VFs [16:17:55] [PASSED] 20 VFs [16:17:55] [PASSED] 21 VFs [16:17:55] [PASSED] 22 VFs [16:17:55] [PASSED] 23 VFs [16:17:55] [PASSED] 24 VFs [16:17:55] [PASSED] 25 VFs [16:17:55] [PASSED] 26 VFs [16:17:55] [PASSED] 27 VFs [16:17:55] [PASSED] 28 VFs [16:17:55] [PASSED] 29 VFs [16:17:55] [PASSED] 30 VFs [16:17:55] [PASSED] 31 VFs [16:17:55] [PASSED] 32 VFs [16:17:55] [PASSED] 33 VFs [16:17:55] [PASSED] 34 VFs [16:17:55] [PASSED] 35 VFs [16:17:55] [PASSED] 36 VFs [16:17:55] [PASSED] 37 VFs [16:17:55] [PASSED] 38 VFs [16:17:55] [PASSED] 39 VFs [16:17:55] [PASSED] 40 VFs [16:17:55] [PASSED] 41 VFs [16:17:55] [PASSED] 42 VFs [16:17:55] [PASSED] 43 VFs [16:17:55] [PASSED] 44 VFs [16:17:55] [PASSED] 45 VFs [16:17:55] [PASSED] 46 VFs [16:17:55] [PASSED] 47 VFs [16:17:55] [PASSED] 48 VFs [16:17:55] [PASSED] 49 VFs [16:17:55] [PASSED] 50 VFs [16:17:55] [PASSED] 51 VFs [16:17:55] [PASSED] 52 VFs [16:17:55] [PASSED] 53 VFs [16:17:55] [PASSED] 54 VFs [16:17:55] [PASSED] 55 VFs [16:17:55] [PASSED] 56 VFs [16:17:55] [PASSED] 57 VFs [16:17:55] [PASSED] 58 VFs [16:17:55] [PASSED] 59 VFs [16:17:55] [PASSED] 60 VFs [16:17:55] [PASSED] 61 VFs [16:17:55] [PASSED] 62 VFs [16:17:55] [PASSED] 63 VFs [16:17:55] ==================== [PASSED] fair_ggtt ==================== [16:17:55] ======================== fair_vram ======================== [16:17:55] [PASSED] 1 VF [16:17:55] [PASSED] 2 VFs [16:17:55] [PASSED] 3 VFs [16:17:55] [PASSED] 4 VFs [16:17:55] [PASSED] 5 VFs [16:17:55] [PASSED] 6 VFs [16:17:55] [PASSED] 7 VFs [16:17:55] [PASSED] 8 VFs [16:17:56] [PASSED] 9 VFs [16:17:56] [PASSED] 10 VFs [16:17:56] [PASSED] 11 VFs [16:17:56] [PASSED] 12 VFs [16:17:56] [PASSED] 13 VFs [16:17:56] [PASSED] 14 VFs [16:17:56] [PASSED] 15 VFs [16:17:56] [PASSED] 16 VFs [16:17:56] [PASSED] 17 VFs [16:17:56] [PASSED] 18 VFs [16:17:56] [PASSED] 19 VFs [16:17:56] [PASSED] 20 VFs [16:17:56] [PASSED] 21 VFs [16:17:56] [PASSED] 22 VFs [16:17:56] [PASSED] 23 VFs [16:17:56] [PASSED] 24 VFs [16:17:56] [PASSED] 25 VFs [16:17:56] [PASSED] 26 VFs [16:17:56] [PASSED] 27 VFs [16:17:56] [PASSED] 28 VFs [16:17:56] [PASSED] 29 VFs [16:17:56] [PASSED] 30 VFs [16:17:56] [PASSED] 31 VFs [16:17:56] [PASSED] 32 VFs [16:17:56] [PASSED] 33 VFs [16:17:56] [PASSED] 34 VFs [16:17:56] [PASSED] 35 VFs [16:17:56] [PASSED] 36 VFs [16:17:56] [PASSED] 37 VFs [16:17:56] [PASSED] 38 VFs [16:17:56] [PASSED] 39 VFs [16:17:56] [PASSED] 40 VFs [16:17:56] [PASSED] 41 VFs [16:17:56] [PASSED] 42 VFs [16:17:56] [PASSED] 43 VFs [16:17:56] [PASSED] 44 VFs [16:17:56] [PASSED] 45 VFs [16:17:56] [PASSED] 46 VFs [16:17:56] [PASSED] 47 VFs [16:17:56] [PASSED] 48 VFs [16:17:56] [PASSED] 49 VFs [16:17:56] [PASSED] 50 VFs [16:17:56] [PASSED] 51 VFs [16:17:56] [PASSED] 52 VFs [16:17:56] [PASSED] 53 VFs [16:17:56] [PASSED] 54 VFs [16:17:56] [PASSED] 55 VFs [16:17:56] [PASSED] 56 VFs [16:17:56] [PASSED] 57 VFs [16:17:56] [PASSED] 58 VFs [16:17:56] [PASSED] 59 VFs [16:17:56] [PASSED] 60 VFs [16:17:56] [PASSED] 61 VFs [16:17:56] [PASSED] 62 VFs [16:17:56] [PASSED] 63 VFs [16:17:56] ==================== [PASSED] fair_vram ==================== [16:17:56] ================== [PASSED] pf_gt_config =================== [16:17:56] ===================== lmtt (1 subtest) ===================== [16:17:56] ======================== test_ops ========================= [16:17:56] [PASSED] 2-level [16:17:56] [PASSED] multi-level [16:17:56] ==================== [PASSED] test_ops ===================== [16:17:56] ====================== [PASSED] lmtt ======================= [16:17:56] ================= sriov_packet (1 subtest) ================= [16:17:56] [PASSED] test_descriptor_init [16:17:56] ================== [PASSED] sriov_packet =================== [16:17:56] ================= pf_service (11 subtests) ================= [16:17:56] [PASSED] pf_negotiate_any [16:17:56] [PASSED] pf_negotiate_base_match [16:17:56] [PASSED] pf_negotiate_base_newer [16:17:56] [PASSED] pf_negotiate_base_next [16:17:56] [SKIPPED] pf_negotiate_base_older (no older minor) [16:17:56] [PASSED] pf_negotiate_base_prev [16:17:56] [PASSED] pf_negotiate_latest_match [16:17:56] [PASSED] pf_negotiate_latest_newer [16:17:56] [PASSED] pf_negotiate_latest_next [16:17:56] [SKIPPED] pf_negotiate_latest_older (no older minor) [16:17:56] [SKIPPED] pf_negotiate_latest_prev (no prev major) [16:17:56] =================== [PASSED] pf_service ==================== [16:17:56] ================= xe_guc_g2g (2 subtests) ================== [16:17:56] ============== xe_live_guc_g2g_kunit_default ============== [16:17:56] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ========== [16:17:56] ============== xe_live_guc_g2g_kunit_allmem =============== [16:17:56] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ========== [16:17:56] =================== [SKIPPED] xe_guc_g2g =================== [16:17:56] =================== xe_mocs (2 subtests) =================== [16:17:56] ================ xe_live_mocs_kernel_kunit ================ [16:17:56] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============ [16:17:56] ================ xe_live_mocs_reset_kunit ================= [16:17:56] ============ [SKIPPED] xe_live_mocs_reset_kunit ============ [16:17:56] ==================== [SKIPPED] xe_mocs ===================== [16:17:56] ================= xe_migrate (2 subtests) ================== [16:17:56] ================= xe_migrate_sanity_kunit ================= [16:17:56] ============ [SKIPPED] xe_migrate_sanity_kunit ============= [16:17:56] ================== xe_validate_ccs_kunit ================== [16:17:56] ============= [SKIPPED] xe_validate_ccs_kunit ============== [16:17:56] =================== [SKIPPED] xe_migrate =================== [16:17:56] ================== xe_dma_buf (1 subtest) ================== [16:17:56] ==================== xe_dma_buf_kunit ===================== [16:17:56] ================ [SKIPPED] xe_dma_buf_kunit ================ [16:17:56] =================== [SKIPPED] xe_dma_buf =================== [16:17:56] ================= xe_bo_shrink (1 subtest) ================= [16:17:56] =================== xe_bo_shrink_kunit ==================== [16:17:56] =============== [SKIPPED] xe_bo_shrink_kunit =============== [16:17:56] ================== [SKIPPED] xe_bo_shrink ================== [16:17:56] ==================== xe_bo (2 subtests) ==================== [16:17:56] ================== xe_ccs_migrate_kunit =================== [16:17:56] ============== [SKIPPED] xe_ccs_migrate_kunit ============== [16:17:56] ==================== xe_bo_evict_kunit ==================== [16:17:56] =============== [SKIPPED] xe_bo_evict_kunit ================ [16:17:56] ===================== [SKIPPED] xe_bo ====================== [16:17:56] ==================== args (13 subtests) ==================== [16:17:56] [PASSED] count_args_test [16:17:56] [PASSED] call_args_example [16:17:56] [PASSED] call_args_test [16:17:56] [PASSED] drop_first_arg_example [16:17:56] [PASSED] drop_first_arg_test [16:17:56] [PASSED] first_arg_example [16:17:56] [PASSED] first_arg_test [16:17:56] [PASSED] last_arg_example [16:17:56] [PASSED] last_arg_test [16:17:56] [PASSED] pick_arg_example [16:17:56] [PASSED] if_args_example [16:17:56] [PASSED] if_args_test [16:17:56] [PASSED] sep_comma_example [16:17:56] ====================== [PASSED] args ======================= [16:17:56] =================== xe_pci (3 subtests) ==================== [16:17:56] ==================== check_graphics_ip ==================== [16:17:56] [PASSED] 12.00 Xe_LP [16:17:56] [PASSED] 12.10 Xe_LP+ [16:17:56] [PASSED] 12.55 Xe_HPG [16:17:56] [PASSED] 12.60 Xe_HPC [16:17:56] [PASSED] 12.70 Xe_LPG [16:17:56] [PASSED] 12.71 Xe_LPG [16:17:56] [PASSED] 12.74 Xe_LPG+ [16:17:56] [PASSED] 20.01 Xe2_HPG [16:17:56] [PASSED] 20.02 Xe2_HPG [16:17:56] [PASSED] 20.04 Xe2_LPG [16:17:56] [PASSED] 30.00 Xe3_LPG [16:17:56] [PASSED] 30.01 Xe3_LPG [16:17:56] [PASSED] 30.03 Xe3_LPG [16:17:56] [PASSED] 30.04 Xe3_LPG [16:17:56] [PASSED] 30.05 Xe3_LPG [16:17:56] [PASSED] 35.10 Xe3p_LPG [16:17:56] [PASSED] 35.11 Xe3p_XPC [16:17:56] ================ [PASSED] check_graphics_ip ================ [16:17:56] ===================== check_media_ip ====================== [16:17:56] [PASSED] 12.00 Xe_M [16:17:56] [PASSED] 12.55 Xe_HPM [16:17:56] [PASSED] 13.00 Xe_LPM+ [16:17:56] [PASSED] 13.01 Xe2_HPM [16:17:56] [PASSED] 20.00 Xe2_LPM [16:17:56] [PASSED] 30.00 Xe3_LPM [16:17:56] [PASSED] 30.02 Xe3_LPM [16:17:56] [PASSED] 35.00 Xe3p_LPM [16:17:56] [PASSED] 35.03 Xe3p_HPM [16:17:56] ================= [PASSED] check_media_ip ================== [16:17:56] =================== check_platform_desc =================== [16:17:56] [PASSED] 0x9A60 (TIGERLAKE) [16:17:56] [PASSED] 0x9A68 (TIGERLAKE) [16:17:56] [PASSED] 0x9A70 (TIGERLAKE) [16:17:56] [PASSED] 0x9A40 (TIGERLAKE) [16:17:56] [PASSED] 0x9A49 (TIGERLAKE) [16:17:56] [PASSED] 0x9A59 (TIGERLAKE) [16:17:56] [PASSED] 0x9A78 (TIGERLAKE) [16:17:56] [PASSED] 0x9AC0 (TIGERLAKE) [16:17:56] [PASSED] 0x9AC9 (TIGERLAKE) [16:17:56] [PASSED] 0x9AD9 (TIGERLAKE) [16:17:56] [PASSED] 0x9AF8 (TIGERLAKE) [16:17:56] [PASSED] 0x4C80 (ROCKETLAKE) [16:17:56] [PASSED] 0x4C8A (ROCKETLAKE) [16:17:56] [PASSED] 0x4C8B (ROCKETLAKE) [16:17:56] [PASSED] 0x4C8C (ROCKETLAKE) [16:17:56] [PASSED] 0x4C90 (ROCKETLAKE) [16:17:56] [PASSED] 0x4C9A (ROCKETLAKE) [16:17:56] [PASSED] 0x4680 (ALDERLAKE_S) [16:17:56] [PASSED] 0x4682 (ALDERLAKE_S) [16:17:56] [PASSED] 0x4688 (ALDERLAKE_S) [16:17:56] [PASSED] 0x468A (ALDERLAKE_S) [16:17:56] [PASSED] 0x468B (ALDERLAKE_S) [16:17:56] [PASSED] 0x4690 (ALDERLAKE_S) [16:17:56] [PASSED] 0x4692 (ALDERLAKE_S) [16:17:56] [PASSED] 0x4693 (ALDERLAKE_S) [16:17:56] [PASSED] 0x46A0 (ALDERLAKE_P) [16:17:56] [PASSED] 0x46A1 (ALDERLAKE_P) [16:17:56] [PASSED] 0x46A2 (ALDERLAKE_P) [16:17:56] [PASSED] 0x46A3 (ALDERLAKE_P) [16:17:56] [PASSED] 0x46A6 (ALDERLAKE_P) [16:17:56] [PASSED] 0x46A8 (ALDERLAKE_P) [16:17:56] [PASSED] 0x46AA (ALDERLAKE_P) [16:17:56] [PASSED] 0x462A (ALDERLAKE_P) [16:17:56] [PASSED] 0x4626 (ALDERLAKE_P) [16:17:56] [PASSED] 0x4628 (ALDERLAKE_P) [16:17:56] [PASSED] 0x46B0 (ALDERLAKE_P) [16:17:56] [PASSED] 0x46B1 (ALDERLAKE_P) [16:17:56] [PASSED] 0x46B2 (ALDERLAKE_P) [16:17:56] [PASSED] 0x46B3 (ALDERLAKE_P) [16:17:56] [PASSED] 0x46C0 (ALDERLAKE_P) [16:17:56] [PASSED] 0x46C1 (ALDERLAKE_P) [16:17:56] [PASSED] 0x46C2 (ALDERLAKE_P) [16:17:56] [PASSED] 0x46C3 (ALDERLAKE_P) [16:17:56] [PASSED] 0x46D0 (ALDERLAKE_N) [16:17:56] [PASSED] 0x46D1 (ALDERLAKE_N) [16:17:56] [PASSED] 0x46D2 (ALDERLAKE_N) [16:17:56] [PASSED] 0x46D3 (ALDERLAKE_N) [16:17:56] [PASSED] 0x46D4 (ALDERLAKE_N) [16:17:56] [PASSED] 0xA721 (ALDERLAKE_P) [16:17:56] [PASSED] 0xA7A1 (ALDERLAKE_P) [16:17:56] [PASSED] 0xA7A9 (ALDERLAKE_P) [16:17:56] [PASSED] 0xA7AC (ALDERLAKE_P) [16:17:56] [PASSED] 0xA7AD (ALDERLAKE_P) [16:17:56] [PASSED] 0xA720 (ALDERLAKE_P) [16:17:56] [PASSED] 0xA7A0 (ALDERLAKE_P) [16:17:56] [PASSED] 0xA7A8 (ALDERLAKE_P) [16:17:56] [PASSED] 0xA7AA (ALDERLAKE_P) [16:17:56] [PASSED] 0xA7AB (ALDERLAKE_P) [16:17:56] [PASSED] 0xA780 (ALDERLAKE_S) [16:17:56] [PASSED] 0xA781 (ALDERLAKE_S) [16:17:56] [PASSED] 0xA782 (ALDERLAKE_S) [16:17:56] [PASSED] 0xA783 (ALDERLAKE_S) [16:17:56] [PASSED] 0xA788 (ALDERLAKE_S) [16:17:56] [PASSED] 0xA789 (ALDERLAKE_S) [16:17:56] [PASSED] 0xA78A (ALDERLAKE_S) [16:17:56] [PASSED] 0xA78B (ALDERLAKE_S) [16:17:56] [PASSED] 0x4905 (DG1) [16:17:56] [PASSED] 0x4906 (DG1) [16:17:56] [PASSED] 0x4907 (DG1) [16:17:56] [PASSED] 0x4908 (DG1) [16:17:56] [PASSED] 0x4909 (DG1) [16:17:56] [PASSED] 0x56C0 (DG2) [16:17:56] [PASSED] 0x56C2 (DG2) [16:17:56] [PASSED] 0x56C1 (DG2) [16:17:56] [PASSED] 0x7D51 (METEORLAKE) [16:17:56] [PASSED] 0x7DD1 (METEORLAKE) [16:17:56] [PASSED] 0x7D41 (METEORLAKE) [16:17:56] [PASSED] 0x7D67 (METEORLAKE) [16:17:56] [PASSED] 0xB640 (METEORLAKE) [16:17:56] [PASSED] 0x56A0 (DG2) [16:17:56] [PASSED] 0x56A1 (DG2) [16:17:56] [PASSED] 0x56A2 (DG2) [16:17:56] [PASSED] 0x56BE (DG2) [16:17:56] [PASSED] 0x56BF (DG2) [16:17:56] [PASSED] 0x5690 (DG2) [16:17:56] [PASSED] 0x5691 (DG2) [16:17:56] [PASSED] 0x5692 (DG2) [16:17:56] [PASSED] 0x56A5 (DG2) [16:17:56] [PASSED] 0x56A6 (DG2) [16:17:56] [PASSED] 0x56B0 (DG2) [16:17:56] [PASSED] 0x56B1 (DG2) [16:17:56] [PASSED] 0x56BA (DG2) [16:17:56] [PASSED] 0x56BB (DG2) [16:17:56] [PASSED] 0x56BC (DG2) [16:17:56] [PASSED] 0x56BD (DG2) [16:17:56] [PASSED] 0x5693 (DG2) [16:17:56] [PASSED] 0x5694 (DG2) [16:17:56] [PASSED] 0x5695 (DG2) [16:17:56] [PASSED] 0x56A3 (DG2) [16:17:56] [PASSED] 0x56A4 (DG2) [16:17:56] [PASSED] 0x56B2 (DG2) [16:17:56] [PASSED] 0x56B3 (DG2) [16:17:56] [PASSED] 0x5696 (DG2) [16:17:56] [PASSED] 0x5697 (DG2) [16:17:56] [PASSED] 0xB69 (PVC) [16:17:56] [PASSED] 0xB6E (PVC) [16:17:56] [PASSED] 0xBD4 (PVC) [16:17:56] [PASSED] 0xBD5 (PVC) [16:17:56] [PASSED] 0xBD6 (PVC) [16:17:56] [PASSED] 0xBD7 (PVC) [16:17:56] [PASSED] 0xBD8 (PVC) [16:17:56] [PASSED] 0xBD9 (PVC) [16:17:56] [PASSED] 0xBDA (PVC) [16:17:56] [PASSED] 0xBDB (PVC) [16:17:56] [PASSED] 0xBE0 (PVC) [16:17:56] [PASSED] 0xBE1 (PVC) [16:17:56] [PASSED] 0xBE5 (PVC) [16:17:56] [PASSED] 0x7D40 (METEORLAKE) [16:17:56] [PASSED] 0x7D45 (METEORLAKE) [16:17:56] [PASSED] 0x7D55 (METEORLAKE) [16:17:56] [PASSED] 0x7D60 (METEORLAKE) [16:17:56] [PASSED] 0x7DD5 (METEORLAKE) [16:17:56] [PASSED] 0x6420 (LUNARLAKE) [16:17:56] [PASSED] 0x64A0 (LUNARLAKE) [16:17:56] [PASSED] 0x64B0 (LUNARLAKE) [16:17:56] [PASSED] 0xE202 (BATTLEMAGE) [16:17:56] [PASSED] 0xE209 (BATTLEMAGE) [16:17:56] [PASSED] 0xE20B (BATTLEMAGE) [16:17:56] [PASSED] 0xE20C (BATTLEMAGE) [16:17:56] [PASSED] 0xE20D (BATTLEMAGE) [16:17:56] [PASSED] 0xE210 (BATTLEMAGE) [16:17:56] [PASSED] 0xE211 (BATTLEMAGE) [16:17:56] [PASSED] 0xE212 (BATTLEMAGE) [16:17:56] [PASSED] 0xE216 (BATTLEMAGE) [16:17:56] [PASSED] 0xE220 (BATTLEMAGE) [16:17:56] [PASSED] 0xE221 (BATTLEMAGE) [16:17:56] [PASSED] 0xE222 (BATTLEMAGE) [16:17:56] [PASSED] 0xE223 (BATTLEMAGE) [16:17:56] [PASSED] 0xB080 (PANTHERLAKE) [16:17:56] [PASSED] 0xB081 (PANTHERLAKE) [16:17:56] [PASSED] 0xB082 (PANTHERLAKE) [16:17:56] [PASSED] 0xB083 (PANTHERLAKE) [16:17:56] [PASSED] 0xB084 (PANTHERLAKE) [16:17:56] [PASSED] 0xB085 (PANTHERLAKE) [16:17:56] [PASSED] 0xB086 (PANTHERLAKE) [16:17:56] [PASSED] 0xB087 (PANTHERLAKE) [16:17:56] [PASSED] 0xB08F (PANTHERLAKE) [16:17:56] [PASSED] 0xB090 (PANTHERLAKE) [16:17:56] [PASSED] 0xB0A0 (PANTHERLAKE) [16:17:56] [PASSED] 0xB0B0 (PANTHERLAKE) [16:17:56] [PASSED] 0xFD80 (PANTHERLAKE) [16:17:56] [PASSED] 0xFD81 (PANTHERLAKE) [16:17:56] [PASSED] 0xD740 (NOVALAKE_S) [16:17:56] [PASSED] 0xD741 (NOVALAKE_S) [16:17:56] [PASSED] 0xD742 (NOVALAKE_S) [16:17:56] [PASSED] 0xD743 (NOVALAKE_S) [16:17:56] [PASSED] 0xD745 (NOVALAKE_S) [16:17:56] [PASSED] 0xD74A (NOVALAKE_S) [16:17:56] [PASSED] 0xD74B (NOVALAKE_S) [16:17:56] [PASSED] 0x674C (CRESCENTISLAND) [16:17:56] [PASSED] 0x674D (CRESCENTISLAND) [16:17:56] [PASSED] 0x674E (CRESCENTISLAND) [16:17:56] [PASSED] 0x674F (CRESCENTISLAND) [16:17:56] [PASSED] 0x6750 (CRESCENTISLAND) [16:17:56] [PASSED] 0xD750 (NOVALAKE_P) [16:17:56] [PASSED] 0xD751 (NOVALAKE_P) [16:17:56] [PASSED] 0xD752 (NOVALAKE_P) [16:17:56] [PASSED] 0xD753 (NOVALAKE_P) [16:17:56] [PASSED] 0xD754 (NOVALAKE_P) [16:17:56] [PASSED] 0xD755 (NOVALAKE_P) [16:17:56] [PASSED] 0xD756 (NOVALAKE_P) [16:17:56] [PASSED] 0xD757 (NOVALAKE_P) [16:17:56] [PASSED] 0xD75F (NOVALAKE_P) [16:17:56] =============== [PASSED] check_platform_desc =============== [16:17:56] ===================== [PASSED] xe_pci ====================== [16:17:56] ============= xe_rtp_tables_test (5 subtests) ============== [16:17:56] ================== xe_rtp_table_gt_test =================== [16:17:56] [PASSED] gt_was/14011060649 [16:17:56] [PASSED] gt_was/14011059788 [16:17:56] [PASSED] gt_was/14015795083 [16:17:56] [PASSED] gt_was/16021867713 [16:17:56] [PASSED] gt_was/14019449301 [16:17:56] [PASSED] gt_was/16028005424 [16:17:56] [PASSED] gt_was/14026578760 [16:17:56] [PASSED] gt_was/1409420604 [16:17:56] [PASSED] gt_was/1408615072 [16:17:56] [PASSED] gt_was/22010523718 [16:17:56] [PASSED] gt_was/14011006942 [16:17:56] [PASSED] gt_was/14014830051 [16:17:56] [PASSED] gt_was/18018781329 [16:17:56] [PASSED] gt_was/1509235366 [16:17:56] [PASSED] gt_was/18018781329 [16:17:56] [PASSED] gt_was/16016694945 [16:17:56] [PASSED] gt_was/14018575942 [16:17:56] [PASSED] gt_was/22016670082 [16:17:56] [PASSED] gt_was/22016670082 [16:17:56] [PASSED] gt_was/14017421178 [16:17:56] [PASSED] gt_was/16025250150 [16:17:56] [PASSED] gt_was/14021871409 [16:17:56] [PASSED] gt_was/16021865536 [16:17:56] [PASSED] gt_was/14021486841 [16:17:56] [PASSED] gt_was/14025160223 [16:17:56] [PASSED] gt_was/14026144927, 16029437861, 14026127056 [16:17:56] [PASSED] gt_was/14025635424 [16:17:56] [PASSED] gt_was/16028005424 [16:17:56] ============== [PASSED] xe_rtp_table_gt_test =============== [16:17:56] ================== xe_rtp_table_gt_test =================== [16:17:56] [PASSED] gt_tunings/Tuning: Blend Fill Caching Optimization Disable [16:17:56] [PASSED] gt_tunings/Tuning: 32B Access Enable [16:17:56] [PASSED] gt_tunings/Tuning: L3 cache [16:17:56] [PASSED] gt_tunings/Tuning: L3 cache - media [16:17:56] [PASSED] gt_tunings/Tuning: Compression Overfetch [16:17:56] [PASSED] gt_tunings/Tuning: Compression Overfetch - media [16:17:56] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3 [16:17:56] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3 - media [16:17:56] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only [16:17:56] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only - media [16:17:56] [PASSED] gt_tunings/Tuning: Stateless compression control [16:17:56] [PASSED] gt_tunings/Tuning: Stateless compression control - media [16:17:56] [PASSED] gt_tunings/Tuning: L3 RW flush all Cache [16:17:56] [PASSED] gt_tunings/Tuning: L3 RW flush all cache - media [16:17:56] [PASSED] gt_tunings/Tuning: Set STLB Bank Hash Mode to 4KB [16:17:56] ============== [PASSED] xe_rtp_table_gt_test =============== [16:17:56] ================== xe_rtp_table_oob_test ================== [16:17:56] [PASSED] oob_was/1607983814 [16:17:56] [PASSED] oob_was/16010904313 [16:17:56] [PASSED] oob_was/18022495364 [16:17:56] [PASSED] oob_was/22012773006 [16:17:56] [PASSED] oob_was/14014475959 [16:17:56] [PASSED] oob_was/22011391025 [16:17:56] [PASSED] oob_was/22012727170 [16:17:56] [PASSED] oob_was/22012727685 [16:17:56] [PASSED] oob_was/22016596838 [16:17:56] [PASSED] oob_was/18020744125 [16:17:56] [PASSED] oob_was/1409600907 [16:17:56] [PASSED] oob_was/22014953428 [16:17:56] [PASSED] oob_was/16017236439 [16:17:56] [PASSED] oob_was/14019821291 [16:17:56] [PASSED] oob_was/14015076503 [16:17:56] [PASSED] oob_was/14018913170 [16:17:56] [PASSED] oob_was/14018094691 [16:17:56] [PASSED] oob_was/18024947630 [16:17:56] [PASSED] oob_was/16022287689 [16:17:56] [PASSED] oob_was/13011645652 [16:17:56] [PASSED] oob_was/14022293748 [16:17:56] [PASSED] oob_was/22019794406 [16:17:56] [PASSED] oob_was/22019338487 [16:17:56] [PASSED] oob_was/16023588340 [16:17:56] [PASSED] oob_was/14019789679 [16:17:56] [PASSED] oob_was/14022866841 [16:17:56] [PASSED] oob_was/16021333562 [16:17:56] [PASSED] oob_was/14016712196 [16:17:56] [PASSED] oob_was/14015568240 [16:17:56] [PASSED] oob_was/18013179988 [16:17:56] [PASSED] oob_was/1508761755 [16:17:56] [PASSED] oob_was/16023105232 [16:17:56] [PASSED] oob_was/16026508708 [16:17:56] [PASSED] oob_was/14020001231 [16:17:56] [PASSED] oob_was/16023683509 [16:17:56] [PASSED] oob_was/14025515070 [16:17:56] [PASSED] oob_was/15015404425_disable [16:17:56] [PASSED] oob_was/16026007364 [16:17:56] [PASSED] oob_was/14020316580 [16:17:56] [PASSED] oob_was/14025883347 [16:17:56] [PASSED] oob_was/16029380221 [16:17:56] [PASSED] oob_was/22022079272 [16:17:56] [PASSED] oob_was/16029897822 [16:17:56] [PASSED] oob_was/14027054324 [16:17:56] ============== [PASSED] xe_rtp_table_oob_test ============== [16:17:56] ================ xe_rtp_table_dev_oob_test ================ [16:17:56] [PASSED] device_oob_was/22010954014 [16:17:56] [PASSED] device_oob_was/15015404425 [16:17:56] [PASSED] device_oob_was/22019338487_display [16:17:56] [PASSED] device_oob_was/14022085890 [16:17:56] [PASSED] device_oob_was/14026539277 [16:17:56] [PASSED] device_oob_was/14026633728 [16:17:56] [PASSED] device_oob_was/14026746987 [16:17:56] [PASSED] device_oob_was/14026779378 [16:17:56] ============ [PASSED] xe_rtp_table_dev_oob_test ============ [16:17:56] ========== xe_rtp_table_missing_upper_bound_test ========== [16:17:56] [PASSED] register_whitelist/WaAllowPMDepthAndInvocationCountAccessFromUMD, 1408556865 [16:17:56] [PASSED] register_whitelist/1508744258, 14012131227, 1808121037 [16:17:56] [PASSED] register_whitelist/1806527549 [16:17:56] [PASSED] register_whitelist/allow_read_ctx_timestamp [16:17:56] [PASSED] register_whitelist/allow_read_queue_timestamp [16:17:56] [PASSED] register_whitelist/16014440446 [16:17:56] [PASSED] register_whitelist/16017236439 [16:17:56] [PASSED] register_whitelist/16020183090 [16:17:56] [PASSED] register_whitelist/14024997852 [16:17:56] [PASSED] register_whitelist/14024997852 [16:17:56] ====== [PASSED] xe_rtp_table_missing_upper_bound_test ====== [16:17:56] =============== [PASSED] xe_rtp_tables_test ================ [16:17:56] =================== xe_rtp (3 subtests) ==================== [16:17:56] =================== xe_rtp_rules_tests ==================== [16:17:56] [PASSED] no [16:17:56] [PASSED] yes [16:17:56] [PASSED] no-and-no [16:17:56] [PASSED] no-and-yes [16:17:56] [PASSED] yes-and-no [16:17:56] [PASSED] yes-and-yes [16:17:56] [PASSED] no-or-no [16:17:56] [PASSED] no-or-yes [16:17:56] [PASSED] yes-or-no [16:17:56] [PASSED] yes-or-yes [16:17:56] [PASSED] no-yes-or-yes-no [16:17:56] [PASSED] no-yes-or-yes-yes [16:17:56] [PASSED] yes-yes-or-no-yes [16:17:56] [PASSED] yes-yes-or-yes-yes [16:17:56] [PASSED] no-no-or-yes-or-no [16:17:56] [PASSED] or [16:17:56] [PASSED] or-yes [16:17:56] [PASSED] or-no [16:17:56] [PASSED] yes-or [16:17:56] [PASSED] no-or [16:17:56] [PASSED] no-or-or-yes [16:17:56] [PASSED] yes-or-or-no [16:17:56] [PASSED] no-or-or-no [16:17:56] [PASSED] missing-context-engine-class [16:17:56] [PASSED] missing-context-engine-class-or-yes [16:17:56] [PASSED] missing-context-engine-class-or-or-yes [16:17:56] =============== [PASSED] xe_rtp_rules_tests ================ [16:17:56] =============== xe_rtp_process_to_sr_tests ================ [16:17:56] [PASSED] coalesce-same-reg [16:17:56] [PASSED] coalesce-same-reg-literal-and-func [16:17:56] [PASSED] no-match-no-add [16:17:56] [PASSED] two-regs-two-entries [16:17:56] [PASSED] clr-one-set-other [16:17:56] [PASSED] set-field [16:17:56] [PASSED] conflict-duplicate [16:17:56] [PASSED] conflict-not-disjoint [16:17:56] [PASSED] conflict-not-disjoint-literal-and-func [16:17:56] [PASSED] conflict-reg-type [16:17:56] [PASSED] bad-mcr-reg-forced-to-regular [16:17:56] [PASSED] bad-regular-reg-forced-to-mcr [16:17:56] =========== [PASSED] xe_rtp_process_to_sr_tests ============ [16:17:56] ================== xe_rtp_process_tests =================== [16:17:56] [PASSED] active1 [16:17:56] [PASSED] active2 [16:17:56] [PASSED] active-inactive [16:17:56] [PASSED] inactive-active [16:17:56] [PASSED] inactive-active-inactive [16:17:56] [PASSED] inactive-inactive-inactive [16:17:56] ============== [PASSED] xe_rtp_process_tests =============== [16:17:56] ===================== [PASSED] xe_rtp ====================== [16:17:56] ==================== xe_wa (1 subtest) ===================== [16:17:56] ======================== xe_wa_gt ========================= [16:17:56] [PASSED] TIGERLAKE B0 [16:17:56] [PASSED] DG1 A0 [16:17:56] [PASSED] DG1 B0 [16:17:56] [PASSED] ALDERLAKE_S A0 [16:17:56] [PASSED] ALDERLAKE_S B0 [16:17:56] [PASSED] ALDERLAKE_S C0 [16:17:56] [PASSED] ALDERLAKE_S D0 [16:17:56] [PASSED] ALDERLAKE_P A0 [16:17:56] [PASSED] ALDERLAKE_P B0 [16:17:56] [PASSED] ALDERLAKE_P C0 [16:17:56] [PASSED] ALDERLAKE_S RPLS D0 [16:17:56] [PASSED] ALDERLAKE_P RPLU E0 [16:17:56] [PASSED] DG2 G10 C0 [16:17:56] [PASSED] DG2 G11 B1 [16:17:56] [PASSED] DG2 G12 A1 [16:17:56] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0 [16:17:56] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0 [16:17:56] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0 [16:17:56] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0 [16:17:56] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0 [16:17:56] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1 [16:17:56] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0 [16:17:56] ==================== [PASSED] xe_wa_gt ===================== [16:17:56] ====================== [PASSED] xe_wa ====================== [16:17:56] ============================================================ [16:17:56] Testing complete. Ran 769 tests: passed: 751, skipped: 18 [16:17:56] Elapsed time: 36.754s total, 4.366s configuring, 31.722s building, 0.656s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig [16:17:56] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [16:17:58] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48 [16:18:23] Starting KUnit Kernel (1/1)... [16:18:23] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [16:18:23] ============ drm_test_pick_cmdline (2 subtests) ============ [16:18:23] [PASSED] drm_test_pick_cmdline_res_1920_1080_60 [16:18:23] =============== drm_test_pick_cmdline_named =============== [16:18:23] [PASSED] NTSC [16:18:23] [PASSED] NTSC-J [16:18:23] [PASSED] PAL [16:18:23] [PASSED] PAL-M [16:18:23] =========== [PASSED] drm_test_pick_cmdline_named =========== [16:18:23] ============== [PASSED] drm_test_pick_cmdline ============== [16:18:23] == drm_test_atomic_get_connector_for_encoder (1 subtest) === [16:18:23] [PASSED] drm_test_drm_atomic_get_connector_for_encoder [16:18:23] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ==== [16:18:23] =========== drm_validate_clone_mode (2 subtests) =========== [16:18:23] ============== drm_test_check_in_clone_mode =============== [16:18:23] [PASSED] in_clone_mode [16:18:23] [PASSED] not_in_clone_mode [16:18:23] ========== [PASSED] drm_test_check_in_clone_mode =========== [16:18:23] =============== drm_test_check_valid_clones =============== [16:18:23] [PASSED] not_in_clone_mode [16:18:23] [PASSED] valid_clone [16:18:23] [PASSED] invalid_clone [16:18:23] =========== [PASSED] drm_test_check_valid_clones =========== [16:18:23] ============= [PASSED] drm_validate_clone_mode ============= [16:18:23] ============= drm_validate_modeset (1 subtest) ============= [16:18:23] [PASSED] drm_test_check_connector_changed_modeset [16:18:23] ============== [PASSED] drm_validate_modeset =============== [16:18:23] ====== drm_test_bridge_get_current_state (1 subtest) ======= [16:18:23] [PASSED] drm_test_drm_bridge_get_current_state_atomic [16:18:23] ======== [PASSED] drm_test_bridge_get_current_state ======== [16:18:23] ====== drm_test_bridge_helper_reset_crtc (3 subtests) ====== [16:18:23] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic [16:18:23] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled [16:18:23] [PASSED] drm_test_drm_bridge_helper_hdmi_output_bus_fmts [16:18:23] ======== [PASSED] drm_test_bridge_helper_reset_crtc ======== [16:18:23] ============== drm_bridge_alloc (2 subtests) =============== [16:18:23] [PASSED] drm_test_drm_bridge_alloc_basic [16:18:23] [PASSED] drm_test_drm_bridge_alloc_get_put [16:18:23] ================ [PASSED] drm_bridge_alloc ================= [16:18:23] ============= drm_bridge_bus_fmt (5 subtests) ============== [16:18:23] [PASSED] drm_test_bridge_rgb_yuv_rgb [16:18:23] [PASSED] drm_test_bridge_must_convert_to_yuv444 [16:18:23] [PASSED] drm_test_bridge_hdmi_auto_rgb [16:18:23] [PASSED] drm_test_bridge_auto_first [16:18:23] [PASSED] drm_test_bridge_rgb_yuv_no_path [16:18:23] =============== [PASSED] drm_bridge_bus_fmt ================ [16:18:23] ============= drm_cmdline_parser (40 subtests) ============= [16:18:23] [PASSED] drm_test_cmdline_force_d_only [16:18:23] [PASSED] drm_test_cmdline_force_D_only_dvi [16:18:23] [PASSED] drm_test_cmdline_force_D_only_hdmi [16:18:23] [PASSED] drm_test_cmdline_force_D_only_not_digital [16:18:23] [PASSED] drm_test_cmdline_force_e_only [16:18:23] [PASSED] drm_test_cmdline_res [16:18:23] [PASSED] drm_test_cmdline_res_vesa [16:18:23] [PASSED] drm_test_cmdline_res_vesa_rblank [16:18:23] [PASSED] drm_test_cmdline_res_rblank [16:18:23] [PASSED] drm_test_cmdline_res_bpp [16:18:23] [PASSED] drm_test_cmdline_res_refresh [16:18:23] [PASSED] drm_test_cmdline_res_bpp_refresh [16:18:23] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced [16:18:23] [PASSED] drm_test_cmdline_res_bpp_refresh_margins [16:18:23] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off [16:18:23] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on [16:18:23] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog [16:18:23] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital [16:18:23] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on [16:18:23] [PASSED] drm_test_cmdline_res_margins_force_on [16:18:23] [PASSED] drm_test_cmdline_res_vesa_margins [16:18:23] [PASSED] drm_test_cmdline_name [16:18:23] [PASSED] drm_test_cmdline_name_bpp [16:18:23] [PASSED] drm_test_cmdline_name_option [16:18:23] [PASSED] drm_test_cmdline_name_bpp_option [16:18:23] [PASSED] drm_test_cmdline_rotate_0 [16:18:23] [PASSED] drm_test_cmdline_rotate_90 [16:18:23] [PASSED] drm_test_cmdline_rotate_180 [16:18:23] [PASSED] drm_test_cmdline_rotate_270 [16:18:23] [PASSED] drm_test_cmdline_hmirror [16:18:23] [PASSED] drm_test_cmdline_vmirror [16:18:23] [PASSED] drm_test_cmdline_margin_options [16:18:23] [PASSED] drm_test_cmdline_multiple_options [16:18:23] [PASSED] drm_test_cmdline_bpp_extra_and_option [16:18:23] [PASSED] drm_test_cmdline_extra_and_option [16:18:23] [PASSED] drm_test_cmdline_freestanding_options [16:18:23] [PASSED] drm_test_cmdline_freestanding_force_e_and_options [16:18:23] [PASSED] drm_test_cmdline_panel_orientation [16:18:23] ================ drm_test_cmdline_invalid ================= [16:18:23] [PASSED] margin_only [16:18:23] [PASSED] interlace_only [16:18:23] [PASSED] res_missing_x [16:18:23] [PASSED] res_missing_y [16:18:23] [PASSED] res_bad_y [16:18:23] [PASSED] res_missing_y_bpp [16:18:23] [PASSED] res_bad_bpp [16:18:23] [PASSED] res_bad_refresh [16:18:23] [PASSED] res_bpp_refresh_force_on_off [16:18:23] [PASSED] res_invalid_mode [16:18:23] [PASSED] res_bpp_wrong_place_mode [16:18:23] [PASSED] name_bpp_refresh [16:18:23] [PASSED] name_refresh [16:18:23] [PASSED] name_refresh_wrong_mode [16:18:23] [PASSED] name_refresh_invalid_mode [16:18:23] [PASSED] rotate_multiple [16:18:23] [PASSED] rotate_invalid_val [16:18:23] [PASSED] rotate_truncated [16:18:23] [PASSED] invalid_option [16:18:23] [PASSED] invalid_tv_option [16:18:23] [PASSED] truncated_tv_option [16:18:23] ============ [PASSED] drm_test_cmdline_invalid ============= [16:18:23] =============== drm_test_cmdline_tv_options =============== [16:18:23] [PASSED] NTSC [16:18:23] [PASSED] NTSC_443 [16:18:23] [PASSED] NTSC_J [16:18:23] [PASSED] PAL [16:18:23] [PASSED] PAL_M [16:18:23] [PASSED] PAL_N [16:18:23] [PASSED] SECAM [16:18:23] [PASSED] MONO_525 [16:18:23] [PASSED] MONO_625 [16:18:23] =========== [PASSED] drm_test_cmdline_tv_options =========== [16:18:23] =============== [PASSED] drm_cmdline_parser ================ [16:18:23] ========== drmm_connector_hdmi_init (20 subtests) ========== [16:18:23] [PASSED] drm_test_connector_hdmi_init_valid [16:18:23] [PASSED] drm_test_connector_hdmi_init_bpc_8 [16:18:23] [PASSED] drm_test_connector_hdmi_init_bpc_10 [16:18:23] [PASSED] drm_test_connector_hdmi_init_bpc_12 [16:18:23] [PASSED] drm_test_connector_hdmi_init_bpc_invalid [16:18:23] [PASSED] drm_test_connector_hdmi_init_bpc_null [16:18:23] [PASSED] drm_test_connector_hdmi_init_formats_empty [16:18:23] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb [16:18:23] === drm_test_connector_hdmi_init_formats_yuv420_allowed === [16:18:23] [PASSED] supported_formats=0x9 yuv420_allowed=1 [16:18:23] [PASSED] supported_formats=0x9 yuv420_allowed=0 [16:18:23] [PASSED] supported_formats=0x5 yuv420_allowed=1 [16:18:23] [PASSED] supported_formats=0x5 yuv420_allowed=0 [16:18:23] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed === [16:18:23] [PASSED] drm_test_connector_hdmi_init_null_ddc [16:18:23] [PASSED] drm_test_connector_hdmi_init_null_product [16:18:23] [PASSED] drm_test_connector_hdmi_init_null_vendor [16:18:23] [PASSED] drm_test_connector_hdmi_init_product_length_exact [16:18:23] [PASSED] drm_test_connector_hdmi_init_product_length_too_long [16:18:23] [PASSED] drm_test_connector_hdmi_init_product_valid [16:18:23] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact [16:18:23] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long [16:18:23] [PASSED] drm_test_connector_hdmi_init_vendor_valid [16:18:23] ========= drm_test_connector_hdmi_init_type_valid ========= [16:18:23] [PASSED] HDMI-A [16:18:23] [PASSED] HDMI-B [16:18:23] ===== [PASSED] drm_test_connector_hdmi_init_type_valid ===== [16:18:23] ======== drm_test_connector_hdmi_init_type_invalid ======== [16:18:23] [PASSED] Unknown [16:18:23] [PASSED] VGA [16:18:23] [PASSED] DVI-I [16:18:23] [PASSED] DVI-D [16:18:23] [PASSED] DVI-A [16:18:23] [PASSED] Composite [16:18:23] [PASSED] SVIDEO [16:18:23] [PASSED] LVDS [16:18:23] [PASSED] Component [16:18:23] [PASSED] DIN [16:18:23] [PASSED] DP [16:18:23] [PASSED] TV [16:18:23] [PASSED] eDP [16:18:23] [PASSED] Virtual [16:18:23] [PASSED] DSI [16:18:23] [PASSED] DPI [16:18:23] [PASSED] Writeback [16:18:23] [PASSED] SPI [16:18:23] [PASSED] USB [16:18:23] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ==== [16:18:23] ============ [PASSED] drmm_connector_hdmi_init ============= [16:18:23] ============= drmm_connector_init (3 subtests) ============= [16:18:23] [PASSED] drm_test_drmm_connector_init [16:18:23] [PASSED] drm_test_drmm_connector_init_null_ddc [16:18:23] ========= drm_test_drmm_connector_init_type_valid ========= [16:18:23] [PASSED] Unknown [16:18:23] [PASSED] VGA [16:18:23] [PASSED] DVI-I [16:18:23] [PASSED] DVI-D [16:18:23] [PASSED] DVI-A [16:18:23] [PASSED] Composite [16:18:23] [PASSED] SVIDEO [16:18:23] [PASSED] LVDS [16:18:23] [PASSED] Component [16:18:23] [PASSED] DIN [16:18:23] [PASSED] DP [16:18:23] [PASSED] HDMI-A [16:18:23] [PASSED] HDMI-B [16:18:23] [PASSED] TV [16:18:23] [PASSED] eDP [16:18:23] [PASSED] Virtual [16:18:23] [PASSED] DSI [16:18:23] [PASSED] DPI [16:18:23] [PASSED] Writeback [16:18:23] [PASSED] SPI [16:18:23] [PASSED] USB [16:18:23] ===== [PASSED] drm_test_drmm_connector_init_type_valid ===== [16:18:23] =============== [PASSED] drmm_connector_init =============== [16:18:23] ========= drm_connector_dynamic_init (6 subtests) ========== [16:18:23] [PASSED] drm_test_drm_connector_dynamic_init [16:18:23] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc [16:18:23] [PASSED] drm_test_drm_connector_dynamic_init_not_added [16:18:23] [PASSED] drm_test_drm_connector_dynamic_init_properties [16:18:23] ===== drm_test_drm_connector_dynamic_init_type_valid ====== [16:18:23] [PASSED] Unknown [16:18:23] [PASSED] VGA [16:18:23] [PASSED] DVI-I [16:18:23] [PASSED] DVI-D [16:18:23] [PASSED] DVI-A [16:18:23] [PASSED] Composite [16:18:23] [PASSED] SVIDEO [16:18:23] [PASSED] LVDS [16:18:23] [PASSED] Component [16:18:23] [PASSED] DIN [16:18:23] [PASSED] DP [16:18:23] [PASSED] HDMI-A [16:18:23] [PASSED] HDMI-B [16:18:23] [PASSED] TV [16:18:23] [PASSED] eDP [16:18:23] [PASSED] Virtual [16:18:23] [PASSED] DSI [16:18:23] [PASSED] DPI [16:18:23] [PASSED] Writeback [16:18:23] [PASSED] SPI [16:18:23] [PASSED] USB [16:18:23] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid == [16:18:23] ======== drm_test_drm_connector_dynamic_init_name ========= [16:18:23] [PASSED] Unknown [16:18:23] [PASSED] VGA [16:18:23] [PASSED] DVI-I [16:18:23] [PASSED] DVI-D [16:18:23] [PASSED] DVI-A [16:18:23] [PASSED] Composite [16:18:23] [PASSED] SVIDEO [16:18:23] [PASSED] LVDS [16:18:23] [PASSED] Component [16:18:23] [PASSED] DIN [16:18:23] [PASSED] DP [16:18:23] [PASSED] HDMI-A [16:18:23] [PASSED] HDMI-B [16:18:23] [PASSED] TV [16:18:23] [PASSED] eDP [16:18:23] [PASSED] Virtual [16:18:23] [PASSED] DSI [16:18:23] [PASSED] DPI [16:18:23] [PASSED] Writeback [16:18:23] [PASSED] SPI [16:18:23] [PASSED] USB [16:18:23] ==== [PASSED] drm_test_drm_connector_dynamic_init_name ===== [16:18:23] =========== [PASSED] drm_connector_dynamic_init ============ [16:18:23] ==== drm_connector_dynamic_register_early (4 subtests) ===== [16:18:23] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list [16:18:23] [PASSED] drm_test_drm_connector_dynamic_register_early_defer [16:18:23] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init [16:18:23] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object [16:18:23] ====== [PASSED] drm_connector_dynamic_register_early ======= [16:18:23] ======= drm_connector_dynamic_register (7 subtests) ======== [16:18:23] [PASSED] drm_test_drm_connector_dynamic_register_on_list [16:18:23] [PASSED] drm_test_drm_connector_dynamic_register_no_defer [16:18:23] [PASSED] drm_test_drm_connector_dynamic_register_no_init [16:18:23] [PASSED] drm_test_drm_connector_dynamic_register_mode_object [16:18:23] [PASSED] drm_test_drm_connector_dynamic_register_sysfs [16:18:23] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name [16:18:23] [PASSED] drm_test_drm_connector_dynamic_register_debugfs [16:18:23] ========= [PASSED] drm_connector_dynamic_register ========== [16:18:23] = drm_connector_attach_broadcast_rgb_property (2 subtests) = [16:18:23] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property [16:18:23] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector [16:18:23] === [PASSED] drm_connector_attach_broadcast_rgb_property === [16:18:23] ========== drm_get_tv_mode_from_name (2 subtests) ========== [16:18:23] ========== drm_test_get_tv_mode_from_name_valid =========== [16:18:23] [PASSED] NTSC [16:18:23] [PASSED] NTSC-443 [16:18:23] [PASSED] NTSC-J [16:18:23] [PASSED] PAL [16:18:23] [PASSED] PAL-M [16:18:23] [PASSED] PAL-N [16:18:23] [PASSED] SECAM [16:18:23] [PASSED] Mono [16:18:23] ====== [PASSED] drm_test_get_tv_mode_from_name_valid ======= [16:18:23] [PASSED] drm_test_get_tv_mode_from_name_truncated [16:18:23] ============ [PASSED] drm_get_tv_mode_from_name ============ [16:18:23] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) = [16:18:23] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb [16:18:23] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc [16:18:23] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1 [16:18:23] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc [16:18:23] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1 [16:18:23] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double [16:18:23] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid = [16:18:23] [PASSED] VIC 96 [16:18:23] [PASSED] VIC 97 [16:18:23] [PASSED] VIC 101 [16:18:23] [PASSED] VIC 102 [16:18:23] [PASSED] VIC 106 [16:18:23] [PASSED] VIC 107 [16:18:23] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid === [16:18:23] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc [16:18:23] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc [16:18:23] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc [16:18:23] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc [16:18:23] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc [16:18:23] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ==== [16:18:23] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) == [16:18:23] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name ==== [16:18:23] [PASSED] Automatic [16:18:23] [PASSED] Full [16:18:23] [PASSED] Limited 16:235 [16:18:23] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name === [16:18:23] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid [16:18:23] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ==== [16:18:23] == drm_hdmi_connector_get_output_format_name (2 subtests) == [16:18:23] === drm_test_drm_hdmi_connector_get_output_format_name ==== [16:18:23] [PASSED] RGB [16:18:23] [PASSED] YUV 4:2:0 [16:18:23] [PASSED] YUV 4:2:2 [16:18:23] [PASSED] YUV 4:4:4 [16:18:23] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name === [16:18:23] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid [16:18:23] ==== [PASSED] drm_hdmi_connector_get_output_format_name ==== [16:18:23] ============= drm_damage_helper (21 subtests) ============== [16:18:23] [PASSED] drm_test_damage_iter_no_damage [16:18:23] [PASSED] drm_test_damage_iter_no_damage_fractional_src [16:18:23] [PASSED] drm_test_damage_iter_no_damage_src_moved [16:18:23] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved [16:18:23] [PASSED] drm_test_damage_iter_no_damage_not_visible [16:18:23] [PASSED] drm_test_damage_iter_no_damage_no_crtc [16:18:23] [PASSED] drm_test_damage_iter_no_damage_no_fb [16:18:23] [PASSED] drm_test_damage_iter_simple_damage [16:18:23] [PASSED] drm_test_damage_iter_single_damage [16:18:23] [PASSED] drm_test_damage_iter_single_damage_intersect_src [16:18:23] [PASSED] drm_test_damage_iter_single_damage_outside_src [16:18:23] [PASSED] drm_test_damage_iter_single_damage_fractional_src [16:18:23] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src [16:18:23] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src [16:18:23] [PASSED] drm_test_damage_iter_single_damage_src_moved [16:18:23] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved [16:18:23] [PASSED] drm_test_damage_iter_damage [16:18:23] [PASSED] drm_test_damage_iter_damage_one_intersect [16:18:23] [PASSED] drm_test_damage_iter_damage_one_outside [16:18:23] [PASSED] drm_test_damage_iter_damage_src_moved [16:18:23] [PASSED] drm_test_damage_iter_damage_not_visible [16:18:23] ================ [PASSED] drm_damage_helper ================ [16:18:23] ============== drm_dp_mst_helper (3 subtests) ============== [16:18:23] ============== drm_test_dp_mst_calc_pbn_mode ============== [16:18:23] [PASSED] Clock 154000 BPP 30 DSC disabled [16:18:23] [PASSED] Clock 234000 BPP 30 DSC disabled [16:18:23] [PASSED] Clock 297000 BPP 24 DSC disabled [16:18:23] [PASSED] Clock 332880 BPP 24 DSC enabled [16:18:23] [PASSED] Clock 324540 BPP 24 DSC enabled [16:18:23] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ========== [16:18:23] ============== drm_test_dp_mst_calc_pbn_div =============== [16:18:23] [PASSED] Link rate 2000000 lane count 4 [16:18:23] [PASSED] Link rate 2000000 lane count 2 [16:18:23] [PASSED] Link rate 2000000 lane count 1 [16:18:23] [PASSED] Link rate 1350000 lane count 4 [16:18:23] [PASSED] Link rate 1350000 lane count 2 [16:18:23] [PASSED] Link rate 1350000 lane count 1 [16:18:23] [PASSED] Link rate 1000000 lane count 4 [16:18:23] [PASSED] Link rate 1000000 lane count 2 [16:18:23] [PASSED] Link rate 1000000 lane count 1 [16:18:23] [PASSED] Link rate 810000 lane count 4 [16:18:23] [PASSED] Link rate 810000 lane count 2 [16:18:23] [PASSED] Link rate 810000 lane count 1 [16:18:23] [PASSED] Link rate 540000 lane count 4 [16:18:23] [PASSED] Link rate 540000 lane count 2 [16:18:23] [PASSED] Link rate 540000 lane count 1 [16:18:23] [PASSED] Link rate 270000 lane count 4 [16:18:23] [PASSED] Link rate 270000 lane count 2 [16:18:23] [PASSED] Link rate 270000 lane count 1 [16:18:23] [PASSED] Link rate 162000 lane count 4 [16:18:23] [PASSED] Link rate 162000 lane count 2 [16:18:23] [PASSED] Link rate 162000 lane count 1 [16:18:23] ========== [PASSED] drm_test_dp_mst_calc_pbn_div =========== [16:18:23] ========= drm_test_dp_mst_sideband_msg_req_decode ========= [16:18:23] [PASSED] DP_ENUM_PATH_RESOURCES with port number [16:18:23] [PASSED] DP_POWER_UP_PHY with port number [16:18:23] [PASSED] DP_POWER_DOWN_PHY with port number [16:18:23] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks [16:18:23] [PASSED] DP_ALLOCATE_PAYLOAD with port number [16:18:23] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI [16:18:23] [PASSED] DP_ALLOCATE_PAYLOAD with PBN [16:18:23] [PASSED] DP_QUERY_PAYLOAD with port number [16:18:23] [PASSED] DP_QUERY_PAYLOAD with VCPI [16:18:23] [PASSED] DP_REMOTE_DPCD_READ with port number [16:18:23] [PASSED] DP_REMOTE_DPCD_READ with DPCD address [16:18:23] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes [16:18:23] [PASSED] DP_REMOTE_DPCD_WRITE with port number [16:18:23] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address [16:18:23] [PASSED] DP_REMOTE_DPCD_WRITE with data array [16:18:23] [PASSED] DP_REMOTE_I2C_READ with port number [16:18:23] [PASSED] DP_REMOTE_I2C_READ with I2C device ID [16:18:23] [PASSED] DP_REMOTE_I2C_READ with transactions array [16:18:23] [PASSED] DP_REMOTE_I2C_WRITE with port number [16:18:23] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID [16:18:23] [PASSED] DP_REMOTE_I2C_WRITE with data array [16:18:23] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID [16:18:23] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID [16:18:23] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event [16:18:23] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event [16:18:23] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior [16:18:23] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior [16:18:23] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode ===== [16:18:23] ================ [PASSED] drm_dp_mst_helper ================ [16:18:23] ================== drm_exec (7 subtests) =================== [16:18:23] [PASSED] sanitycheck [16:18:23] [PASSED] test_lock [16:18:23] [PASSED] test_lock_unlock [16:18:23] [PASSED] test_duplicates [16:18:23] [PASSED] test_prepare [16:18:23] [PASSED] test_prepare_array [16:18:23] [PASSED] test_multiple_loops [16:18:23] ==================== [PASSED] drm_exec ===================== [16:18:23] =========== drm_format_helper_test (17 subtests) =========== [16:18:23] ============== drm_test_fb_xrgb8888_to_gray8 ============== [16:18:23] [PASSED] single_pixel_source_buffer [16:18:23] [PASSED] single_pixel_clip_rectangle [16:18:23] [PASSED] well_known_colors [16:18:23] [PASSED] destination_pitch [16:18:23] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ========== [16:18:23] ============= drm_test_fb_xrgb8888_to_rgb332 ============== [16:18:23] [PASSED] single_pixel_source_buffer [16:18:23] [PASSED] single_pixel_clip_rectangle [16:18:23] [PASSED] well_known_colors [16:18:23] [PASSED] destination_pitch [16:18:23] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ========== [16:18:23] ============= drm_test_fb_xrgb8888_to_rgb565 ============== [16:18:23] [PASSED] single_pixel_source_buffer [16:18:23] [PASSED] single_pixel_clip_rectangle [16:18:23] [PASSED] well_known_colors [16:18:23] [PASSED] destination_pitch [16:18:23] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ========== [16:18:23] ============ drm_test_fb_xrgb8888_to_xrgb1555 ============= [16:18:23] [PASSED] single_pixel_source_buffer [16:18:23] [PASSED] single_pixel_clip_rectangle [16:18:23] [PASSED] well_known_colors [16:18:23] [PASSED] destination_pitch [16:18:23] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 ========= [16:18:23] ============ drm_test_fb_xrgb8888_to_argb1555 ============= [16:18:23] [PASSED] single_pixel_source_buffer [16:18:23] [PASSED] single_pixel_clip_rectangle [16:18:23] [PASSED] well_known_colors [16:18:23] [PASSED] destination_pitch [16:18:23] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 ========= [16:18:23] ============ drm_test_fb_xrgb8888_to_rgba5551 ============= [16:18:23] [PASSED] single_pixel_source_buffer [16:18:23] [PASSED] single_pixel_clip_rectangle [16:18:23] [PASSED] well_known_colors [16:18:23] [PASSED] destination_pitch [16:18:23] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 ========= [16:18:23] ============= drm_test_fb_xrgb8888_to_rgb888 ============== [16:18:23] [PASSED] single_pixel_source_buffer [16:18:23] [PASSED] single_pixel_clip_rectangle [16:18:23] [PASSED] well_known_colors [16:18:23] [PASSED] destination_pitch [16:18:23] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ========== [16:18:23] ============= drm_test_fb_xrgb8888_to_bgr888 ============== [16:18:23] [PASSED] single_pixel_source_buffer [16:18:23] [PASSED] single_pixel_clip_rectangle [16:18:23] [PASSED] well_known_colors [16:18:23] [PASSED] destination_pitch [16:18:23] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ========== [16:18:23] ============ drm_test_fb_xrgb8888_to_argb8888 ============= [16:18:23] [PASSED] single_pixel_source_buffer [16:18:23] [PASSED] single_pixel_clip_rectangle [16:18:23] [PASSED] well_known_colors [16:18:23] [PASSED] destination_pitch [16:18:23] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 ========= [16:18:23] =========== drm_test_fb_xrgb8888_to_xrgb2101010 =========== [16:18:23] [PASSED] single_pixel_source_buffer [16:18:23] [PASSED] single_pixel_clip_rectangle [16:18:23] [PASSED] well_known_colors [16:18:23] [PASSED] destination_pitch [16:18:23] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 ======= [16:18:23] =========== drm_test_fb_xrgb8888_to_argb2101010 =========== [16:18:23] [PASSED] single_pixel_source_buffer [16:18:23] [PASSED] single_pixel_clip_rectangle [16:18:23] [PASSED] well_known_colors [16:18:23] [PASSED] destination_pitch [16:18:23] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 ======= [16:18:23] ============== drm_test_fb_xrgb8888_to_mono =============== [16:18:23] [PASSED] single_pixel_source_buffer [16:18:23] [PASSED] single_pixel_clip_rectangle [16:18:23] [PASSED] well_known_colors [16:18:23] [PASSED] destination_pitch [16:18:23] ========== [PASSED] drm_test_fb_xrgb8888_to_mono =========== [16:18:23] ==================== drm_test_fb_swab ===================== [16:18:23] [PASSED] single_pixel_source_buffer [16:18:23] [PASSED] single_pixel_clip_rectangle [16:18:23] [PASSED] well_known_colors [16:18:23] [PASSED] destination_pitch [16:18:23] ================ [PASSED] drm_test_fb_swab ================= [16:18:23] ============ drm_test_fb_xrgb8888_to_xbgr8888 ============= [16:18:23] [PASSED] single_pixel_source_buffer [16:18:23] [PASSED] single_pixel_clip_rectangle [16:18:23] [PASSED] well_known_colors [16:18:23] [PASSED] destination_pitch [16:18:23] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 ========= [16:18:23] ============ drm_test_fb_xrgb8888_to_abgr8888 ============= [16:18:23] [PASSED] single_pixel_source_buffer [16:18:23] [PASSED] single_pixel_clip_rectangle [16:18:23] [PASSED] well_known_colors [16:18:23] [PASSED] destination_pitch [16:18:23] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 ========= [16:18:23] ================= drm_test_fb_clip_offset ================= [16:18:23] [PASSED] pass through [16:18:23] [PASSED] horizontal offset [16:18:23] [PASSED] vertical offset [16:18:23] [PASSED] horizontal and vertical offset [16:18:23] [PASSED] horizontal offset (custom pitch) [16:18:23] [PASSED] vertical offset (custom pitch) [16:18:23] [PASSED] horizontal and vertical offset (custom pitch) [16:18:23] ============= [PASSED] drm_test_fb_clip_offset ============= [16:18:23] =================== drm_test_fb_memcpy ==================== [16:18:23] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258) [16:18:23] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258) [16:18:23] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559) [16:18:23] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258) [16:18:23] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258) [16:18:23] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559) [16:18:23] [PASSED] well_known_colors: XB24 little-endian (0x34324258) [16:18:23] [PASSED] well_known_colors: XRA8 little-endian (0x38415258) [16:18:23] [PASSED] well_known_colors: YU24 little-endian (0x34325559) [16:18:23] [PASSED] destination_pitch: XB24 little-endian (0x34324258) [16:18:23] [PASSED] destination_pitch: XRA8 little-endian (0x38415258) [16:18:23] [PASSED] destination_pitch: YU24 little-endian (0x34325559) [16:18:23] =============== [PASSED] drm_test_fb_memcpy ================ [16:18:23] ============= [PASSED] drm_format_helper_test ============== [16:18:23] ================= drm_format (18 subtests) ================= [16:18:23] [PASSED] drm_test_format_block_width_invalid [16:18:23] [PASSED] drm_test_format_block_width_one_plane [16:18:23] [PASSED] drm_test_format_block_width_two_plane [16:18:23] [PASSED] drm_test_format_block_width_three_plane [16:18:23] [PASSED] drm_test_format_block_width_tiled [16:18:23] [PASSED] drm_test_format_block_height_invalid [16:18:23] [PASSED] drm_test_format_block_height_one_plane [16:18:23] [PASSED] drm_test_format_block_height_two_plane [16:18:23] [PASSED] drm_test_format_block_height_three_plane [16:18:23] [PASSED] drm_test_format_block_height_tiled [16:18:23] [PASSED] drm_test_format_min_pitch_invalid [16:18:23] [PASSED] drm_test_format_min_pitch_one_plane_8bpp [16:18:23] [PASSED] drm_test_format_min_pitch_one_plane_16bpp [16:18:23] [PASSED] drm_test_format_min_pitch_one_plane_24bpp [16:18:23] [PASSED] drm_test_format_min_pitch_one_plane_32bpp [16:18:23] [PASSED] drm_test_format_min_pitch_two_plane [16:18:23] [PASSED] drm_test_format_min_pitch_three_plane_8bpp [16:18:23] [PASSED] drm_test_format_min_pitch_tiled [16:18:23] =================== [PASSED] drm_format ==================== [16:18:23] ============== drm_framebuffer (10 subtests) =============== [16:18:23] ========== drm_test_framebuffer_check_src_coords ========== [16:18:23] [PASSED] Success: source fits into fb [16:18:23] [PASSED] Fail: overflowing fb with x-axis coordinate [16:18:23] [PASSED] Fail: overflowing fb with y-axis coordinate [16:18:23] [PASSED] Fail: overflowing fb with source width [16:18:23] [PASSED] Fail: overflowing fb with source height [16:18:23] ====== [PASSED] drm_test_framebuffer_check_src_coords ====== [16:18:23] [PASSED] drm_test_framebuffer_cleanup [16:18:23] =============== drm_test_framebuffer_create =============== [16:18:23] [PASSED] ABGR8888 normal sizes [16:18:23] [PASSED] ABGR8888 max sizes [16:18:23] [PASSED] ABGR8888 pitch greater than min required [16:18:23] [PASSED] ABGR8888 pitch less than min required [16:18:23] [PASSED] ABGR8888 Invalid width [16:18:23] [PASSED] ABGR8888 Invalid buffer handle [16:18:23] [PASSED] No pixel format [16:18:23] [PASSED] ABGR8888 Width 0 [16:18:23] [PASSED] ABGR8888 Height 0 [16:18:23] [PASSED] ABGR8888 Out of bound height * pitch combination [16:18:23] [PASSED] ABGR8888 Large buffer offset [16:18:23] [PASSED] ABGR8888 Buffer offset for inexistent plane [16:18:23] [PASSED] ABGR8888 Invalid flag [16:18:23] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers [16:18:23] [PASSED] ABGR8888 Valid buffer modifier [16:18:23] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE) [16:18:23] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS [16:18:23] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS [16:18:23] [PASSED] NV12 Normal sizes [16:18:23] [PASSED] NV12 Max sizes [16:18:23] [PASSED] NV12 Invalid pitch [16:18:23] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag [16:18:23] [PASSED] NV12 different modifier per-plane [16:18:23] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE [16:18:23] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS [16:18:23] [PASSED] NV12 Modifier for inexistent plane [16:18:23] [PASSED] NV12 Handle for inexistent plane [16:18:23] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS [16:18:23] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier [16:18:23] [PASSED] YVU420 Normal sizes [16:18:23] [PASSED] YVU420 Max sizes [16:18:23] [PASSED] YVU420 Invalid pitch [16:18:23] [PASSED] YVU420 Different pitches [16:18:23] [PASSED] YVU420 Different buffer offsets/pitches [16:18:23] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS [16:18:23] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS [16:18:23] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS [16:18:23] [PASSED] YVU420 Valid modifier [16:18:23] [PASSED] YVU420 Different modifiers per plane [16:18:23] [PASSED] YVU420 Modifier for inexistent plane [16:18:23] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR) [16:18:23] [PASSED] X0L2 Normal sizes [16:18:23] [PASSED] X0L2 Max sizes [16:18:23] [PASSED] X0L2 Invalid pitch [16:18:23] [PASSED] X0L2 Pitch greater than minimum required [16:18:23] [PASSED] X0L2 Handle for inexistent plane [16:18:23] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set [16:18:23] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set [16:18:23] [PASSED] X0L2 Valid modifier [16:18:23] [PASSED] X0L2 Modifier for inexistent plane [16:18:23] =========== [PASSED] drm_test_framebuffer_create =========== [16:18:23] [PASSED] drm_test_framebuffer_free [16:18:23] [PASSED] drm_test_framebuffer_init [16:18:23] [PASSED] drm_test_framebuffer_init_bad_format [16:18:23] [PASSED] drm_test_framebuffer_init_dev_mismatch [16:18:23] [PASSED] drm_test_framebuffer_lookup [16:18:23] [PASSED] drm_test_framebuffer_lookup_inexistent [16:18:23] [PASSED] drm_test_framebuffer_modifiers_not_supported [16:18:23] ================= [PASSED] drm_framebuffer ================= [16:18:23] ================ drm_gem_shmem (8 subtests) ================ [16:18:23] [PASSED] drm_gem_shmem_test_obj_create [16:18:23] [PASSED] drm_gem_shmem_test_obj_create_private [16:18:23] [PASSED] drm_gem_shmem_test_pin_pages [16:18:23] [PASSED] drm_gem_shmem_test_vmap [16:18:23] [PASSED] drm_gem_shmem_test_get_sg_table [16:18:23] [PASSED] drm_gem_shmem_test_get_pages_sgt [16:18:23] [PASSED] drm_gem_shmem_test_madvise [16:18:23] [PASSED] drm_gem_shmem_test_purge [16:18:23] ================== [PASSED] drm_gem_shmem ================== [16:18:23] === drm_atomic_helper_connector_hdmi_check (29 subtests) === [16:18:23] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode [16:18:23] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1 [16:18:23] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode [16:18:23] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1 [16:18:23] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode [16:18:23] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1 [16:18:23] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420 ======= [16:18:23] [PASSED] Automatic [16:18:23] [PASSED] Full [16:18:23] [PASSED] Limited 16:235 [16:18:23] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 === [16:18:23] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed [16:18:23] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed [16:18:23] [PASSED] drm_test_check_disable_connector [16:18:23] [PASSED] drm_test_check_hdmi_funcs_reject_rate [16:18:23] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb [16:18:23] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420 [16:18:23] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422 [16:18:23] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420 [16:18:23] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420 [16:18:23] [PASSED] drm_test_check_output_bpc_crtc_mode_changed [16:18:23] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed [16:18:23] [PASSED] drm_test_check_output_bpc_dvi [16:18:23] [PASSED] drm_test_check_output_bpc_format_vic_1 [16:18:23] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only [16:18:23] [PASSED] drm_test_check_output_bpc_format_display_rgb_only [16:18:23] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only [16:18:23] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only [16:18:23] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc [16:18:23] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc [16:18:23] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc [16:18:23] ============ drm_test_check_hdmi_color_format ============= [16:18:23] [PASSED] AUTO -> RGB [16:18:23] [PASSED] YCBCR422 -> YUV422 [16:18:23] [PASSED] YCBCR420 -> YUV420 [16:18:23] [PASSED] YCBCR444 -> YUV444 [16:18:23] [PASSED] RGB -> RGB [16:18:23] ======== [PASSED] drm_test_check_hdmi_color_format ========= [16:18:23] ======== drm_test_check_hdmi_color_format_420_only ======== [16:18:23] [PASSED] RGB should fail [16:18:23] [PASSED] YUV444 should fail [16:18:23] [PASSED] YUV422 should fail [16:18:23] [PASSED] YUV420 should work [16:18:23] ==== [PASSED] drm_test_check_hdmi_color_format_420_only ==== [16:18:23] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ====== [16:18:23] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ==== [16:18:23] [PASSED] drm_test_check_broadcast_rgb_value [16:18:23] [PASSED] drm_test_check_bpc_8_value [16:18:23] [PASSED] drm_test_check_bpc_10_value [16:18:23] [PASSED] drm_test_check_bpc_12_value [16:18:23] [PASSED] drm_test_check_format_value [16:18:23] [PASSED] drm_test_check_tmds_char_value [16:18:23] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ====== [16:18:23] = drm_atomic_helper_connector_hdmi_mode_valid (7 subtests) = [16:18:23] [PASSED] drm_test_check_mode_valid [16:18:23] [PASSED] drm_test_check_mode_valid_reject [16:18:23] [PASSED] drm_test_check_mode_valid_reject_rate [16:18:23] [PASSED] drm_test_check_mode_valid_reject_max_clock [16:18:23] [PASSED] drm_test_check_mode_valid_yuv420_only_max_clock [16:18:23] [PASSED] drm_test_check_mode_valid_reject_yuv420_only_connector [16:18:23] [PASSED] drm_test_check_mode_valid_accept_yuv420_also_connector_rgb [16:18:23] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid === [16:18:23] = drm_atomic_helper_connector_hdmi_infoframes (5 subtests) = [16:18:23] [PASSED] drm_test_check_infoframes [16:18:23] [PASSED] drm_test_check_reject_avi_infoframe [16:18:23] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_8 [16:18:23] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_10 [16:18:23] [PASSED] drm_test_check_reject_audio_infoframe [16:18:23] === [PASSED] drm_atomic_helper_connector_hdmi_infoframes === [16:18:23] ================= drm_managed (2 subtests) ================= [16:18:23] [PASSED] drm_test_managed_release_action [16:18:23] [PASSED] drm_test_managed_run_action [16:18:23] =================== [PASSED] drm_managed =================== [16:18:23] =================== drm_mm (6 subtests) ==================== [16:18:23] [PASSED] drm_test_mm_init [16:18:23] [PASSED] drm_test_mm_debug [16:18:23] [PASSED] drm_test_mm_align32 [16:18:23] [PASSED] drm_test_mm_align64 [16:18:23] [PASSED] drm_test_mm_lowest [16:18:23] [PASSED] drm_test_mm_highest [16:18:23] ===================== [PASSED] drm_mm ====================== [16:18:23] ============= drm_modes_analog_tv (5 subtests) ============= [16:18:23] [PASSED] drm_test_modes_analog_tv_mono_576i [16:18:23] [PASSED] drm_test_modes_analog_tv_ntsc_480i [16:18:23] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined [16:18:23] [PASSED] drm_test_modes_analog_tv_pal_576i [16:18:23] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined [16:18:23] =============== [PASSED] drm_modes_analog_tv =============== [16:18:23] ============== drm_plane_helper (2 subtests) =============== [16:18:23] =============== drm_test_check_plane_state ================ [16:18:23] [PASSED] clipping_simple [16:18:23] [PASSED] clipping_rotate_reflect [16:18:23] [PASSED] positioning_simple [16:18:23] [PASSED] upscaling [16:18:23] [PASSED] downscaling [16:18:23] [PASSED] rounding1 [16:18:23] [PASSED] rounding2 [16:18:23] [PASSED] rounding3 [16:18:23] [PASSED] rounding4 [16:18:23] =========== [PASSED] drm_test_check_plane_state ============ [16:18:23] =========== drm_test_check_invalid_plane_state ============ [16:18:23] [PASSED] positioning_invalid [16:18:23] [PASSED] upscaling_invalid [16:18:23] [PASSED] downscaling_invalid [16:18:23] ======= [PASSED] drm_test_check_invalid_plane_state ======== [16:18:23] ================ [PASSED] drm_plane_helper ================= [16:18:23] ====== drm_connector_helper_tv_get_modes (1 subtest) ======= [16:18:23] ====== drm_test_connector_helper_tv_get_modes_check ======= [16:18:23] [PASSED] None [16:18:23] [PASSED] PAL [16:18:23] [PASSED] NTSC [16:18:23] [PASSED] Both, NTSC Default [16:18:23] [PASSED] Both, PAL Default [16:18:23] [PASSED] Both, NTSC Default, with PAL on command-line [16:18:23] [PASSED] Both, PAL Default, with NTSC on command-line [16:18:23] == [PASSED] drm_test_connector_helper_tv_get_modes_check === [16:18:23] ======== [PASSED] drm_connector_helper_tv_get_modes ======== [16:18:23] ================== drm_rect (9 subtests) =================== [16:18:23] [PASSED] drm_test_rect_clip_scaled_div_by_zero [16:18:23] [PASSED] drm_test_rect_clip_scaled_not_clipped [16:18:23] [PASSED] drm_test_rect_clip_scaled_clipped [16:18:23] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned [16:18:23] ================= drm_test_rect_intersect ================= [16:18:23] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0 [16:18:23] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1 [16:18:23] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0 [16:18:23] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1 [16:18:23] [PASSED] right x left: 2x1+0+0 x 3x1+1+0 [16:18:23] [PASSED] left x right: 3x1+1+0 x 2x1+0+0 [16:18:23] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1 [16:18:23] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0 [16:18:23] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1 [16:18:23] [PASSED] touching side: 1x1+0+0 x 1x1+1+0 [16:18:23] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0 [16:18:23] [PASSED] inside another: 2x2+0+0 x 1x1+1+1 [16:18:23] [PASSED] far away: 1x1+0+0 x 1x1+3+6 [16:18:23] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10 [16:18:23] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10 [16:18:23] ============= [PASSED] drm_test_rect_intersect ============= [16:18:23] ================ drm_test_rect_calc_hscale ================ [16:18:23] [PASSED] normal use [16:18:23] [PASSED] out of max range [16:18:23] [PASSED] out of min range [16:18:23] [PASSED] zero dst [16:18:23] [PASSED] negative src [16:18:23] [PASSED] negative dst [16:18:23] ============ [PASSED] drm_test_rect_calc_hscale ============ [16:18:23] ================ drm_test_rect_calc_vscale ================ [16:18:23] [PASSED] normal use [16:18:23] [PASSED] out of max range [16:18:23] [PASSED] out of min range [16:18:23] [PASSED] zero dst [16:18:23] [PASSED] negative src [16:18:23] [PASSED] negative dst [16:18:23] ============ [PASSED] drm_test_rect_calc_vscale ============ [16:18:23] ================== drm_test_rect_rotate =================== [16:18:23] [PASSED] reflect-x [16:18:23] [PASSED] reflect-y [16:18:23] [PASSED] rotate-0 [16:18:23] [PASSED] rotate-90 [16:18:23] [PASSED] rotate-180 [16:18:23] [PASSED] rotate-270 [16:18:23] ============== [PASSED] drm_test_rect_rotate =============== [16:18:23] ================ drm_test_rect_rotate_inv ================= [16:18:23] [PASSED] reflect-x [16:18:23] [PASSED] reflect-y [16:18:23] [PASSED] rotate-0 [16:18:23] [PASSED] rotate-90 [16:18:23] [PASSED] rotate-180 [16:18:23] [PASSED] rotate-270 [16:18:23] ============ [PASSED] drm_test_rect_rotate_inv ============= [16:18:23] ==================== [PASSED] drm_rect ===================== [16:18:23] ============ drm_sysfb_modeset_test (1 subtest) ============ [16:18:23] ============ drm_test_sysfb_build_fourcc_list ============= [16:18:23] [PASSED] no native formats [16:18:23] [PASSED] XRGB8888 as native format [16:18:23] [PASSED] remove duplicates [16:18:23] [PASSED] convert alpha formats [16:18:23] [PASSED] random formats [16:18:23] ======== [PASSED] drm_test_sysfb_build_fourcc_list ========= [16:18:23] ============= [PASSED] drm_sysfb_modeset_test ============== [16:18:23] ================== drm_fixp (2 subtests) =================== [16:18:23] [PASSED] drm_test_int2fixp [16:18:23] [PASSED] drm_test_sm2fixp [16:18:23] ==================== [PASSED] drm_fixp ===================== [16:18:23] ============================================================ [16:18:23] Testing complete. Ran 637 tests: passed: 637 [16:18:23] Elapsed time: 26.974s total, 1.797s configuring, 24.959s building, 0.199s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig [16:18:23] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [16:18:25] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48 [16:18:35] Starting KUnit Kernel (1/1)... [16:18:35] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [16:18:35] ================= ttm_device (5 subtests) ================== [16:18:35] [PASSED] ttm_device_init_basic [16:18:35] [PASSED] ttm_device_init_multiple [16:18:35] [PASSED] ttm_device_fini_basic [16:18:35] [PASSED] ttm_device_init_no_vma_man [16:18:35] ================== ttm_device_init_pools ================== [16:18:35] [PASSED] No DMA allocations, no DMA32 required [16:18:35] [PASSED] DMA allocations, DMA32 required [16:18:35] [PASSED] No DMA allocations, DMA32 required [16:18:35] [PASSED] DMA allocations, no DMA32 required [16:18:35] ============== [PASSED] ttm_device_init_pools ============== [16:18:35] =================== [PASSED] ttm_device ==================== [16:18:35] ================== ttm_pool (8 subtests) =================== [16:18:35] ================== ttm_pool_alloc_basic =================== [16:18:35] [PASSED] One page [16:18:35] [PASSED] More than one page [16:18:35] [PASSED] Above the allocation limit [16:18:35] [PASSED] One page, with coherent DMA mappings enabled [16:18:35] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [16:18:35] ============== [PASSED] ttm_pool_alloc_basic =============== [16:18:35] ============== ttm_pool_alloc_basic_dma_addr ============== [16:18:35] [PASSED] One page [16:18:35] [PASSED] More than one page [16:18:35] [PASSED] Above the allocation limit [16:18:35] [PASSED] One page, with coherent DMA mappings enabled [16:18:35] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [16:18:35] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ========== [16:18:35] [PASSED] ttm_pool_alloc_order_caching_match [16:18:35] [PASSED] ttm_pool_alloc_caching_mismatch [16:18:35] [PASSED] ttm_pool_alloc_order_mismatch [16:18:35] [PASSED] ttm_pool_free_dma_alloc [16:18:35] [PASSED] ttm_pool_free_no_dma_alloc [16:18:35] [PASSED] ttm_pool_fini_basic [16:18:35] ==================== [PASSED] ttm_pool ===================== [16:18:35] ================ ttm_resource (8 subtests) ================= [16:18:35] ================= ttm_resource_init_basic ================= [16:18:35] [PASSED] Init resource in TTM_PL_SYSTEM [16:18:35] [PASSED] Init resource in TTM_PL_VRAM [16:18:35] [PASSED] Init resource in a private placement [16:18:35] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags [16:18:35] ============= [PASSED] ttm_resource_init_basic ============= [16:18:35] [PASSED] ttm_resource_init_pinned [16:18:35] [PASSED] ttm_resource_fini_basic [16:18:35] [PASSED] ttm_resource_manager_init_basic [16:18:35] [PASSED] ttm_resource_manager_usage_basic [16:18:35] [PASSED] ttm_resource_manager_set_used_basic [16:18:35] [PASSED] ttm_sys_man_alloc_basic [16:18:35] [PASSED] ttm_sys_man_free_basic [16:18:35] ================== [PASSED] ttm_resource =================== [16:18:35] =================== ttm_tt (15 subtests) =================== [16:18:35] ==================== ttm_tt_init_basic ==================== [16:18:35] [PASSED] Page-aligned size [16:18:35] [PASSED] Extra pages requested [16:18:35] ================ [PASSED] ttm_tt_init_basic ================ [16:18:35] [PASSED] ttm_tt_init_misaligned [16:18:35] [PASSED] ttm_tt_fini_basic [16:18:35] [PASSED] ttm_tt_fini_sg [16:18:35] [PASSED] ttm_tt_fini_shmem [16:18:35] [PASSED] ttm_tt_create_basic [16:18:35] [PASSED] ttm_tt_create_invalid_bo_type [16:18:35] [PASSED] ttm_tt_create_ttm_exists [16:18:35] [PASSED] ttm_tt_create_failed [16:18:35] [PASSED] ttm_tt_destroy_basic [16:18:35] [PASSED] ttm_tt_populate_null_ttm [16:18:35] [PASSED] ttm_tt_populate_populated_ttm [16:18:35] [PASSED] ttm_tt_unpopulate_basic [16:18:35] [PASSED] ttm_tt_unpopulate_empty_ttm [16:18:35] [PASSED] ttm_tt_swapin_basic [16:18:35] ===================== [PASSED] ttm_tt ====================== [16:18:35] =================== ttm_bo (14 subtests) =================== [16:18:35] =========== ttm_bo_reserve_optimistic_no_ticket =========== [16:18:35] [PASSED] Cannot be interrupted and sleeps [16:18:35] [PASSED] Cannot be interrupted, locks straight away [16:18:35] [PASSED] Can be interrupted, sleeps [16:18:35] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket ======= [16:18:35] [PASSED] ttm_bo_reserve_locked_no_sleep [16:18:35] [PASSED] ttm_bo_reserve_no_wait_ticket [16:18:35] [PASSED] ttm_bo_reserve_double_resv [16:18:35] [PASSED] ttm_bo_reserve_interrupted [16:18:35] [PASSED] ttm_bo_reserve_deadlock [16:18:35] [PASSED] ttm_bo_unreserve_basic [16:18:35] [PASSED] ttm_bo_unreserve_pinned [16:18:35] [PASSED] ttm_bo_unreserve_bulk [16:18:35] [PASSED] ttm_bo_fini_basic [16:18:35] [PASSED] ttm_bo_fini_shared_resv [16:18:35] [PASSED] ttm_bo_pin_basic [16:18:35] [PASSED] ttm_bo_pin_unpin_resource [16:18:35] [PASSED] ttm_bo_multiple_pin_one_unpin [16:18:35] ===================== [PASSED] ttm_bo ====================== [16:18:35] ============== ttm_bo_validate (22 subtests) =============== [16:18:35] ============== ttm_bo_init_reserved_sys_man =============== [16:18:35] [PASSED] Buffer object for userspace [16:18:35] [PASSED] Kernel buffer object [16:18:35] [PASSED] Shared buffer object [16:18:35] ========== [PASSED] ttm_bo_init_reserved_sys_man =========== [16:18:35] ============== ttm_bo_init_reserved_mock_man ============== [16:18:35] [PASSED] Buffer object for userspace [16:18:35] [PASSED] Kernel buffer object [16:18:35] [PASSED] Shared buffer object [16:18:35] ========== [PASSED] ttm_bo_init_reserved_mock_man ========== [16:18:35] [PASSED] ttm_bo_init_reserved_resv [16:18:35] ================== ttm_bo_validate_basic ================== [16:18:35] [PASSED] Buffer object for userspace [16:18:35] [PASSED] Kernel buffer object [16:18:35] [PASSED] Shared buffer object [16:18:35] ============== [PASSED] ttm_bo_validate_basic ============== [16:18:35] [PASSED] ttm_bo_validate_invalid_placement [16:18:35] ============= ttm_bo_validate_same_placement ============== [16:18:35] [PASSED] System manager [16:18:35] [PASSED] VRAM manager [16:18:35] ========= [PASSED] ttm_bo_validate_same_placement ========== [16:18:35] [PASSED] ttm_bo_validate_failed_alloc [16:18:35] [PASSED] ttm_bo_validate_pinned [16:18:35] [PASSED] ttm_bo_validate_busy_placement [16:18:35] ================ ttm_bo_validate_multihop ================= [16:18:35] [PASSED] Buffer object for userspace [16:18:35] [PASSED] Kernel buffer object [16:18:35] [PASSED] Shared buffer object [16:18:35] ============ [PASSED] ttm_bo_validate_multihop ============= [16:18:35] ========== ttm_bo_validate_no_placement_signaled ========== [16:18:35] [PASSED] Buffer object in system domain, no page vector [16:18:35] [PASSED] Buffer object in system domain with an existing page vector [16:18:35] ====== [PASSED] ttm_bo_validate_no_placement_signaled ====== [16:18:35] ======== ttm_bo_validate_no_placement_not_signaled ======== [16:18:35] [PASSED] Buffer object for userspace [16:18:35] [PASSED] Kernel buffer object [16:18:35] [PASSED] Shared buffer object [16:18:35] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ==== [16:18:35] [PASSED] ttm_bo_validate_move_fence_signaled [16:18:35] ========= ttm_bo_validate_move_fence_not_signaled ========= [16:18:35] [PASSED] Waits for GPU [16:18:35] [PASSED] Tries to lock straight away [16:18:35] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled ===== [16:18:35] [PASSED] ttm_bo_validate_swapout [16:18:35] [PASSED] ttm_bo_validate_happy_evict [16:18:35] [PASSED] ttm_bo_validate_all_pinned_evict [16:18:35] [PASSED] ttm_bo_validate_allowed_only_evict [16:18:35] [PASSED] ttm_bo_validate_deleted_evict [16:18:35] [PASSED] ttm_bo_validate_busy_domain_evict [16:18:35] [PASSED] ttm_bo_validate_evict_gutting [16:18:35] [PASSED] ttm_bo_validate_recrusive_evict [16:18:35] ================= [PASSED] ttm_bo_validate ================= [16:18:35] ============================================================ [16:18:35] Testing complete. Ran 102 tests: passed: 102 [16:18:35] Elapsed time: 11.977s total, 1.794s configuring, 9.968s building, 0.182s running
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel
Patchwork
CI✗ Xe.CI.BAT: failure for drm/xe: Add structured SIGID error logging infrastructure (rev2)
In reply to Michal Wajdeczko== Series Details ==
== Series Details ==
Series: drm/xe: Add structured SIGID error logging infrastructure (rev2)
URL : https://patchwork.freedesktop.org/series/171022/
State : failure
== Summary ==
CI Bug Log - changes from xe-5493-231ba00442a06ee877bfed4765c0b1b48bebbf78_BAT -> xe-pw-171022v2_BAT
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with xe-pw-171022v2_BAT absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes
introduced in xe-pw-171022v2_BAT, please notify your bug team ([email protected]) to allow them to document this new failure mode, which will reduce false positives in CI.
Participating hosts (12 -> 12)
------------------------------
No changes in participating hosts
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in xe-pw-171022v2_BAT:
### IGT changes ###
#### Possible regressions ####
* igt@xe_exec_fault_mode@invalid-va:
- bat-bmg-1: [PASS][1] -> [DMESG-WARN][2] +1 other test dmesg-warn
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5493-231ba00442a06ee877bfed4765c0b1b48bebbf78/bat-bmg-1/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/bat-bmg-1/igt@[email protected]
- bat-lnl-2: [PASS][3] -> [DMESG-WARN][4] +1 other test dmesg-warn
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5493-231ba00442a06ee877bfed4765c0b1b48bebbf78/bat-lnl-2/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/bat-lnl-2/igt@[email protected]
- bat-wcl-1: [PASS][5] -> [DMESG-WARN][6] +1 other test dmesg-warn
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5493-231ba00442a06ee877bfed4765c0b1b48bebbf78/bat-wcl-1/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/bat-wcl-1/igt@[email protected]
- bat-ptl-1: [PASS][7] -> [DMESG-WARN][8] +1 other test dmesg-warn
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5493-231ba00442a06ee877bfed4765c0b1b48bebbf78/bat-ptl-1/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/bat-ptl-1/igt@[email protected]
- bat-ptl-vm: [PASS][9] -> [DMESG-WARN][10] +1 other test dmesg-warn
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5493-231ba00442a06ee877bfed4765c0b1b48bebbf78/bat-ptl-vm/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/bat-ptl-vm/igt@[email protected]
- bat-lnl-1: [PASS][11] -> [DMESG-WARN][12] +1 other test dmesg-warn
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5493-231ba00442a06ee877bfed4765c0b1b48bebbf78/bat-lnl-1/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/bat-lnl-1/igt@[email protected]
* igt@xe_exec_system_allocator@fault:
- bat-wcl-2: [PASS][13] -> [DMESG-WARN][14] +1 other test dmesg-warn
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5493-231ba00442a06ee877bfed4765c0b1b48bebbf78/bat-wcl-2/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/bat-wcl-2/igt@[email protected]
- bat-bmg-vm: [PASS][15] -> [DMESG-WARN][16] +1 other test dmesg-warn
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5493-231ba00442a06ee877bfed4765c0b1b48bebbf78/bat-bmg-vm/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/bat-bmg-vm/igt@[email protected]
- bat-ptl-2: [PASS][17] -> [DMESG-WARN][18] +1 other test dmesg-warn
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5493-231ba00442a06ee877bfed4765c0b1b48bebbf78/bat-ptl-2/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/bat-ptl-2/igt@[email protected]
Build changes
-------------
* IGT: IGT_9027 -> IGT_9029
* Linux: xe-5493-231ba00442a06ee877bfed4765c0b1b48bebbf78 -> xe-pw-171022v2
IGT_9027: 9027
IGT_9029: 9029
xe-5493-231ba00442a06ee877bfed4765c0b1b48bebbf78: 231ba00442a06ee877bfed4765c0b1b48bebbf78
xe-pw-171022v2: 171022v2
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/index.html
Patchwork
CI✗ Xe.CI.FULL: failure for drm/xe: Add structured SIGID error logging infrastructure (rev2)
In reply to Michal Wajdeczko== Series Details ==
== Series Details ==
Series: drm/xe: Add structured SIGID error logging infrastructure (rev2)
URL : https://patchwork.freedesktop.org/series/171022/
State : failure
== Summary ==
CI Bug Log - changes from xe-5493-231ba00442a06ee877bfed4765c0b1b48bebbf78_FULL -> xe-pw-171022v2_FULL
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with xe-pw-171022v2_FULL absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes
introduced in xe-pw-171022v2_FULL, please notify your bug team ([email protected]) to allow them to document this new failure mode, which will reduce false positives in CI.
Participating hosts (2 -> 2)
------------------------------
No changes in participating hosts
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in xe-pw-171022v2_FULL:
### IGT changes ###
#### Possible regressions ####
* igt@xe_exec_fault_mode@invalid-va:
- shard-bmg: [PASS][1] -> [DMESG-WARN][2] +7 other tests dmesg-warn
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5493-231ba00442a06ee877bfed4765c0b1b48bebbf78/shard-bmg-8/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-9/igt@[email protected]
* igt@xe_survivability@runtime-survivability:
- shard-bmg: NOTRUN -> [DMESG-WARN][3] +3 other tests dmesg-warn
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-3/igt@[email protected]
* igt@xe_waitfence@exec_queue-reset-wait:
- shard-lnl: [PASS][4] -> [DMESG-WARN][5] +9 other tests dmesg-warn
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5493-231ba00442a06ee877bfed4765c0b1b48bebbf78/shard-lnl-5/igt@xe_waitfence@exec_queue-reset-wait.html
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-lnl-7/igt@xe_waitfence@exec_queue-reset-wait.html
#### Warnings ####
* igt@xe_wedged@basic-wedged:
- shard-bmg: [ABORT][6] ([Intel XE#8591]) -> [DMESG-WARN][7]
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5493-231ba00442a06ee877bfed4765c0b1b48bebbf78/shard-bmg-5/igt@[email protected]
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-6/igt@[email protected]
Known issues
------------
Here are the changes found in xe-pw-171022v2_FULL that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_big_fb@x-tiled-32bpp-rotate-90:
- shard-bmg: NOTRUN -> [SKIP][8] ([Intel XE#2327]) +2 other tests skip
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-5/igt@[email protected]
* igt@kms_big_fb@y-tiled-32bpp-rotate-270:
- shard-bmg: NOTRUN -> [SKIP][9] ([Intel XE#1124]) +11 other tests skip
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-8/igt@[email protected]
* igt@kms_big_fb@y-tiled-addfb-size-overflow:
- shard-bmg: NOTRUN -> [SKIP][10] ([Intel XE#610] / [Intel XE#7387])
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-6/igt@[email protected]
* igt@kms_big_fb@yf-tiled-addfb:
- shard-bmg: NOTRUN -> [SKIP][11] ([Intel XE#2328] / [Intel XE#7367])
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-8/igt@[email protected]
* igt@kms_big_fb@yf-tiled-addfb-size-offset-overflow:
- shard-bmg: NOTRUN -> [SKIP][12] ([Intel XE#607] / [Intel XE#7361]) +1 other test skip
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-2/igt@[email protected]
* igt@kms_bw@connected-linear-tiling-3-displays-target-2560x1440p:
- shard-bmg: NOTRUN -> [SKIP][13] ([Intel XE#7679]) +1 other test skip
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-8/igt@[email protected]
* igt@kms_bw@linear-tiling-1-displays-target-1920x1080p:
- shard-bmg: NOTRUN -> [SKIP][14] ([Intel XE#367]) +1 other test skip
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-4/igt@[email protected]
* igt@kms_ccs@crc-primary-rotation-180-4-tiled-lnl-ccs@pipe-c-dp-2:
- shard-bmg: NOTRUN -> [SKIP][15] ([Intel XE#2652]) +8 other tests skip
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-8/igt@kms_ccs@[email protected]
* igt@kms_ccs@crc-primary-suspend-4-tiled-bmg-ccs:
- shard-bmg: [PASS][16] -> [INCOMPLETE][17] ([Intel XE#7084] / [Intel XE#8150]) +1 other test incomplete
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5493-231ba00442a06ee877bfed4765c0b1b48bebbf78/shard-bmg-5/igt@[email protected]
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-1/igt@[email protected]
* igt@kms_ccs@crc-primary-suspend-4-tiled-mtl-rc-ccs-cc:
- shard-bmg: NOTRUN -> [SKIP][18] ([Intel XE#3432]) +1 other test skip
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-9/igt@[email protected]
* igt@kms_ccs@crc-sprite-planes-basic-4-tiled-mtl-rc-ccs:
- shard-bmg: NOTRUN -> [SKIP][19] ([Intel XE#2887]) +20 other tests skip
[19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-7/igt@[email protected]
* igt@kms_chamelium_audio@dp-audio-after-suspend:
- shard-bmg: NOTRUN -> [SKIP][20] ([Intel XE#2252]) +8 other tests skip
[20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-8/igt@[email protected]
* igt@kms_chamelium_color@ctm-0-50:
- shard-bmg: NOTRUN -> [SKIP][21] ([Intel XE#2325] / [Intel XE#7358]) +2 other tests skip
[21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-1/igt@[email protected]
* igt@kms_chamelium_color_pipeline@plane-lut3d-green-only:
- shard-bmg: NOTRUN -> [SKIP][22] ([Intel XE#7358]) +1 other test skip
[22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-3/igt@[email protected]
* igt@kms_content_protection@dp-mst-type-1:
- shard-bmg: NOTRUN -> [SKIP][23] ([Intel XE#2390] / [Intel XE#6974]) +1 other test skip
[23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-3/igt@[email protected]
* igt@kms_content_protection@lic-type-0-hdcp14@pipe-a-dp-2:
- shard-bmg: NOTRUN -> [FAIL][24] ([Intel XE#1178] / [Intel XE#3304] / [Intel XE#7374]) +3 other tests fail
[24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-1/igt@kms_content_protection@[email protected]
* igt@kms_cursor_crc@cursor-random-512x170:
- shard-bmg: NOTRUN -> [SKIP][25] ([Intel XE#2321] / [Intel XE#7355]) +1 other test skip
[25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-10/igt@[email protected]
* igt@kms_cursor_crc@cursor-rapid-movement-32x10:
- shard-bmg: NOTRUN -> [SKIP][26] ([Intel XE#2320]) +5 other tests skip
[26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-2/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-atomic:
- shard-bmg: [PASS][27] -> [FAIL][28] ([Intel XE#7571])
[27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5493-231ba00442a06ee877bfed4765c0b1b48bebbf78/shard-bmg-10/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-7/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-legacy:
- shard-bmg: NOTRUN -> [FAIL][29] ([Intel XE#7571])
[29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-8/igt@[email protected]
* igt@kms_cursor_legacy@short-busy-flip-before-cursor-toggle:
- shard-bmg: NOTRUN -> [SKIP][30] ([Intel XE#2286] / [Intel XE#6035])
[30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-10/igt@[email protected]
* igt@kms_dp_link_training@non-uhbr-mst:
- shard-bmg: NOTRUN -> [SKIP][31] ([Intel XE#4354] / [Intel XE#5882])
[31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-6/igt@[email protected]
* igt@kms_dsc@dsc-fractional-bpp-with-bpc-bigjoiner:
- shard-bmg: NOTRUN -> [SKIP][32] ([Intel XE#8265]) +7 other tests skip
[32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-8/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank@b-edp1:
- shard-lnl: [PASS][33] -> [FAIL][34] ([Intel XE#301])
[33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5493-231ba00442a06ee877bfed4765c0b1b48bebbf78/shard-lnl-2/igt@kms_flip@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-lnl-1/igt@kms_flip@[email protected]
* igt@kms_flip_scaled_crc@flip-32bpp-4tile-to-32bpp-4tiledg2rcccs-downscaling:
- shard-bmg: NOTRUN -> [SKIP][35] ([Intel XE#7178] / [Intel XE#7349])
[35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-5/igt@kms_flip_scaled_crc@flip-32bpp-4tile-to-32bpp-4tiledg2rcccs-downscaling.html
* igt@kms_flip_scaled_crc@flip-32bpp-linear-to-32bpp-linear-reflect-x:
- shard-bmg: NOTRUN -> [SKIP][36] ([Intel XE#7179])
[36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-8/igt@kms_flip_scaled_crc@flip-32bpp-linear-to-32bpp-linear-reflect-x.html
* igt@kms_flip_scaled_crc@flip-32bpp-yftileccs-to-64bpp-yftile-downscaling:
- shard-bmg: NOTRUN -> [SKIP][37] ([Intel XE#7178] / [Intel XE#7351]) +2 other tests skip
[37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-1/igt@kms_flip_scaled_crc@flip-32bpp-yftileccs-to-64bpp-yftile-downscaling.html
* igt@kms_frontbuffer_tracking@drrs-abgr161616f-draw-mmap-wc:
- shard-bmg: NOTRUN -> [SKIP][38] ([Intel XE#7061] / [Intel XE#7356]) +4 other tests skip
[38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-5/igt@[email protected]
* igt@kms_frontbuffer_tracking@drrshdr-1p-primscrn-pri-indfb-draw-mmap-wc:
- shard-bmg: NOTRUN -> [SKIP][39] ([Intel XE#2311]) +63 other tests skip
[39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-5/igt@kms_frontbuffer_tracking@drrshdr-1p-primscrn-pri-indfb-draw-mmap-wc.html
* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-draw-render:
- shard-bmg: NOTRUN -> [SKIP][40] ([Intel XE#4141]) +18 other tests skip
[40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-4/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-draw-render.html
* igt@kms_frontbuffer_tracking@fbcdrrs-tiling-y:
- shard-bmg: NOTRUN -> [SKIP][41] ([Intel XE#2352] / [Intel XE#7399]) +1 other test skip
[41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-9/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsrhdr-abgr161616f-draw-render:
- shard-bmg: NOTRUN -> [SKIP][42] ([Intel XE#7061]) +4 other tests skip
[42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-4/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-2p-primscrn-indfb-plflip-blt:
- shard-bmg: NOTRUN -> [SKIP][43] ([Intel XE#2313]) +56 other tests skip
[43]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-1/igt@[email protected]
* igt@kms_hdmi_inject@inject-audio:
- shard-bmg: [PASS][44] -> [SKIP][45] ([Intel XE#7308])
[44]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5493-231ba00442a06ee877bfed4765c0b1b48bebbf78/shard-bmg-2/igt@[email protected]
[45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-10/igt@[email protected]
* igt@kms_plane@pixel-format-4-tiled-modifier@pipe-b-plane-5:
- shard-bmg: NOTRUN -> [SKIP][46] ([Intel XE#8303]) +1 other test skip
[46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-6/igt@kms_plane@[email protected]
* igt@kms_plane@pixel-format-y-tiled-modifier:
- shard-bmg: NOTRUN -> [SKIP][47] ([Intel XE#7283]) +5 other tests skip
[47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-8/igt@[email protected]
* igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-5:
- shard-bmg: NOTRUN -> [SKIP][48] ([Intel XE#2763] / [Intel XE#6886]) +9 other tests skip
[48]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-7/igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-5.html
* igt@kms_pm_backlight@brightness-with-dpms:
- shard-bmg: NOTRUN -> [SKIP][49] ([Intel XE#2938] / [Intel XE#7376] / [Intel XE#7760])
[49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-6/igt@[email protected]
* igt@kms_pm_dc@dc3co-vpb-simulation@pr-xrgb8888:
- shard-bmg: NOTRUN -> [SKIP][50] ([Intel XE#8395] / [Intel XE#8396]) +1 other test skip
[50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-3/igt@kms_pm_dc@[email protected]
* igt@kms_pm_dc@dc3co-vpb-simulation@psr2-xrgb8888:
- shard-bmg: NOTRUN -> [SKIP][51] ([Intel XE#8396]) +1 other test skip
[51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-3/igt@kms_pm_dc@[email protected]
* igt@kms_pm_dc@dc6-psr:
- shard-lnl: [PASS][52] -> [FAIL][53] ([Intel XE#8399])
[52]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5493-231ba00442a06ee877bfed4765c0b1b48bebbf78/shard-lnl-1/igt@[email protected]
[53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-lnl-6/igt@[email protected]
- shard-bmg: NOTRUN -> [SKIP][54] ([Intel XE#7794])
[54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-3/igt@[email protected]
* igt@kms_pm_lpsp@kms-lpsp:
- shard-bmg: NOTRUN -> [SKIP][55] ([Intel XE#2499])
[55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-9/igt@[email protected]
* igt@kms_pm_rpm@package-g7:
- shard-bmg: NOTRUN -> [SKIP][56] ([Intel XE#6814] / [Intel XE#7428])
[56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-9/igt@[email protected]
* igt@kms_psr2_sf@pr-primary-plane-update-sf-dmg-area:
- shard-bmg: NOTRUN -> [SKIP][57] ([Intel XE#1489]) +8 other tests skip
[57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-10/igt@[email protected]
* igt@kms_psr2_su@frontbuffer-xrgb8888:
- shard-bmg: NOTRUN -> [SKIP][58] ([Intel XE#2387] / [Intel XE#7429])
[58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-8/igt@[email protected]
* igt@kms_psr@fbc-psr-suspend:
- shard-bmg: NOTRUN -> [SKIP][59] ([Intel XE#2234] / [Intel XE#2850]) +14 other tests skip
[59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-2/igt@[email protected]
* igt@kms_rotation_crc@primary-y-tiled-reflect-x-90:
- shard-bmg: NOTRUN -> [SKIP][60] ([Intel XE#3904] / [Intel XE#7342]) +2 other tests skip
[60]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-3/igt@[email protected]
* igt@kms_rotation_crc@primary-yf-tiled-reflect-x-180:
- shard-bmg: NOTRUN -> [SKIP][61] ([Intel XE#2330] / [Intel XE#5813]) +1 other test skip
[61]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-3/igt@[email protected]
* igt@kms_sharpness_filter@invalid-filter-with-scaler:
- shard-bmg: NOTRUN -> [SKIP][62] ([Intel XE#6503]) +2 other tests skip
[62]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-8/igt@[email protected]
* igt@kms_vrr@flip-basic-fastset:
- shard-bmg: NOTRUN -> [SKIP][63] ([Intel XE#1499]) +1 other test skip
[63]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-1/igt@[email protected]
* igt@xe_evict@evict-mixed-many-threads-small:
- shard-bmg: [PASS][64] -> [INCOMPLETE][65] ([Intel XE#6321] / [Intel XE#8355]) +1 other test incomplete
[64]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5493-231ba00442a06ee877bfed4765c0b1b48bebbf78/shard-bmg-4/igt@[email protected]
[65]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-8/igt@[email protected]
* igt@xe_evict@evict-small-external-multi-queue-cm:
- shard-bmg: NOTRUN -> [SKIP][66] ([Intel XE#8370])
[66]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-10/igt@[email protected]
* igt@xe_exec_basic@multigpu-many-execqueues-many-vm-userptr-invalidate:
- shard-bmg: NOTRUN -> [SKIP][67] ([Intel XE#2322] / [Intel XE#7372]) +12 other tests skip
[67]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-3/igt@xe_exec_basic@multigpu-many-execqueues-many-vm-userptr-invalidate.html
* igt@xe_exec_fault_mode@many-multi-queue-userptr-invalidate-race-prefetch:
- shard-bmg: NOTRUN -> [SKIP][68] ([Intel XE#8374]) +11 other tests skip
[68]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-1/igt@xe_exec_fault_mode@many-multi-queue-userptr-invalidate-race-prefetch.html
* igt@xe_exec_multi_queue@one-queue-priority-smem:
- shard-bmg: NOTRUN -> [SKIP][69] ([Intel XE#8364]) +33 other tests skip
[69]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-6/igt@[email protected]
* igt@xe_exec_reset@multi-queue-cat-error-on-secondary:
- shard-bmg: NOTRUN -> [SKIP][70] ([Intel XE#8369]) +2 other tests skip
[70]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-9/igt@[email protected]
* igt@xe_exec_threads@threads-multi-queue-mixed-rebind:
- shard-bmg: NOTRUN -> [SKIP][71] ([Intel XE#8378]) +7 other tests skip
[71]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-5/igt@[email protected]
* igt@xe_fault_injection@inject-fault-probe-function-xe_device_probe_early:
- shard-bmg: [PASS][72] -> [ABORT][73] ([Intel XE#8007]) +1 other test abort
[72]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5493-231ba00442a06ee877bfed4765c0b1b48bebbf78/shard-bmg-2/igt@xe_fault_injection@inject-fault-probe-function-xe_device_probe_early.html
[73]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-4/igt@xe_fault_injection@inject-fault-probe-function-xe_device_probe_early.html
* igt@xe_multigpu_svm@mgpu-coherency-fail-prefetch:
- shard-bmg: NOTRUN -> [SKIP][74] ([Intel XE#6964]) +3 other tests skip
[74]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-2/igt@[email protected]
* igt@xe_page_reclaim@invalid-1g:
- shard-bmg: NOTRUN -> [SKIP][75] ([Intel XE#7793]) +2 other tests skip
[75]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-4/igt@[email protected]
* igt@xe_pat@pat-index-xehpc:
- shard-bmg: NOTRUN -> [SKIP][76] ([Intel XE#1420] / [Intel XE#7590])
[76]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-6/igt@[email protected]
* igt@xe_pat@pat-index-xelpg:
- shard-bmg: NOTRUN -> [SKIP][77] ([Intel XE#2236] / [Intel XE#7590])
[77]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-8/igt@[email protected]
* igt@xe_pat@xa-app-transient-media-off:
- shard-bmg: NOTRUN -> [SKIP][78] ([Intel XE#7590])
[78]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-1/igt@[email protected]
* igt@xe_peer2peer@read:
- shard-bmg: NOTRUN -> [SKIP][79] ([Intel XE#2427] / [Intel XE#6953] / [Intel XE#7326] / [Intel XE#7353])
[79]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-10/igt@[email protected]
* igt@xe_pm@d3cold-mocs:
- shard-bmg: NOTRUN -> [SKIP][80] ([Intel XE#2284] / [Intel XE#7370]) +1 other test skip
[80]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-3/igt@[email protected]
* igt@xe_pm@d3hot-i2c:
- shard-bmg: NOTRUN -> [SKIP][81] ([Intel XE#5742] / [Intel XE#7328] / [Intel XE#7400])
[81]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-8/igt@[email protected]
* igt@xe_pxp@pxp-stale-bo-exec-post-rpm:
- shard-bmg: NOTRUN -> [SKIP][82] ([Intel XE#4733] / [Intel XE#7417]) +1 other test skip
[82]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-10/igt@[email protected]
* igt@xe_query@multigpu-query-cs-cycles:
- shard-bmg: NOTRUN -> [SKIP][83] ([Intel XE#944]) +2 other tests skip
[83]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-4/igt@[email protected]
* igt@xe_sriov_scheduling@default-enabled-fair-scheduling:
- shard-bmg: [PASS][84] -> [FAIL][85] ([Intel XE#7992]) +2 other tests fail
[84]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5493-231ba00442a06ee877bfed4765c0b1b48bebbf78/shard-bmg-7/igt@[email protected]
[85]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-5/igt@[email protected]
* igt@xe_sriov_scheduling@default-enabled-fair-scheduling@numvfs-random-gt1-vcs0:
- shard-bmg: [PASS][86] -> [SKIP][87] ([Intel XE#8617])
[86]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5493-231ba00442a06ee877bfed4765c0b1b48bebbf78/shard-bmg-7/igt@xe_sriov_scheduling@[email protected]
[87]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-5/igt@xe_sriov_scheduling@[email protected]
#### Possible fixes ####
* igt@kms_cursor_legacy@cursora-vs-flipb-atomic-transitions-varying-size:
- shard-bmg: [INCOMPLETE][88] ([Intel XE#8151]) -> [PASS][89]
[88]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5493-231ba00442a06ee877bfed4765c0b1b48bebbf78/shard-bmg-3/igt@kms_cursor_legacy@cursora-vs-flipb-atomic-transitions-varying-size.html
[89]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-3/igt@kms_cursor_legacy@cursora-vs-flipb-atomic-transitions-varying-size.html
* igt@kms_fbcon_fbt@fbc-suspend:
- shard-lnl: [FAIL][90] ([Intel XE#7949] / [i915#4767]) -> [PASS][91]
[90]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5493-231ba00442a06ee877bfed4765c0b1b48bebbf78/shard-lnl-6/igt@[email protected]
[91]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-lnl-1/igt@[email protected]
* igt@kms_flip@2x-flip-vs-expired-vblank@bd-dp2-hdmi-a3:
- shard-bmg: [INCOMPLETE][92] ([Intel XE#8155]) -> [PASS][93] +1 other test pass
[92]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5493-231ba00442a06ee877bfed4765c0b1b48bebbf78/shard-bmg-6/igt@kms_flip@[email protected]
[93]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-5/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-expired-vblank-interruptible:
- shard-lnl: [FAIL][94] ([Intel XE#301] / [Intel XE#3149]) -> [PASS][95] +1 other test pass
[94]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5493-231ba00442a06ee877bfed4765c0b1b48bebbf78/shard-lnl-1/igt@[email protected]
[95]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-lnl-7/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank-interruptible@a-edp1:
- shard-lnl: [FAIL][96] ([Intel XE#301]) -> [PASS][97]
[96]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5493-231ba00442a06ee877bfed4765c0b1b48bebbf78/shard-lnl-1/igt@kms_flip@[email protected]
[97]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-lnl-7/igt@kms_flip@[email protected]
* igt@xe_module_load@reload-no-display:
- shard-bmg: [ABORT][98] ([Intel XE#8007]) -> [PASS][99] +2 other tests pass
[98]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5493-231ba00442a06ee877bfed4765c0b1b48bebbf78/shard-bmg-3/igt@[email protected]
[99]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-10/igt@[email protected]
* igt@xe_sriov_vfio@region-info:
- shard-bmg: [ABORT][100] -> [PASS][101]
[100]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5493-231ba00442a06ee877bfed4765c0b1b48bebbf78/shard-bmg-10/igt@[email protected]
[101]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-6/igt@[email protected]
#### Warnings ####
* igt@kms_hdr@brightness-with-hdr:
- shard-bmg: [SKIP][102] ([Intel XE#3544]) -> [SKIP][103] ([Intel XE#3374] / [Intel XE#3544])
[102]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5493-231ba00442a06ee877bfed4765c0b1b48bebbf78/shard-bmg-10/igt@[email protected]
[103]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-2/igt@[email protected]
* igt@kms_tiled_display@basic-test-pattern:
- shard-bmg: [SKIP][104] ([Intel XE#2426] / [Intel XE#5848]) -> [FAIL][105] ([Intel XE#1729] / [Intel XE#7424])
[104]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5493-231ba00442a06ee877bfed4765c0b1b48bebbf78/shard-bmg-7/igt@[email protected]
[105]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-10/igt@[email protected]
* igt@kms_tiled_display@basic-test-pattern-with-chamelium:
- shard-bmg: [SKIP][106] ([Intel XE#2509] / [Intel XE#7437]) -> [SKIP][107] ([Intel XE#2426] / [Intel XE#5848])
[106]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5493-231ba00442a06ee877bfed4765c0b1b48bebbf78/shard-bmg-10/igt@[email protected]
[107]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/shard-bmg-2/igt@[email protected]
[Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124
[Intel XE#1178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1178
[Intel XE#1420]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1420
[Intel XE#1489]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1489
[Intel XE#1499]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1499
[Intel XE#1729]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1729
[Intel XE#2234]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2234
[Intel XE#2236]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2236
[Intel XE#2252]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2252
[Intel XE#2284]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2284
[Intel XE#2286]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2286
[Intel XE#2311]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2311
[Intel XE#2313]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2313
[Intel XE#2320]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2320
[Intel XE#2321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2321
[Intel XE#2322]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2322
[Intel XE#2325]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2325
[Intel XE#2327]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2327
[Intel XE#2328]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2328
[Intel XE#2330]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2330
[Intel XE#2352]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2352
[Intel XE#2387]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2387
[Intel XE#2390]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2390
[Intel XE#2426]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2426
[Intel XE#2427]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2427
[Intel XE#2499]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2499
[Intel XE#2509]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2509
[Intel XE#2652]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2652
[Intel XE#2763]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2763
[Intel XE#2850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2850
[Intel XE#2887]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2887
[Intel XE#2938]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2938
[Intel XE#301]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/301
[Intel XE#3149]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3149
[Intel XE#3304]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3304
[Intel XE#3374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3374
[Intel XE#3432]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3432
[Intel XE#3544]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3544
[Intel XE#367]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/367
[Intel XE#3904]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3904
[Intel XE#4141]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4141
[Intel XE#4354]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4354
[Intel XE#4733]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4733
[Intel XE#5742]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5742
[Intel XE#5813]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5813
[Intel XE#5848]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5848
[Intel XE#5882]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5882
[Intel XE#6035]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6035
[Intel XE#607]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/607
[Intel XE#610]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/610
[Intel XE#6321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6321
[Intel XE#6503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6503
[Intel XE#6814]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6814
[Intel XE#6886]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6886
[Intel XE#6953]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6953
[Intel XE#6964]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6964
[Intel XE#6974]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6974
[Intel XE#7061]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7061
[Intel XE#7084]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7084
[Intel XE#7178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7178
[Intel XE#7179]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7179
[Intel XE#7283]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7283
[Intel XE#7308]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7308
[Intel XE#7326]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7326
[Intel XE#7328]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7328
[Intel XE#7342]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7342
[Intel XE#7349]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7349
[Intel XE#7351]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7351
[Intel XE#7353]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7353
[Intel XE#7355]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7355
[Intel XE#7356]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7356
[Intel XE#7358]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7358
[Intel XE#7361]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7361
[Intel XE#7367]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7367
[Intel XE#7370]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7370
[Intel XE#7372]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7372
[Intel XE#7374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7374
[Intel XE#7376]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7376
[Intel XE#7387]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7387
[Intel XE#7399]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7399
[Intel XE#7400]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7400
[Intel XE#7417]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7417
[Intel XE#7424]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7424
[Intel XE#7428]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7428
[Intel XE#7429]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7429
[Intel XE#7437]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7437
[Intel XE#7571]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7571
[Intel XE#7590]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7590
[Intel XE#7679]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7679
[Intel XE#7760]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7760
[Intel XE#7793]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7793
[Intel XE#7794]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7794
[Intel XE#7949]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7949
[Intel XE#7992]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7992
[Intel XE#8007]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8007
[Intel XE#8150]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8150
[Intel XE#8151]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8151
[Intel XE#8155]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8155
[Intel XE#8265]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8265
[Intel XE#8303]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8303
[Intel XE#8355]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8355
[Intel XE#8364]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8364
[Intel XE#8369]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8369
[Intel XE#8370]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8370
[Intel XE#8374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8374
[Intel XE#8378]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8378
[Intel XE#8395]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8395
[Intel XE#8396]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8396
[Intel XE#8399]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8399
[Intel XE#8591]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8591
[Intel XE#8617]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8617
[Intel XE#944]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/944
[i915#4767]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4767
Build changes
-------------
* IGT: IGT_9027 -> IGT_9029
* Linux: xe-5493-231ba00442a06ee877bfed4765c0b1b48bebbf78 -> xe-pw-171022v2
IGT_9027: 9027
IGT_9029: 9029
xe-5493-231ba00442a06ee877bfed4765c0b1b48bebbf78: 231ba00442a06ee877bfed4765c0b1b48bebbf78
xe-pw-171022v2: 171022v2
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v2/index.html
Quoted 51 lines · Michal Wajdeczko
Today the driver reports faults with ad-hoc drm_err()/xe_gt_err() strings that have no stable shape. That is readable for a human, but it gives fleet tooling nothing durable to match on: the wording changes between releases, lines can be rate-limited or dropped under an error storm, and there is no consistent way to ask "which recognised fault just happened?".
Introduce a signature identifier (SIGID): a small, stable integer that names one recognised Xe fault situation and serves as the primary handle for triage. A SIGID maps, through published end-user documentation, to a description and a recommended action; the driver only has to emit the right SIGID next to the usual human-readable text.
Design decisions:
- Software-emitted signatures only. This header enumerates just the situations the driver detects and reports itself. Signatures that originate in firmware or hardware are identified by those layers (via their own records/counters) and are logged as received -- minting a driver-side id for them would duplicate an id the reporting layer already owns.
- Flat catalogue, chosen per report site. Each site emits the single most specific situation for that site, so a multi-layer failure produces a chain of reports rather than one ambiguous classification (e.g. a failed GT reset reports
GT_TDRand then WEDGED). A site that matches no defined situation keeps using ordinaryxe_err()/xe_gt_err()rather than forcing a wrong id.- Stable numbering. A single flat list numbered sequentially from 1, in introduction order. Values are only ever appended, never renumbered or reused.
- First-order action. Each SIGID carries a coarse, in-tree resolution bucket (COLLECT / RETRY / UPDATE / RECOVER) so it is actionable without an external reference, and so every new id must declare what to do about it.
- Severity is decoupled from the SIGID and chosen at the call site via
xe_ras_log_fatal()/_recoverable()/_info(); the same situation can be reported at different severities depending on the instance.- dmesg stays close to a normal xe error line by reusing
xe_err()/xe_gt_err()(and their Tile/GT decoration); the only stable, machine-matchable token added is SIGID=<n>. dmesg is not an ABI -- the durable machine record is the CPER carrying the same SIGID (a planned follow-up, left as a TODO).Wire up a representative site for each software signature so the set is exercised rather than merely declared:
Quoted 8 lines
- PROBE: xe workqueue allocation failure during early init
- WEDGED:xe_device_declare_wedged()(drop redundant "CRITICAL" + BDF)
- SURVIVABILITY: entering boot survivability mode
-RUNTIME_FW: GuC mmio request failure
-DEVICE_FW: PCODE mailbox failure
-GT_TDR: GT reset failure (which then chains into a WEDGED report)
-MEM_FAULT: page-fault queue overflow
-IO_BUS: PCI re-enable failure after a bus reset
The idea is not new, see for example [1] and [2]. I'm not sure if that was ever merged, though. Would be good to know what came of it, and why.
There's also the printk index support already in the kernel [3]. Did you look into that? If not, please do. If yes, please iterate why that can't be used, or extended, and a local mechanism is required.
FWIW, I think merging driver local mechanisms for what should really be generic kernel stuff usually ends up being a maintenance PITA. It's easy in the beginning, a burden in the end, and even harder to migrate to generic mechanisms. We've seen this over and over in i915, even for superficially small things. Part of the reason for xe existing in the first place is to use common stuff instead of reinventing the weels.
BR,
Jani.
[1] https://lwn.net/Articles/464276/
[2] https://lwn.net/Articles/492125/
[3] https://lkml.org/lkml/2021/6/15/1053
Quoted 73 lines
Signed-off-by Mallesh Koujalagi <[email protected]>Signed-off-by Rodrigo Vivi <[email protected]>Signed-off-by Michal Wajdeczko <[email protected]>Cc Thomas Hellström <[email protected]>Cc Matthew Brost <[email protected]>Cc Aravind Iddamsetty <[email protected]>Cc Riana Tauro <[email protected]>Cc Raag Jadav <[email protected]>Cc Badal Nilawar <[email protected]>v1: https://patchwork.freedesktop.org/series/171022/#rev1
v2: component/location dmesg decorations moved away from macros
HW component identifiers related to RAS/FW enum values CORRECTED severity rendered as an error
more support for const pointers
log 'probe blocked' as INFO
fix kunit device setup
more testsMallesh Koujalagi (1):
drm/xe/log: Add structured SIGID error logging infrastructureMichal Wajdeczko (21):
drm/xe: Introducexe_anyhelpers
drm/xe/log: Introduce structured component/location identifiers drm/xe/log: Add component/location decorations to dmesg drm/xe/log: Add SIGID log helpers for severity drm/xe/log: Add SIGID log helpers for location drm/xe/log: Add SIGID log helpers for location & severity drm/xe/log: Add SIGID log helpers for components drm/xe/log: Add SIGID log helpers for errno-only drm/xe/log: Add hardware error signatures
drm/xe/log: Extend components list with hardware items drm/xe/ras: Check RAS and LOG component definitions drm/xe/kunit: Setup driver data in the test device drm/xe/tests: Add Kunit tests forxe_log
drm/xe: Report 'probe blocked' error using SIGID drm/xe: Report 'device wedged' errors using SIGID drm/xe: Report 'Survivability Mode' errors using SIGID drm/xe/guc: Report 'GuC mmio' errors using SIGID drm/xe/pcode: Report 'Mailbox failed' error using SIGID drm/xe/gt: Report 'reset failed' errors using SIGID drm/xe/gt: Report 'pagefault' errors using SIGID drm/xe/pci: Report 'cannot re-enable' error using SIGIDDocumentation/gpu/xe/index.rst | 1 + Documentation/gpu/xe/xe_sigid.rst | 14 + drivers/gpu/drm/xe/Makefile | 1 + drivers/gpu/drm/xe/abi/xe_log_abi.h | 197 ++++++++ drivers/gpu/drm/xe/abi/xe_sigid_abi.h | 195 ++++++++ drivers/gpu/drm/xe/tests/xe_kunit_helpers.c | 4 + drivers/gpu/drm/xe/tests/xe_log_kunit.c | 480 ++++++++++++++++++++ drivers/gpu/drm/xe/xe_any.h | 112 +++++ drivers/gpu/drm/xe/xe_device.c | 16 +- drivers/gpu/drm/xe/xe_gt.c | 7 +- drivers/gpu/drm/xe/xe_guc.c | 18 +- drivers/gpu/drm/xe/xe_log.c | 212 +++++++++ drivers/gpu/drm/xe/xe_log.h | 158 +++++++ drivers/gpu/drm/xe/xe_pagefault.c | 10 +- drivers/gpu/drm/xe/xe_pci.c | 5 +- drivers/gpu/drm/xe/xe_pci_error.c | 7 +- drivers/gpu/drm/xe/xe_pcode.c | 5 +- drivers/gpu/drm/xe/xe_ras.c | 11 + drivers/gpu/drm/xe/xe_survivability_mode.c | 24 +- 19 files changed, 1438 insertions(+), 39 deletions(-) create mode 100644 Documentation/gpu/xe/xe_sigid.rst create mode 100644 drivers/gpu/drm/xe/abi/xe_log_abi.h create mode 100644 drivers/gpu/drm/xe/abi/xe_sigid_abi.h create mode 100644 drivers/gpu/drm/xe/tests/xe_log_kunit.c create mode 100644 drivers/gpu/drm/xe/xe_any.h create mode 100644 drivers/gpu/drm/xe/xe_log.c create mode 100644 drivers/gpu/drm/xe/xe_log.h
Signature · 1 line
Jani Nikula, Intel
Rodrigo Vivi
maintainerQuoted 61 lines · Jani Nikula
Quoted 51 lines · Michal Wajdeczko
Today the driver reports faults with ad-hoc drm_err()/xe_gt_err() strings that have no stable shape. That is readable for a human, but it gives fleet tooling nothing durable to match on: the wording changes between releases, lines can be rate-limited or dropped under an error storm, and there is no consistent way to ask "which recognised fault just happened?".
Introduce a signature identifier (SIGID): a small, stable integer that names one recognised Xe fault situation and serves as the primary handle for triage. A SIGID maps, through published end-user documentation, to a description and a recommended action; the driver only has to emit the right SIGID next to the usual human-readable text.
Design decisions:
- Software-emitted signatures only. This header enumerates just the situations the driver detects and reports itself. Signatures that originate in firmware or hardware are identified by those layers (via their own records/counters) and are logged as received -- minting a driver-side id for them would duplicate an id the reporting layer already owns.
- Flat catalogue, chosen per report site. Each site emits the single most specific situation for that site, so a multi-layer failure produces a chain of reports rather than one ambiguous classification (e.g. a failed GT reset reports
GT_TDRand then WEDGED). A site that matches no defined situation keeps using ordinaryxe_err()/xe_gt_err()rather than forcing a wrong id.- Stable numbering. A single flat list numbered sequentially from 1, in introduction order. Values are only ever appended, never renumbered or reused.
- First-order action. Each SIGID carries a coarse, in-tree resolution bucket (COLLECT / RETRY / UPDATE / RECOVER) so it is actionable without an external reference, and so every new id must declare what to do about it.
- Severity is decoupled from the SIGID and chosen at the call site via
xe_ras_log_fatal()/_recoverable()/_info(); the same situation can be reported at different severities depending on the instance.- dmesg stays close to a normal xe error line by reusing
xe_err()/xe_gt_err()(and their Tile/GT decoration); the only stable, machine-matchable token added is SIGID=<n>. dmesg is not an ABI -- the durable machine record is the CPER carrying the same SIGID (a planned follow-up, left as a TODO).Wire up a representative site for each software signature so the set is exercised rather than merely declared:
Quoted 8 lines
- PROBE: xe workqueue allocation failure during early init
- WEDGED:xe_device_declare_wedged()(drop redundant "CRITICAL" + BDF)
- SURVIVABILITY: entering boot survivability mode
-RUNTIME_FW: GuC mmio request failure
-DEVICE_FW: PCODE mailbox failure
-GT_TDR: GT reset failure (which then chains into a WEDGED report)
-MEM_FAULT: page-fault queue overflow
-IO_BUS: PCI re-enable failure after a bus reset
Quoted 6 lines
The idea is not new, see for example [1] and [2]. I'm not sure if that was ever merged, though. Would be good to know what came of it, and why.
There's also the printk index support already in the kernel [3]. Did you look into that? If not, please do. If yes, please iterate why that can't be used, or extended, and a local mechanism is required.
Well, I do agree with your feeling here. When this request first came to us, it was framed similarly to the two older proposals you referenced. I pushed back making it very clear that our kernel log is not an ABI and it will never be... that our debug messages are for our own developers to consume and edit as the code evolves. So, I refused and blocked any attempt to modify all the messages and force them to follow this format.
So, this evolved a bit since. I hope. We have agreed that the ABI itself is not the dmesg, but the CPER that is emitted on tracefs... that's the ultimate goal. The message here is just an extra helper and it brings both our CPER/tracefs and the dmesg helper. So, the printk index cannot be used here. It has no mechanism to influence or annotate what goes into CPER records. And even if we modified it, its volatile number doesn't work with the CPER goals.
The goal is to have this SIGID mostly identifying FW/HW stuff and a few of the key points that could help providing a guidance/map to a recovery path. With an intentionally narrow scope.
Quoted 7 lines
FWIW, I think merging driver local mechanisms for what should really be generic kernel stuff usually ends up being a maintenance PITA. It's easy in the beginning, a burden in the end, and even harder to migrate to generic mechanisms. We've seen this over and over in i915, even for superficially small things. Part of the reason for xe existing in the first place is to use common stuff instead of reinventing the weels.
I agree with you as well on the pain point of maintaining this in the driver and this is why I liked Michal's macros. At the same time, I do agree that the macros could be improved for easy cscope usage indeed too.
I also agree with the sentiment that it will be even harder to migrate to generic mechanisms if needed. But honestly, I doubt that this specific Intel GPU IDs will go beyond our GPU CPERs. So, let's just contain this in the mapping macros here for now, use in a very few key places and move forward.
Thanks,
Rodrigo.
Quoted 85 lines
BR,
Jani.[1] https://lwn.net/Articles/464276/
[2] https://lwn.net/Articles/492125/
[3] https://lkml.org/lkml/2021/6/15/1053Quoted 73 lines
Signed-off-by Mallesh Koujalagi <[email protected]>Signed-off-by Rodrigo Vivi <[email protected]>Signed-off-by Michal Wajdeczko <[email protected]>Cc Thomas Hellström <[email protected]>Cc Matthew Brost <[email protected]>Cc Aravind Iddamsetty <[email protected]>Cc Riana Tauro <[email protected]>Cc Raag Jadav <[email protected]>Cc Badal Nilawar <[email protected]>v1: https://patchwork.freedesktop.org/series/171022/#rev1
v2: component/location dmesg decorations moved away from macros
HW component identifiers related to RAS/FW enum values CORRECTED severity rendered as an error
more support for const pointers
log 'probe blocked' as INFO
fix kunit device setup
more testsMallesh Koujalagi (1):
drm/xe/log: Add structured SIGID error logging infrastructureMichal Wajdeczko (21):
drm/xe: Introducexe_anyhelpers
drm/xe/log: Introduce structured component/location identifiers drm/xe/log: Add component/location decorations to dmesg drm/xe/log: Add SIGID log helpers for severity drm/xe/log: Add SIGID log helpers for location drm/xe/log: Add SIGID log helpers for location & severity drm/xe/log: Add SIGID log helpers for components drm/xe/log: Add SIGID log helpers for errno-only drm/xe/log: Add hardware error signatures
drm/xe/log: Extend components list with hardware items drm/xe/ras: Check RAS and LOG component definitions drm/xe/kunit: Setup driver data in the test device drm/xe/tests: Add Kunit tests forxe_log
drm/xe: Report 'probe blocked' error using SIGID drm/xe: Report 'device wedged' errors using SIGID drm/xe: Report 'Survivability Mode' errors using SIGID drm/xe/guc: Report 'GuC mmio' errors using SIGID drm/xe/pcode: Report 'Mailbox failed' error using SIGID drm/xe/gt: Report 'reset failed' errors using SIGID drm/xe/gt: Report 'pagefault' errors using SIGID drm/xe/pci: Report 'cannot re-enable' error using SIGIDDocumentation/gpu/xe/index.rst | 1 + Documentation/gpu/xe/xe_sigid.rst | 14 + drivers/gpu/drm/xe/Makefile | 1 + drivers/gpu/drm/xe/abi/xe_log_abi.h | 197 ++++++++ drivers/gpu/drm/xe/abi/xe_sigid_abi.h | 195 ++++++++ drivers/gpu/drm/xe/tests/xe_kunit_helpers.c | 4 + drivers/gpu/drm/xe/tests/xe_log_kunit.c | 480 ++++++++++++++++++++ drivers/gpu/drm/xe/xe_any.h | 112 +++++ drivers/gpu/drm/xe/xe_device.c | 16 +- drivers/gpu/drm/xe/xe_gt.c | 7 +- drivers/gpu/drm/xe/xe_guc.c | 18 +- drivers/gpu/drm/xe/xe_log.c | 212 +++++++++ drivers/gpu/drm/xe/xe_log.h | 158 +++++++ drivers/gpu/drm/xe/xe_pagefault.c | 10 +- drivers/gpu/drm/xe/xe_pci.c | 5 +- drivers/gpu/drm/xe/xe_pci_error.c | 7 +- drivers/gpu/drm/xe/xe_pcode.c | 5 +- drivers/gpu/drm/xe/xe_ras.c | 11 + drivers/gpu/drm/xe/xe_survivability_mode.c | 24 +- 19 files changed, 1438 insertions(+), 39 deletions(-) create mode 100644 Documentation/gpu/xe/xe_sigid.rst create mode 100644 drivers/gpu/drm/xe/abi/xe_log_abi.h create mode 100644 drivers/gpu/drm/xe/abi/xe_sigid_abi.h create mode 100644 drivers/gpu/drm/xe/tests/xe_log_kunit.c create mode 100644 drivers/gpu/drm/xe/xe_any.h create mode 100644 drivers/gpu/drm/xe/xe_log.c create mode 100644 drivers/gpu/drm/xe/xe_log.hSignature · 1 line
Jani Nikula, Intel
Quoted 84 lines · Rodrigo Vivi
Quoted 61 lines · Jani Nikula
Quoted 51 lines · Michal Wajdeczko
Today the driver reports faults with ad-hoc drm_err()/xe_gt_err() strings that have no stable shape. That is readable for a human, but it gives fleet tooling nothing durable to match on: the wording changes between releases, lines can be rate-limited or dropped under an error storm, and there is no consistent way to ask "which recognised fault just happened?".
Introduce a signature identifier (SIGID): a small, stable integer that names one recognised Xe fault situation and serves as the primary handle for triage. A SIGID maps, through published end-user documentation, to a description and a recommended action; the driver only has to emit the right SIGID next to the usual human-readable text.
Design decisions:
- Software-emitted signatures only. This header enumerates just the situations the driver detects and reports itself. Signatures that originate in firmware or hardware are identified by those layers (via their own records/counters) and are logged as received -- minting a driver-side id for them would duplicate an id the reporting layer already owns.
- Flat catalogue, chosen per report site. Each site emits the single most specific situation for that site, so a multi-layer failure produces a chain of reports rather than one ambiguous classification (e.g. a failed GT reset reports
GT_TDRand then WEDGED). A site that matches no defined situation keeps using ordinaryxe_err()/xe_gt_err()rather than forcing a wrong id.- Stable numbering. A single flat list numbered sequentially from 1, in introduction order. Values are only ever appended, never renumbered or reused.
- First-order action. Each SIGID carries a coarse, in-tree resolution bucket (COLLECT / RETRY / UPDATE / RECOVER) so it is actionable without an external reference, and so every new id must declare what to do about it.
- Severity is decoupled from the SIGID and chosen at the call site via
xe_ras_log_fatal()/_recoverable()/_info(); the same situation can be reported at different severities depending on the instance.- dmesg stays close to a normal xe error line by reusing
xe_err()/xe_gt_err()(and their Tile/GT decoration); the only stable, machine-matchable token added is SIGID=<n>. dmesg is not an ABI -- the durable machine record is the CPER carrying the same SIGID (a planned follow-up, left as a TODO).Wire up a representative site for each software signature so the set is exercised rather than merely declared:
Quoted 8 lines
- PROBE: xe workqueue allocation failure during early init
- WEDGED:xe_device_declare_wedged()(drop redundant "CRITICAL" + BDF)
- SURVIVABILITY: entering boot survivability mode
-RUNTIME_FW: GuC mmio request failure
-DEVICE_FW: PCODE mailbox failure
-GT_TDR: GT reset failure (which then chains into a WEDGED report)
-MEM_FAULT: page-fault queue overflow
-IO_BUS: PCI re-enable failure after a bus resetQuoted 6 lines
The idea is not new, see for example [1] and [2]. I'm not sure if that was ever merged, though. Would be good to know what came of it, and why.
There's also the printk index support already in the kernel [3]. Did you look into that? If not, please do. If yes, please iterate why that can't be used, or extended, and a local mechanism is required.
Well, I do agree with your feeling here. When this request first came to us, it was framed similarly to the two older proposals you referenced. I pushed back making it very clear that our kernel log is not an ABI and it will never be... that our debug messages are for our own developers to consume and edit as the code evolves. So, I refused and blocked any attempt to modify all the messages and force them to follow this format.
So, this evolved a bit since. I hope. We have agreed that the ABI itself is not the dmesg, but the CPER that is emitted on tracefs... that's the ultimate goal. The message here is just an extra helper and it brings both our CPER/tracefs and the dmesg helper. So, the printk index cannot be used here. It has no mechanism to influence or annotate what goes into CPER records. And even if we modified it, its volatile number doesn't work with the CPER goals.
Quoted 3 lines
The goal is to have this SIGID mostly identifying FW/HW stuff and a few of the key points that could help providing a guidance/map to a recovery path. With an intentionally narrow scope.
So why not stick to a specific interface instead kernel logs having to bare the burden here? CI results are already full of noise, so it's a bit unclear how this makes developers' life any easier. I now have to figure out all the macros before reaching to the point of failure :)
Raag
Rodrigo Vivi
maintainerQuoted 85 lines · Raag Jadav
Quoted 84 lines · Rodrigo Vivi
Quoted 61 lines · Jani Nikula
Quoted 51 lines · Michal Wajdeczko
Today the driver reports faults with ad-hoc drm_err()/xe_gt_err() strings that have no stable shape. That is readable for a human, but it gives fleet tooling nothing durable to match on: the wording changes between releases, lines can be rate-limited or dropped under an error storm, and there is no consistent way to ask "which recognised fault just happened?".
Introduce a signature identifier (SIGID): a small, stable integer that names one recognised Xe fault situation and serves as the primary handle for triage. A SIGID maps, through published end-user documentation, to a description and a recommended action; the driver only has to emit the right SIGID next to the usual human-readable text.
Design decisions:
- Software-emitted signatures only. This header enumerates just the situations the driver detects and reports itself. Signatures that originate in firmware or hardware are identified by those layers (via their own records/counters) and are logged as received -- minting a driver-side id for them would duplicate an id the reporting layer already owns.
- Flat catalogue, chosen per report site. Each site emits the single most specific situation for that site, so a multi-layer failure produces a chain of reports rather than one ambiguous classification (e.g. a failed GT reset reports
GT_TDRand then WEDGED). A site that matches no defined situation keeps using ordinaryxe_err()/xe_gt_err()rather than forcing a wrong id.- Stable numbering. A single flat list numbered sequentially from 1, in introduction order. Values are only ever appended, never renumbered or reused.
- First-order action. Each SIGID carries a coarse, in-tree resolution bucket (COLLECT / RETRY / UPDATE / RECOVER) so it is actionable without an external reference, and so every new id must declare what to do about it.
- Severity is decoupled from the SIGID and chosen at the call site via
xe_ras_log_fatal()/_recoverable()/_info(); the same situation can be reported at different severities depending on the instance.- dmesg stays close to a normal xe error line by reusing
xe_err()/xe_gt_err()(and their Tile/GT decoration); the only stable, machine-matchable token added is SIGID=<n>. dmesg is not an ABI -- the durable machine record is the CPER carrying the same SIGID (a planned follow-up, left as a TODO).Wire up a representative site for each software signature so the set is exercised rather than merely declared:
Quoted 8 lines
- PROBE: xe workqueue allocation failure during early init
- WEDGED:xe_device_declare_wedged()(drop redundant "CRITICAL" + BDF)
- SURVIVABILITY: entering boot survivability mode
-RUNTIME_FW: GuC mmio request failure
-DEVICE_FW: PCODE mailbox failure
-GT_TDR: GT reset failure (which then chains into a WEDGED report)
-MEM_FAULT: page-fault queue overflow
-IO_BUS: PCI re-enable failure after a bus resetQuoted 6 lines
The idea is not new, see for example [1] and [2]. I'm not sure if that was ever merged, though. Would be good to know what came of it, and why.
There's also the printk index support already in the kernel [3]. Did you look into that? If not, please do. If yes, please iterate why that can't be used, or extended, and a local mechanism is required.
Well, I do agree with your feeling here. When this request first came to us, it was framed similarly to the two older proposals you referenced. I pushed back making it very clear that our kernel log is not an ABI and it will never be... that our debug messages are for our own developers to consume and edit as the code evolves. So, I refused and blocked any attempt to modify all the messages and force them to follow this format.
So, this evolved a bit since. I hope. We have agreed that the ABI itself is not the dmesg, but the CPER that is emitted on tracefs... that's the ultimate goal. The message here is just an extra helper and it brings both our CPER/tracefs and the dmesg helper. So, the printk index cannot be used here. It has no mechanism to influence or annotate what goes into CPER records. And even if we modified it, its volatile number doesn't work with the CPER goals.
Quoted 6 lines
Quoted 3 lines
The goal is to have this SIGID mostly identifying FW/HW stuff and a few of the key points that could help providing a guidance/map to a recovery path. With an intentionally narrow scope.
So why not stick to a specific interface instead kernel logs having to bare the burden here?
Because dmesg is the first thing people look to understand the next step. Just a fast first stop shop.
Quoted 1 line
CI results are already full of noise,
It is not extra noise. This was one of the things that I blocked on the first design. There shouldn't be duplications nor multi-line debugs.
In a matter of fact, if you look the examples that Michal already has you will see that it looks cleaner than before.
Quoted 2 lines
so it's a
bit unclear how this makes developers' life any easier.
The goal is not to make developer life easier, but I explicit blocked attempts to make developers life harder.
Quoted 2 lines
I now have to
figure out all the macros before reaching to the point of failure :)
You don't.
Developers can continue using all the other existing error functions for any case. If you are not sure you need this sigid it is likely because you don't need. So no trouble in wasting time trying to map or invent another id for a new case.
Quoted 2 lines
Raag