drm/xe: Add structured SIGID error logging infrastructure
Subsystems (4)
v5 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.
- 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.
v1: https://patchwork.freedesktop.org/series/171022/#rev1
v2: https://patchwork.freedesktop.org/series/171022/#rev2
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
v3: https://patchwork.freedesktop.org/series/171022/#rev3
fix typos, args list and to_dev() corner case (Sashiko) use assoc macros in xe_any (Jani)
add xe_any kunit test suite (Michal)
add more xe_log test cases (Michal)
v4: https://patchwork.freedesktop.org/series/171022/#rev4
more patches with SIGID usage (Michal)
support for printk index (Jani)
more macros and other fixes (Mallesh)
no recovery buckets (all)
v5: new helper xe_log_err_info (Michal)
survivability changes (Riana)
report fault-response as info (Rodrigo/Daniele)
Mallesh Koujalagi (1):
drm/xe/log: Add structured SIGID error logging infrastructure
Michal Wajdeczko (32):
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 component & severity drm/xe/log: Add SIGID log helpers for errno-only drm/xe/log: Index all SIGID printk messages
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/tests: Add kunit tests for xe_any
drm/xe: Report 'probe blocked' status using SIGID
drm/xe: Report all probe errors using SIGID drm/xe/survivability: Report 'boot status' using SIGID drm/xe/survivability: Report sysfs failure in one place drm/xe/survivability: Report 'boot status' on sysfs failure drm/xe/survivability: Report 'Boot Mode enabled' status using SIGID drm/xe/survivability: Report 'Runtime Mode enabled' status using SIGID drm/xe: Report 'device wedged' errors using SIGID drm/xe/pcode: Report 'Mailbox failed' error using SIGID drm/xe/pcode: Report 'timeout, retrying' error using SIGID drm/xe/pcode: Report 'initialization timedout' error using SIGID drm/xe/guc: Report 'GuC mmio' errors using SIGID drm/xe/gt: Report 'reset failed' errors using SIGID drm/xe/gt: Report 'Fault response' pagefault error using SIGID drm/xe/gt: Report 'Queue full' pagefault error 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 | 199 +++++++ drivers/gpu/drm/xe/abi/xe_sigid_abi.h | 172 ++++++ drivers/gpu/drm/xe/tests/Makefile | 1 + drivers/gpu/drm/xe/tests/xe_any_kunit.c | 213 ++++++++ drivers/gpu/drm/xe/tests/xe_kunit_helpers.c | 4 + drivers/gpu/drm/xe/tests/xe_log_kunit.c | 553 ++++++++++++++++++++ drivers/gpu/drm/xe/xe_any.h | 137 +++++ 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 | 235 +++++++++ drivers/gpu/drm/xe/xe_log.h | 194 +++++++ drivers/gpu/drm/xe/xe_pagefault.c | 8 +- drivers/gpu/drm/xe/xe_pci.c | 32 +- drivers/gpu/drm/xe/xe_pci_error.c | 7 +- drivers/gpu/drm/xe/xe_pcode.c | 14 +- drivers/gpu/drm/xe/xe_ras.c | 11 + drivers/gpu/drm/xe/xe_survivability_mode.c | 85 +-- 21 files changed, 1854 insertions(+), 68 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_any_kunit.c 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 v5 1/33 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)
v3: fix another typo and fix to_pdev (Sashiko)
use assoc macros/helpers (Jani)
add support for drm_device (Michal)
--- drivers/gpu/drm/xe/xe_any.h | 137 ++++++++++++++++++++++++++++++++++++ 1 file changed, 137 insertions(+) create mode 100644 drivers/gpu/drm/xe/xe_any.h
drivers/gpu/drm/xe/xe_any.h new file +137 -0
@@ -0,0 +1,137 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright © 2026 Intel Corporation +*/ + +#ifndef _XE_ANY_H_ +#define _XE_ANY_H_ + +#include "xe_device.h" + +#define __xe_any_to_self_assoc (type, any) \ + const type * : (any), \ + type * : (any) + +/** +* 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), \ + __xe_any_to_self_assoc(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) + +#define __xe_any_to_other_assoc (const, from, other, p) \ + const struct from * : __##from##_to_##other((const struct from *)(p)) + +#define __xe_tile_to_xe_device (p) tile_to_xe(p) +#define __xe_gt_to_xe_device (p) gt_to_xe(p) +#define __pci_dev_to_xe_device (p) pdev_to_xe_device(p) +#define __device_to_xe_device (p) kdev_to_xe_device(p) +#define __drm_device_to_xe_device (p) to_xe_device(p) +#define __pci_dev_to_device (p) (&(p)->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), \ + __xe_any_to_self_assoc(struct xe_device, (any)), \ + __xe_any_to_other_assoc(/* */, xe_tile, xe_device, (any)), \ + __xe_any_to_other_assoc(const, xe_tile, xe_device, (any)), \ + __xe_any_to_other_assoc(/* */, xe_gt, xe_device, (any)), \ + __xe_any_to_other_assoc(const, xe_gt, xe_device, (any)), \ + __xe_any_to_other_assoc(, drm_device, xe_device, (any)), \ + __xe_any_to_other_assoc(, pci_dev, xe_device, (any)), \ + __xe_any_to_other_assoc(, device, xe_device, (any))) + +/** +* xe_any_to_drm() - Obtain the &drm_device pointer. +* @any: the &pci_dev or the &xe_device or &xe_tile or &xe_gt pointer +* +* Return: the @drm_device pointer or backpointer. +*/ +#define xe_any_to_drm (any) \ + _Generic((any), \ + __xe_any_to_self_assoc(struct drm_device, (any)), \ + default : &xe_any_to_xe(any)->drm) + +/** +* 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 @device pointer or backpointer. +*/ +#define xe_any_to_dev (any) \ + _Generic((any), \ + __xe_any_to_self_assoc(struct device, (any)), \ + __xe_any_to_other_assoc(, pci_dev, device, (any)), \ + default : xe_any_to_drm(any)->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), \ + __xe_any_to_self_assoc(struct pci_dev, (any)), \ + default : to_pci_dev(xe_any_to_dev(any))) + +#define __xe_tile_to_id (p) ((p)->id) +#define __xe_gt_to_id (p) ((p)->info.id) + +/** +* 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 not applicable/available. +*/ +#define xe_any_id(any) \ + _Generic((any), \ + __xe_any_to_other_assoc(/* */, xe_tile, id, (any)), \ + __xe_any_to_other_assoc(const, xe_tile, id, (any)), \ + __xe_any_to_other_assoc(/* */, xe_gt, id, (any)), \ + __xe_any_to_other_assoc(const, xe_gt, id, (any)), \ + default : 0) + +#endif
Signature · 1 line
2.47.1
PATCH v5 2/33 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 site 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]>
---
v2: CORRECTED is still an error (Michal)
prepare to decorate dmesg with comp/loc (Michal)
v3: update SIGID DOC section (Riana/Aravind)
warn about unknown severity (Mallesh)
v4: fix typos (Mallesh/Rodrigo)
--- 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 | 159 ++++++++++++++++++++++++++ drivers/gpu/drm/xe/xe_log.c | 138 ++++++++++++++++++++++ drivers/gpu/drm/xe/xe_log.h | 20 ++++ 6 files changed, 333 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 +159 -0
159 lines not on this page · raw message
drivers/gpu/drm/xe/xe_log.c new file +138 -0
138 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
Re: [PATCH v5 02/33] drm/xe/log: Add structured SIGID error logging infrastructure
Quoted 410 lines · Michal Wajdeczko
From: 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 site 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.
Signed-off-by Mallesh Koujalagi <[email protected]>Assisted-by Copilot:Opus-4.8Signed-off-by Rodrigo Vivi <[email protected]>Co-developed-by Michal Wajdeczko <[email protected]>Signed-off-by Michal Wajdeczko <[email protected]>Cc Riana Tauro <[email protected]>Cc Stuart Summers <[email protected]>cc Badal Nilawar <[email protected]>---
Cc: Yoni Levitt <[email protected]>
Cc: Aravind Iddamsetty <[email protected]>
Cc: Raag Jadav <[email protected]>
---
v2: CORRECTED is still an error (Michal)
prepare to decorate dmesg with comp/loc (Michal)
v3: update SIGID DOC section (Riana/Aravind)
warn about unknown severity (Mallesh)
v4: fix typos (Mallesh/Rodrigo)--- 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 | 159 ++++++++++++++++++++++++++ drivers/gpu/drm/xe/xe_log.c | 138 ++++++++++++++++++++++ drivers/gpu/drm/xe/xe_log.h | 20 ++++ 6 files changed, 333 insertions(+)create mode 100644
Documentation/gpu/xe/xe_sigid.rstcreate mode 100644drivers/gpu/drm/xe/abi/xe_sigid_abi.hcreate mode 100644drivers/gpu/drm/xe/xe_log.ccreate mode 100644drivers/gpu/drm/xe/xe_log.hDocumentation/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_sigidDocumentation/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 +159
-0@@ -0,0 +1,159 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright © 2026 Intel Corporation +*/ + +#ifndef _ABI_XE_SIGID_ABI_H_ +#define _ABI_XE_SIGID_ABI_H_ + +/** +* DOC: Xe Error Signatures (SIGID) +* +* What SIGID stands for +* --------------------- +* +* SIGID is short for *Signature Identifier*. It is a small, stable integer +* that names one of the *recognised fault sites* -- nothing more. It is the +* primary handle used for triage and maps directly to a specific report site. +* +* Numbering +* --------- +* +* SIGIDs are a single flat list numbered sequentially within the assigned range, +* in the order the fault sites were introduced. Values are stable: once assigned +* they are only ever appended, never renumbered or reused. A retired fault site +* SIGID value is deprecated in place, never re-purposed. +* +* Why this exists +* --------------- +* +* Today the driver reports faults with ad-hoc ``xe_err()`` / ``xe_gt_err()`` +* strings that have no stable shape. That is fine for a human reading dmesg, +* 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?" +* +* A SIGID answers exactly that one question, identically across driver and +* firmware versions, and (eventually) across other Intel devices in a node. +* +* What a SIGID is not +* ------------------- +* +* SIGID deliberately does not encode the detailed reason or the outcome. Those +* are carried alongside it:: +* +* SIGID -> which recognised fault site is being reported +* severity -> how serious this instance is +* errno -> the failing operation's error, if available, shown with %pe +* message -> free-form human-readable context +* +* Severity is independent of the SIGID. The same SIGID can be reported at +* different severities depending on the instance and the recovery taken. +* +* When to use SIGID logging +* ------------------------- +* +* The xe_log_*() helpers are for these recognised fault sites only -- +* important, operator-relevant faults and events. The driver's only job is to +* emit the right SIGID next to the usual human-readable text. + +* They are not a replacement for ``xe_info()`` / ``xe_dbg()`` / tracing, nor +* for one-off diagnostics; using them for ordinary logging would dilute the +* fault stream. Not every ``xe_err()`` needs to become a SIGID report -- only +* those that correspond to a published fault site. +* +* SIGID log output (dmesg vs. the machine record) +* ----------------------------------------------- +* +* The dmesg line stays close to a normal xe error message so it remains +* readable for admins; the only stable, machine-matchable token on it is +* ``SIGID=<n>`` (``dmesg | grep SIGID=``). +* +* The full dmesg line is not an ABI: the surrounding text may change freely, +* and lines may be dropped. The durable record for tooling is the CPER record +* carrying the same SIGID (generation is a planned follow-up). +* +* How to pick a SIGID (the uniqueness rule) +* ----------------------------------------- +* +* Pick per *report site*, not per incident. Each site emits the single most +* specific recognised SIGID *for that site* -- so the question is never +* "classify this whole failure", it is "what does this site detect?", which has +* one answer. A single underlying failure therefore legitimately produces a +* *chain* of reports from different layers, each with its own SIGID -- e.g. a +* GuC communication failure is reported as %XE_SIGID_RUNTIME_FW by the firmware +* path, the failed recovery as %XE_SIGID_GT_TDR by the reset path, and an +* aborted bind as %XE_SIGID_PROBE by the probe path. That chain lets triage +* follow a fault from origin to final effect; it is not a duplicate. +* +* If a site does not match any defined SIGID, keep using the ordinary +* ``xe_err()`` / ``xe_gt_err()`` logging rather than forcing a SIGID: a wrong +* or over-broad classification is harder to retire than a missing one. When a +* new report site is genuinely worth triaging, add it to the list below. +* +* Usage of the existing SIGID reports must reevaluated according to this section +* after making significant changes to the site that emits this SIGID. +* +* Scope: software vs hardware emitted signatures +* ---------------------------------------------- +* +* Some SIGID represents fault sites that the *driver itself* detects and +* reports from the software POV: probe abort, wedged, survivability, driver- +* detected firmware failures, engine TDR, memory faults and IO/bus faults. +* These are the only values the driver assigns on its own. +* +* Signatures that *originate* in firmware or hardware are a different thing: +* they are produced and identified by the firmware or the hardware itself +* (e.g. via their own records or error counters), and the driver merely logs +* them as they are given to us. They are deliberately enumerated separately. +* +* The two driver-detected firmware report sites below (%XE_SIGID_RUNTIME_FW, +* %XE_SIGID_DEVICE_FW) are software signatures: they mark that *the driver* +* observed a firmware problem, not a signature reported by the firmware. +*/ + +/* +* Top level Intel Error Signature Identifiers. +*/ +#define INTEL_SIGID_INVALID 0 +#define INTEL_SIGID_BATCH 100 +#define INTEL_SIGID_RANGE_START (n) ((n) * INTEL_SIGID_BATCH) +#define INTEL_SIGID_RANGE_END (n) (INTEL_SIGID_RANGE_START((n) + 1) - 1) + +/* SIGIDs 1xx are reserved for Xe GPU software and 2xx for Xe GPU hardware */ +#define INTEL_SIGID_GPU_XE_SOFTWARE_START INTEL_SIGID_RANGE_START(1) +#define INTEL_SIGID_GPU_XE_SOFTWARE_END INTEL_SIGID_RANGE_END(1) +#define INTEL_SIGID_GPU_XE_HARDWARE_START INTEL_SIGID_RANGE_START(2) +#define INTEL_SIGID_GPU_XE_HARDWARE_END INTEL_SIGID_RANGE_END(2) + +/** +* enum xe_sigid - Stable Xe Error Signature Identifiers (SIGID). +* @XE_SIGID_SW: Software component failure. +* @XE_SIGID_PROBE: Device probe/bind was aborted. +* @XE_SIGID_WEDGED: Device was declared wedged and is no longer usable. +* @XE_SIGID_SURVIVABILITY: Device entered survivability mode. +* @XE_SIGID_RUNTIME_FW: Driver-detected runtime firmware failure, GuC/HuC/GSC. +* @XE_SIGID_DEVICE_FW: Driver-detected device firmware failure, PCODE/sysctrl. +* @XE_SIGID_GT_TDR: Engine hang / timeout detection and recovery (reset). +* @XE_SIGID_MEM_FAULT: VM bind, page fault or GTT fault. +* @XE_SIGID_IO_BUS: Runtime PCIe / IOMMU / MMIO access fault. +* +* Each SIGID represents the report sites the driver detects and reports. +* Values are numbered sequentially, are only ever appended, and are never +* renumbered or reused. +* +* Firmware- and hardware-originated signatures are not listed yet here. +*/ +enum xe_sigid { +XE_SIGID_SW =INTEL_SIGID_GPU_XE_SOFTWARE_START , +XE_SIGID_PROBE =INTEL_SIGID_GPU_XE_SOFTWARE_START +1 , +XE_SIGID_WEDGED =INTEL_SIGID_GPU_XE_SOFTWARE_START +2 , +XE_SIGID_SURVIVABILITY =INTEL_SIGID_GPU_XE_SOFTWARE_START +3 , +XE_SIGID_RUNTIME_FW =INTEL_SIGID_GPU_XE_SOFTWARE_START +4 , +XE_SIGID_DEVICE_FW =INTEL_SIGID_GPU_XE_SOFTWARE_START +5 , +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 , +}; + +#endif drivers/gpu/drm/xe/xe_log.c new file +138
-0@@ -0,0 +1,138 @@ +// SPDX-License-Identifier: MIT +/* +* Copyright © 2026 Intel Corporation +*/ + +#include "xe_log.h" +#include "xe_printk.h" + +static void log_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) +{ +/* TODO */ +} + +static bool is_hw_sigid (enum xe_sigid sigid) +{ +return (int )sigid >=INTEL_SIGID_GPU_XE_HARDWARE_START ; +} + +static bool is_sev_error (int cper_sev) +{ +return cper_sev !=CPER_SEV_INFORMATIONAL ; +} + +static const char *log_hwe_prefix (int cper_sev,enum xe_sigid sigid) +{ +return is_sev_error (cper_sev) &&is_hw_sigid (sigid) ?HW_ERR :"" ; +} + +static const char *log_sev_prefix (int cper_sev) +{ +switch (cper_sev) { +case CPER_SEV_FATAL : +return "FATAL " ; +case CPER_SEV_RECOVERABLE : +return "" ; +case CPER_SEV_CORRECTED : +return "CORRECTED " ; +case CPER_SEV_INFORMATIONAL : +return "" ; +default : +WARN (IS_ENABLED (CONFIG_DRM_XE_DEBUG ),"LOG: unknown severity %d\n" , cper_sev); +return "" ; + } +} + +#define __LOG_DRM_PRINTK_FMT(fmt, args...) "[drm] " fmt, ##args +#define __LOG_DRM_PRINTK_ERR_FMT(fmt, args...) __LOG_DRM_PRINTK_FMT("*ERROR* " fmt, args) + +static void log_dmesg_vprintk (struct pci_dev *pdev,int cper_sev,struct va_format *vaf) +{ +if (cper_sev ==CPER_SEV_INFORMATIONAL ) +pci_info (pdev,__LOG_DRM_PRINTK_FMT ("%pV" , vaf)); +else +pci_err (pdev,__LOG_DRM_PRINTK_ERR_FMT ("%pV" , vaf)); +} + +static void log_dmesg_printf (struct pci_dev *pdev,int cper_sev,const char *fmt, ...) +{ +struct va_format vaf; +va_list args; + +va_start (args, fmt); + vaf.fmt = fmt; + vaf.va = &args; + +log_dmesg_vprintk (pdev, cper_sev, &vaf); + +va_end (args); +} + +static void log_emit_dmesg (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) +{ +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); +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); +else +log_dmesg_printf (pdev, cper_sev,"SIGID=%u %s%s%pV" , + sigid, sev_prefix, hwe_prefix, vaf); +} + +/** +* xe_log_emit() - Emit a structured SIGID log entry +* @pdev: the &pci_dev device +* @cper_sev: CPER severity (CPER_SEV_FATAL, CPER_SEV_RECOVERABLE, ...) +* @sigid: signature identifier, see &enum xe_sigid +* @component: component identifier +* @location: location details of the @component +* @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 +* @...: format arguments +* +* Emits a dmesg line that includes a single stable, machine-matchable token +* ``SIGID=<n>`` followed by the optional severity token (like ``FATAL``) and, +* when @data pointer is set, either the error printed with %pe or a packed hex +* dump of the @data binary blob. The dmesg line will also include printf-style +* text message. +* +* Note that the full dmesg line, with the free text message, is only a debugging +* aid, not an interface! Only the ``SIGID=<n>`` token is stable there. +* The durable machine record is the CPER carrying the same SIGID. +* +* Note: generation of the CPER record is a planned follow-up. +* +* Examples:: +* +* <3> xe 0000:03:00.0: [drm] *ERROR* SIGID=104 FATAL (-EPROTO) Invalid GuC reply +* <3> xe 0000:03:00.0: [drm] *ERROR* SIGID=106 (-ETIMEDOUT) Engine 'rcs0' hung +* <6> xe 0000:03:00.0: [drm] SIGID=103 In survivability mode +*/ +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, ...) +{ +struct va_format vaf; +va_list args; + +va_start (args, fmt); + vaf.fmt = fmt; + vaf.va = &args; + +log_emit_dmesg (pdev, cper_sev, sigid, component, location, data, len, &vaf); +log_emit_cper (pdev, cper_sev, sigid, component, location, data, len, &vaf); + +va_end (args); +}drivers/gpu/drm/xe/xe_log.h new file +8
-0@@ -0,0 +1,20 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright © 2026 Intel Corporation +*/ + +#ifndef _XE_LOG_H_ +#define _XE_LOG_H_ +
drivers/gpu/drm/xe/xe_log.h line 18
Quoted 10 lines
drivers/gpu/drm/xe/xe_log.h new file +10
-0+#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, ...);
Quoted 2 lines
drivers/gpu/drm/xe/xe_log.h new file +2
-0+ +#endif
Re: [PATCH v5 02/33] drm/xe/log: Add structured SIGID error logging infrastructure
Hello,
Quoted 102 lines · Badal
Quoted 100 lines · Michal Wajdeczko
From: 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 site 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.
Signed-off-by Mallesh Koujalagi <[email protected]>Assisted-by Copilot:Opus-4.8Signed-off-by Rodrigo Vivi <[email protected]>Co-developed-by Michal Wajdeczko <[email protected]>Signed-off-by Michal Wajdeczko <[email protected]>Cc Riana Tauro <[email protected]>Cc Stuart Summers <[email protected]>cc Badal Nilawar <[email protected]>---
Cc: Yoni Levitt <[email protected]>
Cc: Aravind Iddamsetty <[email protected]>
Cc: Raag Jadav <[email protected]>
---
v2: CORRECTED is still an error (Michal)
prepare to decorate dmesg with comp/loc (Michal)
v3: update SIGID DOC section (Riana/Aravind)
warn about unknown severity (Mallesh)
v4: fix typos (Mallesh/Rodrigo)
---
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| 159 ++++++++++++++++++++++++++ drivers/gpu/drm/xe/xe_log.c | 138 ++++++++++++++++++++++ drivers/gpu/drm/xe/xe_log.h | 20 ++++6 files changed, 333 insertions(+)create mode 100644
Documentation/gpu/xe/xe_sigid.rstcreate mode 100644drivers/gpu/drm/xe/abi/xe_sigid_abi.hcreate mode 100644drivers/gpu/drm/xe/xe_log.ccreate mode 100644drivers/gpu/drm/xe/xe_log.hDocumentation/gpu/xe/index.rst +0
-0@@ -35,3 +35,4 @@ The display, or :ref:`drm-kms`, support for drm/xeis provided by
xe-drm-usage-stats.rst
xe_configfs
xe_gt_stats
+xe_sigidDocumentation/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 +6
-0@@ -0,0 +1,159 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright © 2026 Intel Corporation +*/ + +#ifndef _ABI_XE_SIGID_ABI_H_
Quoted 8 lines
drivers/gpu/drm/xe/abi/xe_sigid_abi.h line 14
Quoted 8 lines
drivers/gpu/drm/xe/abi/xe_sigid_abi.h new file +8
-0+#define _ABI_XE_SIGID_ABI_H_ + +/** +* DOC: Xe Error Signatures (SIGID) +* +* What SIGID stands for +* --------------------- +*
Please note that there was an htmldocs build error introduced by this patch as the titles were of the wrong level. I just sent a fix "drm/xe/log: fix documentation title levels" for this.
Best wishes,
Guillaume
PATCH v5 3/33 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)
v3: fix kernel-doc to match code (Sashiko)
v4: update comment (Michal)
v5: use IO_BUS SIGID for PCI (Rodrigo)
--- drivers/gpu/drm/xe/abi/xe_log_abi.h | 187 ++++++++++++++++++++++++++++ 1 file changed, 187 insertions(+) create mode 100644 drivers/gpu/drm/xe/abi/xe_log_abi.h
drivers/gpu/drm/xe/abi/xe_log_abi.h new file +187 -0
@@ -0,0 +1,187 @@ +/* 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 = CLASS(8b).TYPE(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) = NONE +* LOCATION(1.0) = DEVICE.0 = "Device" +* LOCATION(2.1) = TILE.1 = "Tile1" +* LOCATION(3.2) = GT.2 = "GT2" +* +*/ +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: +* +* @CLASS is the component class name (without the XE_LOG_COMPONENT_CLASS_ prefix) +* @ID is the unique component identifier within @CLASS +* @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, IO_BUS, "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
PATCH v5 4/33 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]>
---
v2: check against info->tile_count (Sashiko)
more diagnostics on bad usage (Michal)
--- drivers/gpu/drm/xe/xe_log.c | 102 +++++++++++++++++++++++++++++++++--- 1 file changed, 94 insertions(+), 8 deletions(-)
drivers/gpu/drm/xe/xe_log.c +94 -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,85 @@ static void log_emit_cper(struct pci_dev *pdev, int cper_sev, enum xe_sigid sigi/* TODO */ } +static const char *log_unknown_component_prefix (u32 component) +{ +u32 class =FIELD_GET (XE_LOG_COMPONENT_CLASS_MASK , component); +u32 type =FIELD_GET (XE_LOG_COMPONENT_TYPE_MASK , component); + +WARN (IS_ENABLED (CONFIG_DRM_XE_DEBUG ),"LOG: unrecognized component %u.%u\n" , class, type); +switch (class) { +#define MAKE_XE_LOG_COMPONENT_CLASS_PREFIX (_CLASS) \ + case XE_LOG_COMPONENT_CLASS_##_CLASS: return #_CLASS "? "; + MAKE_XE_LOG_COMPONENT_CLASS_PREFIX(SYSTEM) + MAKE_XE_LOG_COMPONENT_CLASS_PREFIX(DRIVER) + MAKE_XE_LOG_COMPONENT_CLASS_PREFIX(FEATURE) + MAKE_XE_LOG_COMPONENT_CLASS_PREFIX(FIRMWARE) + MAKE_XE_LOG_COMPONENT_CLASS_PREFIX(HARDWARE) +#undef MAKE_XE_LOG_COMPONENT_CLASS_PREFIX + } +return "COMP? " ; +} + +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 component ?log_unknown_component_prefix (component) :"" ; +} + +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->info.tile_count ? &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: unrecognized location %u.%u\n" , type, id); +snprintf (buf, size,"LOC%u.%u? " , type, id); +return buf; +} +static bool is_hw_sigid (enum xe_sigid sigid) {return (int )sigid >=INTEL_SIGID_GPU_XE_HARDWARE_START ;
@@ -74,20 +156,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 v5 5/33 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 v5 6/33 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 v5 7/33 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.
---
v2: fix argument list (Sashiko)
--- 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, data, len, fmt, args...) \ + xe_log_from((any), CPER_SEV_FATAL, (sig), (comp), \ + (data), (len), fmt, ##args) + +#define xe_log_from_recoverable(any, sig, comp, data, len, fmt, args...) \ + xe_log_from((any), CPER_SEV_RECOVERABLE, (sig), (comp), \ + (data), (len), fmt, ##args) + +#define xe_log_from_corrected(any, sig, comp, data, len, fmt, args...) \ + xe_log_from((any), CPER_SEV_CORRECTED, (sig), (comp), \ + (data), (len), fmt, ##args) + +#define xe_log_from_info(any, sig, comp, data, len, fmt, args...) \ + xe_log_from((any), CPER_SEV_INFORMATIONAL, (sig), (comp), \ + (data), (len), fmt, ##args) + #endif
Signature · 1 line
2.47.1
PATCH v5 8/33 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 components TAG and the pointer.
---
Cc: Aravind Iddamsetty <[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), \ (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
PATCH v5 9/33 drm/xe/log: Add SIGID log helpers for component & severity
In reply to Michal WajdeczkoThere are only few CPER severity levels defined, add some helpers to avoid forcing developers to write full CPER severity enum name in every macro call.
--- drivers/gpu/drm/xe/xe_log.h | 12 ++++++++++++ 1 file changed, 12 insertions(+)
drivers/gpu/drm/xe/xe_log.h +12 -0
@@ -103,4 +103,16 @@ 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) +#define xe_log_comp_fatal(any, TAG, data, len, fmt, args...) \ + xe_log_comp((any), CPER_SEV_FATAL, TAG, (data), (len), fmt, ##args) + +#define xe_log_comp_recoverable(any, TAG, data, len, fmt, args...) \ + xe_log_comp((any), CPER_SEV_RECOVERABLE, TAG, (data), (len), fmt, ##args) + +#define xe_log_comp_corrected(any, TAG, data, len, fmt, args...) \ + xe_log_comp((any), CPER_SEV_CORRECTED, TAG, (data), (len), fmt, ##args) + +#define xe_log_comp_info(any, TAG, data, len, fmt, args...) \ + xe_log_comp((any), CPER_SEV_INFORMATIONAL, TAG, (data), (len), fmt, ##args) +#endif
Signature · 1 line
2.47.1
PATCH v5 10/33 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]>
---
v2: include linux/err.h (Sashiko)
add xe_log_err_corrected (Michal)
v3: use xe_log_comp_sev helpers (Mallesh)
v4: add xe_log_err_info (Rodrigo/Michal)
--- drivers/gpu/drm/xe/xe_log.h | 65 +++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+)
drivers/gpu/drm/xe/xe_log.h +65 -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"
@@ -115,4 +116,68 @@ void xe_log_emit(struct pci_dev *pdev, int cper_sev, enum xe_sigid sigid, #define xe_log_comp_info(any, TAG, data, len, fmt, args...) \ xe_log_comp((any), CPER_SEV_INFORMATIONAL, 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_recoverable((any), 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_fatal((any), 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_corrected((any), TAG, ERR_PTR(err), 0, fmt, ##args) + +/** +* xe_log_err_info() - 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_INFORMATIONAL severity. +*/ +#define xe_log_err_info(any, TAG, err, fmt, args...) \ + xe_log_comp_info((any), 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_err_info((any), TAG, 0, fmt, ##args) +#endif
Signature · 1 line
2.47.1
PATCH v5 11/33 drm/xe/log: Index all SIGID printk messages
In reply to Michal WajdeczkoWhen CONFIG_PRINTK_INDEX is enabled, it is expected that all device level printk messages are indexed for audit. While usually this is done automatically behind the scenes when code is using regular dev_printk macros, since we are generating different dmesg messages inside xe_log_emit() based on the severity, component and location, we only get those entries in /sys/kernel/debug/printk/index/xe:
<3> drivers/gpu/drm/xe/xe_log.c:142 log_dmesg_vprintk "%s %s: [drm] *ERROR* %pV" <6> drivers/gpu/drm/xe/xe_log.c:140 log_dmesg_vprintk "%s %s: [drm] %pV"
Explicitly generate printk index using dev_printk_index_emit() with some generic prefix that includes the SIGID tag.
---
v2: use simpler/more generic format (Sashiko)
convert const severity to level (Michal)
use do { } while (Mallesh)
--- drivers/gpu/drm/xe/xe_log.c | 8 ++++---- drivers/gpu/drm/xe/xe_log.h | 17 ++++++++++++++--- 2 files changed, 18 insertions(+), 7 deletions(-)
drivers/gpu/drm/xe/xe_log.c +4 -4
@@ -177,7 +177,7 @@ static void log_emit_dmesg(struct pci_dev *pdev, int cper_sev, enum xe_sigid sig }/** -* xe_log_emit() - Emit a structured SIGID log entry +* __xe_log_emit() - Emit a structured SIGID log entry * @pdev: the &pci_dev device * @cper_sev: CPER severity (CPER_SEV_FATAL, CPER_SEV_RECOVERABLE, ...) * @sigid: signature identifier, see &enum xe_sigid
@@ -206,9 +206,9 @@ static void log_emit_dmesg(struct pci_dev *pdev, int cper_sev, enum xe_sigid sig* <3> xe 0000:03:00.0: [drm] *ERROR* SIGID=106 (-ETIMEDOUT) Engine 'rcs0' hung * <6> xe 0000:03:00.0: [drm] SIGID=103 In survivability mode */ -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, ...) +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, ...) {struct va_format vaf;va_list args;
drivers/gpu/drm/xe/xe_log.h +14 -3
@@ -16,9 +16,20 @@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, ...); +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_const_sev_to_level (sev) \ + (__builtin_constant_p(sev) ? (sev) == CPER_SEV_INFORMATIONAL ? KERN_INFO : KERN_ERR : NULL) + +#define __xe_log_emit_printk_index (level, fmt) \ + dev_printk_index_emit(level, "%s SIGID=%u %s" fmt); + +#define xe_log_emit(pdev, sev, sig, comp, loc, data, len, fmt, args...) do { \ + __xe_log_emit_printk_index(__xe_log_const_sev_to_level(sev), fmt); \ + __xe_log_emit((pdev), (sev), (sig), (comp), (loc), (data), (len), fmt, ##args); \ +} while (0) #define xe_log_emit_fatal(pdev, sig, comp, loc, data, len, fmt, args...) \ xe_log_emit((pdev), CPER_SEV_FATAL, (sig), (comp), (loc), \
Signature · 1 line
2.47.1
PATCH v5 12/33 drm/xe/log: Add hardware error signatures
In reply to Michal WajdeczkoExtend our error signatures definitions xe_sigid to cover also firmware/hardware-originated errors and make them distinguishable from initially defined software-initiated errors.
---
v2: update comment (Sashiko)
v3: rebased
--- drivers/gpu/drm/xe/abi/xe_sigid_abi.h | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-)
drivers/gpu/drm/xe/abi/xe_sigid_abi.h +14 -1
@@ -137,12 +137,18 @@* @XE_SIGID_GT_TDR: Engine hang / timeout detection and recovery (reset). * @XE_SIGID_MEM_FAULT: VM bind, page fault or GTT fault. * @XE_SIGID_IO_BUS: Runtime PCIe / IOMMU / MMIO access fault. +* @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. * * Each SIGID represents the report sites the driver detects and reports. * Values are numbered sequentially, are only ever appended, and are never * renumbered or reused. * -* Firmware- and hardware-originated signatures are not listed yet here. +* Firmware- and hardware-originated signatures are numbered separately. */ enum xe_sigid {XE_SIGID_SW =INTEL_SIGID_GPU_XE_SOFTWARE_START ,
@@ -154,6 +160,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 v5 13/33 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)
v3: use same COMP tags as in SIGID (Riana)
--- 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
@@ -130,6 +130,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, IO_BUS, "Linux PCI Subsystem") \ define(SYSTEM, 2, DRM, SW, "DRM") \
@@ -157,6 +161,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, DEVICE_MEMORY, DEVICE_MEMORY, "Device Memory") \ + define(HARDWARE, 2, CORE_COMPUTE, CORE_COMPUTE, "Core Compute") \ +/* HARDWARE, 3, RESERVED */ \ + define(HARDWARE, 4, PCIE, PCIE, "PCIe Interface") \ + define(HARDWARE, 5, FABRIC, FABRIC, "Fabric") \ +define (HARDWARE ,6 ,SOC_INTERNAL ,SOC_INTERNAL ,"SoC Internal" ) \/* eod */ /**
Signature · 1 line
2.47.1
Re: [PATCH v5 13/33] drm/xe/log: Extend components list with hardware items
Quoted 10 lines · Michal Wajdeczko
Update our super macro with new top level hardware components.
Signed-off-by Michal Wajdeczko <[email protected]>Cc Rodrigo Vivi <[email protected]>Cc Aravind Iddamsetty <[email protected]>Reviewed-by Mallesh Koujalagi <[email protected]> #v2Cc Riana Tauro <[email protected]>---
v2: follow enumxe_ras_componentvalues (Aravind)
v3: use same COMP tags as in SIGID (Riana)
indeed better,
Quoted 37 lines
--- 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@@ -130,6 +130,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, IO_BUS, "Linux PCI Subsystem") \ define(SYSTEM, 2, DRM, SW, "DRM") \@@ -157,6 +161,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, DEVICE_MEMORY, DEVICE_MEMORY, "Device Memory") \ + define(HARDWARE, 2, CORE_COMPUTE, CORE_COMPUTE, "Core Compute") \ +/* HARDWARE, 3, RESERVED */ \ + define(HARDWARE, 4, PCIE, PCIE, "PCIe Interface") \ + define(HARDWARE, 5, FABRIC, FABRIC, "Fabric") \ +define (HARDWARE ,6 ,SOC_INTERNAL ,SOC_INTERNAL ,"SoC Internal" ) \/* eod */ /** Signature · 1 line
2.47.1
PATCH v5 14/33 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.
---
v2: rebased after comp tag renames (Michal)
--- drivers/gpu/drm/xe/xe_ras.c | 11 +++++++++++ 1 file changed, 11 insertions(+)
drivers/gpu/drm/xe/xe_ras.c +11 -0
@@ -6,6 +6,7 @@#include "xe_debugfs.h" #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"
@@ -46,6 +47,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_DEVICE_MEMORY ); +CHECK_COMPONENT (XE_RAS_COMP_CORE_COMPUTE ,XE_LOG_COMPONENT_CORE_COMPUTE ); +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_INTERNAL ); +#undef CHECK_COMPONENT +/* RAS response status codes */ enum xe_ras_response_status {XE_RAS_STATUS_SUCCESS =0 ,
Signature · 1 line
2.47.1
PATCH v5 15/33 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 v5 16/33 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]>
---
v2: less demos/more tests (Michal)
v3: expect tile.id is already set (Michal)
add invalid params test (Michal)
v4: move/drop err local var (Mallesh/Michal)
v5: add test case for xe_log_err_info (Michal)
--- drivers/gpu/drm/xe/tests/xe_log_kunit.c | 553 ++++++++++++++++++++++++ drivers/gpu/drm/xe/xe_log.c | 11 + 2 files changed, 564 insertions(+) create mode 100644 drivers/gpu/drm/xe/tests/xe_log_kunit.c
drivers/gpu/drm/xe/tests/xe_log_kunit.c new file +553 -0
@@ -0,0 +1,553 @@ +// 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; + +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)) +pr_info ("CPER ERR=%ld \t\t# %pe\n" ,PTR_ERR (data), 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_err (struct xe_device *xe) +{ +struct pci_dev *pdev =to_pdev_safe (xe); + +if (pdev) +xe_log_err_info (pdev,PCODE , -EPROTO ,"testing %d\n" ,123 ); +return "SIGID=105 (-EPROTO) PCODE: 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_err }, + { .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); +} + +#define INVALID_TILEID (XE_MAX_TILES_PER_DEVICE + 1) +#define INVALID_GTID (XE_MAX_TILES_PER_DEVICE * XE_MAX_GT_PER_TILE + 1) + +#define PREP_TEST_LOCATION (type, id) \ + (FIELD_PREP_CONST(XE_LOG_LOCATION_TYPE_MASK, (type)) | \ + FIELD_PREP_CONST(XE_LOG_LOCATION_ID_MASK, (id))) +#define PREP_TEST_COMPONENT (class, type) \ + (FIELD_PREP_CONST(XE_LOG_COMPONENT_CLASS_MASK, (class)) | \ + FIELD_PREP_CONST(XE_LOG_COMPONENT_TYPE_MASK, (type))) + +static const struct { +u32 comp; +u32 loc; +const char *name; +} invalid_params[] = { + { .name ="no-component no-location no-warn" }, + { .loc =PREP_TEST_LOCATION (0 ,1 ), + .name ="reserved location" }, + { .loc =PREP_TEST_LOCATION (255 ,0 ), + .name ="unknown location" }, + { .loc =PREP_TEST_LOCATION (XE_LOG_LOCATION_TYPE_DEVICE ,1 ), + .name ="nonzero-device-id location" }, + { .loc =PREP_TEST_LOCATION (XE_LOG_LOCATION_TYPE_TILE ,INVALID_TILEID ), + .name ="invalid-tile-id location" }, + { .loc =PREP_TEST_LOCATION (XE_LOG_LOCATION_TYPE_GT ,INVALID_GTID ), + .name ="invalid-gt-id location" }, + { .comp =PREP_TEST_COMPONENT (255 ,0 ), + .name ="unknown component class" }, + { .comp =PREP_TEST_COMPONENT (XE_LOG_COMPONENT_CLASS_SYSTEM ,255 ), + .name ="unknown system component" }, + { .comp =PREP_TEST_COMPONENT (XE_LOG_COMPONENT_CLASS_HARDWARE ,255 ), + .name ="unknown hardware component" }, + { .comp =PREP_TEST_COMPONENT (255 ,1 ), + .loc =PREP_TEST_LOCATION (255 ,1 ), + .name ="unknown component and location" }, +}; + +KUNIT_ARRAY_PARAM_DESC (invalid_param, invalid_params, name); + +static void test_invalid (struct kunit *test) +{ +struct xe_device *xe = test->priv; +typeof (invalid_params[0 ]) *param = test->param_value; + +struct pci_dev *pdev =xe_any_to_pdev (xe); + +if (!IS_ENABLED (CONFIG_DRM_XE_DEBUG )) +kunit_skip (test,"requires CONFIG_DRM_XE_DEBUG\n" ); + +kunit_activate_static_stub (test, log_emit_cper, nop_emit_cper); +kunit_activate_static_stub (test, log_dmesg_vprintk, nop_dmesg_vprintk); + +kunit_warning_suppress (test) { +xe_log_emit (pdev,CPER_SEV_FATAL ,XE_SIGID_PROBE , + param->comp, param->loc, +NULL ,0 ,"testing %s\n" , param->name); +KUNIT_EXPECT_SUPPRESSED_WARNING_COUNT (test, !!param->comp + !!param->loc); + } +} + +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; + +KUNIT_ASSERT_NOT_NULL (test,to_tile_safe (xe)); +KUNIT_ASSERT_NOT_NULL (test,to_gt_safe (xe)); +KUNIT_EXPECT_EQ (test,1 ,xe_any_id (to_tile_safe (xe))); +KUNIT_EXPECT_EQ (test,1 ,xe_any_id (to_gt_safe (xe))); + +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), +KUNIT_CASE_PARAM (test_invalid, invalid_param_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 */ }
@@ -132,6 +137,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
@@ -222,3 +229,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 v5 17/33 drm/xe/tests: Add kunit tests for xe_any
In reply to Michal WajdeczkoAdd simple sanity tests for all xe_any macros to make sure they are working as expected.
---
v2: add test_if_pdev, check drm casts (Mallesh)
--- drivers/gpu/drm/xe/tests/Makefile | 1 + drivers/gpu/drm/xe/tests/xe_any_kunit.c | 213 ++++++++++++++++++++++++ 2 files changed, 214 insertions(+) create mode 100644 drivers/gpu/drm/xe/tests/xe_any_kunit.c
drivers/gpu/drm/xe/tests/Makefile +1 -0
@@ -7,6 +7,7 @@ xe_live_test-y = xe_live_test_mod.o # Normal kunit tests obj-$(CONFIG_DRM_XE_KUNIT_TEST) += xe_test.o xe_test-y = xe_test_mod.o \ + xe_any_kunit.o \ xe_args_test.o \ xe_pci_test.o \ xe_rtp_tables_test.o \
drivers/gpu/drm/xe/tests/xe_any_kunit.c new file +213 -0
213 lines not on this page · raw message
Signature · 1 line
2.47.1
PATCH v5 18/33 drm/xe: Report 'probe blocked' status using SIGID
In reply to Michal WajdeczkoReport 'driver loading blocked' status using xe_log_info() helper.
---
v2: use info severity (Aravind)
v3: drop "Probe " prefix (Mallesh)
drop redundant vendor code, update message (Michal)
--- 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 ,"driver loading blocked for device '%04x'\n" , + pdev->device);return -ENODEV ; }
Signature · 1 line
2.47.1
PATCH v5 19/33 drm/xe: Report all probe errors using SIGID
In reply to Michal WajdeczkoFor completeness, we should catch and report all probe errors, not just the ones that have explicit error message. Split xe_pci_probe() function after a display check to avoid reporting -EPROBE_DEFER and use xe_log_err_fatal() helper to report all returned errors.
---
Cc: Dnyaneshwar Bhadane <[email protected]>
--- drivers/gpu/drm/xe/xe_pci.c | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-)
drivers/gpu/drm/xe/xe_pci.c +21 -6
@@ -1147,17 +1147,12 @@ static void xe_pci_remove(struct pci_dev *pdev)* caller. Therefore there is no consequence on those specific callers when * function error injection skips the whole function. */ +static int __xe_pci_probe (struct pci_dev *pdev,const struct xe_device_desc *desc);static int xe_pci_probe (struct pci_dev *pdev,const struct pci_device_id *ent) { -struct xe_probed_info probed_info = {};const struct xe_device_desc *desc = (const void *)ent->driver_data; -const struct xe_subplatform_desc *subplatform_desc; -struct xe_device *xe; -void *group;int err; - subplatform_desc =find_subplatform (desc, pdev->device); -xe_configfs_check_device (pdev);if (desc->require_force_probe && !id_forced (pdev->device)) {
@@ -1181,6 +1176,26 @@ static int xe_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)if (xe_display_driver_probe_defer (pdev))return -EPROBE_DEFER ; + err =__xe_pci_probe (pdev, desc); +if (err) { +xe_log_err_fatal (pdev,PROBE , err,"driver loading failed for device '%04x'\n" , + pdev->device); +return err; + } + +return 0 ; +} + +static int __xe_pci_probe (struct pci_dev *pdev,const struct xe_device_desc *desc) +{ +const struct xe_subplatform_desc *subplatform_desc; +struct xe_probed_info probed_info = {}; +struct xe_device *xe; +void *group; +int err; + + subplatform_desc =find_subplatform (desc, pdev->device); +/* Group all devres so xe_pci_error_slot_reset() can release them as a unit. */ group =devres_open_group (&pdev->dev,NULL ,GFP_KERNEL );if (!group)
Signature · 1 line
2.47.1
[email protected]
AI reviewRe: [PATCH v5 19/33] drm/xe: Report all probe errors using SIGID
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [Medium] Unconditionally logging all probe failures as fatal errors causes normal probe deferrals…
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] Unconditionally logging all probe failures as fatal errors causes normal probe deferrals (-EPROBE_DEFER) to be incorrectly logged as fatal hardware errors. --
--- Patch [19]: [PATCH v5 19/33] drm/xe: Report all probe errors using SIGID --- commit c6ce1e9226a28ea2318a390f9b11cf4044410b13
Author: Michal Wajdeczko <[email protected]>
drm/xe: Report all probe errors using SIGID
This commit catches and reports all probe errors by splitting xe_pci_probe() and using xe_log_err_fatal() on the errors returned from __xe_pci_probe().
Quoted 4 lines
drivers/gpu/drm/xe/xe_pci.c +0
-0
[ ... ]
drivers/gpu/drm/xe/xe_pci.c static int xe_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) · line 1181
Quoted 8 lines
drivers/gpu/drm/xe/xe_pci.c +4
-0@@ -1180,6 +1175,26 @@ static int xe_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)if (xe_display_driver_probe_defer (pdev))return -EPROBE_DEFER ; + err =__xe_pci_probe (pdev, desc); +if (err) { +xe_log_err_fatal (pdev,PROBE , err,"driver loading failed for device '%04x'\n" , + pdev->device);
[Severity: Medium]
Could __xe_pci_probe() still return -EPROBE_DEFER from other initialization steps?
While the explicit xe_display_driver_probe_defer() check was kept outside to avoid logging -EPROBE_DEFER as a fatal error, __xe_pci_probe() calls into several other subsystems (such as xe_display_probe() or xe_pm_probe()) which might also legitimately return -EPROBE_DEFER.
If they do, wouldn't this unconditionally log normal probe deferrals as fatal errors?
Quoted 5 lines
drivers/gpu/drm/xe/xe_pci.c +5
-0+return err; + } + +return 0 ; +}
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=19
PATCH v5 20/33 drm/xe/survivability: Report 'boot status' using SIGID
In reply to Michal WajdeczkoReport 'boot status' and other scratch registers details using the xe_log_info() macros. While around, add helper to decode boot status code and change pdev parameter to xe.
---
v2: make helper more even flexible (Michal)
--- drivers/gpu/drm/xe/xe_survivability_mode.c | 29 ++++++++++++++++------ 1 file changed, 22 insertions(+), 7 deletions(-)
drivers/gpu/drm/xe/xe_survivability_mode.c +22 -7
@@ -14,6 +14,7 @@#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"
@@ -172,18 +173,32 @@ static void populate_survivability_info(struct xe_device *xe) } } -static void log_survivability_info (struct pci_dev *pdev) +static const char *boot_status_str (u8 boot_status) +{ +switch (boot_status) { +case CRITICAL_FAILURE : +return "Critical Failure" ; +case NON_CRITICAL_FAILURE : +return "Non Critical Failure" ; +default : +return "Other" ; + } +} + +static void log_survivability_info (struct xe_device *xe) { -struct xe_device *xe =pdev_to_xe_device (pdev);struct xe_survivability *survivability = &xe->survivability;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: %#x (%s)\n" , + survivability->boot_status, +boot_status_str (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]); +if (!info[id]) +continue ; +xe_log_info (xe,SURVIVABILITY ,"%s: %#x\n" , reg_map[id], info[id]); } }
@@ -452,7 +467,7 @@ int xe_survivability_mode_boot_enable(struct xe_device *xe)* v2 supports survivability mode for critical errors */ if (survivability->version <2 && survivability->boot_status ==CRITICAL_FAILURE ) { -log_survivability_info (pdev); +log_survivability_info (xe);return -ENXIO ; }
Signature · 1 line
2.47.1
[email protected]
AI reviewRe: [PATCH v5 20/33] drm/xe/survivability: Report 'boot status' using SIGID
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
Pre-existing issues:
- [High] Potential infinite loop in populate_survivability_info() due to unvalidated hardware-provided linked list. --
--- Patch [20]: [PATCH v5 20/33] drm/xe/survivability: Report 'boot status' using SIGID --- commit 777c3378750db72921a668da05900b90d4fd8d8e
Author: Michal Wajdeczko <[email protected]>
drm/xe/survivability: Report 'boot status' using SIGID
This commit updates the driver to report 'boot status' and other scratch register details using the xe_log_info() macros. It also adds a helper to decode the boot status code and changes the pdev parameter to xe.
Quoted 4 lines
drivers/gpu/drm/xe/xe_survivability_mode.c +0
-0
[ ... ]
drivers/gpu/drm/xe/xe_survivability_mode.c static void populate_survivability_info(struct xe_device *xe) · line 174
Quoted 3 lines
drivers/gpu/drm/xe/xe_survivability_mode.c +0
-0@@ -172,18 +173,32 @@ static void populate_survivability_info(struct xe_device *xe) } }
[Severity: High]
This is a pre-existing issue, but is there a risk of an infinite loop in populate_survivability_info() if the hardware returns a cyclic linked list?
Looking at the loop that traverses the aux info registers just above this point in the function:
if (reg_value & AUXINFO_SUPPORT) {
for (id = REG_FIELD_GET(AUXINFO_REG_OFFSET, reg_value);
id >= AUX_INFO0 && id < MAX_SCRATCH_REG;
id = REG_FIELD_GET(AUXINFO_HISTORY_OFFSET, info[id]))
set_survivability_info(mmio, info, id);
}If the PCODE firmware returns a value in AUXINFO_HISTORY_OFFSET that points to the current register index or creates a cycle among the registers, could this loop run indefinitely without a limit to the iteration count?
An infinite loop here might result in a kernel thread hang during device probe.
Quoted 2 lines
drivers/gpu/drm/xe/xe_survivability_mode.c +1
-1-static void log_survivability_info (struct pci_dev *pdev) +static const char *boot_status_str (u8 boot_status)
[ ... ]
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=20
Re: [PATCH v5 20/33] drm/xe/survivability: Report 'boot status' using SIGID
In reply to Michal WajdeczkoQuoted 4 lines · Michal Wajdeczko
Report 'boot status' and other scratch registers details using the
xe_log_info()macros. While around, add helper to decode boot status code and change pdev parameter to xe.
Quoted 8 lines
Signed-off-by Michal Wajdeczko <[email protected]>Cc Rodrigo Vivi <[email protected]>Cc Riana Tauro <[email protected]>Cc Aravind Iddamsetty <[email protected]>Cc Mallesh Koujalagi <[email protected]>Reviewed-by Mallesh Koujalagi <[email protected]> #v1---
v2: make helper more even flexible (Michal)
Quoted 67 lines
--- drivers/gpu/drm/xe/xe_survivability_mode.c | 29 ++++++++++++++++------ 1 file changed, 22 insertions(+), 7 deletions(-)drivers/gpu/drm/xe/xe_survivability_mode.c +22
-7@@ -14,6 +14,7 @@#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" @@ -172,18 +173,32 @@ static void populate_survivability_info(struct xe_device *xe) } } -static void log_survivability_info (struct pci_dev *pdev) +static const char *boot_status_str (u8 boot_status) +{ +switch (boot_status) { +case CRITICAL_FAILURE : +return "Critical Failure" ; +case NON_CRITICAL_FAILURE : +return "Non Critical Failure" ; +default : +return "Other" ; + } +} + +static void log_survivability_info (struct xe_device *xe) { -struct xe_device *xe =pdev_to_xe_device (pdev);struct xe_survivability *survivability = &xe->survivability;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: %#x (%s)\n" , + survivability->boot_status, +boot_status_str (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]); +if (!info[id]) +continue ; +xe_log_info (xe,SURVIVABILITY ,"%s: %#x\n" , reg_map[id], info[id]); } }@@ -452,7 +467,7 @@ int xe_survivability_mode_boot_enable(struct xe_device *xe)* v2 supports survivability mode for critical errors */ if (survivability->version <2 && survivability->boot_status ==CRITICAL_FAILURE ) { -log_survivability_info (pdev); +log_survivability_info (xe);return -ENXIO ; }Signature · 1 line
2.47.1
PATCH v5 21/33 drm/xe/survivability: Report sysfs failure in one place
In reply to Michal WajdeczkoIf we fail to create any of the survivability sysfs files, actual error is reported by the caller. Move that reporting to sysfs helper.
---
v2: don't use SIGID (Riana)
--- drivers/gpu/drm/xe/xe_survivability_mode.c | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-)
drivers/gpu/drm/xe/xe_survivability_mode.c +10 -9
@@ -18,6 +18,7 @@#include "xe_mmio.h" #include "xe_nvm.h" #include "xe_pcode_api.h" +#include "xe_printk.h" #include "xe_vsec.h" /**
@@ -309,24 +310,26 @@ static int create_survivability_sysfs(struct pci_dev *pdev)int ret; ret =device_create_file (dev, &dev_attr_survivability_mode); -if (ret) { -dev_warn (dev,"Failed to create survivability sysfs files\n" ); -return ret; - } +if (ret) + goto failed; ret =devm_add_action_or_reset (xe->drm.dev, xe_survivability_mode_fini, xe);if (ret) -return ret; + goto failed;/* Survivability info is not required if enabled via configfs */ if (!xe_configfs_get_survivability_mode (pdev)) { ret =devm_device_add_group (dev, &survivability_info_group);if (ret) -return ret; + goto failed; }return 0 ; + +failed: +xe_err (xe,"Failed to create survivability sysfs files: %pe\n" ,ERR_PTR (ret)); +return ret; }static int enable_boot_survivability_mode (struct pci_dev *pdev)
@@ -432,9 +435,7 @@ void xe_survivability_mode_runtime_enable(struct xe_device *xe) }populate_survivability_info (xe); - -if (create_survivability_sysfs (pdev)) -dev_err (&pdev->dev,"Failed to create survivability sysfs\n" ); +create_survivability_sysfs (pdev); survivability->type =XE_SURVIVABILITY_TYPE_RUNTIME ;dev_err (&pdev->dev,"Runtime Survivability mode enabled\n" );
Signature · 1 line
2.47.1
Re: [PATCH v5 21/33] drm/xe/survivability: Report sysfs failure in one place
Quoted 73 lines · Michal Wajdeczko
If we fail to create any of the survivability sysfs files, actual error is reported by the caller. Move that reporting to sysfs helper.
Signed-off-by Michal Wajdeczko <[email protected]>Cc Rodrigo Vivi <[email protected]>Cc Riana Tauro <[email protected]>Cc Aravind Iddamsetty <[email protected]>Cc Mallesh Koujalagi <[email protected]>---
v2: don't use SIGID (Riana)--- drivers/gpu/drm/xe/xe_survivability_mode.c | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-)drivers/gpu/drm/xe/xe_survivability_mode.c +10
-9@@ -18,6 +18,7 @@#include "xe_mmio.h" #include "xe_nvm.h" #include "xe_pcode_api.h" +#include "xe_printk.h" #include "xe_vsec.h" /** @@ -309,24 +310,26 @@ static int create_survivability_sysfs(struct pci_dev *pdev)int ret; ret =device_create_file (dev, &dev_attr_survivability_mode); -if (ret) { -dev_warn (dev,"Failed to create survivability sysfs files\n" ); -return ret; - } +if (ret) + goto failed; ret =devm_add_action_or_reset (xe->drm.dev, xe_survivability_mode_fini, xe);if (ret) -return ret; + goto failed;/* Survivability info is not required if enabled via configfs */ if (!xe_configfs_get_survivability_mode (pdev)) { ret =devm_device_add_group (dev, &survivability_info_group);if (ret) -return ret; + goto failed; }return 0 ; + +failed: +xe_err (xe,"Failed to create survivability sysfs files: %pe\n" ,ERR_PTR (ret)); +return ret; }static int enable_boot_survivability_mode (struct pci_dev *pdev)@@ -432,9 +435,7 @@ void xe_survivability_mode_runtime_enable(struct xe_device *xe) }populate_survivability_info (xe); - -if (create_survivability_sysfs (pdev)) -dev_err (&pdev->dev,"Failed to create survivability sysfs\n" ); +create_survivability_sysfs (pdev); survivability->type =XE_SURVIVABILITY_TYPE_RUNTIME ;dev_err (&pdev->dev,"Runtime Survivability mode enabled\n" );Signature · 1 line
2.47.1
PATCH v5 22/33 drm/xe/survivability: Report 'boot status' on sysfs failure
In reply to Michal WajdeczkoIf we fail to create any of the survivability sysfs files, the user can't view boot status registers any more. Report them into dmesg instead using our existing SIGID helper.
--- drivers/gpu/drm/xe/xe_survivability_mode.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-)
drivers/gpu/drm/xe/xe_survivability_mode.c +7 -3
@@ -305,8 +305,10 @@ static const struct attribute_group survivability_info_group = {static int create_survivability_sysfs (struct pci_dev *pdev) { -struct device *dev = &pdev->dev; +/* Survivability info is required if not enabled via configfs */ +bool needs_info = !xe_configfs_get_survivability_mode (pdev);struct xe_device *xe =pdev_to_xe_device (pdev); +struct device *dev = &pdev->dev;int ret; ret =device_create_file (dev, &dev_attr_survivability_mode);
@@ -318,8 +320,7 @@ static int create_survivability_sysfs(struct pci_dev *pdev)if (ret) goto failed; -/* Survivability info is not required if enabled via configfs */ -if (!xe_configfs_get_survivability_mode (pdev)) { +if (needs_info) { ret =devm_device_add_group (dev, &survivability_info_group);if (ret) goto failed;
@@ -329,6 +330,9 @@ static int create_survivability_sysfs(struct pci_dev *pdev) failed:xe_err (xe,"Failed to create survivability sysfs files: %pe\n" ,ERR_PTR (ret)); +/* no sysfs, dump Survivability info to dmesg instead */ +if (needs_info) +log_survivability_info (xe);return ret; }
Signature · 1 line
2.47.1
[email protected]
AI reviewRe: [PATCH v5 22/33] drm/xe/survivability: Report 'boot status' on sysfs failure
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
Pre-existing issues:
- [High] The csc_hw_error_work workqueue item is never canceled during driver teardown, leading to a potential Use-After-Free.
- [High] Hardware-controlled infinite loop while traversing the auxiliary info register linked list.
--
--- Patch [22]: [PATCH v5 22/33] drm/xe/survivability: Report 'boot status' on sysfs failure --- commit 24540c4b13c7579fcae729221e696b114366060f
Author: Michal Wajdeczko <[email protected]>
drm/xe/survivability: Report 'boot status' on sysfs failure
If we fail to create any of the survivability sysfs files, the user can't view boot status registers any more. Report them into dmesg instead using our existing SIGID helper.
Quoted 4 lines
drivers/gpu/drm/xe/xe_survivability_mode.c +0
-0
[ ... ]
drivers/gpu/drm/xe/xe_survivability_mode.c static int create_survivability_sysfs(struct pci_dev *pdev) · line 337
Quoted 9 lines
drivers/gpu/drm/xe/xe_survivability_mode.c +3
-0@@ -329,6 +330,9 @@ static int create_survivability_sysfs(struct pci_dev *pdev) failed:xe_err (xe,"Failed to create survivability sysfs files: %pe\n" ,ERR_PTR (ret)); +/* no sysfs, dump Survivability info to dmesg instead */ +if (needs_info) +log_survivability_info (xe);return ret; }
[Severity: High]
This is a pre-existing issue, but can this loop run infinitely if the hardware returns corrupted or circular data?
drivers/gpu/drm/xe/xe_survivability_mode.c:populate_survivability_info() {
...
for (id = REG_FIELD_GET(AUXINFO_REG_OFFSET, reg_value);
id >= AUX_INFO0 && id < MAX_SCRATCH_REG;
id = REG_FIELD_GET(AUXINFO_HISTORY_OFFSET, info[id]))
set_survivability_info(mmio, info, id);
...
}Since survivability mode handles wedged or failing firmware, the hardware might return an AUXINFO_HISTORY_OFFSET that points to the current or a previously visited index.
Does this traversal need a bound or cycle detection to prevent hanging a kernel thread?
[Severity: High]
This is a pre-existing issue, but is there a potential use-after-free during driver teardown if this work item is not canceled?
drivers/gpu/drm/xe/xe_hw_error.c:xe_hw_error_init() {
...
INIT_WORK(&tile->csc_hw_error_work, csc_hw_error_work);
...
}The work item is initialized without a corresponding teardown action (like devm_add_action_or_reset) to cancel it on driver unbind.
If the driver is unloaded while hardware error processing is queued, the worker could execute after the tile and xe structures are freed:
drivers/gpu/drm/xe/xe_hw_error.c:csc_hw_error_work() {
struct xe_tile *tile = container_of(work, typeof(*tile), csc_hw_error_work);
xe_hw_error_print(tile, CSC_HW_ERROR);
}Does the driver need a cancel_work_sync() during teardown to prevent this?
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=22
Re: [PATCH v5 22/33] drm/xe/survivability: Report 'boot status' on sysfs failure
In reply to Michal WajdeczkoQuoted 40 lines · Michal Wajdeczko
If we fail to create any of the survivability sysfs files, the user can't view boot status registers any more. Report them into dmesg instead using our existing SIGID helper.
Signed-off-by Michal Wajdeczko <[email protected]>Cc Riana Tauro <[email protected]>Cc Rodrigo Vivi <[email protected]>Cc Aravind Iddamsetty <[email protected]>Cc Mallesh Koujalagi <[email protected]>--- drivers/gpu/drm/xe/xe_survivability_mode.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-)drivers/gpu/drm/xe/xe_survivability_mode.c +4
-3@@ -305,8 +305,10 @@ static const struct attribute_group survivability_info_group = {static int create_survivability_sysfs (struct pci_dev *pdev) { -struct device *dev = &pdev->dev; +/* Survivability info is required if not enabled via configfs */ +bool needs_info = !xe_configfs_get_survivability_mode (pdev);struct xe_device *xe =pdev_to_xe_device (pdev); +struct device *dev = &pdev->dev;int ret; ret =device_create_file (dev, &dev_attr_survivability_mode);@@ -318,8 +320,7 @@ static int create_survivability_sysfs(struct pci_dev *pdev)if (ret) goto failed; -/* Survivability info is not required if enabled via configfs */ -if (!xe_configfs_get_survivability_mode (pdev)) { +if (needs_info) { ret =devm_device_add_group (dev, &survivability_info_group);if (ret) goto failed;
drivers/gpu/drm/xe/xe_survivability_mode.c static int create_survivability_sysfs(struct pci_dev *pdev) · line 335
Quoted 6 lines
drivers/gpu/drm/xe/xe_survivability_mode.c +3
-0@@ -329,6 +330,9 @@ static int create_survivability_sysfs(struct pci_dev *pdev) failed:xe_err (xe,"Failed to create survivability sysfs files: %pe\n" ,ERR_PTR (ret)); +/* no sysfs, dump Survivability info to dmesg instead */ +if (needs_info) +log_survivability_info (xe);
Quoted 6 lines
drivers/gpu/drm/xe/xe_survivability_mode.c +0
-0return ret; }Signature · 1 line
2.47.1
PATCH v5 23/33 drm/xe/survivability: Report 'Boot Mode enabled' status using SIGID
In reply to Michal WajdeczkoReport 'Boot Mode' status or failure using various xe_log() helpers.
---
v2: don't dump boot_status (Riana)
--- drivers/gpu/drm/xe/xe_survivability_mode.c | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-)
drivers/gpu/drm/xe/xe_survivability_mode.c +10 -8
@@ -338,14 +338,13 @@ 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 ; +int ret; ret =create_survivability_sysfs (pdev);if (ret) -return ret; + goto failed;/* Make sure xe_heci_gsc_init() and xe_i2c_probe() are aware of survivability */ survivability->mode = true;
@@ -357,19 +356,22 @@ static int enable_boot_survivability_mode(struct pci_dev *pdev)if (survivability->fdo_mode) { ret =xe_nvm_init (xe);if (ret) - goto err; + goto failed; } ret =xe_i2c_probe (xe);if (ret) - goto err; + goto failed; -dev_err (dev,"In Survivability Mode\n" ); +if (check_boot_failure (xe)) +xe_log_err_fatal (pdev,SURVIVABILITY ,0 ,"Boot Mode enabled!\n" ); +else +xe_log_info (pdev,SURVIVABILITY ,"Boot Mode enabled!\n" );return 0 ; -err: -dev_err (dev,"Failed to enable Survivability Mode\n" ); +failed: +xe_log_err_fatal (pdev,SURVIVABILITY , ret,"Failed to enable Boot Mode!\n" ); survivability->mode = false;return ret; }
Signature · 1 line
2.47.1
Re: [PATCH v5 23/33] drm/xe/survivability: Report 'Boot Mode enabled' status using SIGID
Quoted 51 lines · Michal Wajdeczko
Report 'Boot Mode' status or failure using various
xe_log()helpers.Signed-off-by Michal Wajdeczko <[email protected]>Cc Rodrigo Vivi <[email protected]>Cc Riana Tauro <[email protected]>Cc Aravind Iddamsetty <[email protected]>Cc Mallesh Koujalagi <[email protected]>---
v2: don't dumpboot_status(Riana)--- drivers/gpu/drm/xe/xe_survivability_mode.c | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-)drivers/gpu/drm/xe/xe_survivability_mode.c +7
-6@@ -338,14 +338,13 @@ 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 ; +int ret; ret =create_survivability_sysfs (pdev);if (ret) -return ret; + goto failed;/* Make sure xe_heci_gsc_init() and xe_i2c_probe() are aware of survivability */ survivability->mode = true;@@ -357,19 +356,22 @@ static int enable_boot_survivability_mode(struct pci_dev *pdev)if (survivability->fdo_mode) { ret =xe_nvm_init (xe);if (ret) - goto err; + goto failed; } ret =xe_i2c_probe (xe);if (ret) - goto err; + goto failed; -dev_err (dev,"In Survivability Mode\n" ); +if (check_boot_failure (xe)) +xe_log_err_fatal (pdev,SURVIVABILITY ,0 ,"Boot Mode enabled!\n" ); +else
drivers/gpu/drm/xe/xe_survivability_mode.c static int enable_boot_survivability_mode(struct pci_dev *pdev) · line 376
Quoted 10 lines
drivers/gpu/drm/xe/xe_survivability_mode.c +3
-2+xe_log_info (pdev,SURVIVABILITY ,"Boot Mode enabled!\n" );return 0 ; -err: -dev_err (dev,"Failed to enable Survivability Mode\n" ); +failed: +xe_log_err_fatal (pdev,SURVIVABILITY , ret,"Failed to enable Boot Mode!\n" ); survivability->mode = false;return ret;
Quoted 4 lines
drivers/gpu/drm/xe/xe_survivability_mode.c +0
-0}Signature · 1 line
2.47.1
PATCH v5 24/33 drm/xe/survivability: Report 'Runtime Mode enabled' status using SIGID
In reply to Michal WajdeczkoReport 'Runtime Mode' status or failure using xe_log_err() helper.
---
v2: always use xe_log_err (Riana)
--- drivers/gpu/drm/xe/xe_survivability_mode.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-)
drivers/gpu/drm/xe/xe_survivability_mode.c +6 -3
@@ -436,7 +436,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_err (xe,SURVIVABILITY , -EOPNOTSUPP ,"Runtime Mode not supported!\n" );return ; }
@@ -444,11 +444,14 @@ void xe_survivability_mode_runtime_enable(struct xe_device *xe)create_survivability_sysfs (pdev); survivability->type =XE_SURVIVABILITY_TYPE_RUNTIME ; -dev_err (&pdev->dev,"Runtime Survivability mode enabled\n" ); +xe_log_err (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 (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
Re: [PATCH v5 24/33] drm/xe/survivability: Report 'Runtime Mode enabled' status using SIGID
Quoted 30 lines · Michal Wajdeczko
Report 'Runtime Mode' status or failure using
xe_log_err()helper.Signed-off-by Michal Wajdeczko <[email protected]>Cc Rodrigo Vivi <[email protected]>Cc Riana Tauro <[email protected]>Cc Aravind Iddamsetty <[email protected]>Cc Mallesh Koujalagi <[email protected]>---
v2: always usexe_log_err(Riana)--- drivers/gpu/drm/xe/xe_survivability_mode.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-)drivers/gpu/drm/xe/xe_survivability_mode.c +1
-1@@ -436,7 +436,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_err (xe,SURVIVABILITY , -EOPNOTSUPP ,"Runtime Mode not supported!\n" );return ; }@@ -444,11 +444,14 @@ void xe_survivability_mode_runtime_enable(struct xe_device *xe)create_survivability_sysfs (pdev); survivability->type =XE_SURVIVABILITY_TYPE_RUNTIME ;
drivers/gpu/drm/xe/xe_survivability_mode.c void xe_survivability_mode_runtime_enable(struct xe_device *xe) · line 454
Quoted 10 lines
drivers/gpu/drm/xe/xe_survivability_mode.c +5
-2-dev_err (&pdev->dev,"Runtime Survivability mode enabled\n" ); +xe_log_err (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 (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);
Quoted 6 lines
drivers/gpu/drm/xe/xe_survivability_mode.c +0
-0}/** Signature · 1 line
2.47.1
PATCH v5 25/33 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 filing 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"
@@ -1442,6 +1443,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
@@ -1473,12 +1477,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 v5 26/33 drm/xe/pcode: Report 'Mailbox failed' error using SIGID
In reply to Michal WajdeczkoReport 'Mailbox failed' error using xe_log_err() helper.
---
v2: say xe_log_err() in commit msg (Mallesh)
--- 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 v5 27/33 drm/xe/pcode: Report 'timeout, retrying' error using SIGID
In reply to Michal WajdeczkoReport 'timeout, retrying with preemption disabled' error using xe_log_err() helper.
--- drivers/gpu/drm/xe/xe_pcode.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/xe/xe_pcode.c +1 -2
@@ -218,8 +218,7 @@ int xe_pcode_request(struct xe_tile *tile, u32 mbox, u32 request,* requests, and for any quirks of the PCODE firmware that delays * the request completion. */ -drm_err (&tile_to_xe (tile)->drm, -"PCODE timeout, retrying with preemption disabled\n" ); +xe_log_err (tile,PCODE , ret,"timeout, retrying with preemption disabled\n" );preempt_disable (); ret =pcode_try_request (tile, mbox, request, reply_mask, reply, &status, true,50 *1000 , true);
Signature · 1 line
2.47.1
PATCH v5 28/33 drm/xe/pcode: Report 'initialization timedout' error using SIGID
In reply to Michal WajdeczkoReport 'initialization timedout' error using xe_log_err() helper.
--- drivers/gpu/drm/xe/xe_pcode.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/gpu/drm/xe/xe_pcode.c +3 -3
@@ -297,7 +297,7 @@ int xe_pcode_ready(struct xe_device *xe, bool locked) {u32 status, request =DGFX_GET_INIT_STATUS ;struct xe_tile *tile =xe_device_get_root_tile (xe); -int timeout_us =180000000 ;/* 3 min */ +long timeout_us =3 *60 *USEC_PER_SEC ;/* 3 min */ int ret;if (xe->info.skip_pcode)
@@ -318,8 +318,8 @@ int xe_pcode_ready(struct xe_device *xe, bool locked)mutex_unlock (&tile->pcode.lock);if (ret) -drm_err (&xe->drm, -"PCODE initialization timedout after: 3 min\n" ); +xe_log_err (tile,PCODE , ret,"initialization timedout after %ld seconds\n" , + timeout_us /USEC_PER_SEC );return ret; }
Signature · 1 line
2.47.1
[email protected]
AI reviewRe: [PATCH v5 28/33] drm/xe/pcode: Report 'initialization timedout' error using SIGID
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
Pre-existing issues:
- [High] The polling loop in pcode_try_request uses unbounded exponential backoff, causing massive delay intervals, dangerous udelay() values, and incorrect timeout calculations. --
--- Patch [28]: [PATCH v5 28/33] drm/xe/pcode: Report 'initialization timedout' error using SIGID --- commit 37b63ecd447fce41ca2633f291eae720f6ea1ba1
Author: Michal Wajdeczko <[email protected]>
drm/xe/pcode: Report 'initialization timedout' error using SIGID
This commit updates xe_pcode_ready() to report initialization timeouts using the xe_log_err helper with a SIGID. It also replaces the hardcoded integer timeout with a calculated value using USEC_PER_SEC.
drivers/gpu/drm/xe/xe_pcode.c int xe_pcode_ready(struct xe_device *xe, bool locked) · line 300
Quoted 10 lines
drivers/gpu/drm/xe/xe_pcode.c +1
-1@@ -297,7 +297,7 @@ int xe_pcode_ready(struct xe_device *xe, bool locked) {u32 status, request =DGFX_GET_INIT_STATUS ;struct xe_tile *tile =xe_device_get_root_tile (xe); -int timeout_us =180000000 ;/* 3 min */ +long timeout_us =3 *60 *USEC_PER_SEC ;/* 3 min */
[Severity: High]
This is a pre-existing issue, but does the polling loop in pcode_try_request() have an uncapped exponential backoff that causes dangerous wait intervals here?
With timeout_us set to 3 minutes (180,000,000 us), the backoff loop in pcode_try_request() doubles the wait variable repeatedly:
for (slept = 0; slept < timeout_us; slept += wait) {
...
if (atomic)
udelay(wait);
else
usleep_range(wait, wait << 1);
wait <<= 1;
}Because there is no cap on wait, it will grow exponentially until it reaches ~83 seconds, leading to a massive sleep interval that could break hardware responsiveness and stall the kernel thread.
Additionally, when xe_pcode_request() polls with preemption disabled (atomic = true), wait can grow up to ~32ms, leading to udelay(32000), which exceeds architecture limits for udelay() and risks soft lockups.
Also, since slept adds wait before the actual sleep duration is completed, and wait is then doubled, does this miscalculate the elapsed time and effectively halve the actual timeout?
[ ... ]
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=28
PATCH v5 29/33 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 v5 30/33 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 v5 31/33 drm/xe/gt: Report 'Fault response' pagefault error using SIGID
In reply to Michal WajdeczkoReport 'Unsuccessful response' error using xe_log_err_info() helper.
---
v2: rebased (Michal) reword message (Mallesh)
v3: use info level helper (Rodrigo/Daniele)
--- drivers/gpu/drm/xe/xe_pagefault.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/xe/xe_pagefault.c +2 -2
@@ -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"
@@ -625,8 +626,7 @@ static void xe_pagefault_queue_work(struct work_struct *w)xe_pagefault_save_to_vm (gt_to_xe (gt), pf);xe_pagefault_cache_start_invalidate (cache_start);xe_pagefault_print (pf); -xe_gt_info (pf->gt,"Fault response: Unsuccessful %pe\n" , -ERR_PTR (err)); +xe_log_err_info (pf->gt,PAGEFAULT , err,"Unsuccessful response\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",
Signature · 1 line
2.47.1
Re: [PATCH v5 31/33] drm/xe/gt: Report 'Fault response' pagefault error using SIGID
Quoted 11 lines · Michal Wajdeczko
Report 'Unsuccessful response' error using
xe_log_err_info()helper.Signed-off-by Michal Wajdeczko <[email protected]>Cc Rodrigo Vivi <[email protected]>Cc Matthew Brost <[email protected]>Cc Daniele Ceraolo Spurio <[email protected]>Cc Aravind Iddamsetty <[email protected]>Cc Mallesh Koujalagi <[email protected]>---
v2: rebased (Michal) reword message (Mallesh)
v3: use info level helper (Rodrigo/Daniele)
Thank you
Quoted 29 lines
--- drivers/gpu/drm/xe/xe_pagefault.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/xe/xe_pagefault.c +2
-2@@ -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" @@ -625,8 +626,7 @@ static void xe_pagefault_queue_work(struct work_struct *w)xe_pagefault_save_to_vm (gt_to_xe (gt), pf);xe_pagefault_cache_start_invalidate (cache_start);xe_pagefault_print (pf); -xe_gt_info (pf->gt,"Fault response: Unsuccessful %pe\n" , -ERR_PTR (err)); +xe_log_err_info (pf->gt,PAGEFAULT , err,"Unsuccessful response\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",Signature · 1 line
2.47.1
PATCH v5 32/33 drm/xe/gt: Report 'Queue full' pagefault error using SIGID
In reply to Michal WajdeczkoReport 'Queue full' error using xe_log_err() helper. While around, replace WARN_ON with WARN_ON_ONCE as there is no need for extra noise each time we hit this unlikely condition.
---
v2: mention WARN_ON_ONCE change in commit msg (Rodrigo)
--- drivers/gpu/drm/xe/xe_pagefault.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/gpu/drm/xe/xe_pagefault.c +3 -1
@@ -328,8 +328,10 @@ xe_pagefault_queue_add(struct xe_pagefault_queue *pf_queue, do { /* Not possible, warn on and drop page fault */ - if (WARN_ON(xe_pagefault_queue_full(pf_queue))) + if (WARN_ON_ONCE(xe_pagefault_queue_full(pf_queue))) { + xe_log_err(xe, PAGEFAULT, -ENOSPC, "Queue full!\n"); return NULL; + } lpf = (pf_queue->data + pf_queue->head); pf_queue->head = (pf_queue->head + xe_pagefault_entry_size()) %
Signature · 1 line
2.47.1
[email protected]
AI reviewRe: [PATCH v5 32/33] drm/xe/gt: Report 'Queue full' pagefault error using SIGID
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [High] Log spam under an IRQ-disabled spinlock due to WARN_ON_ONCE semantics --
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [High] Log spam under an IRQ-disabled spinlock due to WARN_ON_ONCE semantics --
--- Patch [32]: [PATCH v5 32/33] drm/xe/gt: Report 'Queue full' pagefault error using SIGID --- commit 3d4e7bc115e30aa20f0155c869055081a51002d3
Author: Michal Wajdeczko <[email protected]>
drm/xe/gt: Report 'Queue full' pagefault error using SIGID
This patch replaces a WARN_ON with WARN_ON_ONCE when handling a full page fault queue, aiming to reduce extra noise. It also adds a call to xe_log_err() to report the queue full error.
drivers/gpu/drm/xe/xe_pagefault.c xe_pagefault_queue_add(struct xe_pagefault_queue *pf_queue, · line 332
Quoted 11 lines
drivers/gpu/drm/xe/xe_pagefault.c +2
-1@@ -328,8 +328,10 @@ xe_pagefault_queue_add(struct xe_pagefault_queue *pf_queue, do { /* Not possible, warn on and drop page fault */ - if (WARN_ON(xe_pagefault_queue_full(pf_queue))) + if (WARN_ON_ONCE(xe_pagefault_queue_full(pf_queue))) { + xe_log_err(xe, PAGEFAULT, -ENOSPC, "Queue full!\n");
[Severity: High]
Does this actually reduce the noise when the queue is full?
The WARN_ON_ONCE() macro prints the backtrace only the first time it is hit, but it still evaluates to true every time the condition is met. Because xe_log_err() is inside the if block, it will print a message every single time the queue is full, defeating the intent of reducing extra noise.
Because this runs under a spinlock with IRQs disabled, could this lead to severe log spam that might cause CPU soft lockups or system unresponsiveness, especially during a GPU page fault storm?
Quoted 5 lines
drivers/gpu/drm/xe/xe_pagefault.c +1
-0return NULL ; + } lpf = (pf_queue->data + pf_queue->head); pf_queue->head = (pf_queue->head + xe_pagefault_entry_size()) %
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=32
PATCH v5 33/33 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
✗ CI.checkpatch: warning for drm/xe: Add structured SIGID error logging infrastructure (rev5)
In reply to Michal Wajdeczko== Series Details ==
== Series Details ==
Series: drm/xe: Add structured SIGID error logging infrastructure (rev5)
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 770114873a7ef1f0e0cb35fe256d991f31a75638
Author: Michal Wajdeczko <[email protected]> Date: Fri Aug 14 19:17:59 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 9832bc7a458a4a67e68dcf96927588859c1994f3 drm-intel 806a3b09ecc5 drm/xe: Introduce xe_any helpers
-:24: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #24:
new file mode 100644
-:39: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #39: FILE: drivers/gpu/drm/xe/xe_any.h:11:
+#define __xe_any_to_self_assoc(type, any) \
+ const type * : (any), \
+ type * : (any)
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.
-:39: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'any' - possible side-effects? #39: FILE: drivers/gpu/drm/xe/xe_any.h:11:
+#define __xe_any_to_self_assoc(type, any) \
+ const type * : (any), \
+ type * : (any)
-:50: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'any' - possible side-effects? #50: FILE: drivers/gpu/drm/xe/xe_any.h:22:
+#define xe_any_if_type(any, type) \
+ _Generic((any), \
+ __xe_any_to_self_assoc(type, (any)), \
+ default : NULL)
-:53: WARNING:TABSTOP: Statements should start on a tabstop #53: FILE: drivers/gpu/drm/xe/xe_any.h:25:
+ default : NULL)
-:53: ERROR:TRAILING_STATEMENTS: trailing statements should be on next line #53: FILE: drivers/gpu/drm/xe/xe_any.h:25:
+ default : NULL)
-:87: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'const' - possible side-effects? #87: FILE: drivers/gpu/drm/xe/xe_any.h:59:
+#define __xe_any_to_other_assoc(const, from, other, p) \
+ const struct from * : __##from##_to_##other((const struct from *)(p))
-:87: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'from' - possible side-effects? #87: FILE: drivers/gpu/drm/xe/xe_any.h:59:
+#define __xe_any_to_other_assoc(const, from, other, p) \
+ const struct from * : __##from##_to_##other((const struct from *)(p))
-:87: CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'from' may be better as '(from)' to avoid precedence issues #87: FILE: drivers/gpu/drm/xe/xe_any.h:59:
+#define __xe_any_to_other_assoc(const, from, other, p) \
+ const struct from * : __##from##_to_##other((const struct from *)(p))
-:103: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'any' - possible side-effects? #103: FILE: drivers/gpu/drm/xe/xe_any.h:75:
+#define xe_any_to_xe(any) \
+ _Generic((any), \
+ __xe_any_to_self_assoc(struct xe_device, (any)), \
+ __xe_any_to_other_assoc(/* */, xe_tile, xe_device, (any)), \
+ __xe_any_to_other_assoc(const, xe_tile, xe_device, (any)), \
+ __xe_any_to_other_assoc(/* */, xe_gt, xe_device, (any)), \
+ __xe_any_to_other_assoc(const, xe_gt, xe_device, (any)), \
+ __xe_any_to_other_assoc(, drm_device, xe_device, (any)), \
+ __xe_any_to_other_assoc(, pci_dev, xe_device, (any)), \
+ __xe_any_to_other_assoc(, device, xe_device, (any)))
-:120: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'any' - possible side-effects? #120: FILE: drivers/gpu/drm/xe/xe_any.h:92:
+#define xe_any_to_drm(any) \
+ _Generic((any), \
+ __xe_any_to_self_assoc(struct drm_device, (any)), \
+ default : &xe_any_to_xe(any)->drm)
-:123: WARNING:TABSTOP: Statements should start on a tabstop #123: FILE: drivers/gpu/drm/xe/xe_any.h:95:
+ default : &xe_any_to_xe(any)->drm)
-:123: ERROR:TRAILING_STATEMENTS: trailing statements should be on next line #123: FILE: drivers/gpu/drm/xe/xe_any.h:95:
+ default : &xe_any_to_xe(any)->drm)
-:131: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'any' - possible side-effects? #131: FILE: drivers/gpu/drm/xe/xe_any.h:103:
+#define xe_any_to_dev(any) \
+ _Generic((any), \
+ __xe_any_to_self_assoc(struct device, (any)), \
+ __xe_any_to_other_assoc(, pci_dev, device, (any)), \
+ default : xe_any_to_drm(any)->dev)
-:135: WARNING:TABSTOP: Statements should start on a tabstop #135: FILE: drivers/gpu/drm/xe/xe_any.h:107:
+ default : xe_any_to_drm(any)->dev)
-:135: ERROR:TRAILING_STATEMENTS: trailing statements should be on next line #135: FILE: drivers/gpu/drm/xe/xe_any.h:107:
+ default : xe_any_to_drm(any)->dev)
-:143: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'any' - possible side-effects? #143: FILE: drivers/gpu/drm/xe/xe_any.h:115:
+#define xe_any_to_pdev(any) \
+ _Generic((any), \
+ __xe_any_to_self_assoc(struct pci_dev, (any)), \
+ default : to_pci_dev(xe_any_to_dev(any)))
-:146: WARNING:TABSTOP: Statements should start on a tabstop #146: FILE: drivers/gpu/drm/xe/xe_any.h:118:
+ default : to_pci_dev(xe_any_to_dev(any)))
-:146: ERROR:TRAILING_STATEMENTS: trailing statements should be on next line #146: FILE: drivers/gpu/drm/xe/xe_any.h:118:
+ default : to_pci_dev(xe_any_to_dev(any)))
-:157: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'any' - possible side-effects? #157: FILE: drivers/gpu/drm/xe/xe_any.h:129:
+#define xe_any_id(any) \
+ _Generic((any), \
+ __xe_any_to_other_assoc(/* */, xe_tile, id, (any)), \
+ __xe_any_to_other_assoc(const, xe_tile, id, (any)), \
+ __xe_any_to_other_assoc(/* */, xe_gt, id, (any)), \
+ __xe_any_to_other_assoc(const, xe_gt, id, (any)), \
+ default : 0)
-:163: WARNING:TABSTOP: Statements should start on a tabstop #163: FILE: drivers/gpu/drm/xe/xe_any.h:135:
+ default : 0)
-:163: ERROR:TRAILING_STATEMENTS: trailing statements should be on next line #163: FILE: drivers/gpu/drm/xe/xe_any.h:135:
+ default : 0)
total: 6 errors, 6 warnings, 10 checks, 137 lines checkedd2803a9563c1 drm/xe/log: Add structured SIGID error logging infrastructure
-:38: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #38:
new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 342 lines checkedf4b06c249eee drm/xe/log: Introduce structured component/location identifiers -:18: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #18:
new file mode 100644
-:154: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #154: FILE: drivers/gpu/drm/xe/abi/xe_log_abi.h:132:
+#define DEFINE_XE_LOG_COMPONENTS(define) \
+ /* */ \
+ define(SYSTEM, 1, PCI, IO_BUS, "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.
-:154: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'define' - possible side-effects? #154: FILE: drivers/gpu/drm/xe/abi/xe_log_abi.h:132:
+#define DEFINE_XE_LOG_COMPONENTS(define) \
+ /* */ \
+ define(SYSTEM, 1, PCI, IO_BUS, "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 */
-:189: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #189: FILE: drivers/gpu/drm/xe/abi/xe_log_abi.h:167:
+#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.
-:189: WARNING:MACRO_ARG_UNUSED: Argument '_SIG' is not used in function-like macro #189: FILE: drivers/gpu/drm/xe/abi/xe_log_abi.h:167:
+#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 */
-:189: WARNING:MACRO_ARG_UNUSED: Argument '_NAME' is not used in function-like macro #189: FILE: drivers/gpu/drm/xe/abi/xe_log_abi.h:167:
+#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 */
-:202: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #202: FILE: drivers/gpu/drm/xe/abi/xe_log_abi.h:180:
+#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.
-:202: WARNING:MACRO_ARG_UNUSED: Argument '_CLASS' is not used in function-like macro #202: FILE: drivers/gpu/drm/xe/abi/xe_log_abi.h:180:
+#define MAKE_XE_LOG_COMPONENT_SIGID(_CLASS, _ID, _TAG, _SIG, _NAME) \
+ XE_LOG_COMPONENT_##_TAG##_SIGID = XE_SIGID_##_SIG, \
+ /* eod */
-:202: WARNING:MACRO_ARG_UNUSED: Argument '_ID' is not used in function-like macro #202: FILE: drivers/gpu/drm/xe/abi/xe_log_abi.h:180:
+#define MAKE_XE_LOG_COMPONENT_SIGID(_CLASS, _ID, _TAG, _SIG, _NAME) \
+ XE_LOG_COMPONENT_##_TAG##_SIGID = XE_SIGID_##_SIG, \
+ /* eod */
-:202: WARNING:MACRO_ARG_UNUSED: Argument '_NAME' is not used in function-like macro #202: FILE: drivers/gpu/drm/xe/abi/xe_log_abi.h:180:
+#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, 187 lines checked e5ecfc871bc3 drm/xe/log: Add component/location decorations to dmesg -:41: WARNING:TRAILING_SEMICOLON: macros should not use a trailing semicolon #41: FILE: drivers/gpu/drm/xe/xe_log.c:26:
+#define MAKE_XE_LOG_COMPONENT_CLASS_PREFIX(_CLASS) \
+ case XE_LOG_COMPONENT_CLASS_##_CLASS: return #_CLASS "? ";
-:56: WARNING:MACRO_ARG_UNUSED: Argument '_CLASS' is not used in function-like macro #56: FILE: drivers/gpu/drm/xe/xe_log.c:41:
+#define MAKE_XE_LOG_COMPONENT_CASE_PREFIX(_CLASS, _ID, _TAG, _SIG, _NAME) \
+ case XE_LOG_COMPONENT_##_TAG: return #_TAG ": ";
-:56: WARNING:MACRO_ARG_UNUSED: Argument '_ID' is not used in function-like macro #56: FILE: drivers/gpu/drm/xe/xe_log.c:41:
+#define MAKE_XE_LOG_COMPONENT_CASE_PREFIX(_CLASS, _ID, _TAG, _SIG, _NAME) \
+ case XE_LOG_COMPONENT_##_TAG: return #_TAG ": ";
-:56: WARNING:MACRO_ARG_UNUSED: Argument '_SIG' is not used in function-like macro #56: FILE: drivers/gpu/drm/xe/xe_log.c:41:
+#define MAKE_XE_LOG_COMPONENT_CASE_PREFIX(_CLASS, _ID, _TAG, _SIG, _NAME) \
+ case XE_LOG_COMPONENT_##_TAG: return #_TAG ": ";
-:56: WARNING:MACRO_ARG_UNUSED: Argument '_NAME' is not used in function-like macro #56: FILE: drivers/gpu/drm/xe/xe_log.c:41:
+#define MAKE_XE_LOG_COMPONENT_CASE_PREFIX(_CLASS, _ID, _TAG, _SIG, _NAME) \
+ case XE_LOG_COMPONENT_##_TAG: return #_TAG ": ";
-:56: WARNING:TRAILING_SEMICOLON: macros should not use a trailing semicolon #56: FILE: drivers/gpu/drm/xe/xe_log.c:41:
+#define MAKE_XE_LOG_COMPONENT_CASE_PREFIX(_CLASS, _ID, _TAG, _SIG, _NAME) \
+ case XE_LOG_COMPONENT_##_TAG: return #_TAG ": ";
total: 0 errors, 6 warnings, 0 checks, 126 lines checked f6cc0dfe28ca drm/xe/log: Add SIGID log helpers for severity 60e556751b3c drm/xe/log: Add SIGID log helpers for location
-:45: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'any' - possible side-effects? #45: 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 checked33cda540d8d3 drm/xe/log: Add SIGID log helpers for location & severity89d82e368869 drm/xe/log: Add SIGID log helpers for components4f2867653df0 drm/xe/log: Add SIGID log helpers for component & severity73a5d9ba7097 drm/xe/log: Add SIGID log helpers for errno-only65b3688b1d12 drm/xe/log: Index all SIGID printk messages
-:13: WARNING:COMMIT_LOG_LONG_LINE: Prefer a maximum 75 chars per line (possible unwrapped commit description?) #13:
<3> drivers/gpu/drm/xe/xe_log.c:142 log_dmesg_vprintk "%s %s: [drm] *ERROR* %pV"
-:69: WARNING:TRAILING_SEMICOLON: macros should not use a trailing semicolon #69: FILE: drivers/gpu/drm/xe/xe_log.h:26:
+#define __xe_log_emit_printk_index(level, fmt) \
+ dev_printk_index_emit(level, "%s SIGID=%u %s" fmt);
-:72: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'sev' - possible side-effects? #72: FILE: drivers/gpu/drm/xe/xe_log.h:29:
+#define xe_log_emit(pdev, sev, sig, comp, loc, data, len, fmt, args...) do { \
+ __xe_log_emit_printk_index(__xe_log_const_sev_to_level(sev), fmt); \
+ __xe_log_emit((pdev), (sev), (sig), (comp), (loc), (data), (len), fmt, ##args); \
+} while (0)
-:72: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'fmt' - possible side-effects? #72: FILE: drivers/gpu/drm/xe/xe_log.h:29:
+#define xe_log_emit(pdev, sev, sig, comp, loc, data, len, fmt, args...) do { \
+ __xe_log_emit_printk_index(__xe_log_const_sev_to_level(sev), fmt); \
+ __xe_log_emit((pdev), (sev), (sig), (comp), (loc), (data), (len), fmt, ##args); \
+} while (0)
total: 0 errors, 2 warnings, 2 checks, 43 lines checked624f6d92dd2d drm/xe/log: Add hardware error signaturesc11d3cb5f0c7 drm/xe/log: Extend components list with hardware items
-:25: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #25: FILE: drivers/gpu/drm/xe/abi/xe_log_abi.h:136:
+#define DEFINE_XE_LOG_SOFTWARE_COMPONENTS(define) \
/* */ \
define(SYSTEM, 1, PCI, IO_BUS, "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.
-:25: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'define' - possible side-effects? #25: FILE: drivers/gpu/drm/xe/abi/xe_log_abi.h:136:
+#define DEFINE_XE_LOG_SOFTWARE_COMPONENTS(define) \
/* */ \
define(SYSTEM, 1, PCI, IO_BUS, "Linux PCI Subsystem") \
define(SYSTEM, 2, DRM, SW, "DRM") \
-:34: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #34: FILE: drivers/gpu/drm/xe/abi/xe_log_abi.h:165:
+#define DEFINE_XE_LOG_HARDWARE_COMPONENTS(define) \
+ define(HARDWARE, 1, DEVICE_MEMORY, DEVICE_MEMORY, "Device Memory") \
+ define(HARDWARE, 2, CORE_COMPUTE, CORE_COMPUTE, "Core Compute") \
+ /* HARDWARE, 3, RESERVED */ \
+ define(HARDWARE, 4, PCIE, PCIE, "PCIe Interface") \
+ define(HARDWARE, 5, FABRIC, FABRIC, "Fabric") \
+ define(HARDWARE, 6, SOC_INTERNAL, 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.
-:34: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'define' - possible side-effects? #34: FILE: drivers/gpu/drm/xe/abi/xe_log_abi.h:165:
+#define DEFINE_XE_LOG_HARDWARE_COMPONENTS(define) \
+ define(HARDWARE, 1, DEVICE_MEMORY, DEVICE_MEMORY, "Device Memory") \
+ define(HARDWARE, 2, CORE_COMPUTE, CORE_COMPUTE, "Core Compute") \
+ /* HARDWARE, 3, RESERVED */ \
+ define(HARDWARE, 4, PCIE, PCIE, "PCIe Interface") \
+ define(HARDWARE, 5, FABRIC, FABRIC, "Fabric") \
+ define(HARDWARE, 6, SOC_INTERNAL, SOC_INTERNAL, "SoC Internal") \
/* eod */
total: 2 errors, 0 warnings, 2 checks, 24 lines checked4c974641c065 drm/xe/ras: Check RAS and LOG component definitions0aa89a9e0064 drm/xe/kunit: Setup driver data in the test device0c6661611353 drm/xe/tests: Add Kunit tests for xe_log
-:16: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #16:
new file mode 100644
-:48: WARNING:MACRO_ARG_UNUSED: Argument '_CLASS' is not used in function-like macro #48: 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;
-:48: WARNING:MACRO_ARG_UNUSED: Argument '_ID' is not used in function-like macro #48: 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;
-:48: WARNING:MACRO_ARG_UNUSED: Argument '_SIG' is not used in function-like macro #48: 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;
-:48: WARNING:TRAILING_SEMICOLON: macros should not use a trailing semicolon #48: 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, 585 lines checkeddfacd40898c6 drm/xe/tests: Add kunit tests for xe_any
-:25: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #25:
new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 220 lines checkedf4f82ebabbb2 drm/xe: Report 'probe blocked' status using SIGID c2d794a04eb7 drm/xe: Report all probe errors using SIGIDf1242c1acd8c drm/xe/survivability: Report 'boot status' using SIGID d9d9d07fcde4 drm/xe/survivability: Report sysfs failure in one place c0da3308e09d drm/xe/survivability: Report 'boot status' on sysfs failure 75212278110c drm/xe/survivability: Report 'Boot Mode enabled' status using SIGID b780cf1053a8 drm/xe/survivability: Report 'Runtime Mode enabled' status using SIGID cfa28049215c drm/xe: Report 'device wedged' errors using SIGID daf9316a1469 drm/xe/pcode: Report 'Mailbox failed' error using SIGID cafbb5f4b111 drm/xe/pcode: Report 'timeout, retrying' error using SIGID 05583bde19e8 drm/xe/pcode: Report 'initialization timedout' error using SIGID 8a97e51854b2 drm/xe/guc: Report 'GuC mmio' errors using SIGID 41159d399b5d drm/xe/gt: Report 'reset failed' errors using SIGID 2bf3d8cb0db8 drm/xe/gt: Report 'Fault response' pagefault error using SIGID 60d26a58b898 drm/xe/gt: Report 'Queue full' pagefault error using SIGID 770114873a7e drm/xe/pci: Report 'cannot re-enable' error using SIGID
Patchwork
CI✓ CI.KUnit: success for drm/xe: Add structured SIGID error logging infrastructure (rev5)
In reply to Michal Wajdeczko== Series Details ==
== Series Details ==
Series: drm/xe: Add structured SIGID error logging infrastructure (rev5)
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 [17:25:27] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [17:25:32] 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 [17:26:04] Starting KUnit Kernel (1/1)... [17:26:04] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [17:26:04] ================== guc_buf (11 subtests) =================== [17:26:04] [PASSED] test_smallest [17:26:04] [PASSED] test_largest [17:26:04] [PASSED] test_granular [17:26:04] [PASSED] test_unique [17:26:04] [PASSED] test_overlap [17:26:04] [PASSED] test_reusable [17:26:04] [PASSED] test_too_big [17:26:04] [PASSED] test_flush [17:26:04] [PASSED] test_lookup [17:26:04] [PASSED] test_data [17:26:04] [PASSED] test_class [17:26:04] ===================== [PASSED] guc_buf ===================== [17:26:04] =================== guc_dbm (7 subtests) =================== [17:26:04] [PASSED] test_empty [17:26:04] [PASSED] test_default [17:26:04] ======================== test_size ======================== [17:26:04] [PASSED] 4 [17:26:04] [PASSED] 8 [17:26:04] [PASSED] 32 [17:26:04] [PASSED] 256 [17:26:04] ==================== [PASSED] test_size ==================== [17:26:04] ======================= test_reuse ======================== [17:26:04] [PASSED] 4 [17:26:04] [PASSED] 8 [17:26:04] [PASSED] 32 [17:26:04] [PASSED] 256 [17:26:04] =================== [PASSED] test_reuse ==================== [17:26:04] =================== test_range_overlap ==================== [17:26:04] [PASSED] 4 [17:26:04] [PASSED] 8 [17:26:04] [PASSED] 32 [17:26:04] [PASSED] 256 [17:26:04] =============== [PASSED] test_range_overlap ================ [17:26:04] =================== test_range_compact ==================== [17:26:04] [PASSED] 4 [17:26:04] [PASSED] 8 [17:26:04] [PASSED] 32 [17:26:04] [PASSED] 256 [17:26:04] =============== [PASSED] test_range_compact ================ [17:26:04] ==================== test_range_spare ===================== [17:26:04] [PASSED] 4 [17:26:04] [PASSED] 8 [17:26:04] [PASSED] 32 [17:26:04] [PASSED] 256 [17:26:04] ================ [PASSED] test_range_spare ================= [17:26:04] ===================== [PASSED] guc_dbm ===================== [17:26:04] =================== guc_idm (6 subtests) =================== [17:26:04] [PASSED] bad_init [17:26:04] [PASSED] no_init [17:26:04] [PASSED] init_fini [17:26:04] [PASSED] check_used [17:26:04] [PASSED] check_quota [17:26:04] [PASSED] check_all [17:26:04] ===================== [PASSED] guc_idm ===================== [17:26:04] =============== guc_klv_helpers (9 subtests) =============== [17:26:04] [PASSED] test_count [17:26:04] [PASSED] test_encode_u32 [17:26:04] [PASSED] test_encode_u64 [17:26:04] [PASSED] test_encode_string [17:26:04] [PASSED] test_encode_object_raw [17:26:04] [PASSED] test_encode_object_klv [17:26:04] [PASSED] test_encode_object_nested [17:26:04] [PASSED] test_encode_object_basic [17:26:04] [PASSED] test_print [17:26:04] ================= [PASSED] guc_klv_helpers ================= [17:26:04] =================== xe_log (4 subtests) ==================== [17:26:04] [PASSED] demo_cper [17:26:04] [PASSED] demo_dmesg [17:26:04] ======================= test_dmesg ======================== [17:26:04] [PASSED] test_fatal [17:26:04] [PASSED] test_fatal_tile [17:26:04] [PASSED] test_fatal_gt [17:26:04] [PASSED] test_fatal_comp [17:26:04] [PASSED] test_fatal_comp_tile [17:26:04] [PASSED] test_fatal_comp_gt [17:26:04] [PASSED] test_fatal_all [17:26:04] [PASSED] test_recoverable [17:26:04] [PASSED] test_recoverable_tile [17:26:04] [PASSED] test_recoverable_gt [17:26:04] [PASSED] test_recoverable_comp [17:26:04] [PASSED] test_recoverable_comp_tile [17:26:04] [PASSED] test_recoverable_comp_gt [17:26:04] [PASSED] test_recoverable_all [17:26:04] [PASSED] test_info [17:26:04] [PASSED] test_info_tile [17:26:04] [PASSED] test_info_gt [17:26:04] [PASSED] test_info_err [17:26:04] [PASSED] test_info_comp [17:26:04] [PASSED] test_info_comp_tile [17:26:04] [PASSED] test_info_comp_gt [17:26:04] [PASSED] test_info_all [17:26:04] [PASSED] test_hw_fatal [17:26:04] [PASSED] test_hw_recoverable [17:26:04] [PASSED] test_hw_corrected [17:26:04] [PASSED] test_hw_informational [17:26:04] =================== [PASSED] test_dmesg ==================== [17:26:04] ====================== test_invalid ======================= [17:26:04] [SKIPPED] no-component no-location no-warn (requires CONFIG_DRM_XE_DEBUG) [17:26:04] [SKIPPED] reserved location (requires CONFIG_DRM_XE_DEBUG) [17:26:04] [SKIPPED] unknown location (requires CONFIG_DRM_XE_DEBUG) [17:26:04] [SKIPPED] nonzero-device-id location (requires CONFIG_DRM_XE_DEBUG) [17:26:04] [SKIPPED] invalid-tile-id location (requires CONFIG_DRM_XE_DEBUG) [17:26:04] [SKIPPED] invalid-gt-id location (requires CONFIG_DRM_XE_DEBUG) [17:26:04] [SKIPPED] unknown component class (requires CONFIG_DRM_XE_DEBUG) [17:26:04] [SKIPPED] unknown system component (requires CONFIG_DRM_XE_DEBUG) [17:26:04] [SKIPPED] unknown hardware component (requires CONFIG_DRM_XE_DEBUG) [17:26:04] [SKIPPED] unknown component and location (requires CONFIG_DRM_XE_DEBUG) [17:26:04] ================== [SKIPPED] test_invalid ================== [17:26:04] ===================== [PASSED] xe_log ====================== [17:26:04] ================== no_relay (3 subtests) =================== [17:26:04] [PASSED] xe_drops_guc2pf_if_not_ready [17:26:04] [PASSED] xe_drops_guc2vf_if_not_ready [17:26:04] [PASSED] xe_rejects_send_if_not_ready [17:26:04] ==================== [PASSED] no_relay ===================== [17:26:04] ================== pf_relay (14 subtests) ================== [17:26:04] [PASSED] pf_rejects_guc2pf_too_short [17:26:04] [PASSED] pf_rejects_guc2pf_too_long [17:26:04] [PASSED] pf_rejects_guc2pf_no_payload [17:26:04] [PASSED] pf_fails_no_payload [17:26:04] [PASSED] pf_fails_bad_origin [17:26:04] [PASSED] pf_fails_bad_type [17:26:04] [PASSED] pf_txn_reports_error [17:26:04] [PASSED] pf_txn_sends_pf2guc [17:26:04] [PASSED] pf_sends_pf2guc [17:26:04] [SKIPPED] pf_loopback_nop (requires CONFIG_DRM_XE_DEBUG_SRIOV) [17:26:04] [SKIPPED] pf_loopback_echo (requires CONFIG_DRM_XE_DEBUG_SRIOV) [17:26:04] [SKIPPED] pf_loopback_fail (requires CONFIG_DRM_XE_DEBUG_SRIOV) [17:26:04] [SKIPPED] pf_loopback_busy (requires CONFIG_DRM_XE_DEBUG_SRIOV) [17:26:04] [SKIPPED] pf_loopback_retry (requires CONFIG_DRM_XE_DEBUG_SRIOV) [17:26:04] ==================== [PASSED] pf_relay ===================== [17:26:04] ================== vf_relay (3 subtests) =================== [17:26:04] [PASSED] vf_rejects_guc2vf_too_short [17:26:04] [PASSED] vf_rejects_guc2vf_too_long [17:26:04] [PASSED] vf_rejects_guc2vf_no_payload [17:26:04] ==================== [PASSED] vf_relay ===================== [17:26:04] ================ pf_gt_config (9 subtests) ================= [17:26:04] [PASSED] fair_contexts_1vf [17:26:04] [PASSED] fair_doorbells_1vf [17:26:04] [PASSED] fair_ggtt_1vf [17:26:04] ====================== fair_vram_1vf ====================== [17:26:04] [PASSED] 3.50 GiB [17:26:04] [PASSED] 11.5 GiB [17:26:04] [PASSED] 15.5 GiB [17:26:04] [PASSED] 31.5 GiB [17:26:04] [PASSED] 63.5 GiB [17:26:04] [PASSED] 1.91 GiB [17:26:04] ================== [PASSED] fair_vram_1vf ================== [17:26:04] ================ fair_vram_1vf_admin_only ================= [17:26:04] [PASSED] 3.50 GiB [17:26:04] [PASSED] 11.5 GiB [17:26:04] [PASSED] 15.5 GiB [17:26:04] [PASSED] 31.5 GiB [17:26:04] [PASSED] 63.5 GiB [17:26:04] [PASSED] 1.91 GiB [17:26:04] ============ [PASSED] fair_vram_1vf_admin_only ============= [17:26:04] ====================== fair_contexts ====================== [17:26:04] [PASSED] 1 VF [17:26:04] [PASSED] 2 VFs [17:26:04] [PASSED] 3 VFs [17:26:04] [PASSED] 4 VFs [17:26:04] [PASSED] 5 VFs [17:26:04] [PASSED] 6 VFs [17:26:04] [PASSED] 7 VFs [17:26:04] [PASSED] 8 VFs [17:26:04] [PASSED] 9 VFs [17:26:04] [PASSED] 10 VFs [17:26:04] [PASSED] 11 VFs [17:26:04] [PASSED] 12 VFs [17:26:04] [PASSED] 13 VFs [17:26:04] [PASSED] 14 VFs [17:26:04] [PASSED] 15 VFs [17:26:04] [PASSED] 16 VFs [17:26:04] [PASSED] 17 VFs [17:26:04] [PASSED] 18 VFs [17:26:04] [PASSED] 19 VFs [17:26:04] [PASSED] 20 VFs [17:26:04] [PASSED] 21 VFs [17:26:04] [PASSED] 22 VFs [17:26:04] [PASSED] 23 VFs [17:26:04] [PASSED] 24 VFs [17:26:04] [PASSED] 25 VFs [17:26:04] [PASSED] 26 VFs [17:26:04] [PASSED] 27 VFs [17:26:04] [PASSED] 28 VFs [17:26:04] [PASSED] 29 VFs [17:26:04] [PASSED] 30 VFs [17:26:04] [PASSED] 31 VFs [17:26:04] [PASSED] 32 VFs [17:26:04] [PASSED] 33 VFs [17:26:04] [PASSED] 34 VFs [17:26:04] [PASSED] 35 VFs [17:26:04] [PASSED] 36 VFs [17:26:04] [PASSED] 37 VFs [17:26:04] [PASSED] 38 VFs [17:26:04] [PASSED] 39 VFs [17:26:04] [PASSED] 40 VFs [17:26:04] [PASSED] 41 VFs [17:26:04] [PASSED] 42 VFs [17:26:04] [PASSED] 43 VFs [17:26:04] [PASSED] 44 VFs [17:26:04] [PASSED] 45 VFs [17:26:04] [PASSED] 46 VFs [17:26:04] [PASSED] 47 VFs [17:26:04] [PASSED] 48 VFs [17:26:04] [PASSED] 49 VFs [17:26:04] [PASSED] 50 VFs [17:26:04] [PASSED] 51 VFs [17:26:04] [PASSED] 52 VFs [17:26:04] [PASSED] 53 VFs [17:26:04] [PASSED] 54 VFs [17:26:04] [PASSED] 55 VFs [17:26:04] [PASSED] 56 VFs [17:26:04] [PASSED] 57 VFs [17:26:04] [PASSED] 58 VFs [17:26:04] [PASSED] 59 VFs [17:26:04] [PASSED] 60 VFs [17:26:04] [PASSED] 61 VFs [17:26:04] [PASSED] 62 VFs [17:26:04] [PASSED] 63 VFs [17:26:04] ================== [PASSED] fair_contexts ================== [17:26:04] ===================== fair_doorbells ====================== [17:26:04] [PASSED] 1 VF [17:26:04] [PASSED] 2 VFs [17:26:04] [PASSED] 3 VFs [17:26:04] [PASSED] 4 VFs [17:26:04] [PASSED] 5 VFs [17:26:04] [PASSED] 6 VFs [17:26:04] [PASSED] 7 VFs [17:26:04] [PASSED] 8 VFs [17:26:04] [PASSED] 9 VFs [17:26:04] [PASSED] 10 VFs [17:26:04] [PASSED] 11 VFs [17:26:04] [PASSED] 12 VFs [17:26:04] [PASSED] 13 VFs [17:26:04] [PASSED] 14 VFs [17:26:04] [PASSED] 15 VFs [17:26:04] [PASSED] 16 VFs [17:26:04] [PASSED] 17 VFs [17:26:04] [PASSED] 18 VFs [17:26:04] [PASSED] 19 VFs [17:26:04] [PASSED] 20 VFs [17:26:04] [PASSED] 21 VFs [17:26:04] [PASSED] 22 VFs [17:26:04] [PASSED] 23 VFs [17:26:04] [PASSED] 24 VFs [17:26:04] [PASSED] 25 VFs [17:26:04] [PASSED] 26 VFs [17:26:04] [PASSED] 27 VFs [17:26:04] [PASSED] 28 VFs [17:26:04] [PASSED] 29 VFs [17:26:04] [PASSED] 30 VFs [17:26:04] [PASSED] 31 VFs [17:26:04] [PASSED] 32 VFs [17:26:04] [PASSED] 33 VFs [17:26:04] [PASSED] 34 VFs [17:26:04] [PASSED] 35 VFs [17:26:04] [PASSED] 36 VFs [17:26:04] [PASSED] 37 VFs [17:26:04] [PASSED] 38 VFs [17:26:04] [PASSED] 39 VFs [17:26:04] [PASSED] 40 VFs [17:26:04] [PASSED] 41 VFs [17:26:04] [PASSED] 42 VFs [17:26:04] [PASSED] 43 VFs [17:26:04] [PASSED] 44 VFs [17:26:04] [PASSED] 45 VFs [17:26:04] [PASSED] 46 VFs [17:26:04] [PASSED] 47 VFs [17:26:04] [PASSED] 48 VFs [17:26:04] [PASSED] 49 VFs [17:26:04] [PASSED] 50 VFs [17:26:04] [PASSED] 51 VFs [17:26:04] [PASSED] 52 VFs [17:26:04] [PASSED] 53 VFs [17:26:04] [PASSED] 54 VFs [17:26:04] [PASSED] 55 VFs [17:26:04] [PASSED] 56 VFs [17:26:04] [PASSED] 57 VFs [17:26:04] [PASSED] 58 VFs [17:26:04] [PASSED] 59 VFs [17:26:04] [PASSED] 60 VFs [17:26:04] [PASSED] 61 VFs [17:26:04] [PASSED] 62 VFs [17:26:04] [PASSED] 63 VFs [17:26:04] ================= [PASSED] fair_doorbells ================== [17:26:04] ======================== fair_ggtt ======================== [17:26:04] [PASSED] 1 VF [17:26:04] [PASSED] 2 VFs [17:26:04] [PASSED] 3 VFs [17:26:04] [PASSED] 4 VFs [17:26:04] [PASSED] 5 VFs [17:26:04] [PASSED] 6 VFs [17:26:04] [PASSED] 7 VFs [17:26:04] [PASSED] 8 VFs [17:26:04] [PASSED] 9 VFs [17:26:04] [PASSED] 10 VFs [17:26:04] [PASSED] 11 VFs [17:26:04] [PASSED] 12 VFs [17:26:04] [PASSED] 13 VFs [17:26:04] [PASSED] 14 VFs [17:26:04] [PASSED] 15 VFs [17:26:04] [PASSED] 16 VFs [17:26:04] [PASSED] 17 VFs [17:26:04] [PASSED] 18 VFs [17:26:04] [PASSED] 19 VFs [17:26:04] [PASSED] 20 VFs [17:26:04] [PASSED] 21 VFs [17:26:04] [PASSED] 22 VFs [17:26:04] [PASSED] 23 VFs [17:26:04] [PASSED] 24 VFs [17:26:04] [PASSED] 25 VFs [17:26:04] [PASSED] 26 VFs [17:26:04] [PASSED] 27 VFs [17:26:04] [PASSED] 28 VFs [17:26:04] [PASSED] 29 VFs [17:26:04] [PASSED] 30 VFs [17:26:04] [PASSED] 31 VFs [17:26:04] [PASSED] 32 VFs [17:26:04] [PASSED] 33 VFs [17:26:04] [PASSED] 34 VFs [17:26:04] [PASSED] 35 VFs [17:26:04] [PASSED] 36 VFs [17:26:04] [PASSED] 37 VFs [17:26:04] [PASSED] 38 VFs [17:26:04] [PASSED] 39 VFs [17:26:04] [PASSED] 40 VFs [17:26:04] [PASSED] 41 VFs [17:26:04] [PASSED] 42 VFs [17:26:04] [PASSED] 43 VFs [17:26:04] [PASSED] 44 VFs [17:26:04] [PASSED] 45 VFs [17:26:04] [PASSED] 46 VFs [17:26:04] [PASSED] 47 VFs [17:26:04] [PASSED] 48 VFs [17:26:04] [PASSED] 49 VFs [17:26:04] [PASSED] 50 VFs [17:26:04] [PASSED] 51 VFs [17:26:04] [PASSED] 52 VFs [17:26:04] [PASSED] 53 VFs [17:26:04] [PASSED] 54 VFs [17:26:04] [PASSED] 55 VFs [17:26:04] [PASSED] 56 VFs [17:26:04] [PASSED] 57 VFs [17:26:04] [PASSED] 58 VFs [17:26:04] [PASSED] 59 VFs [17:26:04] [PASSED] 60 VFs [17:26:04] [PASSED] 61 VFs [17:26:04] [PASSED] 62 VFs [17:26:04] [PASSED] 63 VFs [17:26:04] ==================== [PASSED] fair_ggtt ==================== [17:26:04] ======================== fair_vram ======================== [17:26:04] [PASSED] 1 VF [17:26:04] [PASSED] 2 VFs [17:26:04] [PASSED] 3 VFs [17:26:04] [PASSED] 4 VFs [17:26:04] [PASSED] 5 VFs [17:26:04] [PASSED] 6 VFs [17:26:04] [PASSED] 7 VFs [17:26:04] [PASSED] 8 VFs [17:26:04] [PASSED] 9 VFs [17:26:04] [PASSED] 10 VFs [17:26:04] [PASSED] 11 VFs [17:26:04] [PASSED] 12 VFs [17:26:04] [PASSED] 13 VFs [17:26:04] [PASSED] 14 VFs [17:26:04] [PASSED] 15 VFs [17:26:04] [PASSED] 16 VFs [17:26:04] [PASSED] 17 VFs [17:26:04] [PASSED] 18 VFs [17:26:04] [PASSED] 19 VFs [17:26:04] [PASSED] 20 VFs [17:26:04] [PASSED] 21 VFs [17:26:04] [PASSED] 22 VFs [17:26:04] [PASSED] 23 VFs [17:26:04] [PASSED] 24 VFs [17:26:04] [PASSED] 25 VFs [17:26:04] [PASSED] 26 VFs [17:26:04] [PASSED] 27 VFs [17:26:04] [PASSED] 28 VFs [17:26:04] [PASSED] 29 VFs [17:26:04] [PASSED] 30 VFs [17:26:04] [PASSED] 31 VFs [17:26:04] [PASSED] 32 VFs [17:26:04] [PASSED] 33 VFs [17:26:04] [PASSED] 34 VFs [17:26:04] [PASSED] 35 VFs [17:26:04] [PASSED] 36 VFs [17:26:04] [PASSED] 37 VFs [17:26:04] [PASSED] 38 VFs [17:26:04] [PASSED] 39 VFs [17:26:04] [PASSED] 40 VFs [17:26:04] [PASSED] 41 VFs [17:26:04] [PASSED] 42 VFs [17:26:04] [PASSED] 43 VFs [17:26:04] [PASSED] 44 VFs [17:26:04] [PASSED] 45 VFs [17:26:04] [PASSED] 46 VFs [17:26:04] [PASSED] 47 VFs [17:26:04] [PASSED] 48 VFs [17:26:04] [PASSED] 49 VFs [17:26:04] [PASSED] 50 VFs [17:26:04] [PASSED] 51 VFs [17:26:04] [PASSED] 52 VFs [17:26:04] [PASSED] 53 VFs [17:26:04] [PASSED] 54 VFs [17:26:04] [PASSED] 55 VFs [17:26:04] [PASSED] 56 VFs [17:26:04] [PASSED] 57 VFs [17:26:04] [PASSED] 58 VFs [17:26:04] [PASSED] 59 VFs [17:26:04] [PASSED] 60 VFs [17:26:04] [PASSED] 61 VFs [17:26:04] [PASSED] 62 VFs [17:26:04] [PASSED] 63 VFs [17:26:04] ==================== [PASSED] fair_vram ==================== [17:26:04] ================== [PASSED] pf_gt_config =================== [17:26:04] ===================== lmtt (1 subtest) ===================== [17:26:04] ======================== test_ops ========================= [17:26:04] [PASSED] 2-level [17:26:04] [PASSED] multi-level [17:26:04] ==================== [PASSED] test_ops ===================== [17:26:04] ====================== [PASSED] lmtt ======================= [17:26:04] ================= sriov_packet (1 subtest) ================= [17:26:04] [PASSED] test_descriptor_init [17:26:04] ================== [PASSED] sriov_packet =================== [17:26:04] ================= pf_service (11 subtests) ================= [17:26:04] [PASSED] pf_negotiate_any [17:26:04] [PASSED] pf_negotiate_base_match [17:26:04] [PASSED] pf_negotiate_base_newer [17:26:04] [PASSED] pf_negotiate_base_next [17:26:04] [SKIPPED] pf_negotiate_base_older (no older minor) [17:26:04] [PASSED] pf_negotiate_base_prev [17:26:04] [PASSED] pf_negotiate_latest_match [17:26:04] [PASSED] pf_negotiate_latest_newer [17:26:04] [PASSED] pf_negotiate_latest_next [17:26:04] [SKIPPED] pf_negotiate_latest_older (no older minor) [17:26:04] [SKIPPED] pf_negotiate_latest_prev (no prev major) [17:26:04] =================== [PASSED] pf_service ==================== [17:26:04] ================= xe_guc_g2g (2 subtests) ================== [17:26:04] ============== xe_live_guc_g2g_kunit_default ============== [17:26:04] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ========== [17:26:04] ============== xe_live_guc_g2g_kunit_allmem =============== [17:26:04] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ========== [17:26:04] =================== [SKIPPED] xe_guc_g2g =================== [17:26:04] =================== xe_mocs (2 subtests) =================== [17:26:04] ================ xe_live_mocs_kernel_kunit ================ [17:26:04] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============ [17:26:04] ================ xe_live_mocs_reset_kunit ================= [17:26:04] ============ [SKIPPED] xe_live_mocs_reset_kunit ============ [17:26:04] ==================== [SKIPPED] xe_mocs ===================== [17:26:04] ================= xe_migrate (2 subtests) ================== [17:26:04] ================= xe_migrate_sanity_kunit ================= [17:26:04] ============ [SKIPPED] xe_migrate_sanity_kunit ============= [17:26:04] ================== xe_validate_ccs_kunit ================== [17:26:04] ============= [SKIPPED] xe_validate_ccs_kunit ============== [17:26:04] =================== [SKIPPED] xe_migrate =================== [17:26:04] ================== xe_dma_buf (1 subtest) ================== [17:26:04] ==================== xe_dma_buf_kunit ===================== [17:26:04] ================ [SKIPPED] xe_dma_buf_kunit ================ [17:26:04] =================== [SKIPPED] xe_dma_buf =================== [17:26:04] ================= xe_bo_shrink (1 subtest) ================= [17:26:04] =================== xe_bo_shrink_kunit ==================== [17:26:04] =============== [SKIPPED] xe_bo_shrink_kunit =============== [17:26:04] ================== [SKIPPED] xe_bo_shrink ================== [17:26:04] ==================== xe_bo (2 subtests) ==================== [17:26:04] ================== xe_ccs_migrate_kunit =================== [17:26:04] ============== [SKIPPED] xe_ccs_migrate_kunit ============== [17:26:04] ==================== xe_bo_evict_kunit ==================== [17:26:04] =============== [SKIPPED] xe_bo_evict_kunit ================ [17:26:04] ===================== [SKIPPED] xe_bo ====================== [17:26:04] =================== xe_any (9 subtests) ==================== [17:26:04] [PASSED] test_to_xe [17:26:04] [PASSED] test_to_dev [17:26:04] [PASSED] test_to_pdev [17:26:04] [PASSED] test_to_drm [17:26:04] [PASSED] test_if_pdev [17:26:04] [PASSED] test_if_xe [17:26:04] [PASSED] test_if_tile [17:26:04] [PASSED] test_if_gt [17:26:04] [PASSED] test_to_id [17:26:04] ===================== [PASSED] xe_any ====================== [17:26:04] ==================== args (13 subtests) ==================== [17:26:04] [PASSED] count_args_test [17:26:04] [PASSED] call_args_example [17:26:04] [PASSED] call_args_test [17:26:04] [PASSED] drop_first_arg_example [17:26:04] [PASSED] drop_first_arg_test [17:26:04] [PASSED] first_arg_example [17:26:04] [PASSED] first_arg_test [17:26:04] [PASSED] last_arg_example [17:26:04] [PASSED] last_arg_test [17:26:04] [PASSED] pick_arg_example [17:26:04] [PASSED] if_args_example [17:26:04] [PASSED] if_args_test [17:26:04] [PASSED] sep_comma_example [17:26:04] ====================== [PASSED] args ======================= [17:26:04] =================== xe_pci (3 subtests) ==================== [17:26:04] ==================== check_graphics_ip ==================== [17:26:04] [PASSED] 12.00 Xe_LP [17:26:04] [PASSED] 12.10 Xe_LP+ [17:26:04] [PASSED] 12.55 Xe_HPG [17:26:04] [PASSED] 12.60 Xe_HPC [17:26:04] [PASSED] 12.70 Xe_LPG [17:26:04] [PASSED] 12.71 Xe_LPG [17:26:04] [PASSED] 12.74 Xe_LPG+ [17:26:04] [PASSED] 20.01 Xe2_HPG [17:26:04] [PASSED] 20.02 Xe2_HPG [17:26:04] [PASSED] 20.04 Xe2_LPG [17:26:04] [PASSED] 30.00 Xe3_LPG [17:26:04] [PASSED] 30.01 Xe3_LPG [17:26:04] [PASSED] 30.03 Xe3_LPG [17:26:04] [PASSED] 30.04 Xe3_LPG [17:26:04] [PASSED] 30.05 Xe3_LPG [17:26:04] [PASSED] 35.10 Xe3p_LPG [17:26:04] [PASSED] 35.11 Xe3p_XPC [17:26:04] ================ [PASSED] check_graphics_ip ================ [17:26:04] ===================== check_media_ip ====================== [17:26:04] [PASSED] 12.00 Xe_M [17:26:04] [PASSED] 12.55 Xe_HPM [17:26:04] [PASSED] 13.00 Xe_LPM+ [17:26:04] [PASSED] 13.01 Xe2_HPM [17:26:04] [PASSED] 20.00 Xe2_LPM [17:26:04] [PASSED] 30.00 Xe3_LPM [17:26:04] [PASSED] 30.02 Xe3_LPM [17:26:04] [PASSED] 35.00 Xe3p_LPM [17:26:04] [PASSED] 35.03 Xe3p_HPM [17:26:04] ================= [PASSED] check_media_ip ================== [17:26:04] =================== check_platform_desc =================== [17:26:04] [PASSED] 0x9A60 (TIGERLAKE) [17:26:04] [PASSED] 0x9A68 (TIGERLAKE) [17:26:04] [PASSED] 0x9A70 (TIGERLAKE) [17:26:04] [PASSED] 0x9A40 (TIGERLAKE) [17:26:04] [PASSED] 0x9A49 (TIGERLAKE) [17:26:04] [PASSED] 0x9A59 (TIGERLAKE) [17:26:04] [PASSED] 0x9A78 (TIGERLAKE) [17:26:04] [PASSED] 0x9AC0 (TIGERLAKE) [17:26:04] [PASSED] 0x9AC9 (TIGERLAKE) [17:26:04] [PASSED] 0x9AD9 (TIGERLAKE) [17:26:04] [PASSED] 0x9AF8 (TIGERLAKE) [17:26:04] [PASSED] 0x4C80 (ROCKETLAKE) [17:26:04] [PASSED] 0x4C8A (ROCKETLAKE) [17:26:04] [PASSED] 0x4C8B (ROCKETLAKE) [17:26:04] [PASSED] 0x4C8C (ROCKETLAKE) [17:26:04] [PASSED] 0x4C90 (ROCKETLAKE) [17:26:04] [PASSED] 0x4C9A (ROCKETLAKE) [17:26:04] [PASSED] 0x4680 (ALDERLAKE_S) [17:26:04] [PASSED] 0x4682 (ALDERLAKE_S) [17:26:04] [PASSED] 0x4688 (ALDERLAKE_S) [17:26:04] [PASSED] 0x468A (ALDERLAKE_S) [17:26:04] [PASSED] 0x468B (ALDERLAKE_S) [17:26:04] [PASSED] 0x4690 (ALDERLAKE_S) [17:26:04] [PASSED] 0x4692 (ALDERLAKE_S) [17:26:04] [PASSED] 0x4693 (ALDERLAKE_S) [17:26:04] [PASSED] 0x46A0 (ALDERLAKE_P) [17:26:04] [PASSED] 0x46A1 (ALDERLAKE_P) [17:26:04] [PASSED] 0x46A2 (ALDERLAKE_P) [17:26:04] [PASSED] 0x46A3 (ALDERLAKE_P) [17:26:04] [PASSED] 0x46A6 (ALDERLAKE_P) [17:26:04] [PASSED] 0x46A8 (ALDERLAKE_P) [17:26:04] [PASSED] 0x46AA (ALDERLAKE_P) [17:26:04] [PASSED] 0x462A (ALDERLAKE_P) [17:26:04] [PASSED] 0x4626 (ALDERLAKE_P) [17:26:04] [PASSED] 0x4628 (ALDERLAKE_P) [17:26:04] [PASSED] 0x46B0 (ALDERLAKE_P) [17:26:04] [PASSED] 0x46B1 (ALDERLAKE_P) [17:26:04] [PASSED] 0x46B2 (ALDERLAKE_P) [17:26:04] [PASSED] 0x46B3 (ALDERLAKE_P) [17:26:04] [PASSED] 0x46C0 (ALDERLAKE_P) [17:26:04] [PASSED] 0x46C1 (ALDERLAKE_P) [17:26:04] [PASSED] 0x46C2 (ALDERLAKE_P) [17:26:04] [PASSED] 0x46C3 (ALDERLAKE_P) [17:26:04] [PASSED] 0x46D0 (ALDERLAKE_N) [17:26:04] [PASSED] 0x46D1 (ALDERLAKE_N) [17:26:04] [PASSED] 0x46D2 (ALDERLAKE_N) [17:26:04] [PASSED] 0x46D3 (ALDERLAKE_N) [17:26:04] [PASSED] 0x46D4 (ALDERLAKE_N) [17:26:04] [PASSED] 0xA721 (ALDERLAKE_P) [17:26:04] [PASSED] 0xA7A1 (ALDERLAKE_P) [17:26:04] [PASSED] 0xA7A9 (ALDERLAKE_P) [17:26:04] [PASSED] 0xA7AC (ALDERLAKE_P) [17:26:04] [PASSED] 0xA7AD (ALDERLAKE_P) [17:26:04] [PASSED] 0xA720 (ALDERLAKE_P) [17:26:04] [PASSED] 0xA7A0 (ALDERLAKE_P) [17:26:04] [PASSED] 0xA7A8 (ALDERLAKE_P) [17:26:04] [PASSED] 0xA7AA (ALDERLAKE_P) [17:26:04] [PASSED] 0xA7AB (ALDERLAKE_P) [17:26:04] [PASSED] 0xA780 (ALDERLAKE_S) [17:26:04] [PASSED] 0xA781 (ALDERLAKE_S) [17:26:04] [PASSED] 0xA782 (ALDERLAKE_S) [17:26:04] [PASSED] 0xA783 (ALDERLAKE_S) [17:26:04] [PASSED] 0xA788 (ALDERLAKE_S) [17:26:04] [PASSED] 0xA789 (ALDERLAKE_S) [17:26:04] [PASSED] 0xA78A (ALDERLAKE_S) [17:26:04] [PASSED] 0xA78B (ALDERLAKE_S) [17:26:04] [PASSED] 0x4905 (DG1) [17:26:04] [PASSED] 0x4906 (DG1) [17:26:04] [PASSED] 0x4907 (DG1) [17:26:04] [PASSED] 0x4908 (DG1) [17:26:04] [PASSED] 0x4909 (DG1) [17:26:04] [PASSED] 0x56C0 (DG2) [17:26:04] [PASSED] 0x56C2 (DG2) [17:26:04] [PASSED] 0x56C1 (DG2) [17:26:04] [PASSED] 0x7D51 (METEORLAKE) [17:26:04] [PASSED] 0x7DD1 (METEORLAKE) [17:26:04] [PASSED] 0x7D41 (METEORLAKE) [17:26:04] [PASSED] 0x7D67 (METEORLAKE) [17:26:04] [PASSED] 0xB640 (METEORLAKE) [17:26:04] [PASSED] 0x56A0 (DG2) [17:26:04] [PASSED] 0x56A1 (DG2) [17:26:04] [PASSED] 0x56A2 (DG2) [17:26:04] [PASSED] 0x56BE (DG2) [17:26:04] [PASSED] 0x56BF (DG2) [17:26:04] [PASSED] 0x5690 (DG2) [17:26:04] [PASSED] 0x5691 (DG2) [17:26:04] [PASSED] 0x5692 (DG2) [17:26:04] [PASSED] 0x56A5 (DG2) [17:26:04] [PASSED] 0x56A6 (DG2) [17:26:04] [PASSED] 0x56B0 (DG2) [17:26:04] [PASSED] 0x56B1 (DG2) [17:26:04] [PASSED] 0x56BA (DG2) [17:26:04] [PASSED] 0x56BB (DG2) [17:26:04] [PASSED] 0x56BC (DG2) [17:26:04] [PASSED] 0x56BD (DG2) [17:26:04] [PASSED] 0x5693 (DG2) [17:26:04] [PASSED] 0x5694 (DG2) [17:26:04] [PASSED] 0x5695 (DG2) [17:26:04] [PASSED] 0x56A3 (DG2) [17:26:04] [PASSED] 0x56A4 (DG2) [17:26:04] [PASSED] 0x56B2 (DG2) [17:26:04] [PASSED] 0x56B3 (DG2) [17:26:04] [PASSED] 0x5696 (DG2) [17:26:04] [PASSED] 0x5697 (DG2) [17:26:04] [PASSED] 0xB69 (PVC) [17:26:04] [PASSED] 0xB6E (PVC) [17:26:04] [PASSED] 0xBD4 (PVC) [17:26:04] [PASSED] 0xBD5 (PVC) [17:26:04] [PASSED] 0xBD6 (PVC) [17:26:04] [PASSED] 0xBD7 (PVC) [17:26:04] [PASSED] 0xBD8 (PVC) [17:26:04] [PASSED] 0xBD9 (PVC) [17:26:04] [PASSED] 0xBDA (PVC) [17:26:04] [PASSED] 0xBDB (PVC) [17:26:04] [PASSED] 0xBE0 (PVC) [17:26:04] [PASSED] 0xBE1 (PVC) [17:26:04] [PASSED] 0xBE5 (PVC) [17:26:04] [PASSED] 0x7D40 (METEORLAKE) [17:26:04] [PASSED] 0x7D45 (METEORLAKE) [17:26:04] [PASSED] 0x7D55 (METEORLAKE) [17:26:04] [PASSED] 0x7D60 (METEORLAKE) [17:26:04] [PASSED] 0x7DD5 (METEORLAKE) [17:26:04] [PASSED] 0x6420 (LUNARLAKE) [17:26:04] [PASSED] 0x64A0 (LUNARLAKE) [17:26:04] [PASSED] 0x64B0 (LUNARLAKE) [17:26:04] [PASSED] 0xE202 (BATTLEMAGE) [17:26:04] [PASSED] 0xE209 (BATTLEMAGE) [17:26:04] [PASSED] 0xE20B (BATTLEMAGE) [17:26:04] [PASSED] 0xE20C (BATTLEMAGE) [17:26:04] [PASSED] 0xE20D (BATTLEMAGE) [17:26:04] [PASSED] 0xE210 (BATTLEMAGE) [17:26:04] [PASSED] 0xE211 (BATTLEMAGE) [17:26:04] [PASSED] 0xE212 (BATTLEMAGE) [17:26:04] [PASSED] 0xE216 (BATTLEMAGE) [17:26:04] [PASSED] 0xE220 (BATTLEMAGE) [17:26:04] [PASSED] 0xE221 (BATTLEMAGE) [17:26:04] [PASSED] 0xE222 (BATTLEMAGE) [17:26:04] [PASSED] 0xE223 (BATTLEMAGE) [17:26:04] [PASSED] 0xB080 (PANTHERLAKE) [17:26:04] [PASSED] 0xB081 (PANTHERLAKE) [17:26:04] [PASSED] 0xB082 (PANTHERLAKE) [17:26:04] [PASSED] 0xB083 (PANTHERLAKE) [17:26:04] [PASSED] 0xB084 (PANTHERLAKE) [17:26:04] [PASSED] 0xB085 (PANTHERLAKE) [17:26:04] [PASSED] 0xB086 (PANTHERLAKE) [17:26:04] [PASSED] 0xB087 (PANTHERLAKE) [17:26:04] [PASSED] 0xB08F (PANTHERLAKE) [17:26:04] [PASSED] 0xB090 (PANTHERLAKE) [17:26:04] [PASSED] 0xB0A0 (PANTHERLAKE) [17:26:04] [PASSED] 0xB0B0 (PANTHERLAKE) [17:26:04] [PASSED] 0xFD80 (PANTHERLAKE) [17:26:04] [PASSED] 0xFD81 (PANTHERLAKE) [17:26:04] [PASSED] 0xD740 (NOVALAKE_S) [17:26:04] [PASSED] 0xD741 (NOVALAKE_S) [17:26:04] [PASSED] 0xD742 (NOVALAKE_S) [17:26:04] [PASSED] 0xD743 (NOVALAKE_S) [17:26:04] [PASSED] 0xD745 (NOVALAKE_S) [17:26:04] [PASSED] 0xD74A (NOVALAKE_S) [17:26:04] [PASSED] 0xD74B (NOVALAKE_S) [17:26:04] [PASSED] 0x674C (CRESCENTISLAND) [17:26:04] [PASSED] 0x674D (CRESCENTISLAND) [17:26:04] [PASSED] 0x674E (CRESCENTISLAND) [17:26:04] [PASSED] 0x674F (CRESCENTISLAND) [17:26:04] [PASSED] 0x6750 (CRESCENTISLAND) [17:26:04] [PASSED] 0xD750 (NOVALAKE_P) [17:26:04] [PASSED] 0xD751 (NOVALAKE_P) [17:26:04] [PASSED] 0xD752 (NOVALAKE_P) [17:26:04] [PASSED] 0xD753 (NOVALAKE_P) [17:26:04] [PASSED] 0xD754 (NOVALAKE_P) [17:26:04] [PASSED] 0xD755 (NOVALAKE_P) [17:26:04] [PASSED] 0xD756 (NOVALAKE_P) [17:26:04] [PASSED] 0xD757 (NOVALAKE_P) [17:26:04] [PASSED] 0xD75F (NOVALAKE_P) [17:26:04] =============== [PASSED] check_platform_desc =============== [17:26:04] ===================== [PASSED] xe_pci ====================== [17:26:04] ============= xe_rtp_tables_test (5 subtests) ============== [17:26:04] ================== xe_rtp_table_gt_test =================== [17:26:04] [PASSED] gt_was/14011060649 [17:26:04] [PASSED] gt_was/14011059788 [17:26:04] [PASSED] gt_was/14015795083 [17:26:04] [PASSED] gt_was/16021867713 [17:26:04] [PASSED] gt_was/14019449301 [17:26:04] [PASSED] gt_was/16028005424 [17:26:04] [PASSED] gt_was/14026578760 [17:26:04] [PASSED] gt_was/1409420604 [17:26:04] [PASSED] gt_was/1408615072 [17:26:04] [PASSED] gt_was/22010523718 [17:26:04] [PASSED] gt_was/14011006942 [17:26:04] [PASSED] gt_was/14014830051 [17:26:04] [PASSED] gt_was/18018781329 [17:26:04] [PASSED] gt_was/1509235366 [17:26:04] [PASSED] gt_was/18018781329 [17:26:04] [PASSED] gt_was/16016694945 [17:26:04] [PASSED] gt_was/14018575942 [17:26:04] [PASSED] gt_was/22016670082 [17:26:04] [PASSED] gt_was/22016670082 [17:26:04] [PASSED] gt_was/14017421178 [17:26:04] [PASSED] gt_was/16025250150 [17:26:04] [PASSED] gt_was/14021871409 [17:26:04] [PASSED] gt_was/16021865536 [17:26:04] [PASSED] gt_was/14021486841 [17:26:04] [PASSED] gt_was/14025160223 [17:26:04] [PASSED] gt_was/14026144927, 16029437861, 14026127056 [17:26:04] [PASSED] gt_was/14025635424 [17:26:04] [PASSED] gt_was/16028005424 [17:26:04] ============== [PASSED] xe_rtp_table_gt_test =============== [17:26:04] ================== xe_rtp_table_gt_test =================== [17:26:04] [PASSED] gt_tunings/Tuning: Blend Fill Caching Optimization Disable [17:26:04] [PASSED] gt_tunings/Tuning: 32B Access Enable [17:26:04] [PASSED] gt_tunings/Tuning: L3 cache [17:26:04] [PASSED] gt_tunings/Tuning: L3 cache - media [17:26:04] [PASSED] gt_tunings/Tuning: Compression Overfetch [17:26:04] [PASSED] gt_tunings/Tuning: Compression Overfetch - media [17:26:04] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3 [17:26:04] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3 - media [17:26:04] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only [17:26:04] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only - media [17:26:04] [PASSED] gt_tunings/Tuning: Stateless compression control [17:26:04] [PASSED] gt_tunings/Tuning: Stateless compression control - media [17:26:04] [PASSED] gt_tunings/Tuning: L3 RW flush all Cache [17:26:04] [PASSED] gt_tunings/Tuning: L3 RW flush all cache - media [17:26:04] [PASSED] gt_tunings/Tuning: Set STLB Bank Hash Mode to 4KB [17:26:04] ============== [PASSED] xe_rtp_table_gt_test =============== [17:26:04] ================== xe_rtp_table_oob_test ================== [17:26:04] [PASSED] oob_was/1607983814 [17:26:04] [PASSED] oob_was/16010904313 [17:26:04] [PASSED] oob_was/18022495364 [17:26:04] [PASSED] oob_was/22012773006 [17:26:04] [PASSED] oob_was/14014475959 [17:26:04] [PASSED] oob_was/22011391025 [17:26:04] [PASSED] oob_was/22012727170 [17:26:04] [PASSED] oob_was/22012727685 [17:26:04] [PASSED] oob_was/22016596838 [17:26:04] [PASSED] oob_was/18020744125 [17:26:04] [PASSED] oob_was/1409600907 [17:26:04] [PASSED] oob_was/22014953428 [17:26:04] [PASSED] oob_was/16017236439 [17:26:04] [PASSED] oob_was/14019821291 [17:26:04] [PASSED] oob_was/14015076503 [17:26:04] [PASSED] oob_was/14018913170 [17:26:04] [PASSED] oob_was/14018094691 [17:26:04] [PASSED] oob_was/18024947630 [17:26:04] [PASSED] oob_was/16022287689 [17:26:04] [PASSED] oob_was/13011645652 [17:26:04] [PASSED] oob_was/14022293748 [17:26:04] [PASSED] oob_was/22019794406 [17:26:04] [PASSED] oob_was/22019338487 [17:26:04] [PASSED] oob_was/16023588340 [17:26:04] [PASSED] oob_was/14019789679 [17:26:04] [PASSED] oob_was/14022866841 [17:26:04] [PASSED] oob_was/16021333562 [17:26:04] [PASSED] oob_was/14016712196 [17:26:04] [PASSED] oob_was/14015568240 [17:26:04] [PASSED] oob_was/18013179988 [17:26:04] [PASSED] oob_was/1508761755 [17:26:04] [PASSED] oob_was/16023105232 [17:26:04] [PASSED] oob_was/16026508708 [17:26:04] [PASSED] oob_was/14020001231 [17:26:04] [PASSED] oob_was/16023683509 [17:26:04] [PASSED] oob_was/14025515070 [17:26:04] [PASSED] oob_was/15015404425_disable [17:26:04] [PASSED] oob_was/16026007364 [17:26:04] [PASSED] oob_was/14020316580 [17:26:04] [PASSED] oob_was/14025883347 [17:26:04] [PASSED] oob_was/16029380221 [17:26:04] [PASSED] oob_was/22022079272 [17:26:04] [PASSED] oob_was/16029897822 [17:26:04] [PASSED] oob_was/14027054324 [17:26:04] ============== [PASSED] xe_rtp_table_oob_test ============== [17:26:04] ================ xe_rtp_table_dev_oob_test ================ [17:26:04] [PASSED] device_oob_was/22010954014 [17:26:04] [PASSED] device_oob_was/15015404425 [17:26:04] [PASSED] device_oob_was/22019338487_display [17:26:04] [PASSED] device_oob_was/14022085890 [17:26:04] [PASSED] device_oob_was/14026539277 [17:26:04] [PASSED] device_oob_was/14026633728 [17:26:04] [PASSED] device_oob_was/14026746987 [17:26:04] [PASSED] device_oob_was/14026779378 [17:26:04] ============ [PASSED] xe_rtp_table_dev_oob_test ============ [17:26:04] ========== xe_rtp_table_missing_upper_bound_test ========== [17:26:04] [PASSED] register_whitelist/WaAllowPMDepthAndInvocationCountAccessFromUMD, 1408556865 [17:26:04] [PASSED] register_whitelist/1508744258, 14012131227, 1808121037 [17:26:04] [PASSED] register_whitelist/1806527549 [17:26:04] [PASSED] register_whitelist/allow_read_ctx_timestamp [17:26:04] [PASSED] register_whitelist/allow_read_queue_timestamp [17:26:04] [PASSED] register_whitelist/16014440446 [17:26:04] [PASSED] register_whitelist/16017236439 [17:26:04] [PASSED] register_whitelist/16020183090 [17:26:04] [PASSED] register_whitelist/14024997852 [17:26:04] [PASSED] register_whitelist/14024997852 [17:26:04] ====== [PASSED] xe_rtp_table_missing_upper_bound_test ====== [17:26:04] =============== [PASSED] xe_rtp_tables_test ================ [17:26:04] =================== xe_rtp (3 subtests) ==================== [17:26:04] =================== xe_rtp_rules_tests ==================== [17:26:04] [PASSED] no [17:26:04] [PASSED] yes [17:26:04] [PASSED] no-and-no [17:26:04] [PASSED] no-and-yes [17:26:04] [PASSED] yes-and-no [17:26:04] [PASSED] yes-and-yes [17:26:04] [PASSED] no-or-no [17:26:04] [PASSED] no-or-yes [17:26:04] [PASSED] yes-or-no [17:26:04] [PASSED] yes-or-yes [17:26:04] [PASSED] no-yes-or-yes-no [17:26:04] [PASSED] no-yes-or-yes-yes [17:26:04] [PASSED] yes-yes-or-no-yes [17:26:04] [PASSED] yes-yes-or-yes-yes [17:26:04] [PASSED] no-no-or-yes-or-no [17:26:04] [PASSED] or [17:26:04] [PASSED] or-yes [17:26:04] [PASSED] or-no [17:26:04] [PASSED] yes-or [17:26:04] [PASSED] no-or [17:26:04] [PASSED] no-or-or-yes [17:26:04] [PASSED] yes-or-or-no [17:26:04] [PASSED] no-or-or-no [17:26:04] [PASSED] missing-context-engine-class [17:26:04] [PASSED] missing-context-engine-class-or-yes [17:26:04] [PASSED] missing-context-engine-class-or-or-yes [17:26:04] =============== [PASSED] xe_rtp_rules_tests ================ [17:26:04] =============== xe_rtp_process_to_sr_tests ================ [17:26:04] [PASSED] coalesce-same-reg [17:26:04] [PASSED] coalesce-same-reg-literal-and-func [17:26:04] [PASSED] no-match-no-add [17:26:04] [PASSED] two-regs-two-entries [17:26:04] [PASSED] clr-one-set-other [17:26:04] [PASSED] set-field [17:26:04] [PASSED] conflict-duplicate [17:26:04] [PASSED] conflict-not-disjoint [17:26:04] [PASSED] conflict-not-disjoint-literal-and-func [17:26:04] [PASSED] conflict-reg-type [17:26:04] [PASSED] bad-mcr-reg-forced-to-regular [17:26:04] [PASSED] bad-regular-reg-forced-to-mcr [17:26:04] =========== [PASSED] xe_rtp_process_to_sr_tests ============ [17:26:04] ================== xe_rtp_process_tests =================== [17:26:04] [PASSED] active1 [17:26:04] [PASSED] active2 [17:26:04] [PASSED] active-inactive [17:26:04] [PASSED] inactive-active [17:26:04] [PASSED] inactive-active-inactive [17:26:04] [PASSED] inactive-inactive-inactive [17:26:04] ============== [PASSED] xe_rtp_process_tests =============== [17:26:04] ===================== [PASSED] xe_rtp ====================== [17:26:04] ==================== xe_wa (1 subtest) ===================== [17:26:04] ======================== xe_wa_gt ========================= [17:26:04] [PASSED] TIGERLAKE B0 [17:26:04] [PASSED] DG1 A0 [17:26:04] [PASSED] DG1 B0 [17:26:04] [PASSED] ALDERLAKE_S A0 [17:26:04] [PASSED] ALDERLAKE_S B0 [17:26:04] [PASSED] ALDERLAKE_S C0 [17:26:04] [PASSED] ALDERLAKE_S D0 [17:26:04] [PASSED] ALDERLAKE_P A0 [17:26:04] [PASSED] ALDERLAKE_P B0 [17:26:04] [PASSED] ALDERLAKE_P C0 [17:26:04] [PASSED] ALDERLAKE_S RPLS D0 [17:26:04] [PASSED] ALDERLAKE_P RPLU E0 [17:26:04] [PASSED] DG2 G10 C0 [17:26:04] [PASSED] DG2 G11 B1 [17:26:04] [PASSED] DG2 G12 A1 [17:26:04] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0 [17:26:04] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0 [17:26:04] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0 [17:26:04] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0 [17:26:04] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0 [17:26:04] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1 [17:26:04] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0 [17:26:04] ==================== [PASSED] xe_wa_gt ===================== [17:26:04] ====================== [PASSED] xe_wa ====================== [17:26:04] ============================================================ [17:26:04] Testing complete. Ran 789 tests: passed: 761, skipped: 28 [17:26:05] Elapsed time: 37.126s total, 4.477s configuring, 31.933s building, 0.674s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig [17:26:05] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [17:26:07] 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 [17:26:31] Starting KUnit Kernel (1/1)... [17:26:31] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [17:26:31] ============ drm_test_pick_cmdline (2 subtests) ============ [17:26:31] [PASSED] drm_test_pick_cmdline_res_1920_1080_60 [17:26:31] =============== drm_test_pick_cmdline_named =============== [17:26:31] [PASSED] NTSC [17:26:31] [PASSED] NTSC-J [17:26:31] [PASSED] PAL [17:26:31] [PASSED] PAL-M [17:26:31] =========== [PASSED] drm_test_pick_cmdline_named =========== [17:26:31] ============== [PASSED] drm_test_pick_cmdline ============== [17:26:31] == drm_test_atomic_get_connector_for_encoder (1 subtest) === [17:26:31] [PASSED] drm_test_drm_atomic_get_connector_for_encoder [17:26:31] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ==== [17:26:31] =========== drm_validate_clone_mode (2 subtests) =========== [17:26:31] ============== drm_test_check_in_clone_mode =============== [17:26:31] [PASSED] in_clone_mode [17:26:31] [PASSED] not_in_clone_mode [17:26:31] ========== [PASSED] drm_test_check_in_clone_mode =========== [17:26:31] =============== drm_test_check_valid_clones =============== [17:26:31] [PASSED] not_in_clone_mode [17:26:31] [PASSED] valid_clone [17:26:31] [PASSED] invalid_clone [17:26:31] =========== [PASSED] drm_test_check_valid_clones =========== [17:26:31] ============= [PASSED] drm_validate_clone_mode ============= [17:26:31] ============= drm_validate_modeset (1 subtest) ============= [17:26:31] [PASSED] drm_test_check_connector_changed_modeset [17:26:31] ============== [PASSED] drm_validate_modeset =============== [17:26:31] ====== drm_test_bridge_get_current_state (1 subtest) ======= [17:26:31] [PASSED] drm_test_drm_bridge_get_current_state_atomic [17:26:31] ======== [PASSED] drm_test_bridge_get_current_state ======== [17:26:31] ====== drm_test_bridge_helper_reset_crtc (3 subtests) ====== [17:26:31] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic [17:26:31] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled [17:26:31] [PASSED] drm_test_drm_bridge_helper_hdmi_output_bus_fmts [17:26:31] ======== [PASSED] drm_test_bridge_helper_reset_crtc ======== [17:26:31] ============== drm_bridge_alloc (2 subtests) =============== [17:26:31] [PASSED] drm_test_drm_bridge_alloc_basic [17:26:31] [PASSED] drm_test_drm_bridge_alloc_get_put [17:26:31] ================ [PASSED] drm_bridge_alloc ================= [17:26:31] ============= drm_bridge_bus_fmt (5 subtests) ============== [17:26:31] [PASSED] drm_test_bridge_rgb_yuv_rgb [17:26:31] [PASSED] drm_test_bridge_must_convert_to_yuv444 [17:26:31] [PASSED] drm_test_bridge_hdmi_auto_rgb [17:26:31] [PASSED] drm_test_bridge_auto_first [17:26:31] [PASSED] drm_test_bridge_rgb_yuv_no_path [17:26:31] =============== [PASSED] drm_bridge_bus_fmt ================ [17:26:31] ============= drm_cmdline_parser (40 subtests) ============= [17:26:31] [PASSED] drm_test_cmdline_force_d_only [17:26:31] [PASSED] drm_test_cmdline_force_D_only_dvi [17:26:31] [PASSED] drm_test_cmdline_force_D_only_hdmi [17:26:31] [PASSED] drm_test_cmdline_force_D_only_not_digital [17:26:31] [PASSED] drm_test_cmdline_force_e_only [17:26:31] [PASSED] drm_test_cmdline_res [17:26:31] [PASSED] drm_test_cmdline_res_vesa [17:26:31] [PASSED] drm_test_cmdline_res_vesa_rblank [17:26:31] [PASSED] drm_test_cmdline_res_rblank [17:26:31] [PASSED] drm_test_cmdline_res_bpp [17:26:31] [PASSED] drm_test_cmdline_res_refresh [17:26:31] [PASSED] drm_test_cmdline_res_bpp_refresh [17:26:31] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced [17:26:31] [PASSED] drm_test_cmdline_res_bpp_refresh_margins [17:26:31] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off [17:26:31] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on [17:26:31] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog [17:26:31] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital [17:26:31] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on [17:26:31] [PASSED] drm_test_cmdline_res_margins_force_on [17:26:31] [PASSED] drm_test_cmdline_res_vesa_margins [17:26:31] [PASSED] drm_test_cmdline_name [17:26:31] [PASSED] drm_test_cmdline_name_bpp [17:26:31] [PASSED] drm_test_cmdline_name_option [17:26:31] [PASSED] drm_test_cmdline_name_bpp_option [17:26:31] [PASSED] drm_test_cmdline_rotate_0 [17:26:31] [PASSED] drm_test_cmdline_rotate_90 [17:26:31] [PASSED] drm_test_cmdline_rotate_180 [17:26:31] [PASSED] drm_test_cmdline_rotate_270 [17:26:31] [PASSED] drm_test_cmdline_hmirror [17:26:31] [PASSED] drm_test_cmdline_vmirror [17:26:31] [PASSED] drm_test_cmdline_margin_options [17:26:31] [PASSED] drm_test_cmdline_multiple_options [17:26:31] [PASSED] drm_test_cmdline_bpp_extra_and_option [17:26:31] [PASSED] drm_test_cmdline_extra_and_option [17:26:31] [PASSED] drm_test_cmdline_freestanding_options [17:26:31] [PASSED] drm_test_cmdline_freestanding_force_e_and_options [17:26:31] [PASSED] drm_test_cmdline_panel_orientation [17:26:31] ================ drm_test_cmdline_invalid ================= [17:26:31] [PASSED] margin_only [17:26:31] [PASSED] interlace_only [17:26:31] [PASSED] res_missing_x [17:26:31] [PASSED] res_missing_y [17:26:31] [PASSED] res_bad_y [17:26:31] [PASSED] res_missing_y_bpp [17:26:31] [PASSED] res_bad_bpp [17:26:31] [PASSED] res_bad_refresh [17:26:31] [PASSED] res_bpp_refresh_force_on_off [17:26:31] [PASSED] res_invalid_mode [17:26:31] [PASSED] res_bpp_wrong_place_mode [17:26:31] [PASSED] name_bpp_refresh [17:26:31] [PASSED] name_refresh [17:26:31] [PASSED] name_refresh_wrong_mode [17:26:31] [PASSED] name_refresh_invalid_mode [17:26:31] [PASSED] rotate_multiple [17:26:31] [PASSED] rotate_invalid_val [17:26:31] [PASSED] rotate_truncated [17:26:31] [PASSED] invalid_option [17:26:31] [PASSED] invalid_tv_option [17:26:31] [PASSED] truncated_tv_option [17:26:31] ============ [PASSED] drm_test_cmdline_invalid ============= [17:26:31] =============== drm_test_cmdline_tv_options =============== [17:26:31] [PASSED] NTSC [17:26:31] [PASSED] NTSC_443 [17:26:31] [PASSED] NTSC_J [17:26:31] [PASSED] PAL [17:26:31] [PASSED] PAL_M [17:26:31] [PASSED] PAL_N [17:26:31] [PASSED] SECAM [17:26:31] [PASSED] MONO_525 [17:26:31] [PASSED] MONO_625 [17:26:31] =========== [PASSED] drm_test_cmdline_tv_options =========== [17:26:31] =============== [PASSED] drm_cmdline_parser ================ [17:26:31] ========== drmm_connector_hdmi_init (20 subtests) ========== [17:26:31] [PASSED] drm_test_connector_hdmi_init_valid [17:26:31] [PASSED] drm_test_connector_hdmi_init_bpc_8 [17:26:31] [PASSED] drm_test_connector_hdmi_init_bpc_10 [17:26:31] [PASSED] drm_test_connector_hdmi_init_bpc_12 [17:26:31] [PASSED] drm_test_connector_hdmi_init_bpc_invalid [17:26:31] [PASSED] drm_test_connector_hdmi_init_bpc_null [17:26:31] [PASSED] drm_test_connector_hdmi_init_formats_empty [17:26:31] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb [17:26:31] === drm_test_connector_hdmi_init_formats_yuv420_allowed === [17:26:31] [PASSED] supported_formats=0x9 yuv420_allowed=1 [17:26:31] [PASSED] supported_formats=0x9 yuv420_allowed=0 [17:26:31] [PASSED] supported_formats=0x5 yuv420_allowed=1 [17:26:31] [PASSED] supported_formats=0x5 yuv420_allowed=0 [17:26:31] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed === [17:26:31] [PASSED] drm_test_connector_hdmi_init_null_ddc [17:26:31] [PASSED] drm_test_connector_hdmi_init_null_product [17:26:31] [PASSED] drm_test_connector_hdmi_init_null_vendor [17:26:31] [PASSED] drm_test_connector_hdmi_init_product_length_exact [17:26:31] [PASSED] drm_test_connector_hdmi_init_product_length_too_long [17:26:31] [PASSED] drm_test_connector_hdmi_init_product_valid [17:26:31] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact [17:26:31] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long [17:26:31] [PASSED] drm_test_connector_hdmi_init_vendor_valid [17:26:31] ========= drm_test_connector_hdmi_init_type_valid ========= [17:26:31] [PASSED] HDMI-A [17:26:31] [PASSED] HDMI-B [17:26:31] ===== [PASSED] drm_test_connector_hdmi_init_type_valid ===== [17:26:31] ======== drm_test_connector_hdmi_init_type_invalid ======== [17:26:31] [PASSED] Unknown [17:26:31] [PASSED] VGA [17:26:31] [PASSED] DVI-I [17:26:31] [PASSED] DVI-D [17:26:31] [PASSED] DVI-A [17:26:31] [PASSED] Composite [17:26:31] [PASSED] SVIDEO [17:26:31] [PASSED] LVDS [17:26:31] [PASSED] Component [17:26:31] [PASSED] DIN [17:26:31] [PASSED] DP [17:26:31] [PASSED] TV [17:26:31] [PASSED] eDP [17:26:31] [PASSED] Virtual [17:26:31] [PASSED] DSI [17:26:31] [PASSED] DPI [17:26:31] [PASSED] Writeback [17:26:31] [PASSED] SPI [17:26:31] [PASSED] USB [17:26:31] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ==== [17:26:31] ============ [PASSED] drmm_connector_hdmi_init ============= [17:26:31] ============= drmm_connector_init (3 subtests) ============= [17:26:31] [PASSED] drm_test_drmm_connector_init [17:26:31] [PASSED] drm_test_drmm_connector_init_null_ddc [17:26:31] ========= drm_test_drmm_connector_init_type_valid ========= [17:26:31] [PASSED] Unknown [17:26:31] [PASSED] VGA [17:26:31] [PASSED] DVI-I [17:26:31] [PASSED] DVI-D [17:26:31] [PASSED] DVI-A [17:26:31] [PASSED] Composite [17:26:31] [PASSED] SVIDEO [17:26:31] [PASSED] LVDS [17:26:31] [PASSED] Component [17:26:31] [PASSED] DIN [17:26:31] [PASSED] DP [17:26:31] [PASSED] HDMI-A [17:26:31] [PASSED] HDMI-B [17:26:31] [PASSED] TV [17:26:31] [PASSED] eDP [17:26:31] [PASSED] Virtual [17:26:31] [PASSED] DSI [17:26:31] [PASSED] DPI [17:26:31] [PASSED] Writeback [17:26:31] [PASSED] SPI [17:26:31] [PASSED] USB [17:26:31] ===== [PASSED] drm_test_drmm_connector_init_type_valid ===== [17:26:31] =============== [PASSED] drmm_connector_init =============== [17:26:31] ========= drm_connector_dynamic_init (6 subtests) ========== [17:26:31] [PASSED] drm_test_drm_connector_dynamic_init [17:26:31] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc [17:26:31] [PASSED] drm_test_drm_connector_dynamic_init_not_added [17:26:31] [PASSED] drm_test_drm_connector_dynamic_init_properties [17:26:31] ===== drm_test_drm_connector_dynamic_init_type_valid ====== [17:26:31] [PASSED] Unknown [17:26:31] [PASSED] VGA [17:26:31] [PASSED] DVI-I [17:26:31] [PASSED] DVI-D [17:26:31] [PASSED] DVI-A [17:26:31] [PASSED] Composite [17:26:31] [PASSED] SVIDEO [17:26:31] [PASSED] LVDS [17:26:31] [PASSED] Component [17:26:31] [PASSED] DIN [17:26:31] [PASSED] DP [17:26:31] [PASSED] HDMI-A [17:26:31] [PASSED] HDMI-B [17:26:31] [PASSED] TV [17:26:31] [PASSED] eDP [17:26:31] [PASSED] Virtual [17:26:31] [PASSED] DSI [17:26:31] [PASSED] DPI [17:26:31] [PASSED] Writeback [17:26:31] [PASSED] SPI [17:26:31] [PASSED] USB [17:26:31] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid == [17:26:31] ======== drm_test_drm_connector_dynamic_init_name ========= [17:26:31] [PASSED] Unknown [17:26:31] [PASSED] VGA [17:26:31] [PASSED] DVI-I [17:26:31] [PASSED] DVI-D [17:26:31] [PASSED] DVI-A [17:26:31] [PASSED] Composite [17:26:31] [PASSED] SVIDEO [17:26:31] [PASSED] LVDS [17:26:31] [PASSED] Component [17:26:31] [PASSED] DIN [17:26:31] [PASSED] DP [17:26:31] [PASSED] HDMI-A [17:26:31] [PASSED] HDMI-B [17:26:31] [PASSED] TV [17:26:31] [PASSED] eDP [17:26:31] [PASSED] Virtual [17:26:31] [PASSED] DSI [17:26:31] [PASSED] DPI [17:26:31] [PASSED] Writeback [17:26:31] [PASSED] SPI [17:26:31] [PASSED] USB [17:26:31] ==== [PASSED] drm_test_drm_connector_dynamic_init_name ===== [17:26:31] =========== [PASSED] drm_connector_dynamic_init ============ [17:26:31] ==== drm_connector_dynamic_register_early (4 subtests) ===== [17:26:31] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list [17:26:31] [PASSED] drm_test_drm_connector_dynamic_register_early_defer [17:26:31] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init [17:26:31] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object [17:26:31] ====== [PASSED] drm_connector_dynamic_register_early ======= [17:26:31] ======= drm_connector_dynamic_register (7 subtests) ======== [17:26:31] [PASSED] drm_test_drm_connector_dynamic_register_on_list [17:26:31] [PASSED] drm_test_drm_connector_dynamic_register_no_defer [17:26:31] [PASSED] drm_test_drm_connector_dynamic_register_no_init [17:26:31] [PASSED] drm_test_drm_connector_dynamic_register_mode_object [17:26:31] [PASSED] drm_test_drm_connector_dynamic_register_sysfs [17:26:31] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name [17:26:31] [PASSED] drm_test_drm_connector_dynamic_register_debugfs [17:26:31] ========= [PASSED] drm_connector_dynamic_register ========== [17:26:31] = drm_connector_attach_broadcast_rgb_property (2 subtests) = [17:26:31] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property [17:26:31] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector [17:26:31] === [PASSED] drm_connector_attach_broadcast_rgb_property === [17:26:31] ========== drm_get_tv_mode_from_name (2 subtests) ========== [17:26:31] ========== drm_test_get_tv_mode_from_name_valid =========== [17:26:31] [PASSED] NTSC [17:26:31] [PASSED] NTSC-443 [17:26:31] [PASSED] NTSC-J [17:26:31] [PASSED] PAL [17:26:31] [PASSED] PAL-M [17:26:31] [PASSED] PAL-N [17:26:31] [PASSED] SECAM [17:26:31] [PASSED] Mono [17:26:31] ====== [PASSED] drm_test_get_tv_mode_from_name_valid ======= [17:26:31] [PASSED] drm_test_get_tv_mode_from_name_truncated [17:26:31] ============ [PASSED] drm_get_tv_mode_from_name ============ [17:26:31] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) = [17:26:31] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb [17:26:31] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc [17:26:31] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1 [17:26:31] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc [17:26:31] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1 [17:26:31] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double [17:26:31] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid = [17:26:31] [PASSED] VIC 96 [17:26:31] [PASSED] VIC 97 [17:26:31] [PASSED] VIC 101 [17:26:31] [PASSED] VIC 102 [17:26:31] [PASSED] VIC 106 [17:26:31] [PASSED] VIC 107 [17:26:31] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid === [17:26:31] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc [17:26:31] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc [17:26:31] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc [17:26:31] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc [17:26:31] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc [17:26:31] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ==== [17:26:31] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) == [17:26:31] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name ==== [17:26:31] [PASSED] Automatic [17:26:31] [PASSED] Full [17:26:31] [PASSED] Limited 16:235 [17:26:31] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name === [17:26:31] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid [17:26:31] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ==== [17:26:31] == drm_hdmi_connector_get_output_format_name (2 subtests) == [17:26:31] === drm_test_drm_hdmi_connector_get_output_format_name ==== [17:26:31] [PASSED] RGB [17:26:31] [PASSED] YUV 4:2:0 [17:26:31] [PASSED] YUV 4:2:2 [17:26:31] [PASSED] YUV 4:4:4 [17:26:31] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name === [17:26:31] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid [17:26:31] ==== [PASSED] drm_hdmi_connector_get_output_format_name ==== [17:26:31] ============= drm_damage_helper (21 subtests) ============== [17:26:31] [PASSED] drm_test_damage_iter_no_damage [17:26:31] [PASSED] drm_test_damage_iter_no_damage_fractional_src [17:26:31] [PASSED] drm_test_damage_iter_no_damage_src_moved [17:26:31] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved [17:26:31] [PASSED] drm_test_damage_iter_no_damage_not_visible [17:26:31] [PASSED] drm_test_damage_iter_no_damage_no_crtc [17:26:31] [PASSED] drm_test_damage_iter_no_damage_no_fb [17:26:31] [PASSED] drm_test_damage_iter_simple_damage [17:26:31] [PASSED] drm_test_damage_iter_single_damage [17:26:31] [PASSED] drm_test_damage_iter_single_damage_intersect_src [17:26:31] [PASSED] drm_test_damage_iter_single_damage_outside_src [17:26:31] [PASSED] drm_test_damage_iter_single_damage_fractional_src [17:26:31] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src [17:26:31] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src [17:26:31] [PASSED] drm_test_damage_iter_single_damage_src_moved [17:26:31] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved [17:26:31] [PASSED] drm_test_damage_iter_damage [17:26:31] [PASSED] drm_test_damage_iter_damage_one_intersect [17:26:31] [PASSED] drm_test_damage_iter_damage_one_outside [17:26:31] [PASSED] drm_test_damage_iter_damage_src_moved [17:26:31] [PASSED] drm_test_damage_iter_damage_not_visible [17:26:31] ================ [PASSED] drm_damage_helper ================ [17:26:31] ============== drm_dp_mst_helper (3 subtests) ============== [17:26:31] ============== drm_test_dp_mst_calc_pbn_mode ============== [17:26:31] [PASSED] Clock 154000 BPP 30 DSC disabled [17:26:31] [PASSED] Clock 234000 BPP 30 DSC disabled [17:26:31] [PASSED] Clock 297000 BPP 24 DSC disabled [17:26:31] [PASSED] Clock 332880 BPP 24 DSC enabled [17:26:31] [PASSED] Clock 324540 BPP 24 DSC enabled [17:26:31] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ========== [17:26:31] ============== drm_test_dp_mst_calc_pbn_div =============== [17:26:31] [PASSED] Link rate 2000000 lane count 4 [17:26:31] [PASSED] Link rate 2000000 lane count 2 [17:26:31] [PASSED] Link rate 2000000 lane count 1 [17:26:31] [PASSED] Link rate 1350000 lane count 4 [17:26:31] [PASSED] Link rate 1350000 lane count 2 [17:26:31] [PASSED] Link rate 1350000 lane count 1 [17:26:31] [PASSED] Link rate 1000000 lane count 4 [17:26:31] [PASSED] Link rate 1000000 lane count 2 [17:26:31] [PASSED] Link rate 1000000 lane count 1 [17:26:31] [PASSED] Link rate 810000 lane count 4 [17:26:31] [PASSED] Link rate 810000 lane count 2 [17:26:31] [PASSED] Link rate 810000 lane count 1 [17:26:31] [PASSED] Link rate 540000 lane count 4 [17:26:31] [PASSED] Link rate 540000 lane count 2 [17:26:31] [PASSED] Link rate 540000 lane count 1 [17:26:31] [PASSED] Link rate 270000 lane count 4 [17:26:31] [PASSED] Link rate 270000 lane count 2 [17:26:31] [PASSED] Link rate 270000 lane count 1 [17:26:31] [PASSED] Link rate 162000 lane count 4 [17:26:31] [PASSED] Link rate 162000 lane count 2 [17:26:31] [PASSED] Link rate 162000 lane count 1 [17:26:31] ========== [PASSED] drm_test_dp_mst_calc_pbn_div =========== [17:26:31] ========= drm_test_dp_mst_sideband_msg_req_decode ========= [17:26:31] [PASSED] DP_ENUM_PATH_RESOURCES with port number [17:26:31] [PASSED] DP_POWER_UP_PHY with port number [17:26:31] [PASSED] DP_POWER_DOWN_PHY with port number [17:26:31] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks [17:26:31] [PASSED] DP_ALLOCATE_PAYLOAD with port number [17:26:31] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI [17:26:31] [PASSED] DP_ALLOCATE_PAYLOAD with PBN [17:26:31] [PASSED] DP_QUERY_PAYLOAD with port number [17:26:31] [PASSED] DP_QUERY_PAYLOAD with VCPI [17:26:31] [PASSED] DP_REMOTE_DPCD_READ with port number [17:26:31] [PASSED] DP_REMOTE_DPCD_READ with DPCD address [17:26:31] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes [17:26:31] [PASSED] DP_REMOTE_DPCD_WRITE with port number [17:26:31] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address [17:26:31] [PASSED] DP_REMOTE_DPCD_WRITE with data array [17:26:31] [PASSED] DP_REMOTE_I2C_READ with port number [17:26:31] [PASSED] DP_REMOTE_I2C_READ with I2C device ID [17:26:31] [PASSED] DP_REMOTE_I2C_READ with transactions array [17:26:31] [PASSED] DP_REMOTE_I2C_WRITE with port number [17:26:31] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID [17:26:31] [PASSED] DP_REMOTE_I2C_WRITE with data array [17:26:31] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID [17:26:31] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID [17:26:31] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event [17:26:31] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event [17:26:31] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior [17:26:31] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior [17:26:31] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode ===== [17:26:31] ================ [PASSED] drm_dp_mst_helper ================ [17:26:31] ================== drm_exec (7 subtests) =================== [17:26:31] [PASSED] sanitycheck [17:26:31] [PASSED] test_lock [17:26:31] [PASSED] test_lock_unlock [17:26:31] [PASSED] test_duplicates [17:26:31] [PASSED] test_prepare [17:26:31] [PASSED] test_prepare_array [17:26:31] [PASSED] test_multiple_loops [17:26:31] ==================== [PASSED] drm_exec ===================== [17:26:31] =========== drm_format_helper_test (17 subtests) =========== [17:26:31] ============== drm_test_fb_xrgb8888_to_gray8 ============== [17:26:31] [PASSED] single_pixel_source_buffer [17:26:31] [PASSED] single_pixel_clip_rectangle [17:26:31] [PASSED] well_known_colors [17:26:31] [PASSED] destination_pitch [17:26:31] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ========== [17:26:31] ============= drm_test_fb_xrgb8888_to_rgb332 ============== [17:26:31] [PASSED] single_pixel_source_buffer [17:26:31] [PASSED] single_pixel_clip_rectangle [17:26:31] [PASSED] well_known_colors [17:26:31] [PASSED] destination_pitch [17:26:31] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ========== [17:26:31] ============= drm_test_fb_xrgb8888_to_rgb565 ============== [17:26:31] [PASSED] single_pixel_source_buffer [17:26:31] [PASSED] single_pixel_clip_rectangle [17:26:31] [PASSED] well_known_colors [17:26:31] [PASSED] destination_pitch [17:26:31] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ========== [17:26:31] ============ drm_test_fb_xrgb8888_to_xrgb1555 ============= [17:26:31] [PASSED] single_pixel_source_buffer [17:26:31] [PASSED] single_pixel_clip_rectangle [17:26:31] [PASSED] well_known_colors [17:26:31] [PASSED] destination_pitch [17:26:31] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 ========= [17:26:31] ============ drm_test_fb_xrgb8888_to_argb1555 ============= [17:26:31] [PASSED] single_pixel_source_buffer [17:26:31] [PASSED] single_pixel_clip_rectangle [17:26:31] [PASSED] well_known_colors [17:26:31] [PASSED] destination_pitch [17:26:31] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 ========= [17:26:31] ============ drm_test_fb_xrgb8888_to_rgba5551 ============= [17:26:31] [PASSED] single_pixel_source_buffer [17:26:31] [PASSED] single_pixel_clip_rectangle [17:26:31] [PASSED] well_known_colors [17:26:31] [PASSED] destination_pitch [17:26:31] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 ========= [17:26:31] ============= drm_test_fb_xrgb8888_to_rgb888 ============== [17:26:31] [PASSED] single_pixel_source_buffer [17:26:31] [PASSED] single_pixel_clip_rectangle [17:26:31] [PASSED] well_known_colors [17:26:31] [PASSED] destination_pitch [17:26:31] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ========== [17:26:31] ============= drm_test_fb_xrgb8888_to_bgr888 ============== [17:26:31] [PASSED] single_pixel_source_buffer [17:26:31] [PASSED] single_pixel_clip_rectangle [17:26:31] [PASSED] well_known_colors [17:26:31] [PASSED] destination_pitch [17:26:31] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ========== [17:26:31] ============ drm_test_fb_xrgb8888_to_argb8888 ============= [17:26:31] [PASSED] single_pixel_source_buffer [17:26:31] [PASSED] single_pixel_clip_rectangle [17:26:31] [PASSED] well_known_colors [17:26:31] [PASSED] destination_pitch [17:26:31] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 ========= [17:26:31] =========== drm_test_fb_xrgb8888_to_xrgb2101010 =========== [17:26:31] [PASSED] single_pixel_source_buffer [17:26:31] [PASSED] single_pixel_clip_rectangle [17:26:31] [PASSED] well_known_colors [17:26:31] [PASSED] destination_pitch [17:26:31] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 ======= [17:26:31] =========== drm_test_fb_xrgb8888_to_argb2101010 =========== [17:26:31] [PASSED] single_pixel_source_buffer [17:26:31] [PASSED] single_pixel_clip_rectangle [17:26:31] [PASSED] well_known_colors [17:26:31] [PASSED] destination_pitch [17:26:31] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 ======= [17:26:31] ============== drm_test_fb_xrgb8888_to_mono =============== [17:26:31] [PASSED] single_pixel_source_buffer [17:26:31] [PASSED] single_pixel_clip_rectangle [17:26:31] [PASSED] well_known_colors [17:26:31] [PASSED] destination_pitch [17:26:31] ========== [PASSED] drm_test_fb_xrgb8888_to_mono =========== [17:26:31] ==================== drm_test_fb_swab ===================== [17:26:31] [PASSED] single_pixel_source_buffer [17:26:31] [PASSED] single_pixel_clip_rectangle [17:26:31] [PASSED] well_known_colors [17:26:31] [PASSED] destination_pitch [17:26:31] ================ [PASSED] drm_test_fb_swab ================= [17:26:31] ============ drm_test_fb_xrgb8888_to_xbgr8888 ============= [17:26:31] [PASSED] single_pixel_source_buffer [17:26:31] [PASSED] single_pixel_clip_rectangle [17:26:31] [PASSED] well_known_colors [17:26:31] [PASSED] destination_pitch [17:26:31] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 ========= [17:26:31] ============ drm_test_fb_xrgb8888_to_abgr8888 ============= [17:26:31] [PASSED] single_pixel_source_buffer [17:26:31] [PASSED] single_pixel_clip_rectangle [17:26:31] [PASSED] well_known_colors [17:26:31] [PASSED] destination_pitch [17:26:31] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 ========= [17:26:31] ================= drm_test_fb_clip_offset ================= [17:26:31] [PASSED] pass through [17:26:31] [PASSED] horizontal offset [17:26:31] [PASSED] vertical offset [17:26:31] [PASSED] horizontal and vertical offset [17:26:31] [PASSED] horizontal offset (custom pitch) [17:26:31] [PASSED] vertical offset (custom pitch) [17:26:31] [PASSED] horizontal and vertical offset (custom pitch) [17:26:31] ============= [PASSED] drm_test_fb_clip_offset ============= [17:26:31] =================== drm_test_fb_memcpy ==================== [17:26:31] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258) [17:26:31] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258) [17:26:31] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559) [17:26:31] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258) [17:26:31] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258) [17:26:31] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559) [17:26:31] [PASSED] well_known_colors: XB24 little-endian (0x34324258) [17:26:31] [PASSED] well_known_colors: XRA8 little-endian (0x38415258) [17:26:31] [PASSED] well_known_colors: YU24 little-endian (0x34325559) [17:26:31] [PASSED] destination_pitch: XB24 little-endian (0x34324258) [17:26:31] [PASSED] destination_pitch: XRA8 little-endian (0x38415258) [17:26:31] [PASSED] destination_pitch: YU24 little-endian (0x34325559) [17:26:31] =============== [PASSED] drm_test_fb_memcpy ================ [17:26:31] ============= [PASSED] drm_format_helper_test ============== [17:26:31] ================= drm_format (18 subtests) ================= [17:26:31] [PASSED] drm_test_format_block_width_invalid [17:26:31] [PASSED] drm_test_format_block_width_one_plane [17:26:31] [PASSED] drm_test_format_block_width_two_plane [17:26:31] [PASSED] drm_test_format_block_width_three_plane [17:26:31] [PASSED] drm_test_format_block_width_tiled [17:26:31] [PASSED] drm_test_format_block_height_invalid [17:26:31] [PASSED] drm_test_format_block_height_one_plane [17:26:31] [PASSED] drm_test_format_block_height_two_plane [17:26:31] [PASSED] drm_test_format_block_height_three_plane [17:26:31] [PASSED] drm_test_format_block_height_tiled [17:26:31] [PASSED] drm_test_format_min_pitch_invalid [17:26:31] [PASSED] drm_test_format_min_pitch_one_plane_8bpp [17:26:31] [PASSED] drm_test_format_min_pitch_one_plane_16bpp [17:26:31] [PASSED] drm_test_format_min_pitch_one_plane_24bpp [17:26:31] [PASSED] drm_test_format_min_pitch_one_plane_32bpp [17:26:31] [PASSED] drm_test_format_min_pitch_two_plane [17:26:31] [PASSED] drm_test_format_min_pitch_three_plane_8bpp [17:26:31] [PASSED] drm_test_format_min_pitch_tiled [17:26:31] =================== [PASSED] drm_format ==================== [17:26:31] ============== drm_framebuffer (10 subtests) =============== [17:26:31] ========== drm_test_framebuffer_check_src_coords ========== [17:26:31] [PASSED] Success: source fits into fb [17:26:31] [PASSED] Fail: overflowing fb with x-axis coordinate [17:26:31] [PASSED] Fail: overflowing fb with y-axis coordinate [17:26:31] [PASSED] Fail: overflowing fb with source width [17:26:31] [PASSED] Fail: overflowing fb with source height [17:26:31] ====== [PASSED] drm_test_framebuffer_check_src_coords ====== [17:26:31] [PASSED] drm_test_framebuffer_cleanup [17:26:31] =============== drm_test_framebuffer_create =============== [17:26:31] [PASSED] ABGR8888 normal sizes [17:26:31] [PASSED] ABGR8888 max sizes [17:26:31] [PASSED] ABGR8888 pitch greater than min required [17:26:31] [PASSED] ABGR8888 pitch less than min required [17:26:31] [PASSED] ABGR8888 Invalid width [17:26:31] [PASSED] ABGR8888 Invalid buffer handle [17:26:31] [PASSED] No pixel format [17:26:31] [PASSED] ABGR8888 Width 0 [17:26:31] [PASSED] ABGR8888 Height 0 [17:26:31] [PASSED] ABGR8888 Out of bound height * pitch combination [17:26:31] [PASSED] ABGR8888 Large buffer offset [17:26:31] [PASSED] ABGR8888 Buffer offset for inexistent plane [17:26:31] [PASSED] ABGR8888 Invalid flag [17:26:31] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers [17:26:31] [PASSED] ABGR8888 Valid buffer modifier [17:26:31] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE) [17:26:31] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS [17:26:31] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS [17:26:31] [PASSED] NV12 Normal sizes [17:26:31] [PASSED] NV12 Max sizes [17:26:31] [PASSED] NV12 Invalid pitch [17:26:31] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag [17:26:31] [PASSED] NV12 different modifier per-plane [17:26:31] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE [17:26:31] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS [17:26:31] [PASSED] NV12 Modifier for inexistent plane [17:26:31] [PASSED] NV12 Handle for inexistent plane [17:26:31] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS [17:26:31] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier [17:26:31] [PASSED] YVU420 Normal sizes [17:26:31] [PASSED] YVU420 Max sizes [17:26:31] [PASSED] YVU420 Invalid pitch [17:26:31] [PASSED] YVU420 Different pitches [17:26:31] [PASSED] YVU420 Different buffer offsets/pitches [17:26:31] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS [17:26:31] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS [17:26:31] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS [17:26:31] [PASSED] YVU420 Valid modifier [17:26:31] [PASSED] YVU420 Different modifiers per plane [17:26:31] [PASSED] YVU420 Modifier for inexistent plane [17:26:31] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR) [17:26:31] [PASSED] X0L2 Normal sizes [17:26:31] [PASSED] X0L2 Max sizes [17:26:31] [PASSED] X0L2 Invalid pitch [17:26:31] [PASSED] X0L2 Pitch greater than minimum required [17:26:31] [PASSED] X0L2 Handle for inexistent plane [17:26:31] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set [17:26:31] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set [17:26:31] [PASSED] X0L2 Valid modifier [17:26:31] [PASSED] X0L2 Modifier for inexistent plane [17:26:31] =========== [PASSED] drm_test_framebuffer_create =========== [17:26:31] [PASSED] drm_test_framebuffer_free [17:26:31] [PASSED] drm_test_framebuffer_init [17:26:31] [PASSED] drm_test_framebuffer_init_bad_format [17:26:31] [PASSED] drm_test_framebuffer_init_dev_mismatch [17:26:31] [PASSED] drm_test_framebuffer_lookup [17:26:31] [PASSED] drm_test_framebuffer_lookup_inexistent [17:26:31] [PASSED] drm_test_framebuffer_modifiers_not_supported [17:26:31] ================= [PASSED] drm_framebuffer ================= [17:26:31] ================ drm_gem_shmem (8 subtests) ================ [17:26:31] [PASSED] drm_gem_shmem_test_obj_create [17:26:31] [PASSED] drm_gem_shmem_test_obj_create_private [17:26:31] [PASSED] drm_gem_shmem_test_pin_pages [17:26:31] [PASSED] drm_gem_shmem_test_vmap [17:26:31] [PASSED] drm_gem_shmem_test_get_sg_table [17:26:31] [PASSED] drm_gem_shmem_test_get_pages_sgt [17:26:31] [PASSED] drm_gem_shmem_test_madvise [17:26:31] [PASSED] drm_gem_shmem_test_purge [17:26:31] ================== [PASSED] drm_gem_shmem ================== [17:26:31] === drm_atomic_helper_connector_hdmi_check (29 subtests) === [17:26:31] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode [17:26:31] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1 [17:26:31] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode [17:26:31] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1 [17:26:31] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode [17:26:31] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1 [17:26:31] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420 ======= [17:26:31] [PASSED] Automatic [17:26:31] [PASSED] Full [17:26:31] [PASSED] Limited 16:235 [17:26:31] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 === [17:26:31] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed [17:26:31] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed [17:26:31] [PASSED] drm_test_check_disable_connector [17:26:31] [PASSED] drm_test_check_hdmi_funcs_reject_rate [17:26:31] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb [17:26:31] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420 [17:26:31] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422 [17:26:31] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420 [17:26:31] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420 [17:26:31] [PASSED] drm_test_check_output_bpc_crtc_mode_changed [17:26:31] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed [17:26:31] [PASSED] drm_test_check_output_bpc_dvi [17:26:31] [PASSED] drm_test_check_output_bpc_format_vic_1 [17:26:31] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only [17:26:31] [PASSED] drm_test_check_output_bpc_format_display_rgb_only [17:26:31] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only [17:26:31] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only [17:26:31] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc [17:26:31] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc [17:26:31] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc [17:26:31] ============ drm_test_check_hdmi_color_format ============= [17:26:31] [PASSED] AUTO -> RGB [17:26:31] [PASSED] YCBCR422 -> YUV422 [17:26:31] [PASSED] YCBCR420 -> YUV420 [17:26:31] [PASSED] YCBCR444 -> YUV444 [17:26:31] [PASSED] RGB -> RGB [17:26:31] ======== [PASSED] drm_test_check_hdmi_color_format ========= [17:26:31] ======== drm_test_check_hdmi_color_format_420_only ======== [17:26:31] [PASSED] RGB should fail [17:26:31] [PASSED] YUV444 should fail [17:26:31] [PASSED] YUV422 should fail [17:26:31] [PASSED] YUV420 should work [17:26:31] ==== [PASSED] drm_test_check_hdmi_color_format_420_only ==== [17:26:31] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ====== [17:26:31] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ==== [17:26:31] [PASSED] drm_test_check_broadcast_rgb_value [17:26:31] [PASSED] drm_test_check_bpc_8_value [17:26:31] [PASSED] drm_test_check_bpc_10_value [17:26:31] [PASSED] drm_test_check_bpc_12_value [17:26:31] [PASSED] drm_test_check_format_value [17:26:31] [PASSED] drm_test_check_tmds_char_value [17:26:31] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ====== [17:26:31] = drm_atomic_helper_connector_hdmi_mode_valid (7 subtests) = [17:26:31] [PASSED] drm_test_check_mode_valid [17:26:31] [PASSED] drm_test_check_mode_valid_reject [17:26:31] [PASSED] drm_test_check_mode_valid_reject_rate [17:26:31] [PASSED] drm_test_check_mode_valid_reject_max_clock [17:26:31] [PASSED] drm_test_check_mode_valid_yuv420_only_max_clock [17:26:31] [PASSED] drm_test_check_mode_valid_reject_yuv420_only_connector [17:26:31] [PASSED] drm_test_check_mode_valid_accept_yuv420_also_connector_rgb [17:26:31] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid === [17:26:31] = drm_atomic_helper_connector_hdmi_infoframes (5 subtests) = [17:26:31] [PASSED] drm_test_check_infoframes [17:26:31] [PASSED] drm_test_check_reject_avi_infoframe [17:26:31] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_8 [17:26:31] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_10 [17:26:31] [PASSED] drm_test_check_reject_audio_infoframe [17:26:31] === [PASSED] drm_atomic_helper_connector_hdmi_infoframes === [17:26:31] ================= drm_managed (2 subtests) ================= [17:26:31] [PASSED] drm_test_managed_release_action [17:26:31] [PASSED] drm_test_managed_run_action [17:26:31] =================== [PASSED] drm_managed =================== [17:26:31] =================== drm_mm (6 subtests) ==================== [17:26:31] [PASSED] drm_test_mm_init [17:26:31] [PASSED] drm_test_mm_debug [17:26:31] [PASSED] drm_test_mm_align32 [17:26:31] [PASSED] drm_test_mm_align64 [17:26:31] [PASSED] drm_test_mm_lowest [17:26:31] [PASSED] drm_test_mm_highest [17:26:31] ===================== [PASSED] drm_mm ====================== [17:26:31] ============= drm_modes_analog_tv (5 subtests) ============= [17:26:31] [PASSED] drm_test_modes_analog_tv_mono_576i [17:26:31] [PASSED] drm_test_modes_analog_tv_ntsc_480i [17:26:31] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined [17:26:31] [PASSED] drm_test_modes_analog_tv_pal_576i [17:26:31] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined [17:26:31] =============== [PASSED] drm_modes_analog_tv =============== [17:26:31] ============== drm_plane_helper (2 subtests) =============== [17:26:31] =============== drm_test_check_plane_state ================ [17:26:31] [PASSED] clipping_simple [17:26:31] [PASSED] clipping_rotate_reflect [17:26:31] [PASSED] positioning_simple [17:26:31] [PASSED] upscaling [17:26:31] [PASSED] downscaling [17:26:31] [PASSED] rounding1 [17:26:31] [PASSED] rounding2 [17:26:31] [PASSED] rounding3 [17:26:31] [PASSED] rounding4 [17:26:31] =========== [PASSED] drm_test_check_plane_state ============ [17:26:31] =========== drm_test_check_invalid_plane_state ============ [17:26:31] [PASSED] positioning_invalid [17:26:31] [PASSED] upscaling_invalid [17:26:31] [PASSED] downscaling_invalid [17:26:31] ======= [PASSED] drm_test_check_invalid_plane_state ======== [17:26:31] ================ [PASSED] drm_plane_helper ================= [17:26:31] ====== drm_connector_helper_tv_get_modes (1 subtest) ======= [17:26:31] ====== drm_test_connector_helper_tv_get_modes_check ======= [17:26:31] [PASSED] None [17:26:31] [PASSED] PAL [17:26:31] [PASSED] NTSC [17:26:31] [PASSED] Both, NTSC Default [17:26:31] [PASSED] Both, PAL Default [17:26:31] [PASSED] Both, NTSC Default, with PAL on command-line [17:26:31] [PASSED] Both, PAL Default, with NTSC on command-line [17:26:31] == [PASSED] drm_test_connector_helper_tv_get_modes_check === [17:26:31] ======== [PASSED] drm_connector_helper_tv_get_modes ======== [17:26:31] ================== drm_rect (9 subtests) =================== [17:26:31] [PASSED] drm_test_rect_clip_scaled_div_by_zero [17:26:31] [PASSED] drm_test_rect_clip_scaled_not_clipped [17:26:31] [PASSED] drm_test_rect_clip_scaled_clipped [17:26:31] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned [17:26:31] ================= drm_test_rect_intersect ================= [17:26:31] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0 [17:26:31] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1 [17:26:31] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0 [17:26:31] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1 [17:26:31] [PASSED] right x left: 2x1+0+0 x 3x1+1+0 [17:26:31] [PASSED] left x right: 3x1+1+0 x 2x1+0+0 [17:26:31] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1 [17:26:31] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0 [17:26:31] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1 [17:26:31] [PASSED] touching side: 1x1+0+0 x 1x1+1+0 [17:26:31] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0 [17:26:31] [PASSED] inside another: 2x2+0+0 x 1x1+1+1 [17:26:31] [PASSED] far away: 1x1+0+0 x 1x1+3+6 [17:26:31] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10 [17:26:31] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10 [17:26:31] ============= [PASSED] drm_test_rect_intersect ============= [17:26:31] ================ drm_test_rect_calc_hscale ================ [17:26:31] [PASSED] normal use [17:26:31] [PASSED] out of max range [17:26:31] [PASSED] out of min range [17:26:31] [PASSED] zero dst [17:26:31] [PASSED] negative src [17:26:31] [PASSED] negative dst [17:26:31] ============ [PASSED] drm_test_rect_calc_hscale ============ [17:26:31] ================ drm_test_rect_calc_vscale ================ [17:26:31] [PASSED] normal use [17:26:31] [PASSED] out of max range [17:26:31] [PASSED] out of min range [17:26:31] [PASSED] zero dst [17:26:31] [PASSED] negative src [17:26:31] [PASSED] negative dst [17:26:31] ============ [PASSED] drm_test_rect_calc_vscale ============ [17:26:31] ================== drm_test_rect_rotate =================== [17:26:31] [PASSED] reflect-x [17:26:31] [PASSED] reflect-y [17:26:31] [PASSED] rotate-0 [17:26:31] [PASSED] rotate-90 [17:26:31] [PASSED] rotate-180 [17:26:31] [PASSED] rotate-270 [17:26:31] ============== [PASSED] drm_test_rect_rotate =============== [17:26:31] ================ drm_test_rect_rotate_inv ================= [17:26:31] [PASSED] reflect-x [17:26:31] [PASSED] reflect-y [17:26:31] [PASSED] rotate-0 [17:26:31] [PASSED] rotate-90 [17:26:31] [PASSED] rotate-180 [17:26:31] [PASSED] rotate-270 [17:26:31] ============ [PASSED] drm_test_rect_rotate_inv ============= [17:26:31] ==================== [PASSED] drm_rect ===================== [17:26:31] ============ drm_sysfb_modeset_test (1 subtest) ============ [17:26:31] ============ drm_test_sysfb_build_fourcc_list ============= [17:26:31] [PASSED] no native formats [17:26:31] [PASSED] XRGB8888 as native format [17:26:31] [PASSED] remove duplicates [17:26:31] [PASSED] convert alpha formats [17:26:31] [PASSED] random formats [17:26:31] ======== [PASSED] drm_test_sysfb_build_fourcc_list ========= [17:26:31] ============= [PASSED] drm_sysfb_modeset_test ============== [17:26:31] ================== drm_fixp (2 subtests) =================== [17:26:31] [PASSED] drm_test_int2fixp [17:26:31] [PASSED] drm_test_sm2fixp [17:26:31] ==================== [PASSED] drm_fixp ===================== [17:26:31] ============================================================ [17:26:31] Testing complete. Ran 637 tests: passed: 637 [17:26:32] Elapsed time: 26.851s total, 1.869s configuring, 24.817s building, 0.145s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig [17:26:32] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [17:26:33] 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 [17:26:43] Starting KUnit Kernel (1/1)... [17:26:43] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [17:26:43] ================= ttm_device (5 subtests) ================== [17:26:43] [PASSED] ttm_device_init_basic [17:26:43] [PASSED] ttm_device_init_multiple [17:26:43] [PASSED] ttm_device_fini_basic [17:26:43] [PASSED] ttm_device_init_no_vma_man [17:26:43] ================== ttm_device_init_pools ================== [17:26:43] [PASSED] No DMA allocations, no DMA32 required [17:26:43] [PASSED] DMA allocations, DMA32 required [17:26:43] [PASSED] No DMA allocations, DMA32 required [17:26:43] [PASSED] DMA allocations, no DMA32 required [17:26:43] ============== [PASSED] ttm_device_init_pools ============== [17:26:43] =================== [PASSED] ttm_device ==================== [17:26:43] ================== ttm_pool (8 subtests) =================== [17:26:43] ================== ttm_pool_alloc_basic =================== [17:26:43] [PASSED] One page [17:26:43] [PASSED] More than one page [17:26:43] [PASSED] Above the allocation limit [17:26:43] [PASSED] One page, with coherent DMA mappings enabled [17:26:43] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [17:26:43] ============== [PASSED] ttm_pool_alloc_basic =============== [17:26:43] ============== ttm_pool_alloc_basic_dma_addr ============== [17:26:43] [PASSED] One page [17:26:43] [PASSED] More than one page [17:26:43] [PASSED] Above the allocation limit [17:26:43] [PASSED] One page, with coherent DMA mappings enabled [17:26:43] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [17:26:43] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ========== [17:26:43] [PASSED] ttm_pool_alloc_order_caching_match [17:26:43] [PASSED] ttm_pool_alloc_caching_mismatch [17:26:43] [PASSED] ttm_pool_alloc_order_mismatch [17:26:43] [PASSED] ttm_pool_free_dma_alloc [17:26:43] [PASSED] ttm_pool_free_no_dma_alloc [17:26:43] [PASSED] ttm_pool_fini_basic [17:26:43] ==================== [PASSED] ttm_pool ===================== [17:26:43] ================ ttm_resource (8 subtests) ================= [17:26:43] ================= ttm_resource_init_basic ================= [17:26:43] [PASSED] Init resource in TTM_PL_SYSTEM [17:26:43] [PASSED] Init resource in TTM_PL_VRAM [17:26:43] [PASSED] Init resource in a private placement [17:26:43] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags [17:26:43] ============= [PASSED] ttm_resource_init_basic ============= [17:26:43] [PASSED] ttm_resource_init_pinned [17:26:43] [PASSED] ttm_resource_fini_basic [17:26:43] [PASSED] ttm_resource_manager_init_basic [17:26:43] [PASSED] ttm_resource_manager_usage_basic [17:26:43] [PASSED] ttm_resource_manager_set_used_basic [17:26:43] [PASSED] ttm_sys_man_alloc_basic [17:26:43] [PASSED] ttm_sys_man_free_basic [17:26:43] ================== [PASSED] ttm_resource =================== [17:26:43] =================== ttm_tt (15 subtests) =================== [17:26:43] ==================== ttm_tt_init_basic ==================== [17:26:43] [PASSED] Page-aligned size [17:26:43] [PASSED] Extra pages requested [17:26:43] ================ [PASSED] ttm_tt_init_basic ================ [17:26:43] [PASSED] ttm_tt_init_misaligned [17:26:43] [PASSED] ttm_tt_fini_basic [17:26:43] [PASSED] ttm_tt_fini_sg [17:26:43] [PASSED] ttm_tt_fini_shmem [17:26:43] [PASSED] ttm_tt_create_basic [17:26:43] [PASSED] ttm_tt_create_invalid_bo_type [17:26:43] [PASSED] ttm_tt_create_ttm_exists [17:26:43] [PASSED] ttm_tt_create_failed [17:26:43] [PASSED] ttm_tt_destroy_basic [17:26:43] [PASSED] ttm_tt_populate_null_ttm [17:26:43] [PASSED] ttm_tt_populate_populated_ttm [17:26:43] [PASSED] ttm_tt_unpopulate_basic [17:26:43] [PASSED] ttm_tt_unpopulate_empty_ttm [17:26:43] [PASSED] ttm_tt_swapin_basic [17:26:43] ===================== [PASSED] ttm_tt ====================== [17:26:43] =================== ttm_bo (14 subtests) =================== [17:26:43] =========== ttm_bo_reserve_optimistic_no_ticket =========== [17:26:43] [PASSED] Cannot be interrupted and sleeps [17:26:43] [PASSED] Cannot be interrupted, locks straight away [17:26:43] [PASSED] Can be interrupted, sleeps [17:26:43] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket ======= [17:26:43] [PASSED] ttm_bo_reserve_locked_no_sleep [17:26:43] [PASSED] ttm_bo_reserve_no_wait_ticket [17:26:43] [PASSED] ttm_bo_reserve_double_resv [17:26:43] [PASSED] ttm_bo_reserve_interrupted [17:26:43] [PASSED] ttm_bo_reserve_deadlock [17:26:43] [PASSED] ttm_bo_unreserve_basic [17:26:43] [PASSED] ttm_bo_unreserve_pinned [17:26:43] [PASSED] ttm_bo_unreserve_bulk [17:26:43] [PASSED] ttm_bo_fini_basic [17:26:43] [PASSED] ttm_bo_fini_shared_resv [17:26:43] [PASSED] ttm_bo_pin_basic [17:26:43] [PASSED] ttm_bo_pin_unpin_resource [17:26:43] [PASSED] ttm_bo_multiple_pin_one_unpin [17:26:43] ===================== [PASSED] ttm_bo ====================== [17:26:43] ============== ttm_bo_validate (22 subtests) =============== [17:26:43] ============== ttm_bo_init_reserved_sys_man =============== [17:26:43] [PASSED] Buffer object for userspace [17:26:43] [PASSED] Kernel buffer object [17:26:43] [PASSED] Shared buffer object [17:26:43] ========== [PASSED] ttm_bo_init_reserved_sys_man =========== [17:26:43] ============== ttm_bo_init_reserved_mock_man ============== [17:26:43] [PASSED] Buffer object for userspace [17:26:43] [PASSED] Kernel buffer object [17:26:43] [PASSED] Shared buffer object [17:26:43] ========== [PASSED] ttm_bo_init_reserved_mock_man ========== [17:26:43] [PASSED] ttm_bo_init_reserved_resv [17:26:43] ================== ttm_bo_validate_basic ================== [17:26:43] [PASSED] Buffer object for userspace [17:26:43] [PASSED] Kernel buffer object [17:26:43] [PASSED] Shared buffer object [17:26:43] ============== [PASSED] ttm_bo_validate_basic ============== [17:26:43] [PASSED] ttm_bo_validate_invalid_placement [17:26:43] ============= ttm_bo_validate_same_placement ============== [17:26:43] [PASSED] System manager [17:26:43] [PASSED] VRAM manager [17:26:43] ========= [PASSED] ttm_bo_validate_same_placement ========== [17:26:43] [PASSED] ttm_bo_validate_failed_alloc [17:26:43] [PASSED] ttm_bo_validate_pinned [17:26:43] [PASSED] ttm_bo_validate_busy_placement [17:26:43] ================ ttm_bo_validate_multihop ================= [17:26:43] [PASSED] Buffer object for userspace [17:26:43] [PASSED] Kernel buffer object [17:26:43] [PASSED] Shared buffer object [17:26:43] ============ [PASSED] ttm_bo_validate_multihop ============= [17:26:43] ========== ttm_bo_validate_no_placement_signaled ========== [17:26:43] [PASSED] Buffer object in system domain, no page vector [17:26:43] [PASSED] Buffer object in system domain with an existing page vector [17:26:43] ====== [PASSED] ttm_bo_validate_no_placement_signaled ====== [17:26:43] ======== ttm_bo_validate_no_placement_not_signaled ======== [17:26:43] [PASSED] Buffer object for userspace [17:26:43] [PASSED] Kernel buffer object [17:26:43] [PASSED] Shared buffer object [17:26:43] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ==== [17:26:43] [PASSED] ttm_bo_validate_move_fence_signaled [17:26:44] ========= ttm_bo_validate_move_fence_not_signaled ========= [17:26:44] [PASSED] Waits for GPU [17:26:44] [PASSED] Tries to lock straight away [17:26:44] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled ===== [17:26:44] [PASSED] ttm_bo_validate_swapout [17:26:44] [PASSED] ttm_bo_validate_happy_evict [17:26:44] [PASSED] ttm_bo_validate_all_pinned_evict [17:26:44] [PASSED] ttm_bo_validate_allowed_only_evict [17:26:44] [PASSED] ttm_bo_validate_deleted_evict [17:26:44] [PASSED] ttm_bo_validate_busy_domain_evict [17:26:44] [PASSED] ttm_bo_validate_evict_gutting [17:26:44] [PASSED] ttm_bo_validate_recrusive_evict [17:26:44] ================= [PASSED] ttm_bo_validate ================= [17:26:44] ============================================================ [17:26:44] Testing complete. Ran 102 tests: passed: 102 [17:26:44] Elapsed time: 11.932s total, 1.815s configuring, 9.902s building, 0.179s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/dma-buf/.kunitconfig [17:26:44] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [17:26:45] 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 [17:26:54] Starting KUnit Kernel (1/1)... [17:26:54] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [17:26:54] =============== dma-buf-fence (12 subtests) ================ [17:26:54] [PASSED] test_sanitycheck [17:26:54] [PASSED] test_signaling [17:26:54] [PASSED] test_add_callback [17:26:54] [PASSED] test_late_add_callback [17:26:54] [PASSED] test_rm_callback [17:26:54] [PASSED] test_late_rm_callback [17:26:54] [PASSED] test_status [17:26:54] [PASSED] test_error [17:26:54] [PASSED] test_wait [17:26:54] [PASSED] test_wait_timeout [17:26:54] [PASSED] test_stub [17:26:54] [SKIPPED] test_race_signal_callback (requires at least 2 CPUs) [17:26:54] ================== [PASSED] dma-buf-fence ================== [17:26:54] ============ dma-buf-fence-chain (11 subtests) ============= [17:26:54] [PASSED] test_sanitycheck [17:26:54] [PASSED] test_find_seqno [17:26:54] [PASSED] test_find_signaled [17:26:54] [PASSED] test_find_out_of_order [17:26:59] [PASSED] test_find_gap [17:26:59] [PASSED] test_find_race [17:26:59] [PASSED] test_signal_forward [17:26:59] [PASSED] test_signal_backward [17:26:59] [PASSED] test_wait_forward [17:26:59] [PASSED] test_wait_backward [17:26:59] [PASSED] test_wait_random [17:26:59] =============== [PASSED] dma-buf-fence-chain =============== [17:26:59] ============ dma-buf-fence-unwrap (10 subtests) ============ [17:26:59] [PASSED] test_sanitycheck [17:26:59] [PASSED] test_unwrap_array [17:26:59] [PASSED] test_unwrap_chain [17:26:59] [PASSED] test_unwrap_chain_array [17:26:59] [PASSED] test_unwrap_merge [17:26:59] [PASSED] test_unwrap_merge_duplicate [17:26:59] [PASSED] test_unwrap_merge_seqno [17:26:59] [PASSED] test_unwrap_merge_order [17:26:59] [PASSED] test_unwrap_merge_complex [17:26:59] [PASSED] test_unwrap_merge_complex_seqno [17:26:59] ============== [PASSED] dma-buf-fence-unwrap =============== [17:26:59] ================ dma-buf-resv (5 subtests) ================= [17:26:59] [PASSED] test_sanitycheck [17:26:59] ===================== test_signaling ====================== [17:26:59] [PASSED] kernel [17:26:59] [PASSED] write [17:26:59] [PASSED] read [17:26:59] [PASSED] bookkeep [17:26:59] ================= [PASSED] test_signaling ================== [17:26:59] ====================== test_for_each ====================== [17:26:59] [PASSED] kernel [17:26:59] [PASSED] write [17:26:59] [PASSED] read [17:26:59] [PASSED] bookkeep [17:26:59] ================== [PASSED] test_for_each ================== [17:26:59] ================= test_for_each_unlocked ================== [17:26:59] [PASSED] kernel [17:26:59] [PASSED] write [17:26:59] [PASSED] read [17:26:59] [PASSED] bookkeep [17:26:59] ============= [PASSED] test_for_each_unlocked ============== [17:26:59] ===================== test_get_fences ===================== [17:26:59] [PASSED] kernel [17:26:59] [PASSED] write [17:26:59] [PASSED] read [17:26:59] [PASSED] bookkeep [17:26:59] ================= [PASSED] test_get_fences ================= [17:26:59] ================== [PASSED] dma-buf-resv =================== [17:26:59] ============================================================ [17:26:59] Testing complete. Ran 50 tests: passed: 49, skipped: 1 [17:26:59] Elapsed time: 15.649s total, 1.772s configuring, 8.555s building, 5.282s running
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel
Patchwork
CI✓ Xe.CI.BAT: success for drm/xe: Add structured SIGID error logging infrastructure (rev5)
In reply to Michal Wajdeczko== Series Details ==
== Series Details ==
Series: drm/xe: Add structured SIGID error logging infrastructure (rev5)
URL : https://patchwork.freedesktop.org/series/171022/
State : success
== Summary ==
CI Bug Log - changes from xe-5599-9832bc7a458a4a67e68dcf96927588859c1994f3_BAT -> xe-pw-171022v5_BAT
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (12 -> 13)
------------------------------
Additional (1): bat-bmg-2
Known issues
------------
Here are the changes found in xe-pw-171022v5_BAT that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@fbdev@write:
- bat-bmg-2: NOTRUN -> [SKIP][1] ([Intel XE#2134]) +4 other tests skip
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/bat-bmg-2/igt@[email protected]
* igt@kms_addfb_basic@addfb25-y-tiled-small-legacy:
- bat-bmg-2: NOTRUN -> [SKIP][2] ([Intel XE#2233])
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/bat-bmg-2/igt@[email protected]
* igt@kms_cursor_legacy@basic-flip-after-cursor-legacy:
- bat-bmg-2: NOTRUN -> [SKIP][3] ([Intel XE#2489] / [Intel XE#3419]) +13 other tests skip
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/bat-bmg-2/igt@[email protected]
* igt@kms_flip@basic-flip-vs-modeset:
- bat-bmg-2: NOTRUN -> [SKIP][4] ([Intel XE#2482]) +3 other tests skip
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/bat-bmg-2/igt@[email protected]
* igt@kms_frontbuffer_tracking@basic:
- bat-bmg-2: NOTRUN -> [SKIP][5] ([Intel XE#2434] / [Intel XE#2548] / [Intel XE#6314])
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/bat-bmg-2/igt@[email protected]
* igt@kms_psr@psr-sprite-plane-onoff:
- bat-bmg-2: NOTRUN -> [SKIP][6] ([Intel XE#2234] / [Intel XE#2850]) +2 other tests skip
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/bat-bmg-2/igt@[email protected]
* igt@xe_exec_multi_queue@priority:
- bat-bmg-2: NOTRUN -> [SKIP][7] ([Intel XE#8364]) +13 other tests skip
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/bat-bmg-2/igt@[email protected]
* igt@xe_live_ktest@xe_bo@xe_ccs_migrate_kunit:
- bat-bmg-2: NOTRUN -> [SKIP][8] ([Intel XE#2229])
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/bat-bmg-2/igt@xe_live_ktest@xe_bo@xe_ccs_migrate_kunit.html
* igt@xe_pat@pat-index-xehpc:
- bat-bmg-2: NOTRUN -> [SKIP][9] ([Intel XE#1420] / [Intel XE#7590])
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/bat-bmg-2/igt@[email protected]
* igt@xe_pat@pat-index-xelp:
- bat-bmg-2: NOTRUN -> [SKIP][10] ([Intel XE#2245] / [Intel XE#7590])
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/bat-bmg-2/igt@[email protected]
* igt@xe_pat@pat-index-xelpg:
- bat-bmg-2: NOTRUN -> [SKIP][11] ([Intel XE#2236] / [Intel XE#7590])
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/bat-bmg-2/igt@[email protected]
[Intel XE#1420]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1420
[Intel XE#2134]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2134
[Intel XE#2229]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2229
[Intel XE#2233]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2233
[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#2245]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2245
[Intel XE#2434]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2434
[Intel XE#2482]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2482
[Intel XE#2489]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2489
[Intel XE#2548]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2548
[Intel XE#2850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2850
[Intel XE#3419]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3419
[Intel XE#6314]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6314
[Intel XE#7590]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7590
[Intel XE#8364]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8364
Build changes
-------------
* IGT: IGT_9056 -> IGT_9057
* Linux: xe-5599-9832bc7a458a4a67e68dcf96927588859c1994f3 -> xe-pw-171022v5
IGT_9056: 9056
IGT_9057: 8f7d5198bdb1c5af7c97b967a0bcbe77b653e8a0 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-5599-9832bc7a458a4a67e68dcf96927588859c1994f3: 9832bc7a458a4a67e68dcf96927588859c1994f3
xe-pw-171022v5: 171022v5
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/index.html
Rodrigo Vivi
maintainerQuoted 70 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.
- 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.
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: https://patchwork.freedesktop.org/series/171022/#rev2
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
v3: https://patchwork.freedesktop.org/series/171022/#rev3
fix typos, args list andto_dev()corner case (Sashiko) use assoc macros inxe_any(Jani)
addxe_anykunit test suite (Michal)
add morexe_logtest cases (Michal)
Quoted 8 lines
v4: https://patchwork.freedesktop.org/series/171022/#rev4
more patches with SIGID usage (Michal) support for printk index (Jani)
more macros and other fixes (Mallesh)
no recovery buckets (all)
v5: new helperxe_log_err_info(Michal)
survivability changes (Riana)
report fault-response as info (Rodrigo/Daniele)
Thank you so much!
series pushed to drm-xe-next.
Quoted 72 lines
Mallesh Koujalagi (1):
drm/xe/log: Add structured SIGID error logging infrastructureMichal Wajdeczko (32):
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 component & severity drm/xe/log: Add SIGID log helpers for errno-only drm/xe/log: Index all SIGID printk messages
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/tests: Add kunit tests forxe_any
drm/xe: Report 'probe blocked' status using SIGID
drm/xe: Report all probe errors using SIGID drm/xe/survivability: Report 'boot status' using SIGID drm/xe/survivability: Report sysfs failure in one place drm/xe/survivability: Report 'boot status' on sysfs failure drm/xe/survivability: Report 'Boot Mode enabled' status using SIGID drm/xe/survivability: Report 'Runtime Mode enabled' status using SIGID drm/xe: Report 'device wedged' errors using SIGID drm/xe/pcode: Report 'Mailbox failed' error using SIGID drm/xe/pcode: Report 'timeout, retrying' error using SIGID drm/xe/pcode: Report 'initialization timedout' error using SIGID drm/xe/guc: Report 'GuC mmio' errors using SIGID drm/xe/gt: Report 'reset failed' errors using SIGID drm/xe/gt: Report 'Fault response' pagefault error using SIGID drm/xe/gt: Report 'Queue full' pagefault error 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 | 199 +++++++ drivers/gpu/drm/xe/abi/xe_sigid_abi.h | 172 ++++++ drivers/gpu/drm/xe/tests/Makefile | 1 + drivers/gpu/drm/xe/tests/xe_any_kunit.c | 213 ++++++++ drivers/gpu/drm/xe/tests/xe_kunit_helpers.c | 4 + drivers/gpu/drm/xe/tests/xe_log_kunit.c | 553 ++++++++++++++++++++ drivers/gpu/drm/xe/xe_any.h | 137 +++++ 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 | 235 +++++++++ drivers/gpu/drm/xe/xe_log.h | 194 +++++++ drivers/gpu/drm/xe/xe_pagefault.c | 8 +- drivers/gpu/drm/xe/xe_pci.c | 32 +- drivers/gpu/drm/xe/xe_pci_error.c | 7 +- drivers/gpu/drm/xe/xe_pcode.c | 14 +- drivers/gpu/drm/xe/xe_ras.c | 11 + drivers/gpu/drm/xe/xe_survivability_mode.c | 85 +-- 21 files changed, 1854 insertions(+), 68 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_any_kunit.c 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
2.47.1
Patchwork
CI✗ Xe.CI.FULL: failure for drm/xe: Add structured SIGID error logging infrastructure (rev5)
In reply to Michal Wajdeczko== Series Details ==
== Series Details ==
Series: drm/xe: Add structured SIGID error logging infrastructure (rev5)
URL : https://patchwork.freedesktop.org/series/171022/
State : failure
== Summary ==
CI Bug Log - changes from xe-5599-9832bc7a458a4a67e68dcf96927588859c1994f3_FULL -> xe-pw-171022v5_FULL
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with xe-pw-171022v5_FULL absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes
introduced in xe-pw-171022v5_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-171022v5_FULL:
### IGT changes ###
#### Possible regressions ####
* igt@xe_wedged@basic-wedged:
- shard-lnl: NOTRUN -> [DMESG-WARN][1]
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-lnl-1/igt@[email protected]
- shard-bmg: [PASS][2] -> [DMESG-WARN][3]
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5599-9832bc7a458a4a67e68dcf96927588859c1994f3/shard-bmg-1/igt@[email protected]
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-10/igt@[email protected]
* igt@xe_wedged@wedged-at-any-timeout:
- shard-lnl: [PASS][4] -> [DMESG-WARN][5]
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5599-9832bc7a458a4a67e68dcf96927588859c1994f3/shard-lnl-2/igt@[email protected]
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-lnl-2/igt@[email protected]
#### Warnings ####
* igt@xe_survivability@runtime-survivability:
- shard-bmg: [DMESG-WARN][6] ([Intel XE#6627] / [Intel XE#7419]) -> [DMESG-WARN][7]
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5599-9832bc7a458a4a67e68dcf96927588859c1994f3/shard-bmg-9/igt@[email protected]
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-4/igt@[email protected]
* igt@xe_wedged@wedged-at-any-timeout:
- shard-bmg: [DMESG-WARN][8] ([Intel XE#5545]) -> [DMESG-WARN][9]
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5599-9832bc7a458a4a67e68dcf96927588859c1994f3/shard-bmg-9/igt@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-5/igt@[email protected]
Known issues
------------
Here are the changes found in xe-pw-171022v5_FULL that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_big_fb@4-tiled-32bpp-rotate-90:
- shard-bmg: NOTRUN -> [SKIP][10] ([Intel XE#2327]) +6 other tests skip
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-9/igt@[email protected]
* igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180-async-flip:
- shard-bmg: NOTRUN -> [SKIP][11] ([Intel XE#1124]) +9 other tests skip
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-9/igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180-async-flip.html
* igt@kms_big_fb@yf-tiled-32bpp-rotate-180:
- shard-lnl: NOTRUN -> [SKIP][12] ([Intel XE#1124]) +2 other tests skip
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-lnl-5/igt@[email protected]
* igt@kms_big_fb@yf-tiled-addfb-size-offset-overflow:
- shard-bmg: NOTRUN -> [SKIP][13] ([Intel XE#607] / [Intel XE#7361]) +1 other test skip
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-5/igt@[email protected]
* igt@kms_big_fb@yf-tiled-addfb-size-overflow:
- shard-bmg: NOTRUN -> [SKIP][14] ([Intel XE#610] / [Intel XE#7387])
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-3/igt@[email protected]
* igt@kms_bw@connected-linear-tiling-3-displays-target-2560x1440p:
- shard-bmg: NOTRUN -> [SKIP][15] ([Intel XE#7679])
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-2/igt@[email protected]
* igt@kms_bw@linear-tiling-1-displays-target-2160x1440p:
- shard-bmg: NOTRUN -> [SKIP][16] ([Intel XE#367])
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-9/igt@[email protected]
* igt@kms_bw@linear-tiling-2-displays-target-2160x1440p:
- shard-lnl: NOTRUN -> [SKIP][17] ([Intel XE#367])
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-lnl-1/igt@[email protected]
* igt@kms_ccs@bad-pixel-format-4-tiled-mtl-rc-ccs:
- shard-lnl: NOTRUN -> [SKIP][18] ([Intel XE#2887]) +1 other test skip
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-lnl-5/igt@[email protected]
* igt@kms_ccs@crc-primary-suspend-yf-tiled-ccs:
- shard-bmg: NOTRUN -> [SKIP][19] ([Intel XE#3432]) +3 other tests skip
[19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-8/igt@[email protected]
* igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs-cc:
- shard-bmg: NOTRUN -> [SKIP][20] ([Intel XE#2887]) +11 other tests skip
[20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-6/igt@[email protected]
* igt@kms_ccs@random-ccs-data-4-tiled-lnl-ccs@pipe-c-dp-2:
- shard-bmg: NOTRUN -> [SKIP][21] ([Intel XE#2652]) +17 other tests skip
[21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-10/igt@kms_ccs@[email protected]
* igt@kms_chamelium_color@ctm-0-50:
- shard-bmg: NOTRUN -> [SKIP][22] ([Intel XE#2325] / [Intel XE#7358]) +1 other test skip
[22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-9/igt@[email protected]
* igt@kms_chamelium_color_pipeline@plane-lut1d-pre-ctm3x4:
- shard-bmg: NOTRUN -> [SKIP][23] ([Intel XE#7358])
[23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-1/igt@[email protected]
* igt@kms_chamelium_edid@dp-edid-change-during-hibernate:
- shard-bmg: NOTRUN -> [SKIP][24] ([Intel XE#2252]) +9 other tests skip
[24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-1/igt@[email protected]
* igt@kms_content_protection@dp-mst-lic-type-1:
- shard-bmg: NOTRUN -> [SKIP][25] ([Intel XE#2390] / [Intel XE#6974])
[25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-8/igt@[email protected]
* igt@kms_content_protection@lic-type-1:
- shard-bmg: NOTRUN -> [SKIP][26] ([Intel XE#7642])
[26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-8/igt@[email protected]
* igt@kms_content_protection@uevent:
- shard-lnl: NOTRUN -> [SKIP][27] ([Intel XE#7642])
[27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-lnl-6/igt@[email protected]
* igt@kms_cursor_crc@cursor-random-32x32:
- shard-bmg: NOTRUN -> [SKIP][28] ([Intel XE#2320]) +5 other tests skip
[28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-1/igt@[email protected]
* igt@kms_cursor_crc@cursor-random-512x170:
- shard-bmg: NOTRUN -> [SKIP][29] ([Intel XE#2321] / [Intel XE#7355]) +5 other tests skip
[29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-8/igt@[email protected]
* igt@kms_cursor_crc@cursor-rapid-movement-32x32:
- shard-lnl: NOTRUN -> [SKIP][30] ([Intel XE#1424]) +1 other test skip
[30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-lnl-4/igt@[email protected]
* igt@kms_cursor_legacy@short-busy-flip-before-cursor-toggle:
- shard-bmg: NOTRUN -> [SKIP][31] ([Intel XE#2286] / [Intel XE#6035]) +1 other test skip
[31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-2/igt@[email protected]
* igt@kms_dp_linktrain_fallback@dsc-fallback:
- shard-bmg: NOTRUN -> [SKIP][32] ([Intel XE#4331] / [Intel XE#7227])
[32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-9/igt@[email protected]
* igt@kms_dsc@dsc-basic-ultrajoiner:
- shard-bmg: NOTRUN -> [SKIP][33] ([Intel XE#8265]) +3 other tests skip
[33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-9/igt@[email protected]
* igt@kms_dsc@dsc-fractional-bpp-bigjoiner:
- shard-lnl: NOTRUN -> [SKIP][34] ([Intel XE#8265])
[34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-lnl-1/igt@[email protected]
* igt@kms_fbc_dirty_rect@fbc-dirty-rectangle-dirtyfb-tests:
- shard-bmg: NOTRUN -> [SKIP][35] ([Intel XE#4422] / [Intel XE#7442])
[35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-1/igt@[email protected]
* igt@kms_fbc_dirty_rect@fbc-dirty-rectangle-out-visible-area:
- shard-lnl: NOTRUN -> [SKIP][36] ([Intel XE#4422] / [Intel XE#7442])
[36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-lnl-2/igt@[email protected]
* igt@kms_fbcon_fbt@fbc:
- shard-bmg: NOTRUN -> [SKIP][37] ([Intel XE#4156] / [Intel XE#7425])
[37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-10/igt@[email protected]
* igt@kms_flip@2x-flip-vs-absolute-wf_vblank:
- shard-bmg: [PASS][38] -> [INCOMPLETE][39] ([Intel XE#2597] / [Intel XE#8155])
[38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5599-9832bc7a458a4a67e68dcf96927588859c1994f3/shard-bmg-6/igt@kms_flip@2x-flip-vs-absolute-wf_vblank.html
[39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-10/igt@kms_flip@2x-flip-vs-absolute-wf_vblank.html
* igt@kms_flip@2x-flip-vs-absolute-wf_vblank@ab-dp2-hdmi-a3:
- shard-bmg: [PASS][40] -> [INCOMPLETE][41] ([Intel XE#8155])
[40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5599-9832bc7a458a4a67e68dcf96927588859c1994f3/shard-bmg-6/igt@kms_flip@[email protected]
[41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-10/igt@kms_flip@[email protected]
* igt@kms_flip@2x-flip-vs-dpms-off-vs-modeset:
- shard-lnl: NOTRUN -> [SKIP][42] ([Intel XE#1421])
[42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-lnl-5/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank-interruptible@c-edp1:
- shard-lnl: [PASS][43] -> [FAIL][44] ([Intel XE#301] / [Intel XE#3149])
[43]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5599-9832bc7a458a4a67e68dcf96927588859c1994f3/shard-lnl-5/igt@kms_flip@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-lnl-2/igt@kms_flip@[email protected]
* igt@kms_flip_scaled_crc@flip-32bpp-yftile-to-32bpp-yftileccs-upscaling:
- shard-bmg: NOTRUN -> [SKIP][45] ([Intel XE#7178] / [Intel XE#7351]) +4 other tests skip
[45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-5/igt@kms_flip_scaled_crc@flip-32bpp-yftile-to-32bpp-yftileccs-upscaling.html
* igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-16bpp-yftile-downscaling:
- shard-lnl: NOTRUN -> [SKIP][46] ([Intel XE#7178] / [Intel XE#7351])
[46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-lnl-4/igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-16bpp-yftile-downscaling.html
* igt@kms_frontbuffer_tracking@drrshdr-1p-primscrn-spr-indfb-onoff:
- shard-lnl: NOTRUN -> [SKIP][47] ([Intel XE#6312])
[47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-lnl-3/igt@kms_frontbuffer_tracking@drrshdr-1p-primscrn-spr-indfb-onoff.html
* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-spr-indfb-draw-render:
- shard-lnl: NOTRUN -> [SKIP][48] ([Intel XE#656] / [Intel XE#7905]) +7 other tests skip
[48]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-lnl-5/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-spr-indfb-draw-render.html
* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-shrfb-pgflip-blt:
- shard-bmg: NOTRUN -> [SKIP][49] ([Intel XE#4141]) +19 other tests skip
[49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-1/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-abgr161616f-draw-mmap-wc:
- shard-bmg: NOTRUN -> [SKIP][50] ([Intel XE#7061] / [Intel XE#7356]) +2 other tests skip
[50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-9/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcdrrshdr-1p-primscrn-shrfb-plflip-blt:
- shard-bmg: NOTRUN -> [SKIP][51] ([Intel XE#2311]) +61 other tests skip
[51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-9/igt@kms_frontbuffer_tracking@fbcdrrshdr-1p-primscrn-shrfb-plflip-blt.html
* igt@kms_frontbuffer_tracking@fbchdr-argb161616f-draw-render:
- shard-bmg: NOTRUN -> [SKIP][52] ([Intel XE#7061]) +5 other tests skip
[52]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-9/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-abgr161616f-draw-blt:
- shard-lnl: NOTRUN -> [SKIP][53] ([Intel XE#7061] / [Intel XE#7356]) +2 other tests skip
[53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-lnl-4/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsrhdr-2p-scndscrn-cur-indfb-draw-render:
- shard-lnl: NOTRUN -> [SKIP][54] ([Intel XE#7905]) +6 other tests skip
[54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-lnl-8/igt@kms_frontbuffer_tracking@fbcpsrhdr-2p-scndscrn-cur-indfb-draw-render.html
* igt@kms_frontbuffer_tracking@hdr-1p-primscrn-indfb-msflip-blt:
- shard-lnl: NOTRUN -> [SKIP][55] ([Intel XE#7865]) +3 other tests skip
[55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-lnl-7/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-2p-primscrn-indfb-plflip-blt:
- shard-bmg: NOTRUN -> [SKIP][56] ([Intel XE#2313]) +56 other tests skip
[56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-6/igt@[email protected]
* igt@kms_hdmi_inject@inject-audio:
- shard-bmg: NOTRUN -> [SKIP][57] ([Intel XE#7308])
[57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-10/igt@[email protected]
* igt@kms_hdr@brightness-with-hdr:
- shard-bmg: NOTRUN -> [SKIP][58] ([Intel XE#3544])
[58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-9/igt@[email protected]
* igt@kms_joiner@invalid-modeset-force-ultra-joiner:
- shard-bmg: NOTRUN -> [SKIP][59] ([Intel XE#6911] / [Intel XE#7466])
[59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-3/igt@[email protected]
* igt@kms_joiner@invalid-modeset-ultra-joiner:
- shard-bmg: NOTRUN -> [SKIP][60] ([Intel XE#6911] / [Intel XE#7378])
[60]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-3/igt@[email protected]
* igt@kms_multipipe_modeset@basic-max-pipe-crc-check:
- shard-bmg: NOTRUN -> [SKIP][61] ([Intel XE#7591])
[61]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-3/igt@[email protected]
* igt@kms_panel_fitting@atomic-fastset:
- shard-bmg: NOTRUN -> [SKIP][62] ([Intel XE#2486])
[62]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-7/igt@[email protected]
* igt@kms_plane@pixel-format-4-tiled-modifier@pipe-a-plane-5:
- shard-bmg: NOTRUN -> [SKIP][63] ([Intel XE#8303]) +1 other test skip
[63]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-4/igt@kms_plane@[email protected]
* igt@kms_plane@pixel-format-yf-tiled-ccs-modifier:
- shard-bmg: NOTRUN -> [SKIP][64] ([Intel XE#7283]) +3 other tests skip
[64]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-10/igt@[email protected]
* igt@kms_plane@planar-pixel-format-settings@nv12-tile4-src-y:
- shard-bmg: NOTRUN -> [SKIP][65] ([Intel XE#8076])
[65]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-4/igt@kms_plane@[email protected]
* igt@kms_plane_multiple@2x-tiling-yf:
- shard-bmg: NOTRUN -> [SKIP][66] ([Intel XE#5021] / [Intel XE#7377])
[66]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-4/igt@[email protected]
* igt@kms_plane_multiple@tiling-yf:
- shard-bmg: NOTRUN -> [SKIP][67] ([Intel XE#5020] / [Intel XE#7348])
[67]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-4/igt@[email protected]
* igt@kms_pm_backlight@brightness-with-dpms:
- shard-bmg: NOTRUN -> [SKIP][68] ([Intel XE#2938] / [Intel XE#7376] / [Intel XE#7760])
[68]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-9/igt@[email protected]
* igt@kms_pm_dc@dc3co-vpb-framegap:
- shard-bmg: NOTRUN -> [SKIP][69] ([Intel XE#8395] / [Intel XE#8396]) +1 other test skip
[69]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-6/igt@[email protected]
* igt@kms_pm_dc@dc3co-vpb-framegap@psr2-xrgb8888:
- shard-bmg: NOTRUN -> [SKIP][70] ([Intel XE#8396]) +1 other test skip
[70]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-6/igt@kms_pm_dc@[email protected]
* igt@kms_pm_dc@dc6-psr:
- shard-lnl: [PASS][71] -> [FAIL][72] ([Intel XE#8399])
[71]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5599-9832bc7a458a4a67e68dcf96927588859c1994f3/shard-lnl-7/igt@[email protected]
[72]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-lnl-5/igt@[email protected]
* igt@kms_pm_lpsp@kms-lpsp:
- shard-bmg: NOTRUN -> [SKIP][73] ([Intel XE#2499])
[73]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-7/igt@[email protected]
* igt@kms_pm_rpm@modeset-lpsp:
- shard-bmg: NOTRUN -> [SKIP][74] ([Intel XE#1439] / [Intel XE#3141] / [Intel XE#7383] / [Intel XE#836]) +2 other tests skip
[74]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-4/igt@[email protected]
* igt@kms_psr2_sf@psr2-overlay-plane-move-continuous-sf:
- shard-bmg: NOTRUN -> [SKIP][75] ([Intel XE#1489]) +8 other tests skip
[75]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-3/igt@[email protected]
* igt@kms_psr@fbc-psr2-primary-render:
- shard-lnl: NOTRUN -> [SKIP][76] ([Intel XE#1406] / [Intel XE#7345])
[76]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-lnl-5/igt@[email protected]
* igt@kms_psr@fbc-psr2-primary-render@edp-1:
- shard-lnl: NOTRUN -> [SKIP][77] ([Intel XE#1406] / [Intel XE#4609] / [Intel XE#7345])
[77]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-lnl-5/igt@kms_psr@[email protected]
* igt@kms_psr@psr-basic:
- shard-bmg: NOTRUN -> [SKIP][78] ([Intel XE#2234] / [Intel XE#2850]) +14 other tests skip
[78]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-7/igt@[email protected]
* igt@kms_rotation_crc@primary-4-tiled-reflect-x-0:
- shard-lnl: NOTRUN -> [SKIP][79] ([Intel XE#3414] / [Intel XE#3904] / [Intel XE#7342])
[79]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-lnl-1/igt@[email protected]
* igt@kms_rotation_crc@primary-y-tiled-reflect-x-180:
- shard-bmg: NOTRUN -> [SKIP][80] ([Intel XE#2330] / [Intel XE#5813])
[80]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-3/igt@[email protected]
* igt@kms_rotation_crc@primary-yf-tiled-reflect-x-90:
- shard-bmg: NOTRUN -> [SKIP][81] ([Intel XE#3904] / [Intel XE#7342]) +1 other test skip
[81]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-10/igt@[email protected]
* igt@kms_sharpness_filter@filter-basic:
- shard-bmg: NOTRUN -> [SKIP][82] ([Intel XE#6503]) +1 other test skip
[82]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-4/igt@[email protected]
* igt@kms_tiled_display@basic-test-pattern:
- shard-bmg: NOTRUN -> [SKIP][83] ([Intel XE#2426] / [Intel XE#5848])
[83]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-6/igt@[email protected]
* igt@kms_vrr@flip-suspend:
- shard-bmg: NOTRUN -> [SKIP][84] ([Intel XE#1499]) +2 other tests skip
[84]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-2/igt@[email protected]
* igt@sriov_basic@enable-vfs-bind-unbind-each-numvfs-all:
- shard-lnl: NOTRUN -> [SKIP][85] ([Intel XE#1091] / [Intel XE#2849])
[85]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-lnl-7/igt@[email protected]
* igt@xe_evict@evict-beng-cm-threads-small:
- shard-lnl: NOTRUN -> [SKIP][86] ([Intel XE#6540] / [Intel XE#688])
[86]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-lnl-2/igt@[email protected]
* igt@xe_evict@evict-beng-mixed-many-threads-small:
- shard-bmg: NOTRUN -> [INCOMPLETE][87] ([Intel XE#6321] / [Intel XE#8355])
[87]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-8/igt@[email protected]
* igt@xe_exec_balancer@twice-virtual-userptr-rebind:
- shard-lnl: NOTRUN -> [SKIP][88] ([Intel XE#7482]) +4 other tests skip
[88]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-lnl-6/igt@[email protected]
* igt@xe_exec_basic@multigpu-many-execqueues-many-vm-userptr-invalidate-race:
- shard-lnl: NOTRUN -> [SKIP][89] ([Intel XE#1392]) +1 other test skip
[89]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-lnl-8/igt@xe_exec_basic@multigpu-many-execqueues-many-vm-userptr-invalidate-race.html
* igt@xe_exec_basic@multigpu-no-exec-basic-defer-bind:
- shard-bmg: NOTRUN -> [SKIP][90] ([Intel XE#2322] / [Intel XE#7372]) +8 other tests skip
[90]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-3/igt@[email protected]
* igt@xe_exec_fault_mode@many-execqueues-multi-queue-userptr:
- shard-bmg: NOTRUN -> [SKIP][91] ([Intel XE#8374]) +14 other tests skip
[91]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-3/igt@[email protected]
* igt@xe_exec_fault_mode@once-multi-queue:
- shard-lnl: NOTRUN -> [SKIP][92] ([Intel XE#8374]) +2 other tests skip
[92]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-lnl-2/igt@[email protected]
* igt@xe_exec_multi_queue@many-execs-preempt-mode-fault-dyn-priority:
- shard-lnl: NOTRUN -> [SKIP][93] ([Intel XE#8364]) +4 other tests skip
[93]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-lnl-3/igt@xe_exec_multi_queue@many-execs-preempt-mode-fault-dyn-priority.html
* igt@xe_exec_multi_queue@one-queue-preempt-mode-fault-dyn-priority-smem:
- shard-bmg: NOTRUN -> [SKIP][94] ([Intel XE#8364]) +32 other tests skip
[94]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-6/igt@xe_exec_multi_queue@one-queue-preempt-mode-fault-dyn-priority-smem.html
* igt@xe_exec_reset@multi-queue-cat-error-on-secondary:
- shard-bmg: NOTRUN -> [SKIP][95] ([Intel XE#8369]) +4 other tests skip
[95]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-9/igt@[email protected]
* igt@xe_exec_system_allocator@many-stride-new-prefetch:
- shard-bmg: NOTRUN -> [INCOMPLETE][96] ([Intel XE#7098] / [Intel XE#8159])
[96]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-10/igt@[email protected]
* igt@xe_exec_threads@threads-multi-queue-cm-fd-userptr-rebind:
- shard-bmg: NOTRUN -> [SKIP][97] ([Intel XE#8378]) +10 other tests skip
[97]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-5/igt@[email protected]
* igt@xe_exec_threads@threads-multi-queue-mixed-shared-vm-userptr-rebind:
- shard-lnl: NOTRUN -> [SKIP][98] ([Intel XE#8378]) +1 other test skip
[98]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-lnl-2/igt@xe_exec_threads@threads-multi-queue-mixed-shared-vm-userptr-rebind.html
* igt@xe_fault_injection@inject-fault-probe-function-xe_sriov_init:
- shard-bmg: NOTRUN -> [ABORT][99] ([Intel XE#8007])
[99]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-7/igt@xe_fault_injection@inject-fault-probe-function-xe_sriov_init.html
* igt@xe_gpgpu_fill@offset-4x4:
- shard-bmg: NOTRUN -> [SKIP][100] ([Intel XE#7954])
[100]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-9/igt@[email protected]
* igt@xe_multigpu_svm@mgpu-migration-prefetch:
- shard-lnl: NOTRUN -> [SKIP][101] ([Intel XE#6964])
[101]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-lnl-8/igt@[email protected]
* igt@xe_multigpu_svm@mgpu-pagefault-basic:
- shard-bmg: NOTRUN -> [SKIP][102] ([Intel XE#6964]) +5 other tests skip
[102]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-2/igt@[email protected]
* igt@xe_page_reclaim@binds-1g-partial:
- shard-lnl: NOTRUN -> [SKIP][103] ([Intel XE#7793])
[103]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-lnl-6/igt@[email protected]
* igt@xe_pat@pat-index-xelp:
- shard-bmg: NOTRUN -> [SKIP][104] ([Intel XE#2245] / [Intel XE#7590])
[104]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-1/igt@[email protected]
* igt@xe_pat@xa-app-transient-media-on:
- shard-bmg: NOTRUN -> [SKIP][105] ([Intel XE#7590]) +1 other test skip
[105]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-4/igt@[email protected]
* igt@xe_pm@d3cold-i2c:
- shard-bmg: NOTRUN -> [SKIP][106] ([Intel XE#5694] / [Intel XE#7370])
[106]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-6/igt@[email protected]
* igt@xe_pm@s3-d3hot-basic-exec:
- shard-lnl: NOTRUN -> [SKIP][107] ([Intel XE#584] / [Intel XE#7369])
[107]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-lnl-6/igt@[email protected]
* igt@xe_pmu@all-fn-engine-activity-load:
- shard-lnl: NOTRUN -> [SKIP][108] ([Intel XE#4650] / [Intel XE#7347])
[108]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-lnl-4/igt@[email protected]
* igt@xe_pmu@engine-activity-accuracy-50:
- shard-bmg: NOTRUN -> [FAIL][109] ([Intel XE#8555]) +1 other test fail
[109]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-2/igt@[email protected]
* igt@xe_prefetch_fault@prefetch-fault-svm:
- shard-bmg: NOTRUN -> [SKIP][110] ([Intel XE#7599])
[110]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-8/igt@[email protected]
* igt@xe_pxp@display-pxp-fb:
- shard-bmg: NOTRUN -> [SKIP][111] ([Intel XE#4733] / [Intel XE#7417]) +1 other test skip
[111]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-3/igt@[email protected]
* igt@xe_query@multigpu-query-invalid-cs-cycles:
- shard-bmg: NOTRUN -> [SKIP][112] ([Intel XE#944]) +3 other tests skip
[112]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-3/igt@[email protected]
* igt@xe_sriov_auto_provisioning@selfconfig-basic:
- shard-lnl: NOTRUN -> [SKIP][113] ([Intel XE#4130] / [Intel XE#7366])
[113]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-lnl-2/igt@[email protected]
* igt@xe_sriov_flr@flr-vfs-parallel:
- shard-bmg: [PASS][114] -> [FAIL][115] ([Intel XE#6569]) +1 other test fail
[114]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5599-9832bc7a458a4a67e68dcf96927588859c1994f3/shard-bmg-2/igt@[email protected]
[115]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-2/igt@[email protected]
#### Possible fixes ####
* igt@kms_flip@flip-vs-expired-vblank-interruptible@b-edp1:
- shard-lnl: [FAIL][116] ([Intel XE#301]) -> [PASS][117]
[116]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5599-9832bc7a458a4a67e68dcf96927588859c1994f3/shard-lnl-5/igt@kms_flip@[email protected]
[117]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-lnl-2/igt@kms_flip@[email protected]
* igt@kms_pm_dc@dc5-dpms:
- shard-lnl: [FAIL][118] ([Intel XE#8399]) -> [PASS][119]
[118]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5599-9832bc7a458a4a67e68dcf96927588859c1994f3/shard-lnl-5/igt@[email protected]
[119]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-lnl-3/igt@[email protected]
* igt@xe_evict@evict-mixed-many-threads-small:
- shard-bmg: [INCOMPLETE][120] ([Intel XE#6321] / [Intel XE#8355]) -> [PASS][121]
[120]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5599-9832bc7a458a4a67e68dcf96927588859c1994f3/shard-bmg-7/igt@[email protected]
[121]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-6/igt@[email protected]
* igt@xe_fault_injection@vm-create-fail-xe_vm_create_scratch:
- shard-bmg: [ABORT][122] ([Intel XE#8007]) -> [PASS][123] +1 other test pass
[122]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5599-9832bc7a458a4a67e68dcf96927588859c1994f3/shard-bmg-5/igt@xe_fault_injection@vm-create-fail-xe_vm_create_scratch.html
[123]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-4/igt@xe_fault_injection@vm-create-fail-xe_vm_create_scratch.html
* igt@xe_sriov_flr@flr-each-isolation:
- shard-bmg: [FAIL][124] ([Intel XE#6569]) -> [PASS][125]
[124]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5599-9832bc7a458a4a67e68dcf96927588859c1994f3/shard-bmg-8/igt@[email protected]
[125]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-8/igt@[email protected]
#### Warnings ####
* igt@kms_flip@flip-vs-expired-vblank-interruptible:
- shard-lnl: [FAIL][126] ([Intel XE#301]) -> [FAIL][127] ([Intel XE#301] / [Intel XE#3149])
[126]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5599-9832bc7a458a4a67e68dcf96927588859c1994f3/shard-lnl-5/igt@[email protected]
[127]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-lnl-2/igt@[email protected]
* igt@sriov_basic@pf-unbind-with-vfs-enabled-numvfs-all:
- shard-bmg: [ABORT][128] ([Intel XE#8868]) -> [FAIL][129] ([Intel XE#7992])
[128]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5599-9832bc7a458a4a67e68dcf96927588859c1994f3/shard-bmg-9/igt@[email protected]
[129]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-3/igt@[email protected]
* igt@xe_fault_injection@exec-queue-create-fail-xe_pxp_exec_queue_add:
- shard-bmg: [ABORT][130] ([Intel XE#8007]) -> [SKIP][131] ([Intel XE#6281] / [Intel XE#7426])
[130]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5599-9832bc7a458a4a67e68dcf96927588859c1994f3/shard-bmg-4/igt@xe_fault_injection@exec-queue-create-fail-xe_pxp_exec_queue_add.html
[131]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/shard-bmg-10/igt@xe_fault_injection@exec-queue-create-fail-xe_pxp_exec_queue_add.html
[Intel XE#1091]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1091
[Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124
[Intel XE#1392]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1392
[Intel XE#1406]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1406
[Intel XE#1421]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1421
[Intel XE#1424]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1424
[Intel XE#1439]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1439
[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#2234]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2234
[Intel XE#2245]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2245
[Intel XE#2252]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2252
[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#2330]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2330
[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#2486]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2486
[Intel XE#2499]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2499
[Intel XE#2597]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2597
[Intel XE#2652]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2652
[Intel XE#2849]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2849
[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#3141]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3141
[Intel XE#3149]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3149
[Intel XE#3414]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3414
[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#4130]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4130
[Intel XE#4141]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4141
[Intel XE#4156]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4156
[Intel XE#4331]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4331
[Intel XE#4422]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4422
[Intel XE#4609]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4609
[Intel XE#4650]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4650
[Intel XE#4733]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4733
[Intel XE#5020]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5020
[Intel XE#5021]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5021
[Intel XE#5545]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5545
[Intel XE#5694]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5694
[Intel XE#5813]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5813
[Intel XE#584]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/584
[Intel XE#5848]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5848
[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#6281]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6281
[Intel XE#6312]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6312
[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#6540]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6540
[Intel XE#656]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/656
[Intel XE#6569]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6569
[Intel XE#6627]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6627
[Intel XE#688]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/688
[Intel XE#6911]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6911
[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#7098]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7098
[Intel XE#7178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7178
[Intel XE#7227]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7227
[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#7342]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7342
[Intel XE#7345]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7345
[Intel XE#7347]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7347
[Intel XE#7348]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7348
[Intel XE#7351]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7351
[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#7366]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7366
[Intel XE#7369]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7369
[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#7376]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7376
[Intel XE#7377]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7377
[Intel XE#7378]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7378
[Intel XE#7383]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7383
[Intel XE#7387]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7387
[Intel XE#7417]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7417
[Intel XE#7419]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7419
[Intel XE#7425]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7425
[Intel XE#7426]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7426
[Intel XE#7442]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7442
[Intel XE#7466]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7466
[Intel XE#7482]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7482
[Intel XE#7590]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7590
[Intel XE#7591]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7591
[Intel XE#7599]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7599
[Intel XE#7642]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7642
[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#7865]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7865
[Intel XE#7905]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7905
[Intel XE#7954]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7954
[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#8076]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8076
[Intel XE#8155]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8155
[Intel XE#8159]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8159
[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#836]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/836
[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#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#8555]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8555
[Intel XE#8868]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8868
[Intel XE#944]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/944
Build changes
-------------
* IGT: IGT_9056 -> IGT_9057
* Linux: xe-5599-9832bc7a458a4a67e68dcf96927588859c1994f3 -> xe-pw-171022v5
IGT_9056: 9056
IGT_9057: 8f7d5198bdb1c5af7c97b967a0bcbe77b653e8a0 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-5599-9832bc7a458a4a67e68dcf96927588859c1994f3: 9832bc7a458a4a67e68dcf96927588859c1994f3
xe-pw-171022v5: 171022v5
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171022v5/index.html