Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* ✗ CI.checkpatch: warning for Introduce DRM_RAS using generic netlink for RAS (rev10)
  2026-03-04  7:44 [PATCH v10 0/5] Introduce DRM_RAS using generic netlink for RAS Riana Tauro
@ 2026-03-04  7:39 ` Patchwork
  2026-03-04  7:40 ` ✓ CI.KUnit: success " Patchwork
                   ` (13 subsequent siblings)
  14 siblings, 0 replies; 18+ messages in thread
From: Patchwork @ 2026-03-04  7:39 UTC (permalink / raw)
  To: Rodrigo Vivi; +Cc: intel-xe

== Series Details ==

Series: Introduce DRM_RAS using generic netlink for RAS (rev10)
URL   : https://patchwork.freedesktop.org/series/155188/
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
1f57ba1afceae32108bd24770069f764d940a0e4
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 183d41090f20bca43d39d7c5dfc8e60f39e1d5d8
Author: Riana Tauro <riana.tauro@intel.com>
Date:   Wed Mar 4 13:14:12 2026 +0530

    drm/xe/xe_hw_error: Add support for PVC SoC errors
    
    Report the SoC nonfatal/fatal hardware error and update the counters.
    
    $ sudo ynl --family drm_ras --do get-error-counter \
    --json '{"node-id":0, "error-id":2}'
    {'error-id': 2, 'error-name': 'soc-internal', 'error-value': 0}
    
    Co-developed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
    Signed-off-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
    Signed-off-by: Riana Tauro <riana.tauro@intel.com>
    Reviewed-by: Raag Jadav <raag.jadav@intel.com>
+ /mt/dim checkpatch cfc20c776480fda8c1b0517b187bb71ec0781cd4 drm-intel
322629f29cbc drm/ras: Introduce the DRM RAS infrastructure over generic netlink
-:59: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#59: 
new file mode 100644

-:792: WARNING:LONG_LINE: line length of 117 exceeds 100 columns
#792: FILE: drivers/gpu/drm/drm_ras_nl.c:15:
+static const struct nla_policy drm_ras_get_error_counter_do_nl_policy[DRM_RAS_A_ERROR_COUNTER_ATTRS_ERROR_ID + 1] = {

-:798: WARNING:LONG_LINE: line length of 118 exceeds 100 columns
#798: FILE: drivers/gpu/drm/drm_ras_nl.c:21:
+static const struct nla_policy drm_ras_get_error_counter_dump_nl_policy[DRM_RAS_A_ERROR_COUNTER_ATTRS_NODE_ID + 1] = {

total: 0 errors, 3 warnings, 0 checks, 889 lines checked
3694d3578437 drm/xe/xe_drm_ras: Add support for XE DRM RAS
-:27: WARNING:COMMIT_LOG_LONG_LINE: Prefer a maximum 75 chars per line (possible unwrapped commit description?)
#27: 
    $ sudo ynl --family drm_ras --dump get-error-counter --json '{"node-id":0}'

-:74: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#74: 
new file mode 100644

-:181: WARNING:LONG_LINE: line length of 101 exceeds 100 columns
#181: FILE: drivers/gpu/drm/xe/xe_drm_ras.c:103:
+static void cleanup_node_param(struct xe_drm_ras *ras, const enum drm_xe_ras_error_severity severity)

-:280: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'i' - possible side-effects?
#280: FILE: drivers/gpu/drm/xe/xe_drm_ras.h:10:
+#define for_each_error_severity(i)	\
+	for (i = 0; i < DRM_XE_RAS_ERR_SEV_MAX; i++)

total: 0 errors, 3 warnings, 1 checks, 349 lines checked
4b35abb7237d drm/xe/xe_hw_error: Integrate DRM RAS with hardware error handling
bd87665ad964 drm/xe/xe_hw_error: Add support for Core-Compute errors
-:73: WARNING:LONG_LINE: line length of 101 exceeds 100 columns
#73: FILE: drivers/gpu/drm/xe/regs/xe_hw_error_regs.h:40:
+									  DEV_ERR_STAT_CORRECTABLE, \

-:83: WARNING:LONG_LINE: line length of 103 exceeds 100 columns
#83: FILE: drivers/gpu/drm/xe/regs/xe_hw_error_regs.h:50:
+									  ERR_STAT_GT_FATAL_VECTOR_0, \

-:84: WARNING:LONG_LINE: line length of 102 exceeds 100 columns
#84: FILE: drivers/gpu/drm/xe/regs/xe_hw_error_regs.h:51:
+									  ERR_STAT_GT_FATAL_VECTOR_1))

-:90: WARNING:LONG_LINE: line length of 101 exceeds 100 columns
#90: FILE: drivers/gpu/drm/xe/regs/xe_hw_error_regs.h:57:
+									  ERR_STAT_GT_COR_VECTOR_0, \

-:93: CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'hw_err' may be better as '(hw_err)' to avoid precedence issues
#93: FILE: drivers/gpu/drm/xe/regs/xe_hw_error_regs.h:60:
+#define ERR_STAT_GT_VECTOR_REG(hw_err, x)		(hw_err == HARDWARE_ERROR_CORRECTABLE ? \
+							 ERR_STAT_GT_COR_VECTOR_REG(x) : \
+							 ERR_STAT_GT_FATAL_VECTOR_REG(x))

-:93: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'x' - possible side-effects?
#93: FILE: drivers/gpu/drm/xe/regs/xe_hw_error_regs.h:60:
+#define ERR_STAT_GT_VECTOR_REG(hw_err, x)		(hw_err == HARDWARE_ERROR_CORRECTABLE ? \
+							 ERR_STAT_GT_COR_VECTOR_REG(x) : \
+							 ERR_STAT_GT_FATAL_VECTOR_REG(x))

-:118: CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'hw_err' may be better as '(hw_err)' to avoid precedence issues
#118: FILE: drivers/gpu/drm/xe/xe_hw_error.c:23:
+#define PVC_ERROR_MASK_SET(hw_err, err_bit)	((hw_err == HARDWARE_ERROR_CORRECTABLE) ? \
+						 (PVC_COR_ERR_MASK & REG_BIT(err_bit)) : \
+						 (PVC_FAT_ERR_MASK & REG_BIT(err_bit)))

-:118: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'err_bit' - possible side-effects?
#118: FILE: drivers/gpu/drm/xe/xe_hw_error.c:23:
+#define PVC_ERROR_MASK_SET(hw_err, err_bit)	((hw_err == HARDWARE_ERROR_CORRECTABLE) ? \
+						 (PVC_COR_ERR_MASK & REG_BIT(err_bit)) : \
+						 (PVC_FAT_ERR_MASK & REG_BIT(err_bit)))

-:148: CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'hw_err' may be better as '(hw_err)' to avoid precedence issues
#148: FILE: drivers/gpu/drm/xe/xe_hw_error.c:54:
+#define PVC_GT_VECTOR_LEN(hw_err)	((hw_err == HARDWARE_ERROR_CORRECTABLE) ? \
+					 ERR_STAT_GT_VECTOR4 : ERR_STAT_GT_VECTOR_MAX)

total: 0 errors, 4 warnings, 5 checks, 315 lines checked
183d41090f20 drm/xe/xe_hw_error: Add support for PVC SoC errors
-:39: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'base' - possible side-effects?
#39: FILE: drivers/gpu/drm/xe/regs/xe_hw_error_regs.h:70:
+#define SOC_GLOBAL_ERR_STAT_REG(base, x)		XE_REG(_PICK_EVEN((x), \
+									  (base) + SOC_GCOERRSTS, \
+									  (base) + SOC_GNFERRSTS))

-:48: WARNING:LONG_LINE: line length of 102 exceeds 100 columns
#48: FILE: drivers/gpu/drm/xe/regs/xe_hw_error_regs.h:79:
+									  (master) + SOC_GSYSEVTCTL, \

-:53: WARNING:LONG_LINE: line length of 103 exceeds 100 columns
#53: FILE: drivers/gpu/drm/xe/regs/xe_hw_error_regs.h:84:
+#define SOC_LOCAL_ERR_STAT_REG(base, hw_err)		XE_REG(hw_err == HARDWARE_ERROR_CORRECTABLE ? \

-:53: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'base' - possible side-effects?
#53: FILE: drivers/gpu/drm/xe/regs/xe_hw_error_regs.h:84:
+#define SOC_LOCAL_ERR_STAT_REG(base, hw_err)		XE_REG(hw_err == HARDWARE_ERROR_CORRECTABLE ? \
+							       (base) + SOC_LERRCORSTS : \
+							       (base) + SOC_LERRUNCSTS)

-:53: CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'hw_err' may be better as '(hw_err)' to avoid precedence issues
#53: FILE: drivers/gpu/drm/xe/regs/xe_hw_error_regs.h:84:
+#define SOC_LOCAL_ERR_STAT_REG(base, hw_err)		XE_REG(hw_err == HARDWARE_ERROR_CORRECTABLE ? \
+							       (base) + SOC_LERRCORSTS : \
+							       (base) + SOC_LERRUNCSTS)

-:102: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations
#102: FILE: drivers/gpu/drm/xe/xe_hw_error.c:88:
+};
+static_assert(ARRAY_SIZE(pvc_master_global_err_reg) == XE_RAS_REG_SIZE);

-:126: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations
#126: FILE: drivers/gpu/drm/xe/xe_hw_error.c:112:
+};
+static_assert(ARRAY_SIZE(pvc_slave_global_err_reg) == XE_RAS_REG_SIZE);

-:137: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations
#137: FILE: drivers/gpu/drm/xe/xe_hw_error.c:123:
+};
+static_assert(ARRAY_SIZE(pvc_slave_local_fatal_err_reg) == XE_RAS_REG_SIZE);

-:158: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations
#158: FILE: drivers/gpu/drm/xe/xe_hw_error.c:144:
+};
+static_assert(ARRAY_SIZE(pvc_master_local_fatal_err_reg) == XE_RAS_REG_SIZE);

-:171: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations
#171: FILE: drivers/gpu/drm/xe/xe_hw_error.c:157:
+};
+static_assert(ARRAY_SIZE(pvc_master_local_nonfatal_err_reg) == XE_RAS_REG_SIZE);

-:173: CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'hw_err' may be better as '(hw_err)' to avoid precedence issues
#173: FILE: drivers/gpu/drm/xe/xe_hw_error.c:159:
+#define PVC_MASTER_LOCAL_REG_INFO(hw_err)	((hw_err == HARDWARE_ERROR_FATAL) ? \
+						 pvc_master_local_fatal_err_reg : \
+						 pvc_master_local_nonfatal_err_reg)

-:211: WARNING:LONG_LINE: line length of 103 exceeds 100 columns
#211: FILE: drivers/gpu/drm/xe/xe_hw_error.c:337:
+static void soc_slave_ieh_handler(struct xe_tile *tile, const enum hardware_error hw_err, u32 error_id)

-:281: WARNING:LONG_LINE: line length of 107 exceeds 100 columns
#281: FILE: drivers/gpu/drm/xe/xe_hw_error.c:407:
+			log_soc_error(tile, PVC_MASTER_LOCAL_REG_INFO(hw_err), severity, regbit, error_id);

total: 0 errors, 4 warnings, 9 checks, 279 lines checked



^ permalink raw reply	[flat|nested] 18+ messages in thread

* ✓ CI.KUnit: success for Introduce DRM_RAS using generic netlink for RAS (rev10)
  2026-03-04  7:44 [PATCH v10 0/5] Introduce DRM_RAS using generic netlink for RAS Riana Tauro
  2026-03-04  7:39 ` ✗ CI.checkpatch: warning for Introduce DRM_RAS using generic netlink for RAS (rev10) Patchwork
@ 2026-03-04  7:40 ` Patchwork
  2026-03-04  7:44 ` [PATCH v10 1/5] drm/ras: Introduce the DRM RAS infrastructure over generic netlink Riana Tauro
                   ` (12 subsequent siblings)
  14 siblings, 0 replies; 18+ messages in thread
From: Patchwork @ 2026-03-04  7:40 UTC (permalink / raw)
  To: Rodrigo Vivi; +Cc: intel-xe

== Series Details ==

Series: Introduce DRM_RAS using generic netlink for RAS (rev10)
URL   : https://patchwork.freedesktop.org/series/155188/
State : success

== Summary ==

+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig
[07:39:13] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[07:39:17] 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
[07:39:48] Starting KUnit Kernel (1/1)...
[07:39:48] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[07:39:48] ================== guc_buf (11 subtests) ===================
[07:39:48] [PASSED] test_smallest
[07:39:48] [PASSED] test_largest
[07:39:48] [PASSED] test_granular
[07:39:48] [PASSED] test_unique
[07:39:48] [PASSED] test_overlap
[07:39:48] [PASSED] test_reusable
[07:39:48] [PASSED] test_too_big
[07:39:48] [PASSED] test_flush
[07:39:48] [PASSED] test_lookup
[07:39:48] [PASSED] test_data
[07:39:48] [PASSED] test_class
[07:39:48] ===================== [PASSED] guc_buf =====================
[07:39:48] =================== guc_dbm (7 subtests) ===================
[07:39:48] [PASSED] test_empty
[07:39:48] [PASSED] test_default
[07:39:48] ======================== test_size  ========================
[07:39:48] [PASSED] 4
[07:39:48] [PASSED] 8
[07:39:48] [PASSED] 32
[07:39:48] [PASSED] 256
[07:39:48] ==================== [PASSED] test_size ====================
[07:39:48] ======================= test_reuse  ========================
[07:39:48] [PASSED] 4
[07:39:48] [PASSED] 8
[07:39:48] [PASSED] 32
[07:39:48] [PASSED] 256
[07:39:48] =================== [PASSED] test_reuse ====================
[07:39:48] =================== test_range_overlap  ====================
[07:39:48] [PASSED] 4
[07:39:48] [PASSED] 8
[07:39:48] [PASSED] 32
[07:39:48] [PASSED] 256
[07:39:48] =============== [PASSED] test_range_overlap ================
[07:39:48] =================== test_range_compact  ====================
[07:39:48] [PASSED] 4
[07:39:48] [PASSED] 8
[07:39:48] [PASSED] 32
[07:39:48] [PASSED] 256
[07:39:48] =============== [PASSED] test_range_compact ================
[07:39:48] ==================== test_range_spare  =====================
[07:39:48] [PASSED] 4
[07:39:48] [PASSED] 8
[07:39:48] [PASSED] 32
[07:39:48] [PASSED] 256
[07:39:48] ================ [PASSED] test_range_spare =================
[07:39:48] ===================== [PASSED] guc_dbm =====================
[07:39:48] =================== guc_idm (6 subtests) ===================
[07:39:48] [PASSED] bad_init
[07:39:48] [PASSED] no_init
[07:39:48] [PASSED] init_fini
[07:39:48] [PASSED] check_used
[07:39:48] [PASSED] check_quota
[07:39:48] [PASSED] check_all
[07:39:48] ===================== [PASSED] guc_idm =====================
[07:39:48] ================== no_relay (3 subtests) ===================
[07:39:48] [PASSED] xe_drops_guc2pf_if_not_ready
[07:39:48] [PASSED] xe_drops_guc2vf_if_not_ready
[07:39:48] [PASSED] xe_rejects_send_if_not_ready
[07:39:48] ==================== [PASSED] no_relay =====================
[07:39:48] ================== pf_relay (14 subtests) ==================
[07:39:48] [PASSED] pf_rejects_guc2pf_too_short
[07:39:48] [PASSED] pf_rejects_guc2pf_too_long
[07:39:48] [PASSED] pf_rejects_guc2pf_no_payload
[07:39:48] [PASSED] pf_fails_no_payload
[07:39:48] [PASSED] pf_fails_bad_origin
[07:39:48] [PASSED] pf_fails_bad_type
[07:39:48] [PASSED] pf_txn_reports_error
[07:39:48] [PASSED] pf_txn_sends_pf2guc
[07:39:48] [PASSED] pf_sends_pf2guc
[07:39:48] [SKIPPED] pf_loopback_nop
[07:39:48] [SKIPPED] pf_loopback_echo
[07:39:48] [SKIPPED] pf_loopback_fail
[07:39:48] [SKIPPED] pf_loopback_busy
[07:39:48] [SKIPPED] pf_loopback_retry
[07:39:48] ==================== [PASSED] pf_relay =====================
[07:39:48] ================== vf_relay (3 subtests) ===================
[07:39:48] [PASSED] vf_rejects_guc2vf_too_short
[07:39:48] [PASSED] vf_rejects_guc2vf_too_long
[07:39:48] [PASSED] vf_rejects_guc2vf_no_payload
[07:39:48] ==================== [PASSED] vf_relay =====================
[07:39:48] ================ pf_gt_config (9 subtests) =================
[07:39:48] [PASSED] fair_contexts_1vf
[07:39:48] [PASSED] fair_doorbells_1vf
[07:39:48] [PASSED] fair_ggtt_1vf
[07:39:48] ====================== fair_vram_1vf  ======================
[07:39:48] [PASSED] 3.50 GiB
[07:39:48] [PASSED] 11.5 GiB
[07:39:48] [PASSED] 15.5 GiB
[07:39:48] [PASSED] 31.5 GiB
[07:39:48] [PASSED] 63.5 GiB
[07:39:48] [PASSED] 1.91 GiB
[07:39:48] ================== [PASSED] fair_vram_1vf ==================
[07:39:48] ================ fair_vram_1vf_admin_only  =================
[07:39:48] [PASSED] 3.50 GiB
[07:39:48] [PASSED] 11.5 GiB
[07:39:48] [PASSED] 15.5 GiB
[07:39:48] [PASSED] 31.5 GiB
[07:39:48] [PASSED] 63.5 GiB
[07:39:48] [PASSED] 1.91 GiB
[07:39:48] ============ [PASSED] fair_vram_1vf_admin_only =============
[07:39:48] ====================== fair_contexts  ======================
[07:39:48] [PASSED] 1 VF
[07:39:48] [PASSED] 2 VFs
[07:39:48] [PASSED] 3 VFs
[07:39:48] [PASSED] 4 VFs
[07:39:48] [PASSED] 5 VFs
[07:39:48] [PASSED] 6 VFs
[07:39:48] [PASSED] 7 VFs
[07:39:48] [PASSED] 8 VFs
[07:39:48] [PASSED] 9 VFs
[07:39:48] [PASSED] 10 VFs
[07:39:48] [PASSED] 11 VFs
[07:39:48] [PASSED] 12 VFs
[07:39:48] [PASSED] 13 VFs
[07:39:48] [PASSED] 14 VFs
[07:39:48] [PASSED] 15 VFs
[07:39:48] [PASSED] 16 VFs
[07:39:48] [PASSED] 17 VFs
[07:39:48] [PASSED] 18 VFs
[07:39:48] [PASSED] 19 VFs
[07:39:48] [PASSED] 20 VFs
[07:39:48] [PASSED] 21 VFs
[07:39:48] [PASSED] 22 VFs
[07:39:48] [PASSED] 23 VFs
[07:39:48] [PASSED] 24 VFs
[07:39:48] [PASSED] 25 VFs
[07:39:48] [PASSED] 26 VFs
[07:39:48] [PASSED] 27 VFs
[07:39:48] [PASSED] 28 VFs
[07:39:48] [PASSED] 29 VFs
[07:39:48] [PASSED] 30 VFs
[07:39:48] [PASSED] 31 VFs
[07:39:48] [PASSED] 32 VFs
[07:39:48] [PASSED] 33 VFs
[07:39:48] [PASSED] 34 VFs
[07:39:48] [PASSED] 35 VFs
[07:39:48] [PASSED] 36 VFs
[07:39:48] [PASSED] 37 VFs
[07:39:48] [PASSED] 38 VFs
[07:39:48] [PASSED] 39 VFs
[07:39:48] [PASSED] 40 VFs
[07:39:48] [PASSED] 41 VFs
[07:39:48] [PASSED] 42 VFs
[07:39:48] [PASSED] 43 VFs
[07:39:48] [PASSED] 44 VFs
[07:39:48] [PASSED] 45 VFs
[07:39:48] [PASSED] 46 VFs
[07:39:48] [PASSED] 47 VFs
[07:39:48] [PASSED] 48 VFs
[07:39:48] [PASSED] 49 VFs
[07:39:48] [PASSED] 50 VFs
[07:39:48] [PASSED] 51 VFs
[07:39:48] [PASSED] 52 VFs
[07:39:48] [PASSED] 53 VFs
[07:39:48] [PASSED] 54 VFs
[07:39:48] [PASSED] 55 VFs
[07:39:48] [PASSED] 56 VFs
[07:39:48] [PASSED] 57 VFs
[07:39:48] [PASSED] 58 VFs
[07:39:48] [PASSED] 59 VFs
[07:39:48] [PASSED] 60 VFs
[07:39:48] [PASSED] 61 VFs
[07:39:48] [PASSED] 62 VFs
[07:39:48] [PASSED] 63 VFs
[07:39:48] ================== [PASSED] fair_contexts ==================
[07:39:48] ===================== fair_doorbells  ======================
[07:39:48] [PASSED] 1 VF
[07:39:48] [PASSED] 2 VFs
[07:39:48] [PASSED] 3 VFs
[07:39:48] [PASSED] 4 VFs
[07:39:48] [PASSED] 5 VFs
[07:39:48] [PASSED] 6 VFs
[07:39:48] [PASSED] 7 VFs
[07:39:48] [PASSED] 8 VFs
[07:39:48] [PASSED] 9 VFs
[07:39:48] [PASSED] 10 VFs
[07:39:48] [PASSED] 11 VFs
[07:39:48] [PASSED] 12 VFs
[07:39:48] [PASSED] 13 VFs
[07:39:48] [PASSED] 14 VFs
[07:39:48] [PASSED] 15 VFs
[07:39:48] [PASSED] 16 VFs
[07:39:48] [PASSED] 17 VFs
[07:39:48] [PASSED] 18 VFs
[07:39:48] [PASSED] 19 VFs
[07:39:48] [PASSED] 20 VFs
[07:39:48] [PASSED] 21 VFs
[07:39:48] [PASSED] 22 VFs
[07:39:48] [PASSED] 23 VFs
[07:39:48] [PASSED] 24 VFs
[07:39:48] [PASSED] 25 VFs
[07:39:48] [PASSED] 26 VFs
[07:39:48] [PASSED] 27 VFs
[07:39:48] [PASSED] 28 VFs
[07:39:48] [PASSED] 29 VFs
[07:39:48] [PASSED] 30 VFs
[07:39:48] [PASSED] 31 VFs
[07:39:48] [PASSED] 32 VFs
[07:39:48] [PASSED] 33 VFs
[07:39:48] [PASSED] 34 VFs
[07:39:48] [PASSED] 35 VFs
[07:39:48] [PASSED] 36 VFs
[07:39:48] [PASSED] 37 VFs
[07:39:48] [PASSED] 38 VFs
[07:39:48] [PASSED] 39 VFs
[07:39:48] [PASSED] 40 VFs
[07:39:48] [PASSED] 41 VFs
[07:39:48] [PASSED] 42 VFs
[07:39:48] [PASSED] 43 VFs
[07:39:48] [PASSED] 44 VFs
[07:39:48] [PASSED] 45 VFs
[07:39:48] [PASSED] 46 VFs
[07:39:48] [PASSED] 47 VFs
[07:39:48] [PASSED] 48 VFs
[07:39:48] [PASSED] 49 VFs
[07:39:48] [PASSED] 50 VFs
[07:39:48] [PASSED] 51 VFs
[07:39:48] [PASSED] 52 VFs
[07:39:48] [PASSED] 53 VFs
[07:39:48] [PASSED] 54 VFs
[07:39:48] [PASSED] 55 VFs
[07:39:48] [PASSED] 56 VFs
[07:39:48] [PASSED] 57 VFs
[07:39:48] [PASSED] 58 VFs
[07:39:48] [PASSED] 59 VFs
[07:39:48] [PASSED] 60 VFs
[07:39:48] [PASSED] 61 VFs
[07:39:48] [PASSED] 62 VFs
[07:39:48] [PASSED] 63 VFs
[07:39:48] ================= [PASSED] fair_doorbells ==================
[07:39:48] ======================== fair_ggtt  ========================
[07:39:48] [PASSED] 1 VF
[07:39:48] [PASSED] 2 VFs
[07:39:48] [PASSED] 3 VFs
[07:39:48] [PASSED] 4 VFs
[07:39:48] [PASSED] 5 VFs
[07:39:48] [PASSED] 6 VFs
[07:39:48] [PASSED] 7 VFs
[07:39:48] [PASSED] 8 VFs
[07:39:48] [PASSED] 9 VFs
[07:39:48] [PASSED] 10 VFs
[07:39:48] [PASSED] 11 VFs
[07:39:48] [PASSED] 12 VFs
[07:39:48] [PASSED] 13 VFs
[07:39:48] [PASSED] 14 VFs
[07:39:48] [PASSED] 15 VFs
[07:39:48] [PASSED] 16 VFs
[07:39:48] [PASSED] 17 VFs
[07:39:48] [PASSED] 18 VFs
[07:39:48] [PASSED] 19 VFs
[07:39:48] [PASSED] 20 VFs
[07:39:48] [PASSED] 21 VFs
[07:39:48] [PASSED] 22 VFs
[07:39:48] [PASSED] 23 VFs
[07:39:48] [PASSED] 24 VFs
[07:39:48] [PASSED] 25 VFs
[07:39:48] [PASSED] 26 VFs
[07:39:48] [PASSED] 27 VFs
[07:39:48] [PASSED] 28 VFs
[07:39:48] [PASSED] 29 VFs
[07:39:48] [PASSED] 30 VFs
[07:39:48] [PASSED] 31 VFs
[07:39:48] [PASSED] 32 VFs
[07:39:48] [PASSED] 33 VFs
[07:39:48] [PASSED] 34 VFs
[07:39:48] [PASSED] 35 VFs
[07:39:48] [PASSED] 36 VFs
[07:39:48] [PASSED] 37 VFs
[07:39:48] [PASSED] 38 VFs
[07:39:48] [PASSED] 39 VFs
[07:39:48] [PASSED] 40 VFs
[07:39:48] [PASSED] 41 VFs
[07:39:48] [PASSED] 42 VFs
[07:39:48] [PASSED] 43 VFs
[07:39:48] [PASSED] 44 VFs
[07:39:48] [PASSED] 45 VFs
[07:39:48] [PASSED] 46 VFs
[07:39:48] [PASSED] 47 VFs
[07:39:48] [PASSED] 48 VFs
[07:39:48] [PASSED] 49 VFs
[07:39:48] [PASSED] 50 VFs
[07:39:48] [PASSED] 51 VFs
[07:39:48] [PASSED] 52 VFs
[07:39:48] [PASSED] 53 VFs
[07:39:48] [PASSED] 54 VFs
[07:39:48] [PASSED] 55 VFs
[07:39:48] [PASSED] 56 VFs
[07:39:48] [PASSED] 57 VFs
[07:39:48] [PASSED] 58 VFs
[07:39:48] [PASSED] 59 VFs
[07:39:48] [PASSED] 60 VFs
[07:39:48] [PASSED] 61 VFs
[07:39:48] [PASSED] 62 VFs
[07:39:48] [PASSED] 63 VFs
[07:39:48] ==================== [PASSED] fair_ggtt ====================
[07:39:48] ======================== fair_vram  ========================
[07:39:48] [PASSED] 1 VF
[07:39:48] [PASSED] 2 VFs
[07:39:48] [PASSED] 3 VFs
[07:39:48] [PASSED] 4 VFs
[07:39:48] [PASSED] 5 VFs
[07:39:48] [PASSED] 6 VFs
[07:39:48] [PASSED] 7 VFs
[07:39:48] [PASSED] 8 VFs
[07:39:48] [PASSED] 9 VFs
[07:39:48] [PASSED] 10 VFs
[07:39:48] [PASSED] 11 VFs
[07:39:48] [PASSED] 12 VFs
[07:39:48] [PASSED] 13 VFs
[07:39:48] [PASSED] 14 VFs
[07:39:48] [PASSED] 15 VFs
[07:39:48] [PASSED] 16 VFs
[07:39:48] [PASSED] 17 VFs
[07:39:48] [PASSED] 18 VFs
[07:39:48] [PASSED] 19 VFs
[07:39:48] [PASSED] 20 VFs
[07:39:48] [PASSED] 21 VFs
[07:39:48] [PASSED] 22 VFs
[07:39:48] [PASSED] 23 VFs
[07:39:48] [PASSED] 24 VFs
[07:39:48] [PASSED] 25 VFs
[07:39:48] [PASSED] 26 VFs
[07:39:48] [PASSED] 27 VFs
[07:39:48] [PASSED] 28 VFs
[07:39:48] [PASSED] 29 VFs
[07:39:48] [PASSED] 30 VFs
[07:39:48] [PASSED] 31 VFs
[07:39:48] [PASSED] 32 VFs
[07:39:48] [PASSED] 33 VFs
[07:39:48] [PASSED] 34 VFs
[07:39:48] [PASSED] 35 VFs
[07:39:48] [PASSED] 36 VFs
[07:39:48] [PASSED] 37 VFs
[07:39:48] [PASSED] 38 VFs
[07:39:48] [PASSED] 39 VFs
[07:39:48] [PASSED] 40 VFs
[07:39:48] [PASSED] 41 VFs
[07:39:48] [PASSED] 42 VFs
[07:39:48] [PASSED] 43 VFs
[07:39:48] [PASSED] 44 VFs
[07:39:48] [PASSED] 45 VFs
[07:39:48] [PASSED] 46 VFs
[07:39:48] [PASSED] 47 VFs
[07:39:48] [PASSED] 48 VFs
[07:39:48] [PASSED] 49 VFs
[07:39:48] [PASSED] 50 VFs
[07:39:48] [PASSED] 51 VFs
[07:39:48] [PASSED] 52 VFs
[07:39:48] [PASSED] 53 VFs
[07:39:48] [PASSED] 54 VFs
[07:39:48] [PASSED] 55 VFs
[07:39:48] [PASSED] 56 VFs
[07:39:48] [PASSED] 57 VFs
[07:39:48] [PASSED] 58 VFs
[07:39:48] [PASSED] 59 VFs
[07:39:48] [PASSED] 60 VFs
[07:39:48] [PASSED] 61 VFs
[07:39:48] [PASSED] 62 VFs
[07:39:48] [PASSED] 63 VFs
[07:39:48] ==================== [PASSED] fair_vram ====================
[07:39:48] ================== [PASSED] pf_gt_config ===================
[07:39:48] ===================== lmtt (1 subtest) =====================
[07:39:48] ======================== test_ops  =========================
[07:39:48] [PASSED] 2-level
[07:39:48] [PASSED] multi-level
[07:39:48] ==================== [PASSED] test_ops =====================
[07:39:48] ====================== [PASSED] lmtt =======================
[07:39:48] ================= pf_service (11 subtests) =================
[07:39:48] [PASSED] pf_negotiate_any
[07:39:48] [PASSED] pf_negotiate_base_match
[07:39:48] [PASSED] pf_negotiate_base_newer
[07:39:48] [PASSED] pf_negotiate_base_next
[07:39:48] [SKIPPED] pf_negotiate_base_older
[07:39:48] [PASSED] pf_negotiate_base_prev
[07:39:48] [PASSED] pf_negotiate_latest_match
[07:39:48] [PASSED] pf_negotiate_latest_newer
[07:39:48] [PASSED] pf_negotiate_latest_next
[07:39:48] [SKIPPED] pf_negotiate_latest_older
[07:39:48] [SKIPPED] pf_negotiate_latest_prev
[07:39:48] =================== [PASSED] pf_service ====================
[07:39:48] ================= xe_guc_g2g (2 subtests) ==================
[07:39:48] ============== xe_live_guc_g2g_kunit_default  ==============
[07:39:48] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ==========
[07:39:48] ============== xe_live_guc_g2g_kunit_allmem  ===============
[07:39:48] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ==========
[07:39:48] =================== [SKIPPED] xe_guc_g2g ===================
[07:39:48] =================== xe_mocs (2 subtests) ===================
[07:39:48] ================ xe_live_mocs_kernel_kunit  ================
[07:39:48] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============
[07:39:48] ================ xe_live_mocs_reset_kunit  =================
[07:39:48] ============ [SKIPPED] xe_live_mocs_reset_kunit ============
[07:39:48] ==================== [SKIPPED] xe_mocs =====================
[07:39:48] ================= xe_migrate (2 subtests) ==================
[07:39:48] ================= xe_migrate_sanity_kunit  =================
[07:39:48] ============ [SKIPPED] xe_migrate_sanity_kunit =============
[07:39:48] ================== xe_validate_ccs_kunit  ==================
[07:39:48] ============= [SKIPPED] xe_validate_ccs_kunit ==============
[07:39:48] =================== [SKIPPED] xe_migrate ===================
[07:39:48] ================== xe_dma_buf (1 subtest) ==================
[07:39:48] ==================== xe_dma_buf_kunit  =====================
[07:39:48] ================ [SKIPPED] xe_dma_buf_kunit ================
[07:39:48] =================== [SKIPPED] xe_dma_buf ===================
[07:39:48] ================= xe_bo_shrink (1 subtest) =================
[07:39:48] =================== xe_bo_shrink_kunit  ====================
[07:39:48] =============== [SKIPPED] xe_bo_shrink_kunit ===============
[07:39:48] ================== [SKIPPED] xe_bo_shrink ==================
[07:39:48] ==================== xe_bo (2 subtests) ====================
[07:39:48] ================== xe_ccs_migrate_kunit  ===================
[07:39:48] ============== [SKIPPED] xe_ccs_migrate_kunit ==============
[07:39:48] ==================== xe_bo_evict_kunit  ====================
[07:39:48] =============== [SKIPPED] xe_bo_evict_kunit ================
[07:39:48] ===================== [SKIPPED] xe_bo ======================
[07:39:48] ==================== args (13 subtests) ====================
[07:39:48] [PASSED] count_args_test
[07:39:48] [PASSED] call_args_example
[07:39:48] [PASSED] call_args_test
[07:39:48] [PASSED] drop_first_arg_example
[07:39:48] [PASSED] drop_first_arg_test
[07:39:48] [PASSED] first_arg_example
[07:39:48] [PASSED] first_arg_test
[07:39:48] [PASSED] last_arg_example
[07:39:48] [PASSED] last_arg_test
[07:39:48] [PASSED] pick_arg_example
[07:39:48] [PASSED] if_args_example
[07:39:48] [PASSED] if_args_test
[07:39:48] [PASSED] sep_comma_example
[07:39:48] ====================== [PASSED] args =======================
[07:39:48] =================== xe_pci (3 subtests) ====================
[07:39:48] ==================== check_graphics_ip  ====================
[07:39:48] [PASSED] 12.00 Xe_LP
[07:39:48] [PASSED] 12.10 Xe_LP+
[07:39:48] [PASSED] 12.55 Xe_HPG
[07:39:48] [PASSED] 12.60 Xe_HPC
[07:39:48] [PASSED] 12.70 Xe_LPG
[07:39:48] [PASSED] 12.71 Xe_LPG
[07:39:48] [PASSED] 12.74 Xe_LPG+
[07:39:48] [PASSED] 20.01 Xe2_HPG
[07:39:48] [PASSED] 20.02 Xe2_HPG
[07:39:48] [PASSED] 20.04 Xe2_LPG
[07:39:48] [PASSED] 30.00 Xe3_LPG
[07:39:48] [PASSED] 30.01 Xe3_LPG
[07:39:48] [PASSED] 30.03 Xe3_LPG
[07:39:48] [PASSED] 30.04 Xe3_LPG
[07:39:48] [PASSED] 30.05 Xe3_LPG
[07:39:48] [PASSED] 35.10 Xe3p_LPG
[07:39:48] [PASSED] 35.11 Xe3p_XPC
[07:39:48] ================ [PASSED] check_graphics_ip ================
[07:39:48] ===================== check_media_ip  ======================
[07:39:48] [PASSED] 12.00 Xe_M
[07:39:48] [PASSED] 12.55 Xe_HPM
[07:39:48] [PASSED] 13.00 Xe_LPM+
[07:39:48] [PASSED] 13.01 Xe2_HPM
[07:39:48] [PASSED] 20.00 Xe2_LPM
[07:39:48] [PASSED] 30.00 Xe3_LPM
[07:39:48] [PASSED] 30.02 Xe3_LPM
[07:39:48] [PASSED] 35.00 Xe3p_LPM
[07:39:48] [PASSED] 35.03 Xe3p_HPM
[07:39:48] ================= [PASSED] check_media_ip ==================
[07:39:48] =================== check_platform_desc  ===================
[07:39:48] [PASSED] 0x9A60 (TIGERLAKE)
[07:39:48] [PASSED] 0x9A68 (TIGERLAKE)
[07:39:48] [PASSED] 0x9A70 (TIGERLAKE)
[07:39:48] [PASSED] 0x9A40 (TIGERLAKE)
[07:39:48] [PASSED] 0x9A49 (TIGERLAKE)
[07:39:48] [PASSED] 0x9A59 (TIGERLAKE)
[07:39:48] [PASSED] 0x9A78 (TIGERLAKE)
[07:39:48] [PASSED] 0x9AC0 (TIGERLAKE)
[07:39:48] [PASSED] 0x9AC9 (TIGERLAKE)
[07:39:48] [PASSED] 0x9AD9 (TIGERLAKE)
[07:39:48] [PASSED] 0x9AF8 (TIGERLAKE)
[07:39:48] [PASSED] 0x4C80 (ROCKETLAKE)
[07:39:48] [PASSED] 0x4C8A (ROCKETLAKE)
[07:39:48] [PASSED] 0x4C8B (ROCKETLAKE)
[07:39:48] [PASSED] 0x4C8C (ROCKETLAKE)
[07:39:48] [PASSED] 0x4C90 (ROCKETLAKE)
[07:39:48] [PASSED] 0x4C9A (ROCKETLAKE)
[07:39:48] [PASSED] 0x4680 (ALDERLAKE_S)
[07:39:48] [PASSED] 0x4682 (ALDERLAKE_S)
[07:39:48] [PASSED] 0x4688 (ALDERLAKE_S)
[07:39:48] [PASSED] 0x468A (ALDERLAKE_S)
[07:39:48] [PASSED] 0x468B (ALDERLAKE_S)
[07:39:48] [PASSED] 0x4690 (ALDERLAKE_S)
[07:39:48] [PASSED] 0x4692 (ALDERLAKE_S)
[07:39:48] [PASSED] 0x4693 (ALDERLAKE_S)
[07:39:48] [PASSED] 0x46A0 (ALDERLAKE_P)
[07:39:48] [PASSED] 0x46A1 (ALDERLAKE_P)
[07:39:48] [PASSED] 0x46A2 (ALDERLAKE_P)
[07:39:48] [PASSED] 0x46A3 (ALDERLAKE_P)
[07:39:48] [PASSED] 0x46A6 (ALDERLAKE_P)
[07:39:48] [PASSED] 0x46A8 (ALDERLAKE_P)
[07:39:48] [PASSED] 0x46AA (ALDERLAKE_P)
[07:39:48] [PASSED] 0x462A (ALDERLAKE_P)
[07:39:48] [PASSED] 0x4626 (ALDERLAKE_P)
[07:39:48] [PASSED] 0x4628 (ALDERLAKE_P)
[07:39:48] [PASSED] 0x46B0 (ALDERLAKE_P)
[07:39:48] [PASSED] 0x46B1 (ALDERLAKE_P)
[07:39:48] [PASSED] 0x46B2 (ALDERLAKE_P)
[07:39:48] [PASSED] 0x46B3 (ALDERLAKE_P)
[07:39:48] [PASSED] 0x46C0 (ALDERLAKE_P)
[07:39:48] [PASSED] 0x46C1 (ALDERLAKE_P)
[07:39:48] [PASSED] 0x46C2 (ALDERLAKE_P)
[07:39:48] [PASSED] 0x46C3 (ALDERLAKE_P)
[07:39:48] [PASSED] 0x46D0 (ALDERLAKE_N)
[07:39:48] [PASSED] 0x46D1 (ALDERLAKE_N)
[07:39:48] [PASSED] 0x46D2 (ALDERLAKE_N)
[07:39:48] [PASSED] 0x46D3 (ALDERLAKE_N)
[07:39:48] [PASSED] 0x46D4 (ALDERLAKE_N)
[07:39:48] [PASSED] 0xA721 (ALDERLAKE_P)
[07:39:48] [PASSED] 0xA7A1 (ALDERLAKE_P)
[07:39:48] [PASSED] 0xA7A9 (ALDERLAKE_P)
[07:39:48] [PASSED] 0xA7AC (ALDERLAKE_P)
[07:39:48] [PASSED] 0xA7AD (ALDERLAKE_P)
[07:39:48] [PASSED] 0xA720 (ALDERLAKE_P)
[07:39:48] [PASSED] 0xA7A0 (ALDERLAKE_P)
[07:39:48] [PASSED] 0xA7A8 (ALDERLAKE_P)
[07:39:48] [PASSED] 0xA7AA (ALDERLAKE_P)
[07:39:48] [PASSED] 0xA7AB (ALDERLAKE_P)
[07:39:48] [PASSED] 0xA780 (ALDERLAKE_S)
[07:39:48] [PASSED] 0xA781 (ALDERLAKE_S)
[07:39:48] [PASSED] 0xA782 (ALDERLAKE_S)
[07:39:48] [PASSED] 0xA783 (ALDERLAKE_S)
[07:39:48] [PASSED] 0xA788 (ALDERLAKE_S)
[07:39:48] [PASSED] 0xA789 (ALDERLAKE_S)
[07:39:48] [PASSED] 0xA78A (ALDERLAKE_S)
[07:39:48] [PASSED] 0xA78B (ALDERLAKE_S)
[07:39:48] [PASSED] 0x4905 (DG1)
[07:39:48] [PASSED] 0x4906 (DG1)
[07:39:48] [PASSED] 0x4907 (DG1)
[07:39:48] [PASSED] 0x4908 (DG1)
[07:39:48] [PASSED] 0x4909 (DG1)
[07:39:48] [PASSED] 0x56C0 (DG2)
[07:39:48] [PASSED] 0x56C2 (DG2)
[07:39:48] [PASSED] 0x56C1 (DG2)
[07:39:48] [PASSED] 0x7D51 (METEORLAKE)
[07:39:48] [PASSED] 0x7DD1 (METEORLAKE)
[07:39:48] [PASSED] 0x7D41 (METEORLAKE)
[07:39:48] [PASSED] 0x7D67 (METEORLAKE)
[07:39:48] [PASSED] 0xB640 (METEORLAKE)
[07:39:48] [PASSED] 0x56A0 (DG2)
[07:39:48] [PASSED] 0x56A1 (DG2)
[07:39:48] [PASSED] 0x56A2 (DG2)
[07:39:48] [PASSED] 0x56BE (DG2)
[07:39:48] [PASSED] 0x56BF (DG2)
[07:39:48] [PASSED] 0x5690 (DG2)
[07:39:48] [PASSED] 0x5691 (DG2)
[07:39:48] [PASSED] 0x5692 (DG2)
[07:39:48] [PASSED] 0x56A5 (DG2)
[07:39:48] [PASSED] 0x56A6 (DG2)
[07:39:48] [PASSED] 0x56B0 (DG2)
[07:39:48] [PASSED] 0x56B1 (DG2)
[07:39:48] [PASSED] 0x56BA (DG2)
[07:39:48] [PASSED] 0x56BB (DG2)
[07:39:48] [PASSED] 0x56BC (DG2)
[07:39:48] [PASSED] 0x56BD (DG2)
[07:39:48] [PASSED] 0x5693 (DG2)
[07:39:48] [PASSED] 0x5694 (DG2)
[07:39:48] [PASSED] 0x5695 (DG2)
[07:39:48] [PASSED] 0x56A3 (DG2)
[07:39:48] [PASSED] 0x56A4 (DG2)
[07:39:48] [PASSED] 0x56B2 (DG2)
[07:39:48] [PASSED] 0x56B3 (DG2)
[07:39:48] [PASSED] 0x5696 (DG2)
[07:39:48] [PASSED] 0x5697 (DG2)
[07:39:48] [PASSED] 0xB69 (PVC)
[07:39:48] [PASSED] 0xB6E (PVC)
[07:39:48] [PASSED] 0xBD4 (PVC)
[07:39:48] [PASSED] 0xBD5 (PVC)
[07:39:48] [PASSED] 0xBD6 (PVC)
[07:39:48] [PASSED] 0xBD7 (PVC)
[07:39:48] [PASSED] 0xBD8 (PVC)
[07:39:48] [PASSED] 0xBD9 (PVC)
[07:39:48] [PASSED] 0xBDA (PVC)
[07:39:48] [PASSED] 0xBDB (PVC)
[07:39:48] [PASSED] 0xBE0 (PVC)
[07:39:48] [PASSED] 0xBE1 (PVC)
[07:39:48] [PASSED] 0xBE5 (PVC)
[07:39:48] [PASSED] 0x7D40 (METEORLAKE)
[07:39:48] [PASSED] 0x7D45 (METEORLAKE)
[07:39:48] [PASSED] 0x7D55 (METEORLAKE)
[07:39:48] [PASSED] 0x7D60 (METEORLAKE)
[07:39:48] [PASSED] 0x7DD5 (METEORLAKE)
[07:39:48] [PASSED] 0x6420 (LUNARLAKE)
[07:39:48] [PASSED] 0x64A0 (LUNARLAKE)
[07:39:48] [PASSED] 0x64B0 (LUNARLAKE)
[07:39:48] [PASSED] 0xE202 (BATTLEMAGE)
[07:39:48] [PASSED] 0xE209 (BATTLEMAGE)
[07:39:48] [PASSED] 0xE20B (BATTLEMAGE)
[07:39:48] [PASSED] 0xE20C (BATTLEMAGE)
[07:39:48] [PASSED] 0xE20D (BATTLEMAGE)
[07:39:48] [PASSED] 0xE210 (BATTLEMAGE)
[07:39:48] [PASSED] 0xE211 (BATTLEMAGE)
[07:39:48] [PASSED] 0xE212 (BATTLEMAGE)
[07:39:48] [PASSED] 0xE216 (BATTLEMAGE)
[07:39:48] [PASSED] 0xE220 (BATTLEMAGE)
[07:39:48] [PASSED] 0xE221 (BATTLEMAGE)
[07:39:48] [PASSED] 0xE222 (BATTLEMAGE)
[07:39:48] [PASSED] 0xE223 (BATTLEMAGE)
[07:39:48] [PASSED] 0xB080 (PANTHERLAKE)
[07:39:48] [PASSED] 0xB081 (PANTHERLAKE)
[07:39:48] [PASSED] 0xB082 (PANTHERLAKE)
[07:39:48] [PASSED] 0xB083 (PANTHERLAKE)
[07:39:48] [PASSED] 0xB084 (PANTHERLAKE)
[07:39:48] [PASSED] 0xB085 (PANTHERLAKE)
[07:39:48] [PASSED] 0xB086 (PANTHERLAKE)
[07:39:48] [PASSED] 0xB087 (PANTHERLAKE)
[07:39:48] [PASSED] 0xB08F (PANTHERLAKE)
[07:39:48] [PASSED] 0xB090 (PANTHERLAKE)
[07:39:48] [PASSED] 0xB0A0 (PANTHERLAKE)
[07:39:48] [PASSED] 0xB0B0 (PANTHERLAKE)
[07:39:48] [PASSED] 0xFD80 (PANTHERLAKE)
[07:39:48] [PASSED] 0xFD81 (PANTHERLAKE)
[07:39:48] [PASSED] 0xD740 (NOVALAKE_S)
[07:39:48] [PASSED] 0xD741 (NOVALAKE_S)
[07:39:48] [PASSED] 0xD742 (NOVALAKE_S)
[07:39:48] [PASSED] 0xD743 (NOVALAKE_S)
[07:39:48] [PASSED] 0xD744 (NOVALAKE_S)
[07:39:48] [PASSED] 0xD745 (NOVALAKE_S)
[07:39:48] [PASSED] 0x674C (CRESCENTISLAND)
[07:39:48] [PASSED] 0xD750 (NOVALAKE_P)
[07:39:48] [PASSED] 0xD751 (NOVALAKE_P)
[07:39:48] [PASSED] 0xD752 (NOVALAKE_P)
[07:39:48] [PASSED] 0xD753 (NOVALAKE_P)
[07:39:48] [PASSED] 0xD754 (NOVALAKE_P)
[07:39:48] [PASSED] 0xD755 (NOVALAKE_P)
[07:39:48] [PASSED] 0xD756 (NOVALAKE_P)
[07:39:48] [PASSED] 0xD757 (NOVALAKE_P)
[07:39:48] [PASSED] 0xD75F (NOVALAKE_P)
[07:39:48] =============== [PASSED] check_platform_desc ===============
[07:39:48] ===================== [PASSED] xe_pci ======================
[07:39:48] =================== xe_rtp (2 subtests) ====================
[07:39:48] =============== xe_rtp_process_to_sr_tests  ================
[07:39:48] [PASSED] coalesce-same-reg
[07:39:48] [PASSED] no-match-no-add
[07:39:48] [PASSED] match-or
[07:39:48] [PASSED] match-or-xfail
[07:39:48] [PASSED] no-match-no-add-multiple-rules
[07:39:48] [PASSED] two-regs-two-entries
[07:39:48] [PASSED] clr-one-set-other
[07:39:48] [PASSED] set-field
[07:39:48] [PASSED] conflict-duplicate
stty: 'standard input': Inappropriate ioctl for device
[07:39:48] [PASSED] conflict-not-disjoint
[07:39:48] [PASSED] conflict-reg-type
[07:39:48] =========== [PASSED] xe_rtp_process_to_sr_tests ============
[07:39:48] ================== xe_rtp_process_tests  ===================
[07:39:48] [PASSED] active1
[07:39:48] [PASSED] active2
[07:39:48] [PASSED] active-inactive
[07:39:48] [PASSED] inactive-active
[07:39:48] [PASSED] inactive-1st_or_active-inactive
[07:39:48] [PASSED] inactive-2nd_or_active-inactive
[07:39:48] [PASSED] inactive-last_or_active-inactive
[07:39:48] [PASSED] inactive-no_or_active-inactive
[07:39:48] ============== [PASSED] xe_rtp_process_tests ===============
[07:39:48] ===================== [PASSED] xe_rtp ======================
[07:39:48] ==================== xe_wa (1 subtest) =====================
[07:39:48] ======================== xe_wa_gt  =========================
[07:39:48] [PASSED] TIGERLAKE B0
[07:39:48] [PASSED] DG1 A0
[07:39:48] [PASSED] DG1 B0
[07:39:48] [PASSED] ALDERLAKE_S A0
[07:39:48] [PASSED] ALDERLAKE_S B0
[07:39:48] [PASSED] ALDERLAKE_S C0
[07:39:48] [PASSED] ALDERLAKE_S D0
[07:39:48] [PASSED] ALDERLAKE_P A0
[07:39:48] [PASSED] ALDERLAKE_P B0
[07:39:48] [PASSED] ALDERLAKE_P C0
[07:39:48] [PASSED] ALDERLAKE_S RPLS D0
[07:39:48] [PASSED] ALDERLAKE_P RPLU E0
[07:39:48] [PASSED] DG2 G10 C0
[07:39:48] [PASSED] DG2 G11 B1
[07:39:48] [PASSED] DG2 G12 A1
[07:39:48] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0
[07:39:48] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0
[07:39:48] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0
[07:39:48] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0
[07:39:48] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0
[07:39:48] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1
[07:39:48] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0
[07:39:48] ==================== [PASSED] xe_wa_gt =====================
[07:39:48] ====================== [PASSED] xe_wa ======================
[07:39:48] ============================================================
[07:39:48] Testing complete. Ran 597 tests: passed: 579, skipped: 18
[07:39:48] Elapsed time: 35.365s total, 4.305s configuring, 30.442s building, 0.593s running

+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig
[07:39:49] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[07:39:50] 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
[07:40:14] Starting KUnit Kernel (1/1)...
[07:40:14] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[07:40:14] ============ drm_test_pick_cmdline (2 subtests) ============
[07:40:14] [PASSED] drm_test_pick_cmdline_res_1920_1080_60
[07:40:14] =============== drm_test_pick_cmdline_named  ===============
[07:40:14] [PASSED] NTSC
[07:40:14] [PASSED] NTSC-J
[07:40:14] [PASSED] PAL
[07:40:14] [PASSED] PAL-M
[07:40:14] =========== [PASSED] drm_test_pick_cmdline_named ===========
[07:40:14] ============== [PASSED] drm_test_pick_cmdline ==============
[07:40:14] == drm_test_atomic_get_connector_for_encoder (1 subtest) ===
[07:40:14] [PASSED] drm_test_drm_atomic_get_connector_for_encoder
[07:40:14] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ====
[07:40:14] =========== drm_validate_clone_mode (2 subtests) ===========
[07:40:14] ============== drm_test_check_in_clone_mode  ===============
[07:40:14] [PASSED] in_clone_mode
[07:40:14] [PASSED] not_in_clone_mode
[07:40:14] ========== [PASSED] drm_test_check_in_clone_mode ===========
[07:40:14] =============== drm_test_check_valid_clones  ===============
[07:40:14] [PASSED] not_in_clone_mode
[07:40:14] [PASSED] valid_clone
[07:40:14] [PASSED] invalid_clone
[07:40:14] =========== [PASSED] drm_test_check_valid_clones ===========
[07:40:14] ============= [PASSED] drm_validate_clone_mode =============
[07:40:14] ============= drm_validate_modeset (1 subtest) =============
[07:40:14] [PASSED] drm_test_check_connector_changed_modeset
[07:40:14] ============== [PASSED] drm_validate_modeset ===============
[07:40:14] ====== drm_test_bridge_get_current_state (2 subtests) ======
[07:40:14] [PASSED] drm_test_drm_bridge_get_current_state_atomic
[07:40:14] [PASSED] drm_test_drm_bridge_get_current_state_legacy
[07:40:14] ======== [PASSED] drm_test_bridge_get_current_state ========
[07:40:14] ====== drm_test_bridge_helper_reset_crtc (3 subtests) ======
[07:40:14] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic
[07:40:14] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled
[07:40:14] [PASSED] drm_test_drm_bridge_helper_reset_crtc_legacy
[07:40:14] ======== [PASSED] drm_test_bridge_helper_reset_crtc ========
[07:40:14] ============== drm_bridge_alloc (2 subtests) ===============
[07:40:14] [PASSED] drm_test_drm_bridge_alloc_basic
[07:40:14] [PASSED] drm_test_drm_bridge_alloc_get_put
[07:40:14] ================ [PASSED] drm_bridge_alloc =================
[07:40:14] ============= drm_cmdline_parser (40 subtests) =============
[07:40:14] [PASSED] drm_test_cmdline_force_d_only
[07:40:14] [PASSED] drm_test_cmdline_force_D_only_dvi
[07:40:14] [PASSED] drm_test_cmdline_force_D_only_hdmi
[07:40:14] [PASSED] drm_test_cmdline_force_D_only_not_digital
[07:40:14] [PASSED] drm_test_cmdline_force_e_only
[07:40:14] [PASSED] drm_test_cmdline_res
[07:40:14] [PASSED] drm_test_cmdline_res_vesa
[07:40:14] [PASSED] drm_test_cmdline_res_vesa_rblank
[07:40:14] [PASSED] drm_test_cmdline_res_rblank
[07:40:14] [PASSED] drm_test_cmdline_res_bpp
[07:40:14] [PASSED] drm_test_cmdline_res_refresh
[07:40:14] [PASSED] drm_test_cmdline_res_bpp_refresh
[07:40:14] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced
[07:40:14] [PASSED] drm_test_cmdline_res_bpp_refresh_margins
[07:40:14] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off
[07:40:14] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on
[07:40:14] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog
[07:40:14] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital
[07:40:14] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on
[07:40:14] [PASSED] drm_test_cmdline_res_margins_force_on
[07:40:14] [PASSED] drm_test_cmdline_res_vesa_margins
[07:40:14] [PASSED] drm_test_cmdline_name
[07:40:14] [PASSED] drm_test_cmdline_name_bpp
[07:40:14] [PASSED] drm_test_cmdline_name_option
[07:40:14] [PASSED] drm_test_cmdline_name_bpp_option
[07:40:14] [PASSED] drm_test_cmdline_rotate_0
[07:40:14] [PASSED] drm_test_cmdline_rotate_90
[07:40:14] [PASSED] drm_test_cmdline_rotate_180
[07:40:14] [PASSED] drm_test_cmdline_rotate_270
[07:40:14] [PASSED] drm_test_cmdline_hmirror
[07:40:14] [PASSED] drm_test_cmdline_vmirror
[07:40:14] [PASSED] drm_test_cmdline_margin_options
[07:40:14] [PASSED] drm_test_cmdline_multiple_options
[07:40:14] [PASSED] drm_test_cmdline_bpp_extra_and_option
[07:40:14] [PASSED] drm_test_cmdline_extra_and_option
[07:40:14] [PASSED] drm_test_cmdline_freestanding_options
[07:40:14] [PASSED] drm_test_cmdline_freestanding_force_e_and_options
[07:40:14] [PASSED] drm_test_cmdline_panel_orientation
[07:40:14] ================ drm_test_cmdline_invalid  =================
[07:40:14] [PASSED] margin_only
[07:40:14] [PASSED] interlace_only
[07:40:14] [PASSED] res_missing_x
[07:40:14] [PASSED] res_missing_y
[07:40:14] [PASSED] res_bad_y
[07:40:14] [PASSED] res_missing_y_bpp
[07:40:14] [PASSED] res_bad_bpp
[07:40:14] [PASSED] res_bad_refresh
[07:40:14] [PASSED] res_bpp_refresh_force_on_off
[07:40:14] [PASSED] res_invalid_mode
[07:40:14] [PASSED] res_bpp_wrong_place_mode
[07:40:14] [PASSED] name_bpp_refresh
[07:40:14] [PASSED] name_refresh
[07:40:14] [PASSED] name_refresh_wrong_mode
[07:40:14] [PASSED] name_refresh_invalid_mode
[07:40:14] [PASSED] rotate_multiple
[07:40:14] [PASSED] rotate_invalid_val
[07:40:14] [PASSED] rotate_truncated
[07:40:14] [PASSED] invalid_option
[07:40:14] [PASSED] invalid_tv_option
[07:40:14] [PASSED] truncated_tv_option
[07:40:14] ============ [PASSED] drm_test_cmdline_invalid =============
[07:40:14] =============== drm_test_cmdline_tv_options  ===============
[07:40:14] [PASSED] NTSC
[07:40:14] [PASSED] NTSC_443
[07:40:14] [PASSED] NTSC_J
[07:40:14] [PASSED] PAL
[07:40:14] [PASSED] PAL_M
[07:40:14] [PASSED] PAL_N
[07:40:14] [PASSED] SECAM
[07:40:14] [PASSED] MONO_525
[07:40:14] [PASSED] MONO_625
[07:40:14] =========== [PASSED] drm_test_cmdline_tv_options ===========
[07:40:14] =============== [PASSED] drm_cmdline_parser ================
[07:40:14] ========== drmm_connector_hdmi_init (20 subtests) ==========
[07:40:14] [PASSED] drm_test_connector_hdmi_init_valid
[07:40:14] [PASSED] drm_test_connector_hdmi_init_bpc_8
[07:40:14] [PASSED] drm_test_connector_hdmi_init_bpc_10
[07:40:14] [PASSED] drm_test_connector_hdmi_init_bpc_12
[07:40:14] [PASSED] drm_test_connector_hdmi_init_bpc_invalid
[07:40:14] [PASSED] drm_test_connector_hdmi_init_bpc_null
[07:40:14] [PASSED] drm_test_connector_hdmi_init_formats_empty
[07:40:14] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb
[07:40:14] === drm_test_connector_hdmi_init_formats_yuv420_allowed  ===
[07:40:14] [PASSED] supported_formats=0x9 yuv420_allowed=1
[07:40:14] [PASSED] supported_formats=0x9 yuv420_allowed=0
[07:40:14] [PASSED] supported_formats=0x3 yuv420_allowed=1
[07:40:14] [PASSED] supported_formats=0x3 yuv420_allowed=0
[07:40:14] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed ===
[07:40:14] [PASSED] drm_test_connector_hdmi_init_null_ddc
[07:40:14] [PASSED] drm_test_connector_hdmi_init_null_product
[07:40:14] [PASSED] drm_test_connector_hdmi_init_null_vendor
[07:40:14] [PASSED] drm_test_connector_hdmi_init_product_length_exact
[07:40:14] [PASSED] drm_test_connector_hdmi_init_product_length_too_long
[07:40:14] [PASSED] drm_test_connector_hdmi_init_product_valid
[07:40:14] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact
[07:40:14] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long
[07:40:14] [PASSED] drm_test_connector_hdmi_init_vendor_valid
[07:40:14] ========= drm_test_connector_hdmi_init_type_valid  =========
[07:40:14] [PASSED] HDMI-A
[07:40:14] [PASSED] HDMI-B
[07:40:14] ===== [PASSED] drm_test_connector_hdmi_init_type_valid =====
[07:40:14] ======== drm_test_connector_hdmi_init_type_invalid  ========
[07:40:14] [PASSED] Unknown
[07:40:14] [PASSED] VGA
[07:40:14] [PASSED] DVI-I
[07:40:14] [PASSED] DVI-D
[07:40:14] [PASSED] DVI-A
[07:40:14] [PASSED] Composite
[07:40:14] [PASSED] SVIDEO
[07:40:14] [PASSED] LVDS
[07:40:14] [PASSED] Component
[07:40:14] [PASSED] DIN
[07:40:14] [PASSED] DP
[07:40:14] [PASSED] TV
[07:40:14] [PASSED] eDP
[07:40:14] [PASSED] Virtual
[07:40:14] [PASSED] DSI
[07:40:14] [PASSED] DPI
[07:40:14] [PASSED] Writeback
[07:40:14] [PASSED] SPI
[07:40:14] [PASSED] USB
[07:40:14] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ====
[07:40:14] ============ [PASSED] drmm_connector_hdmi_init =============
[07:40:14] ============= drmm_connector_init (3 subtests) =============
[07:40:14] [PASSED] drm_test_drmm_connector_init
[07:40:14] [PASSED] drm_test_drmm_connector_init_null_ddc
[07:40:14] ========= drm_test_drmm_connector_init_type_valid  =========
[07:40:14] [PASSED] Unknown
[07:40:14] [PASSED] VGA
[07:40:14] [PASSED] DVI-I
[07:40:14] [PASSED] DVI-D
[07:40:14] [PASSED] DVI-A
[07:40:14] [PASSED] Composite
[07:40:14] [PASSED] SVIDEO
[07:40:14] [PASSED] LVDS
[07:40:14] [PASSED] Component
[07:40:14] [PASSED] DIN
[07:40:14] [PASSED] DP
[07:40:14] [PASSED] HDMI-A
[07:40:14] [PASSED] HDMI-B
[07:40:14] [PASSED] TV
[07:40:14] [PASSED] eDP
[07:40:14] [PASSED] Virtual
[07:40:14] [PASSED] DSI
[07:40:14] [PASSED] DPI
[07:40:14] [PASSED] Writeback
[07:40:14] [PASSED] SPI
[07:40:14] [PASSED] USB
[07:40:14] ===== [PASSED] drm_test_drmm_connector_init_type_valid =====
[07:40:14] =============== [PASSED] drmm_connector_init ===============
[07:40:14] ========= drm_connector_dynamic_init (6 subtests) ==========
[07:40:14] [PASSED] drm_test_drm_connector_dynamic_init
[07:40:14] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc
[07:40:14] [PASSED] drm_test_drm_connector_dynamic_init_not_added
[07:40:14] [PASSED] drm_test_drm_connector_dynamic_init_properties
[07:40:14] ===== drm_test_drm_connector_dynamic_init_type_valid  ======
[07:40:14] [PASSED] Unknown
[07:40:14] [PASSED] VGA
[07:40:14] [PASSED] DVI-I
[07:40:14] [PASSED] DVI-D
[07:40:14] [PASSED] DVI-A
[07:40:14] [PASSED] Composite
[07:40:14] [PASSED] SVIDEO
[07:40:14] [PASSED] LVDS
[07:40:14] [PASSED] Component
[07:40:14] [PASSED] DIN
[07:40:14] [PASSED] DP
[07:40:14] [PASSED] HDMI-A
[07:40:14] [PASSED] HDMI-B
[07:40:14] [PASSED] TV
[07:40:14] [PASSED] eDP
[07:40:14] [PASSED] Virtual
[07:40:14] [PASSED] DSI
[07:40:14] [PASSED] DPI
[07:40:14] [PASSED] Writeback
[07:40:14] [PASSED] SPI
[07:40:14] [PASSED] USB
[07:40:14] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid ==
[07:40:14] ======== drm_test_drm_connector_dynamic_init_name  =========
[07:40:14] [PASSED] Unknown
[07:40:14] [PASSED] VGA
[07:40:14] [PASSED] DVI-I
[07:40:14] [PASSED] DVI-D
[07:40:14] [PASSED] DVI-A
[07:40:14] [PASSED] Composite
[07:40:14] [PASSED] SVIDEO
[07:40:14] [PASSED] LVDS
[07:40:14] [PASSED] Component
[07:40:14] [PASSED] DIN
[07:40:14] [PASSED] DP
[07:40:14] [PASSED] HDMI-A
[07:40:14] [PASSED] HDMI-B
[07:40:14] [PASSED] TV
[07:40:14] [PASSED] eDP
[07:40:14] [PASSED] Virtual
[07:40:14] [PASSED] DSI
[07:40:14] [PASSED] DPI
[07:40:14] [PASSED] Writeback
[07:40:14] [PASSED] SPI
[07:40:14] [PASSED] USB
[07:40:14] ==== [PASSED] drm_test_drm_connector_dynamic_init_name =====
[07:40:14] =========== [PASSED] drm_connector_dynamic_init ============
[07:40:14] ==== drm_connector_dynamic_register_early (4 subtests) =====
[07:40:14] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list
[07:40:14] [PASSED] drm_test_drm_connector_dynamic_register_early_defer
[07:40:14] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init
[07:40:14] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object
[07:40:14] ====== [PASSED] drm_connector_dynamic_register_early =======
[07:40:14] ======= drm_connector_dynamic_register (7 subtests) ========
[07:40:14] [PASSED] drm_test_drm_connector_dynamic_register_on_list
[07:40:14] [PASSED] drm_test_drm_connector_dynamic_register_no_defer
[07:40:14] [PASSED] drm_test_drm_connector_dynamic_register_no_init
[07:40:14] [PASSED] drm_test_drm_connector_dynamic_register_mode_object
[07:40:14] [PASSED] drm_test_drm_connector_dynamic_register_sysfs
[07:40:14] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name
[07:40:14] [PASSED] drm_test_drm_connector_dynamic_register_debugfs
[07:40:14] ========= [PASSED] drm_connector_dynamic_register ==========
[07:40:14] = drm_connector_attach_broadcast_rgb_property (2 subtests) =
[07:40:14] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property
[07:40:14] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector
[07:40:14] === [PASSED] drm_connector_attach_broadcast_rgb_property ===
[07:40:14] ========== drm_get_tv_mode_from_name (2 subtests) ==========
[07:40:14] ========== drm_test_get_tv_mode_from_name_valid  ===========
[07:40:14] [PASSED] NTSC
[07:40:14] [PASSED] NTSC-443
[07:40:14] [PASSED] NTSC-J
[07:40:14] [PASSED] PAL
[07:40:14] [PASSED] PAL-M
[07:40:14] [PASSED] PAL-N
[07:40:14] [PASSED] SECAM
[07:40:14] [PASSED] Mono
[07:40:14] ====== [PASSED] drm_test_get_tv_mode_from_name_valid =======
[07:40:14] [PASSED] drm_test_get_tv_mode_from_name_truncated
[07:40:14] ============ [PASSED] drm_get_tv_mode_from_name ============
[07:40:14] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) =
[07:40:14] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb
[07:40:14] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc
[07:40:14] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1
[07:40:14] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc
[07:40:14] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1
[07:40:14] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double
[07:40:14] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid  =
[07:40:14] [PASSED] VIC 96
[07:40:14] [PASSED] VIC 97
[07:40:14] [PASSED] VIC 101
[07:40:14] [PASSED] VIC 102
[07:40:14] [PASSED] VIC 106
[07:40:14] [PASSED] VIC 107
[07:40:14] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid ===
[07:40:14] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc
[07:40:14] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc
[07:40:14] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc
[07:40:14] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc
[07:40:14] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc
[07:40:14] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ====
[07:40:14] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) ==
[07:40:14] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name  ====
[07:40:14] [PASSED] Automatic
[07:40:14] [PASSED] Full
[07:40:14] [PASSED] Limited 16:235
[07:40:14] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name ===
[07:40:14] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid
[07:40:14] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ====
[07:40:14] == drm_hdmi_connector_get_output_format_name (2 subtests) ==
[07:40:14] === drm_test_drm_hdmi_connector_get_output_format_name  ====
[07:40:14] [PASSED] RGB
[07:40:14] [PASSED] YUV 4:2:0
[07:40:14] [PASSED] YUV 4:2:2
[07:40:14] [PASSED] YUV 4:4:4
[07:40:14] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name ===
[07:40:14] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid
[07:40:14] ==== [PASSED] drm_hdmi_connector_get_output_format_name ====
[07:40:14] ============= drm_damage_helper (21 subtests) ==============
[07:40:14] [PASSED] drm_test_damage_iter_no_damage
[07:40:14] [PASSED] drm_test_damage_iter_no_damage_fractional_src
[07:40:14] [PASSED] drm_test_damage_iter_no_damage_src_moved
[07:40:14] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved
[07:40:14] [PASSED] drm_test_damage_iter_no_damage_not_visible
[07:40:14] [PASSED] drm_test_damage_iter_no_damage_no_crtc
[07:40:14] [PASSED] drm_test_damage_iter_no_damage_no_fb
[07:40:14] [PASSED] drm_test_damage_iter_simple_damage
[07:40:14] [PASSED] drm_test_damage_iter_single_damage
[07:40:14] [PASSED] drm_test_damage_iter_single_damage_intersect_src
[07:40:14] [PASSED] drm_test_damage_iter_single_damage_outside_src
[07:40:14] [PASSED] drm_test_damage_iter_single_damage_fractional_src
[07:40:14] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src
[07:40:14] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src
[07:40:14] [PASSED] drm_test_damage_iter_single_damage_src_moved
[07:40:14] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved
[07:40:14] [PASSED] drm_test_damage_iter_damage
[07:40:14] [PASSED] drm_test_damage_iter_damage_one_intersect
[07:40:14] [PASSED] drm_test_damage_iter_damage_one_outside
[07:40:14] [PASSED] drm_test_damage_iter_damage_src_moved
[07:40:14] [PASSED] drm_test_damage_iter_damage_not_visible
[07:40:14] ================ [PASSED] drm_damage_helper ================
[07:40:14] ============== drm_dp_mst_helper (3 subtests) ==============
[07:40:14] ============== drm_test_dp_mst_calc_pbn_mode  ==============
[07:40:14] [PASSED] Clock 154000 BPP 30 DSC disabled
[07:40:14] [PASSED] Clock 234000 BPP 30 DSC disabled
[07:40:14] [PASSED] Clock 297000 BPP 24 DSC disabled
[07:40:14] [PASSED] Clock 332880 BPP 24 DSC enabled
[07:40:14] [PASSED] Clock 324540 BPP 24 DSC enabled
[07:40:14] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ==========
[07:40:14] ============== drm_test_dp_mst_calc_pbn_div  ===============
[07:40:14] [PASSED] Link rate 2000000 lane count 4
[07:40:14] [PASSED] Link rate 2000000 lane count 2
[07:40:14] [PASSED] Link rate 2000000 lane count 1
[07:40:14] [PASSED] Link rate 1350000 lane count 4
[07:40:14] [PASSED] Link rate 1350000 lane count 2
[07:40:14] [PASSED] Link rate 1350000 lane count 1
[07:40:14] [PASSED] Link rate 1000000 lane count 4
[07:40:14] [PASSED] Link rate 1000000 lane count 2
[07:40:14] [PASSED] Link rate 1000000 lane count 1
[07:40:14] [PASSED] Link rate 810000 lane count 4
[07:40:14] [PASSED] Link rate 810000 lane count 2
[07:40:14] [PASSED] Link rate 810000 lane count 1
[07:40:14] [PASSED] Link rate 540000 lane count 4
[07:40:14] [PASSED] Link rate 540000 lane count 2
[07:40:14] [PASSED] Link rate 540000 lane count 1
[07:40:14] [PASSED] Link rate 270000 lane count 4
[07:40:14] [PASSED] Link rate 270000 lane count 2
[07:40:14] [PASSED] Link rate 270000 lane count 1
[07:40:14] [PASSED] Link rate 162000 lane count 4
[07:40:14] [PASSED] Link rate 162000 lane count 2
[07:40:14] [PASSED] Link rate 162000 lane count 1
[07:40:14] ========== [PASSED] drm_test_dp_mst_calc_pbn_div ===========
[07:40:14] ========= drm_test_dp_mst_sideband_msg_req_decode  =========
[07:40:14] [PASSED] DP_ENUM_PATH_RESOURCES with port number
[07:40:14] [PASSED] DP_POWER_UP_PHY with port number
[07:40:14] [PASSED] DP_POWER_DOWN_PHY with port number
[07:40:14] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks
[07:40:14] [PASSED] DP_ALLOCATE_PAYLOAD with port number
[07:40:14] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI
[07:40:14] [PASSED] DP_ALLOCATE_PAYLOAD with PBN
[07:40:14] [PASSED] DP_QUERY_PAYLOAD with port number
[07:40:14] [PASSED] DP_QUERY_PAYLOAD with VCPI
[07:40:14] [PASSED] DP_REMOTE_DPCD_READ with port number
[07:40:14] [PASSED] DP_REMOTE_DPCD_READ with DPCD address
[07:40:14] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes
[07:40:14] [PASSED] DP_REMOTE_DPCD_WRITE with port number
[07:40:14] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address
[07:40:14] [PASSED] DP_REMOTE_DPCD_WRITE with data array
[07:40:14] [PASSED] DP_REMOTE_I2C_READ with port number
[07:40:14] [PASSED] DP_REMOTE_I2C_READ with I2C device ID
[07:40:14] [PASSED] DP_REMOTE_I2C_READ with transactions array
[07:40:14] [PASSED] DP_REMOTE_I2C_WRITE with port number
[07:40:14] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID
[07:40:14] [PASSED] DP_REMOTE_I2C_WRITE with data array
[07:40:14] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID
[07:40:14] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID
[07:40:14] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event
[07:40:14] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event
[07:40:14] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior
[07:40:14] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior
[07:40:14] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode =====
[07:40:14] ================ [PASSED] drm_dp_mst_helper ================
[07:40:14] ================== drm_exec (7 subtests) ===================
[07:40:14] [PASSED] sanitycheck
[07:40:14] [PASSED] test_lock
[07:40:14] [PASSED] test_lock_unlock
[07:40:14] [PASSED] test_duplicates
[07:40:14] [PASSED] test_prepare
[07:40:14] [PASSED] test_prepare_array
[07:40:14] [PASSED] test_multiple_loops
[07:40:14] ==================== [PASSED] drm_exec =====================
[07:40:14] =========== drm_format_helper_test (17 subtests) ===========
[07:40:14] ============== drm_test_fb_xrgb8888_to_gray8  ==============
[07:40:14] [PASSED] single_pixel_source_buffer
[07:40:14] [PASSED] single_pixel_clip_rectangle
[07:40:14] [PASSED] well_known_colors
[07:40:14] [PASSED] destination_pitch
[07:40:14] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ==========
[07:40:14] ============= drm_test_fb_xrgb8888_to_rgb332  ==============
[07:40:14] [PASSED] single_pixel_source_buffer
[07:40:14] [PASSED] single_pixel_clip_rectangle
[07:40:14] [PASSED] well_known_colors
[07:40:14] [PASSED] destination_pitch
[07:40:14] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ==========
[07:40:14] ============= drm_test_fb_xrgb8888_to_rgb565  ==============
[07:40:14] [PASSED] single_pixel_source_buffer
[07:40:14] [PASSED] single_pixel_clip_rectangle
[07:40:14] [PASSED] well_known_colors
[07:40:14] [PASSED] destination_pitch
[07:40:14] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ==========
[07:40:14] ============ drm_test_fb_xrgb8888_to_xrgb1555  =============
[07:40:14] [PASSED] single_pixel_source_buffer
[07:40:14] [PASSED] single_pixel_clip_rectangle
[07:40:14] [PASSED] well_known_colors
[07:40:14] [PASSED] destination_pitch
[07:40:14] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 =========
[07:40:14] ============ drm_test_fb_xrgb8888_to_argb1555  =============
[07:40:14] [PASSED] single_pixel_source_buffer
[07:40:14] [PASSED] single_pixel_clip_rectangle
[07:40:14] [PASSED] well_known_colors
[07:40:14] [PASSED] destination_pitch
[07:40:14] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 =========
[07:40:14] ============ drm_test_fb_xrgb8888_to_rgba5551  =============
[07:40:14] [PASSED] single_pixel_source_buffer
[07:40:14] [PASSED] single_pixel_clip_rectangle
[07:40:14] [PASSED] well_known_colors
[07:40:14] [PASSED] destination_pitch
[07:40:14] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 =========
[07:40:14] ============= drm_test_fb_xrgb8888_to_rgb888  ==============
[07:40:14] [PASSED] single_pixel_source_buffer
[07:40:14] [PASSED] single_pixel_clip_rectangle
[07:40:14] [PASSED] well_known_colors
[07:40:14] [PASSED] destination_pitch
[07:40:14] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ==========
[07:40:14] ============= drm_test_fb_xrgb8888_to_bgr888  ==============
[07:40:14] [PASSED] single_pixel_source_buffer
[07:40:14] [PASSED] single_pixel_clip_rectangle
[07:40:14] [PASSED] well_known_colors
[07:40:14] [PASSED] destination_pitch
[07:40:14] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ==========
[07:40:14] ============ drm_test_fb_xrgb8888_to_argb8888  =============
[07:40:14] [PASSED] single_pixel_source_buffer
[07:40:14] [PASSED] single_pixel_clip_rectangle
[07:40:14] [PASSED] well_known_colors
[07:40:14] [PASSED] destination_pitch
[07:40:14] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 =========
[07:40:14] =========== drm_test_fb_xrgb8888_to_xrgb2101010  ===========
[07:40:14] [PASSED] single_pixel_source_buffer
[07:40:14] [PASSED] single_pixel_clip_rectangle
[07:40:14] [PASSED] well_known_colors
[07:40:14] [PASSED] destination_pitch
[07:40:14] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 =======
[07:40:14] =========== drm_test_fb_xrgb8888_to_argb2101010  ===========
[07:40:14] [PASSED] single_pixel_source_buffer
[07:40:14] [PASSED] single_pixel_clip_rectangle
[07:40:14] [PASSED] well_known_colors
[07:40:14] [PASSED] destination_pitch
[07:40:14] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 =======
[07:40:14] ============== drm_test_fb_xrgb8888_to_mono  ===============
[07:40:14] [PASSED] single_pixel_source_buffer
[07:40:14] [PASSED] single_pixel_clip_rectangle
[07:40:14] [PASSED] well_known_colors
[07:40:14] [PASSED] destination_pitch
[07:40:14] ========== [PASSED] drm_test_fb_xrgb8888_to_mono ===========
[07:40:14] ==================== drm_test_fb_swab  =====================
[07:40:14] [PASSED] single_pixel_source_buffer
[07:40:14] [PASSED] single_pixel_clip_rectangle
[07:40:14] [PASSED] well_known_colors
[07:40:14] [PASSED] destination_pitch
[07:40:14] ================ [PASSED] drm_test_fb_swab =================
[07:40:14] ============ drm_test_fb_xrgb8888_to_xbgr8888  =============
[07:40:14] [PASSED] single_pixel_source_buffer
[07:40:14] [PASSED] single_pixel_clip_rectangle
[07:40:14] [PASSED] well_known_colors
[07:40:14] [PASSED] destination_pitch
[07:40:14] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 =========
[07:40:14] ============ drm_test_fb_xrgb8888_to_abgr8888  =============
[07:40:14] [PASSED] single_pixel_source_buffer
[07:40:14] [PASSED] single_pixel_clip_rectangle
[07:40:14] [PASSED] well_known_colors
[07:40:14] [PASSED] destination_pitch
[07:40:14] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 =========
[07:40:14] ================= drm_test_fb_clip_offset  =================
[07:40:14] [PASSED] pass through
[07:40:14] [PASSED] horizontal offset
[07:40:14] [PASSED] vertical offset
[07:40:14] [PASSED] horizontal and vertical offset
[07:40:14] [PASSED] horizontal offset (custom pitch)
[07:40:14] [PASSED] vertical offset (custom pitch)
[07:40:14] [PASSED] horizontal and vertical offset (custom pitch)
[07:40:14] ============= [PASSED] drm_test_fb_clip_offset =============
[07:40:14] =================== drm_test_fb_memcpy  ====================
[07:40:14] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258)
[07:40:14] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258)
[07:40:14] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559)
[07:40:14] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258)
[07:40:14] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258)
[07:40:14] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559)
[07:40:14] [PASSED] well_known_colors: XB24 little-endian (0x34324258)
[07:40:14] [PASSED] well_known_colors: XRA8 little-endian (0x38415258)
[07:40:14] [PASSED] well_known_colors: YU24 little-endian (0x34325559)
[07:40:14] [PASSED] destination_pitch: XB24 little-endian (0x34324258)
[07:40:14] [PASSED] destination_pitch: XRA8 little-endian (0x38415258)
[07:40:14] [PASSED] destination_pitch: YU24 little-endian (0x34325559)
[07:40:14] =============== [PASSED] drm_test_fb_memcpy ================
[07:40:14] ============= [PASSED] drm_format_helper_test ==============
[07:40:14] ================= drm_format (18 subtests) =================
[07:40:14] [PASSED] drm_test_format_block_width_invalid
[07:40:14] [PASSED] drm_test_format_block_width_one_plane
[07:40:14] [PASSED] drm_test_format_block_width_two_plane
[07:40:14] [PASSED] drm_test_format_block_width_three_plane
[07:40:14] [PASSED] drm_test_format_block_width_tiled
[07:40:14] [PASSED] drm_test_format_block_height_invalid
[07:40:14] [PASSED] drm_test_format_block_height_one_plane
[07:40:14] [PASSED] drm_test_format_block_height_two_plane
[07:40:14] [PASSED] drm_test_format_block_height_three_plane
[07:40:14] [PASSED] drm_test_format_block_height_tiled
[07:40:14] [PASSED] drm_test_format_min_pitch_invalid
[07:40:14] [PASSED] drm_test_format_min_pitch_one_plane_8bpp
[07:40:14] [PASSED] drm_test_format_min_pitch_one_plane_16bpp
[07:40:14] [PASSED] drm_test_format_min_pitch_one_plane_24bpp
[07:40:14] [PASSED] drm_test_format_min_pitch_one_plane_32bpp
[07:40:14] [PASSED] drm_test_format_min_pitch_two_plane
[07:40:14] [PASSED] drm_test_format_min_pitch_three_plane_8bpp
[07:40:14] [PASSED] drm_test_format_min_pitch_tiled
[07:40:14] =================== [PASSED] drm_format ====================
[07:40:14] ============== drm_framebuffer (10 subtests) ===============
[07:40:14] ========== drm_test_framebuffer_check_src_coords  ==========
[07:40:14] [PASSED] Success: source fits into fb
[07:40:14] [PASSED] Fail: overflowing fb with x-axis coordinate
[07:40:14] [PASSED] Fail: overflowing fb with y-axis coordinate
[07:40:14] [PASSED] Fail: overflowing fb with source width
[07:40:14] [PASSED] Fail: overflowing fb with source height
[07:40:14] ====== [PASSED] drm_test_framebuffer_check_src_coords ======
[07:40:14] [PASSED] drm_test_framebuffer_cleanup
[07:40:14] =============== drm_test_framebuffer_create  ===============
[07:40:14] [PASSED] ABGR8888 normal sizes
[07:40:14] [PASSED] ABGR8888 max sizes
[07:40:14] [PASSED] ABGR8888 pitch greater than min required
[07:40:14] [PASSED] ABGR8888 pitch less than min required
[07:40:14] [PASSED] ABGR8888 Invalid width
[07:40:14] [PASSED] ABGR8888 Invalid buffer handle
[07:40:14] [PASSED] No pixel format
[07:40:14] [PASSED] ABGR8888 Width 0
[07:40:14] [PASSED] ABGR8888 Height 0
[07:40:14] [PASSED] ABGR8888 Out of bound height * pitch combination
[07:40:14] [PASSED] ABGR8888 Large buffer offset
[07:40:14] [PASSED] ABGR8888 Buffer offset for inexistent plane
[07:40:14] [PASSED] ABGR8888 Invalid flag
[07:40:14] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers
[07:40:14] [PASSED] ABGR8888 Valid buffer modifier
[07:40:14] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE)
[07:40:14] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS
[07:40:14] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS
[07:40:14] [PASSED] NV12 Normal sizes
[07:40:14] [PASSED] NV12 Max sizes
[07:40:14] [PASSED] NV12 Invalid pitch
[07:40:14] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag
[07:40:14] [PASSED] NV12 different  modifier per-plane
[07:40:14] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE
[07:40:14] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS
[07:40:14] [PASSED] NV12 Modifier for inexistent plane
[07:40:14] [PASSED] NV12 Handle for inexistent plane
[07:40:14] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS
[07:40:14] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier
[07:40:14] [PASSED] YVU420 Normal sizes
[07:40:14] [PASSED] YVU420 Max sizes
[07:40:14] [PASSED] YVU420 Invalid pitch
[07:40:14] [PASSED] YVU420 Different pitches
[07:40:14] [PASSED] YVU420 Different buffer offsets/pitches
[07:40:14] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS
[07:40:14] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS
[07:40:14] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS
[07:40:14] [PASSED] YVU420 Valid modifier
[07:40:14] [PASSED] YVU420 Different modifiers per plane
[07:40:14] [PASSED] YVU420 Modifier for inexistent plane
[07:40:14] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR)
[07:40:14] [PASSED] X0L2 Normal sizes
[07:40:14] [PASSED] X0L2 Max sizes
[07:40:14] [PASSED] X0L2 Invalid pitch
[07:40:14] [PASSED] X0L2 Pitch greater than minimum required
[07:40:14] [PASSED] X0L2 Handle for inexistent plane
[07:40:14] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set
[07:40:14] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set
[07:40:14] [PASSED] X0L2 Valid modifier
[07:40:14] [PASSED] X0L2 Modifier for inexistent plane
[07:40:14] =========== [PASSED] drm_test_framebuffer_create ===========
[07:40:14] [PASSED] drm_test_framebuffer_free
[07:40:14] [PASSED] drm_test_framebuffer_init
[07:40:14] [PASSED] drm_test_framebuffer_init_bad_format
[07:40:14] [PASSED] drm_test_framebuffer_init_dev_mismatch
[07:40:14] [PASSED] drm_test_framebuffer_lookup
[07:40:14] [PASSED] drm_test_framebuffer_lookup_inexistent
[07:40:14] [PASSED] drm_test_framebuffer_modifiers_not_supported
[07:40:14] ================= [PASSED] drm_framebuffer =================
[07:40:14] ================ drm_gem_shmem (8 subtests) ================
[07:40:14] [PASSED] drm_gem_shmem_test_obj_create
[07:40:14] [PASSED] drm_gem_shmem_test_obj_create_private
[07:40:14] [PASSED] drm_gem_shmem_test_pin_pages
[07:40:14] [PASSED] drm_gem_shmem_test_vmap
[07:40:14] [PASSED] drm_gem_shmem_test_get_sg_table
[07:40:14] [PASSED] drm_gem_shmem_test_get_pages_sgt
[07:40:14] [PASSED] drm_gem_shmem_test_madvise
[07:40:14] [PASSED] drm_gem_shmem_test_purge
[07:40:14] ================== [PASSED] drm_gem_shmem ==================
[07:40:14] === drm_atomic_helper_connector_hdmi_check (27 subtests) ===
[07:40:14] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode
[07:40:14] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1
[07:40:14] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode
[07:40:14] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1
[07:40:14] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode
[07:40:14] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1
[07:40:14] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420  =======
[07:40:14] [PASSED] Automatic
[07:40:14] [PASSED] Full
[07:40:14] [PASSED] Limited 16:235
[07:40:14] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 ===
[07:40:14] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed
[07:40:14] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed
[07:40:14] [PASSED] drm_test_check_disable_connector
[07:40:14] [PASSED] drm_test_check_hdmi_funcs_reject_rate
[07:40:14] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb
[07:40:14] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420
[07:40:14] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422
[07:40:14] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420
[07:40:14] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420
[07:40:14] [PASSED] drm_test_check_output_bpc_crtc_mode_changed
[07:40:14] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed
[07:40:14] [PASSED] drm_test_check_output_bpc_dvi
[07:40:14] [PASSED] drm_test_check_output_bpc_format_vic_1
[07:40:14] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only
[07:40:14] [PASSED] drm_test_check_output_bpc_format_display_rgb_only
[07:40:14] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only
[07:40:14] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only
[07:40:14] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc
[07:40:14] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc
[07:40:14] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc
[07:40:14] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ======
[07:40:14] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ====
[07:40:14] [PASSED] drm_test_check_broadcast_rgb_value
[07:40:14] [PASSED] drm_test_check_bpc_8_value
[07:40:14] [PASSED] drm_test_check_bpc_10_value
[07:40:14] [PASSED] drm_test_check_bpc_12_value
[07:40:14] [PASSED] drm_test_check_format_value
[07:40:14] [PASSED] drm_test_check_tmds_char_value
[07:40:14] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ======
[07:40:14] = drm_atomic_helper_connector_hdmi_mode_valid (4 subtests) =
[07:40:14] [PASSED] drm_test_check_mode_valid
[07:40:14] [PASSED] drm_test_check_mode_valid_reject
[07:40:14] [PASSED] drm_test_check_mode_valid_reject_rate
[07:40:14] [PASSED] drm_test_check_mode_valid_reject_max_clock
[07:40:14] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid ===
[07:40:14] = drm_atomic_helper_connector_hdmi_infoframes (5 subtests) =
[07:40:14] [PASSED] drm_test_check_infoframes
[07:40:14] [PASSED] drm_test_check_reject_avi_infoframe
[07:40:15] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_8
[07:40:15] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_10
[07:40:15] [PASSED] drm_test_check_reject_audio_infoframe
[07:40:15] === [PASSED] drm_atomic_helper_connector_hdmi_infoframes ===
[07:40:15] ================= drm_managed (2 subtests) =================
[07:40:15] [PASSED] drm_test_managed_release_action
[07:40:15] [PASSED] drm_test_managed_run_action
[07:40:15] =================== [PASSED] drm_managed ===================
[07:40:15] =================== drm_mm (6 subtests) ====================
[07:40:15] [PASSED] drm_test_mm_init
[07:40:15] [PASSED] drm_test_mm_debug
[07:40:15] [PASSED] drm_test_mm_align32
[07:40:15] [PASSED] drm_test_mm_align64
[07:40:15] [PASSED] drm_test_mm_lowest
[07:40:15] [PASSED] drm_test_mm_highest
[07:40:15] ===================== [PASSED] drm_mm ======================
[07:40:15] ============= drm_modes_analog_tv (5 subtests) =============
[07:40:15] [PASSED] drm_test_modes_analog_tv_mono_576i
[07:40:15] [PASSED] drm_test_modes_analog_tv_ntsc_480i
[07:40:15] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined
[07:40:15] [PASSED] drm_test_modes_analog_tv_pal_576i
[07:40:15] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined
[07:40:15] =============== [PASSED] drm_modes_analog_tv ===============
[07:40:15] ============== drm_plane_helper (2 subtests) ===============
[07:40:15] =============== drm_test_check_plane_state  ================
[07:40:15] [PASSED] clipping_simple
[07:40:15] [PASSED] clipping_rotate_reflect
[07:40:15] [PASSED] positioning_simple
[07:40:15] [PASSED] upscaling
[07:40:15] [PASSED] downscaling
[07:40:15] [PASSED] rounding1
[07:40:15] [PASSED] rounding2
[07:40:15] [PASSED] rounding3
[07:40:15] [PASSED] rounding4
[07:40:15] =========== [PASSED] drm_test_check_plane_state ============
[07:40:15] =========== drm_test_check_invalid_plane_state  ============
[07:40:15] [PASSED] positioning_invalid
[07:40:15] [PASSED] upscaling_invalid
[07:40:15] [PASSED] downscaling_invalid
[07:40:15] ======= [PASSED] drm_test_check_invalid_plane_state ========
[07:40:15] ================ [PASSED] drm_plane_helper =================
[07:40:15] ====== drm_connector_helper_tv_get_modes (1 subtest) =======
[07:40:15] ====== drm_test_connector_helper_tv_get_modes_check  =======
[07:40:15] [PASSED] None
[07:40:15] [PASSED] PAL
[07:40:15] [PASSED] NTSC
[07:40:15] [PASSED] Both, NTSC Default
[07:40:15] [PASSED] Both, PAL Default
[07:40:15] [PASSED] Both, NTSC Default, with PAL on command-line
[07:40:15] [PASSED] Both, PAL Default, with NTSC on command-line
[07:40:15] == [PASSED] drm_test_connector_helper_tv_get_modes_check ===
[07:40:15] ======== [PASSED] drm_connector_helper_tv_get_modes ========
[07:40:15] ================== drm_rect (9 subtests) ===================
[07:40:15] [PASSED] drm_test_rect_clip_scaled_div_by_zero
[07:40:15] [PASSED] drm_test_rect_clip_scaled_not_clipped
[07:40:15] [PASSED] drm_test_rect_clip_scaled_clipped
[07:40:15] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned
[07:40:15] ================= drm_test_rect_intersect  =================
[07:40:15] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0
[07:40:15] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1
[07:40:15] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0
[07:40:15] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1
[07:40:15] [PASSED] right x left: 2x1+0+0 x 3x1+1+0
[07:40:15] [PASSED] left x right: 3x1+1+0 x 2x1+0+0
[07:40:15] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1
[07:40:15] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0
[07:40:15] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1
[07:40:15] [PASSED] touching side: 1x1+0+0 x 1x1+1+0
[07:40:15] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0
[07:40:15] [PASSED] inside another: 2x2+0+0 x 1x1+1+1
[07:40:15] [PASSED] far away: 1x1+0+0 x 1x1+3+6
[07:40:15] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10
[07:40:15] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10
[07:40:15] ============= [PASSED] drm_test_rect_intersect =============
[07:40:15] ================ drm_test_rect_calc_hscale  ================
[07:40:15] [PASSED] normal use
[07:40:15] [PASSED] out of max range
[07:40:15] [PASSED] out of min range
[07:40:15] [PASSED] zero dst
[07:40:15] [PASSED] negative src
[07:40:15] [PASSED] negative dst
[07:40:15] ============ [PASSED] drm_test_rect_calc_hscale ============
[07:40:15] ================ drm_test_rect_calc_vscale  ================
[07:40:15] [PASSED] normal use
[07:40:15] [PASSED] out of max range
[07:40:15] [PASSED] out of min range
[07:40:15] [PASSED] zero dst
[07:40:15] [PASSED] negative src
[07:40:15] [PASSED] negative dst
stty: 'standard input': Inappropriate ioctl for device
[07:40:15] ============ [PASSED] drm_test_rect_calc_vscale ============
[07:40:15] ================== drm_test_rect_rotate  ===================
[07:40:15] [PASSED] reflect-x
[07:40:15] [PASSED] reflect-y
[07:40:15] [PASSED] rotate-0
[07:40:15] [PASSED] rotate-90
[07:40:15] [PASSED] rotate-180
[07:40:15] [PASSED] rotate-270
[07:40:15] ============== [PASSED] drm_test_rect_rotate ===============
[07:40:15] ================ drm_test_rect_rotate_inv  =================
[07:40:15] [PASSED] reflect-x
[07:40:15] [PASSED] reflect-y
[07:40:15] [PASSED] rotate-0
[07:40:15] [PASSED] rotate-90
[07:40:15] [PASSED] rotate-180
[07:40:15] [PASSED] rotate-270
[07:40:15] ============ [PASSED] drm_test_rect_rotate_inv =============
[07:40:15] ==================== [PASSED] drm_rect =====================
[07:40:15] ============ drm_sysfb_modeset_test (1 subtest) ============
[07:40:15] ============ drm_test_sysfb_build_fourcc_list  =============
[07:40:15] [PASSED] no native formats
[07:40:15] [PASSED] XRGB8888 as native format
[07:40:15] [PASSED] remove duplicates
[07:40:15] [PASSED] convert alpha formats
[07:40:15] [PASSED] random formats
[07:40:15] ======== [PASSED] drm_test_sysfb_build_fourcc_list =========
[07:40:15] ============= [PASSED] drm_sysfb_modeset_test ==============
[07:40:15] ================== drm_fixp (2 subtests) ===================
[07:40:15] [PASSED] drm_test_int2fixp
[07:40:15] [PASSED] drm_test_sm2fixp
[07:40:15] ==================== [PASSED] drm_fixp =====================
[07:40:15] ============================================================
[07:40:15] Testing complete. Ran 621 tests: passed: 621
[07:40:15] Elapsed time: 26.029s total, 1.687s configuring, 24.175s building, 0.132s running

+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig
[07:40:15] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[07:40:16] 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
[07:40:26] Starting KUnit Kernel (1/1)...
[07:40:26] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[07:40:26] ================= ttm_device (5 subtests) ==================
[07:40:26] [PASSED] ttm_device_init_basic
[07:40:26] [PASSED] ttm_device_init_multiple
[07:40:26] [PASSED] ttm_device_fini_basic
[07:40:26] [PASSED] ttm_device_init_no_vma_man
[07:40:26] ================== ttm_device_init_pools  ==================
[07:40:26] [PASSED] No DMA allocations, no DMA32 required
[07:40:26] [PASSED] DMA allocations, DMA32 required
[07:40:26] [PASSED] No DMA allocations, DMA32 required
[07:40:26] [PASSED] DMA allocations, no DMA32 required
[07:40:26] ============== [PASSED] ttm_device_init_pools ==============
[07:40:26] =================== [PASSED] ttm_device ====================
[07:40:26] ================== ttm_pool (8 subtests) ===================
[07:40:26] ================== ttm_pool_alloc_basic  ===================
[07:40:26] [PASSED] One page
[07:40:26] [PASSED] More than one page
[07:40:26] [PASSED] Above the allocation limit
[07:40:26] [PASSED] One page, with coherent DMA mappings enabled
[07:40:26] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[07:40:26] ============== [PASSED] ttm_pool_alloc_basic ===============
[07:40:26] ============== ttm_pool_alloc_basic_dma_addr  ==============
[07:40:26] [PASSED] One page
[07:40:26] [PASSED] More than one page
[07:40:26] [PASSED] Above the allocation limit
[07:40:26] [PASSED] One page, with coherent DMA mappings enabled
[07:40:26] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[07:40:26] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ==========
[07:40:26] [PASSED] ttm_pool_alloc_order_caching_match
[07:40:26] [PASSED] ttm_pool_alloc_caching_mismatch
[07:40:26] [PASSED] ttm_pool_alloc_order_mismatch
[07:40:26] [PASSED] ttm_pool_free_dma_alloc
[07:40:26] [PASSED] ttm_pool_free_no_dma_alloc
[07:40:26] [PASSED] ttm_pool_fini_basic
[07:40:26] ==================== [PASSED] ttm_pool =====================
[07:40:26] ================ ttm_resource (8 subtests) =================
[07:40:26] ================= ttm_resource_init_basic  =================
[07:40:26] [PASSED] Init resource in TTM_PL_SYSTEM
[07:40:26] [PASSED] Init resource in TTM_PL_VRAM
[07:40:26] [PASSED] Init resource in a private placement
[07:40:26] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags
[07:40:26] ============= [PASSED] ttm_resource_init_basic =============
[07:40:26] [PASSED] ttm_resource_init_pinned
[07:40:26] [PASSED] ttm_resource_fini_basic
[07:40:26] [PASSED] ttm_resource_manager_init_basic
[07:40:26] [PASSED] ttm_resource_manager_usage_basic
[07:40:26] [PASSED] ttm_resource_manager_set_used_basic
[07:40:26] [PASSED] ttm_sys_man_alloc_basic
[07:40:26] [PASSED] ttm_sys_man_free_basic
[07:40:26] ================== [PASSED] ttm_resource ===================
[07:40:26] =================== ttm_tt (15 subtests) ===================
[07:40:26] ==================== ttm_tt_init_basic  ====================
[07:40:26] [PASSED] Page-aligned size
[07:40:26] [PASSED] Extra pages requested
[07:40:26] ================ [PASSED] ttm_tt_init_basic ================
[07:40:26] [PASSED] ttm_tt_init_misaligned
[07:40:26] [PASSED] ttm_tt_fini_basic
[07:40:26] [PASSED] ttm_tt_fini_sg
[07:40:26] [PASSED] ttm_tt_fini_shmem
[07:40:26] [PASSED] ttm_tt_create_basic
[07:40:26] [PASSED] ttm_tt_create_invalid_bo_type
[07:40:26] [PASSED] ttm_tt_create_ttm_exists
[07:40:26] [PASSED] ttm_tt_create_failed
[07:40:26] [PASSED] ttm_tt_destroy_basic
[07:40:26] [PASSED] ttm_tt_populate_null_ttm
[07:40:26] [PASSED] ttm_tt_populate_populated_ttm
[07:40:26] [PASSED] ttm_tt_unpopulate_basic
[07:40:26] [PASSED] ttm_tt_unpopulate_empty_ttm
[07:40:26] [PASSED] ttm_tt_swapin_basic
[07:40:26] ===================== [PASSED] ttm_tt ======================
[07:40:26] =================== ttm_bo (14 subtests) ===================
[07:40:26] =========== ttm_bo_reserve_optimistic_no_ticket  ===========
[07:40:26] [PASSED] Cannot be interrupted and sleeps
[07:40:26] [PASSED] Cannot be interrupted, locks straight away
[07:40:26] [PASSED] Can be interrupted, sleeps
[07:40:26] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket =======
[07:40:26] [PASSED] ttm_bo_reserve_locked_no_sleep
[07:40:26] [PASSED] ttm_bo_reserve_no_wait_ticket
[07:40:26] [PASSED] ttm_bo_reserve_double_resv
[07:40:26] [PASSED] ttm_bo_reserve_interrupted
[07:40:26] [PASSED] ttm_bo_reserve_deadlock
[07:40:26] [PASSED] ttm_bo_unreserve_basic
[07:40:26] [PASSED] ttm_bo_unreserve_pinned
[07:40:26] [PASSED] ttm_bo_unreserve_bulk
[07:40:26] [PASSED] ttm_bo_fini_basic
[07:40:26] [PASSED] ttm_bo_fini_shared_resv
[07:40:26] [PASSED] ttm_bo_pin_basic
[07:40:26] [PASSED] ttm_bo_pin_unpin_resource
[07:40:26] [PASSED] ttm_bo_multiple_pin_one_unpin
[07:40:26] ===================== [PASSED] ttm_bo ======================
[07:40:26] ============== ttm_bo_validate (21 subtests) ===============
[07:40:26] ============== ttm_bo_init_reserved_sys_man  ===============
[07:40:26] [PASSED] Buffer object for userspace
[07:40:26] [PASSED] Kernel buffer object
[07:40:26] [PASSED] Shared buffer object
[07:40:26] ========== [PASSED] ttm_bo_init_reserved_sys_man ===========
[07:40:26] ============== ttm_bo_init_reserved_mock_man  ==============
[07:40:26] [PASSED] Buffer object for userspace
[07:40:26] [PASSED] Kernel buffer object
[07:40:26] [PASSED] Shared buffer object
[07:40:26] ========== [PASSED] ttm_bo_init_reserved_mock_man ==========
[07:40:26] [PASSED] ttm_bo_init_reserved_resv
[07:40:26] ================== ttm_bo_validate_basic  ==================
[07:40:26] [PASSED] Buffer object for userspace
[07:40:26] [PASSED] Kernel buffer object
[07:40:26] [PASSED] Shared buffer object
[07:40:26] ============== [PASSED] ttm_bo_validate_basic ==============
[07:40:26] [PASSED] ttm_bo_validate_invalid_placement
[07:40:26] ============= ttm_bo_validate_same_placement  ==============
[07:40:26] [PASSED] System manager
[07:40:26] [PASSED] VRAM manager
[07:40:26] ========= [PASSED] ttm_bo_validate_same_placement ==========
[07:40:26] [PASSED] ttm_bo_validate_failed_alloc
[07:40:26] [PASSED] ttm_bo_validate_pinned
[07:40:26] [PASSED] ttm_bo_validate_busy_placement
[07:40:26] ================ ttm_bo_validate_multihop  =================
[07:40:26] [PASSED] Buffer object for userspace
[07:40:26] [PASSED] Kernel buffer object
[07:40:26] [PASSED] Shared buffer object
[07:40:26] ============ [PASSED] ttm_bo_validate_multihop =============
[07:40:26] ========== ttm_bo_validate_no_placement_signaled  ==========
[07:40:26] [PASSED] Buffer object in system domain, no page vector
[07:40:26] [PASSED] Buffer object in system domain with an existing page vector
[07:40:26] ====== [PASSED] ttm_bo_validate_no_placement_signaled ======
[07:40:26] ======== ttm_bo_validate_no_placement_not_signaled  ========
[07:40:26] [PASSED] Buffer object for userspace
[07:40:26] [PASSED] Kernel buffer object
[07:40:26] [PASSED] Shared buffer object
[07:40:26] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ====
[07:40:26] [PASSED] ttm_bo_validate_move_fence_signaled
[07:40:26] ========= ttm_bo_validate_move_fence_not_signaled  =========
[07:40:26] [PASSED] Waits for GPU
[07:40:26] [PASSED] Tries to lock straight away
[07:40:26] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled =====
[07:40:26] [PASSED] ttm_bo_validate_happy_evict
[07:40:26] [PASSED] ttm_bo_validate_all_pinned_evict
[07:40:26] [PASSED] ttm_bo_validate_allowed_only_evict
[07:40:26] [PASSED] ttm_bo_validate_deleted_evict
[07:40:26] [PASSED] ttm_bo_validate_busy_domain_evict
[07:40:26] [PASSED] ttm_bo_validate_evict_gutting
[07:40:26] [PASSED] ttm_bo_validate_recrusive_evict
stty: 'standard input': Inappropriate ioctl for device
[07:40:26] ================= [PASSED] ttm_bo_validate =================
[07:40:26] ============================================================
[07:40:26] Testing complete. Ran 101 tests: passed: 101
[07:40:26] Elapsed time: 11.492s total, 1.728s configuring, 9.548s building, 0.183s running

+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel



^ permalink raw reply	[flat|nested] 18+ messages in thread

* [PATCH v10 0/5] Introduce DRM_RAS using generic netlink for RAS
@ 2026-03-04  7:44 Riana Tauro
  2026-03-04  7:39 ` ✗ CI.checkpatch: warning for Introduce DRM_RAS using generic netlink for RAS (rev10) Patchwork
                   ` (14 more replies)
  0 siblings, 15 replies; 18+ messages in thread
From: Riana Tauro @ 2026-03-04  7:44 UTC (permalink / raw)
  To: intel-xe, dri-devel
  Cc: aravind.iddamsetty, anshuman.gupta, rodrigo.vivi, joonas.lahtinen,
	simona.vetter, airlied, pratik.bari, joshua.santosh.ranjan,
	ashwin.kumar.kulkarni, shubham.kumar, ravi.kishore.koppuravuri,
	raag.jadav, anvesh.bakwad, Riana Tauro

This work is a continuation of the great work started by Aravind ([1] and [2])
in order to fulfill the RAS requirements and proposal as previously discussed
and agreed in the Linux Plumbers accelerator's bof of 2022 [3].

[1]: https://lore.kernel.org/dri-devel/20250730064956.1385855-1-aravind.iddamsetty@linux.intel.com/
[2]: https://lore.kernel.org/all/4cbdfcc5-5020-a942-740e-a602d4c00cc2@linux.intel.com/
[3]: https://airlied.blogspot.com/2022/09/accelerators-bof-outcomes-summary.html

During the past review round, Lukas pointed out that netlink had evolved
in parallel during these years and that now, any new usage of netlink families
would require the usage of the YAML description and scripts.

With this new requirement in place, the family name is hardcoded in the yaml file,
so we are forced to have a single family name for the entire drm, and then we now
we are forced to have a registration.

So, while doing the registration, we now created the concept of drm-ras-node.
For now the only node type supported is the agreed error-counter. But that could
be expanded for other cases like telemetry, requested by Zack for the qualcomm accel
driver.

In this first version, only querying counter is supported. But also this is expandable
to future introduction of multicast notification and also clearing the counters.

This design with multiple nodes per device is already flexible enough for driver
to decide if it wants to handle error per device, or per IP block, or per error
category. I believe this fully attend to the requested AMD feedback in the earlier
reviews.

So, my proposal is to start simple with this case as is, and then iterate over
with the drm-ras in tree so we evolve together according to various driver's RAS
needs.

I have provided a documentation and the first Xe implementation of the counter
as reference.

Also, it is worth to mention that we have a in-tree pyynl/cli.py tool that entirely
exercises this new API, hence I hope this can be the reference code for the uAPI
usage, while we continue with the plan of introducing IGT tests and tools for this
and adjusting the internal vendor tools to open with open source developments and
changing them to support these flows.

Example:

1) List Nodes:

    $ sudo ynl --family drm_ras --dump list-nodes
    [{'device-name': '0000:03:00.0',
      'node-id': 0,
      'node-name': 'correctable-errors',
      'node-type': 'error-counter'},
     {'device-name': '0000:03:00.0',
      'node-id': 1,
      'node-name': 'uncorrectable-errors',
      'node-type': 'error-counter'}]

2) Get Error counters:

    $ sudo ynl --family drm_ras --dump get-error-counter --json '{"node-id":0}'
    [{'error-id': 1, 'error-name': 'core-compute', 'error-value': 0},
    {'error-id': 2, 'error-name': 'soc-internal', 'error-value': 0}]

3) Get specific Error counter:

    $ sudo ynl --family drm_ras --do get-error-counter --json '{"node-id":0, "error-id":1}'
    {'error-id': 1, 'error-name': 'core-compute', 'error-value': 0}

IGT : https://patchwork.freedesktop.org/patch/689729/?series=157409&rev=3

Rev2: Fix review comments
      Add support for GT and SOC errors

Rev3: Add uAPI for errors and nodes
      Update documentation

Rev4: Use only correctable and uncorrectable error nodes
      use REG_BIT
      remove redundant error strings

Rev5: Split patch 2
      use atomic_t
      fix memory leaks
      fix logs
      fix hook failure
      change component and severity UAPI

Rev6: fix alignment
      fix comparison in CSC error
      add severity string to csc error
      rename soc error handler base register variables
      deallocate info if drm ras registeration fails
      rename init function to xe_drm_ras_init()
      fix htmldocs errors
      Add 'depends on NET' for drm ras netlink

Rev7: add macro for gt vector length and master local registers
      print errors on failure

Rev8: use single command for both do/dump operations
      fix yamllint errors
      regenerate files
      fix kernel-doc

Rev9: fix ynl-regen.sh reported issue
      move drm_ras_nl.h from include/ to drm/

Rev10: use GENL_REQ_ATTR_CHECK

Riana Tauro (4):
  drm/xe/xe_drm_ras: Add support for XE DRM RAS
  drm/xe/xe_hw_error: Integrate DRM RAS with hardware error handling
  drm/xe/xe_hw_error: Add support for Core-Compute errors
  drm/xe/xe_hw_error: Add support for PVC SoC errors

Rodrigo Vivi (1):
  drm/ras: Introduce the DRM RAS infrastructure over generic netlink

 Documentation/gpu/drm-ras.rst              | 103 +++++
 Documentation/gpu/index.rst                |   1 +
 Documentation/netlink/specs/drm_ras.yaml   | 115 ++++++
 drivers/gpu/drm/Kconfig                    |  10 +
 drivers/gpu/drm/Makefile                   |   1 +
 drivers/gpu/drm/drm_drv.c                  |   6 +
 drivers/gpu/drm/drm_ras.c                  | 354 ++++++++++++++++
 drivers/gpu/drm/drm_ras_genl_family.c      |  42 ++
 drivers/gpu/drm/drm_ras_nl.c               |  56 +++
 drivers/gpu/drm/drm_ras_nl.h               |  24 ++
 drivers/gpu/drm/xe/Makefile                |   1 +
 drivers/gpu/drm/xe/regs/xe_hw_error_regs.h |  86 +++-
 drivers/gpu/drm/xe/xe_device_types.h       |   4 +
 drivers/gpu/drm/xe/xe_drm_ras.c            | 186 +++++++++
 drivers/gpu/drm/xe/xe_drm_ras.h            |  15 +
 drivers/gpu/drm/xe/xe_drm_ras_types.h      |  48 +++
 drivers/gpu/drm/xe/xe_hw_error.c           | 451 +++++++++++++++++++--
 include/drm/drm_ras.h                      |  75 ++++
 include/drm/drm_ras_genl_family.h          |  17 +
 include/uapi/drm/drm_ras.h                 |  49 +++
 include/uapi/drm/xe_drm.h                  |  79 ++++
 21 files changed, 1681 insertions(+), 42 deletions(-)
 create mode 100644 Documentation/gpu/drm-ras.rst
 create mode 100644 Documentation/netlink/specs/drm_ras.yaml
 create mode 100644 drivers/gpu/drm/drm_ras.c
 create mode 100644 drivers/gpu/drm/drm_ras_genl_family.c
 create mode 100644 drivers/gpu/drm/drm_ras_nl.c
 create mode 100644 drivers/gpu/drm/drm_ras_nl.h
 create mode 100644 drivers/gpu/drm/xe/xe_drm_ras.c
 create mode 100644 drivers/gpu/drm/xe/xe_drm_ras.h
 create mode 100644 drivers/gpu/drm/xe/xe_drm_ras_types.h
 create mode 100644 include/drm/drm_ras.h
 create mode 100644 include/drm/drm_ras_genl_family.h
 create mode 100644 include/uapi/drm/drm_ras.h

-- 
2.47.1


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [PATCH v10 1/5] drm/ras: Introduce the DRM RAS infrastructure over generic netlink
  2026-03-04  7:44 [PATCH v10 0/5] Introduce DRM_RAS using generic netlink for RAS Riana Tauro
  2026-03-04  7:39 ` ✗ CI.checkpatch: warning for Introduce DRM_RAS using generic netlink for RAS (rev10) Patchwork
  2026-03-04  7:40 ` ✓ CI.KUnit: success " Patchwork
@ 2026-03-04  7:44 ` Riana Tauro
  2026-03-05 19:37   ` Maarten Lankhorst
  2026-03-09  8:35   ` Jani Nikula
  2026-03-04  7:44 ` [PATCH v10 2/5] drm/xe/xe_drm_ras: Add support for XE DRM RAS Riana Tauro
                   ` (11 subsequent siblings)
  14 siblings, 2 replies; 18+ messages in thread
From: Riana Tauro @ 2026-03-04  7:44 UTC (permalink / raw)
  To: intel-xe, dri-devel
  Cc: aravind.iddamsetty, anshuman.gupta, rodrigo.vivi, joonas.lahtinen,
	simona.vetter, airlied, pratik.bari, joshua.santosh.ranjan,
	ashwin.kumar.kulkarni, shubham.kumar, ravi.kishore.koppuravuri,
	raag.jadav, anvesh.bakwad, Zack McKevitt, Lijo Lazar,
	Hawking Zhang, Jakub Kicinski, David S. Miller, Paolo Abeni,
	Eric Dumazet, netdev, Riana Tauro

From: Rodrigo Vivi <rodrigo.vivi@intel.com>

Introduces the DRM RAS infrastructure over generic netlink.

The new interface allows drivers to expose RAS nodes and their
associated error counters to userspace in a structured and extensible
way. Each drm_ras node can register its own set of error counters, which
are then discoverable and queryable through netlink operations. This
lays the groundwork for reporting and managing hardware error states
in a unified manner across different DRM drivers.

Currently it only supports error-counter nodes. But it can be
extended later.

The registration is also not tied to any drm node, so it can be
used by accel devices as well.

It uses the new and mandatory YAML description format stored in
Documentation/netlink/specs/. This forces a single generic netlink
family namespace for the entire drm: "drm-ras".
But multiple-endpoints are supported within the single family.

Any modification to this API needs to be applied to
Documentation/netlink/specs/drm_ras.yaml before regenerating the
code:

$ tools/net/ynl/pyynl/ynl_gen_c.py --spec \
 Documentation/netlink/specs/drm_ras.yaml --mode uapi --header \
 -o include/uapi/drm/drm_ras.h

$ tools/net/ynl/pyynl/ynl_gen_c.py --spec \
  Documentation/netlink/specs/drm_ras.yaml --mode kernel \
  --header -o drivers/gpu/drm/drm_ras_nl.h

$ tools/net/ynl/pyynl/ynl_gen_c.py --spec \
  Documentation/netlink/specs/drm_ras.yaml \
  --mode kernel --source -o drivers/gpu/drm/drm_ras_nl.c

Cc: Zack McKevitt <zachary.mckevitt@oss.qualcomm.com>
Cc: Lijo Lazar <lijo.lazar@amd.com>
Cc: Hawking Zhang <Hawking.Zhang@amd.com>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: David S. Miller <davem@davemloft.net>
Cc: Paolo Abeni <pabeni@redhat.com>
Cc: Eric Dumazet <edumazet@google.com>
Cc: netdev@vger.kernel.org
Co-developed-by: Aravind Iddamsetty <aravind.iddamsetty@linux.intel.com>
Signed-off-by: Aravind Iddamsetty <aravind.iddamsetty@linux.intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Riana Tauro <riana.tauro@intel.com>
Reviewed-by: Zack McKevitt <zachary.mckevitt@oss.qualcomm.com>
Acked-by: Jakub Kicinski <kuba@kernel.org>
---
v2: fix doc and memory leak
    use xe_for_each_start
    use standard genlmsg_iput (Jakub Kicinski)

v3: add documentation to index
    modify documentation to mention uAPI requirements (Rodrigo)

v4: fix typo (Zack)

v5: fix kernel-robot reported htmldocs error
    fix kernel-robot reported build error on csky arch

v6: regenerate files
    fix yamllint warnings
    use get-error-counter for both do/dump function calls
    fix kernel-doc (Jakub)

v7: Fix ynl-regen.sh reported issue
    move drm_ras_nl.h from include/ to drm/
    use -o to generate files and fix commit message (Jakub)

v8: use GENL_REQ_ATTR_CHECK (Jakub) 
---
 Documentation/gpu/drm-ras.rst            | 103 +++++++
 Documentation/gpu/index.rst              |   1 +
 Documentation/netlink/specs/drm_ras.yaml | 115 ++++++++
 drivers/gpu/drm/Kconfig                  |  10 +
 drivers/gpu/drm/Makefile                 |   1 +
 drivers/gpu/drm/drm_drv.c                |   6 +
 drivers/gpu/drm/drm_ras.c                | 354 +++++++++++++++++++++++
 drivers/gpu/drm/drm_ras_genl_family.c    |  42 +++
 drivers/gpu/drm/drm_ras_nl.c             |  56 ++++
 drivers/gpu/drm/drm_ras_nl.h             |  24 ++
 include/drm/drm_ras.h                    |  75 +++++
 include/drm/drm_ras_genl_family.h        |  17 ++
 include/uapi/drm/drm_ras.h               |  49 ++++
 13 files changed, 853 insertions(+)
 create mode 100644 Documentation/gpu/drm-ras.rst
 create mode 100644 Documentation/netlink/specs/drm_ras.yaml
 create mode 100644 drivers/gpu/drm/drm_ras.c
 create mode 100644 drivers/gpu/drm/drm_ras_genl_family.c
 create mode 100644 drivers/gpu/drm/drm_ras_nl.c
 create mode 100644 drivers/gpu/drm/drm_ras_nl.h
 create mode 100644 include/drm/drm_ras.h
 create mode 100644 include/drm/drm_ras_genl_family.h
 create mode 100644 include/uapi/drm/drm_ras.h

diff --git a/Documentation/gpu/drm-ras.rst b/Documentation/gpu/drm-ras.rst
new file mode 100644
index 000000000000..70b246a78fc8
--- /dev/null
+++ b/Documentation/gpu/drm-ras.rst
@@ -0,0 +1,103 @@
+.. SPDX-License-Identifier: GPL-2.0+
+
+============================
+DRM RAS over Generic Netlink
+============================
+
+The DRM RAS (Reliability, Availability, Serviceability) interface provides a
+standardized way for GPU/accelerator drivers to expose error counters and
+other reliability nodes to user space via Generic Netlink. This allows
+diagnostic tools, monitoring daemons, or test infrastructure to query hardware
+health in a uniform way across different DRM drivers.
+
+Key Goals:
+
+* Provide a standardized RAS solution for GPU and accelerator drivers, enabling
+  data center monitoring and reliability operations.
+* Implement a single drm-ras Generic Netlink family to meet modern Netlink YAML
+  specifications and centralize all RAS-related communication in one namespace.
+* Support a basic error counter interface, addressing the immediate, essential
+  monitoring needs.
+* Offer a flexible, future-proof interface that can be extended to support
+  additional types of RAS data in the future.
+* Allow multiple nodes per driver, enabling drivers to register separate
+  nodes for different IP blocks, sub-blocks, or other logical subdivisions
+  as applicable.
+
+Nodes
+=====
+
+Nodes are logical abstractions representing an error type or error source within
+the device. Currently, only error counter nodes is supported.
+
+Drivers are responsible for registering and unregistering nodes via the
+`drm_ras_node_register()` and `drm_ras_node_unregister()` APIs.
+
+Node Management
+-------------------
+
+.. kernel-doc:: drivers/gpu/drm/drm_ras.c
+   :doc: DRM RAS Node Management
+.. kernel-doc:: drivers/gpu/drm/drm_ras.c
+   :internal:
+
+Generic Netlink Usage
+=====================
+
+The interface is implemented as a Generic Netlink family named ``drm-ras``.
+User space tools can:
+
+* List registered nodes with the ``list-nodes`` command.
+* List all error counters in an node with the ``get-error-counter`` command with ``node-id``
+  as a parameter.
+* Query specific error counter values with the ``get-error-counter`` command, using both
+  ``node-id`` and ``error-id`` as parameters.
+
+YAML-based Interface
+--------------------
+
+The interface is described in a YAML specification ``Documentation/netlink/specs/drm_ras.yaml``
+
+This YAML is used to auto-generate user space bindings via
+``tools/net/ynl/pyynl/ynl_gen_c.py``, and drives the structure of netlink
+attributes and operations.
+
+Usage Notes
+-----------
+
+* User space must first enumerate nodes to obtain their IDs.
+* Node IDs or Node names can be used for all further queries, such as error counters.
+* Error counters can be queried by either the Error ID or Error name.
+* Query Parameters should be defined as part of the uAPI to ensure user interface stability.
+* The interface supports future extension by adding new node types and
+  additional attributes.
+
+Example: List nodes using ynl
+
+.. code-block:: bash
+
+    sudo ynl --family drm_ras --dump list-nodes
+    [{'device-name': '0000:03:00.0',
+    'node-id': 0,
+    'node-name': 'correctable-errors',
+    'node-type': 'error-counter'},
+    {'device-name': '0000:03:00.0',
+     'node-id': 1,
+     'node-name': 'uncorrectable-errors',
+     'node-type': 'error-counter'}]
+
+Example: List all error counters using ynl
+
+.. code-block:: bash
+
+    sudo ynl --family drm_ras --dump get-error-counter --json '{"node-id":0}'
+    [{'error-id': 1, 'error-name': 'error_name1', 'error-value': 0},
+    {'error-id': 2, 'error-name': 'error_name2', 'error-value': 0}]
+
+Example: Query an error counter for a given node
+
+.. code-block:: bash
+
+    sudo ynl --family drm_ras --do get-error-counter --json '{"node-id":0, "error-id":1}'
+    {'error-id': 1, 'error-name': 'error_name1', 'error-value': 0}
+
diff --git a/Documentation/gpu/index.rst b/Documentation/gpu/index.rst
index 2fafa1f35ef3..5d708a106b3f 100644
--- a/Documentation/gpu/index.rst
+++ b/Documentation/gpu/index.rst
@@ -9,6 +9,7 @@ GPU Driver Developer's Guide
    drm-mm
    drm-kms
    drm-kms-helpers
+   drm-ras
    drm-uapi
    drm-usage-stats
    driver-uapi
diff --git a/Documentation/netlink/specs/drm_ras.yaml b/Documentation/netlink/specs/drm_ras.yaml
new file mode 100644
index 000000000000..79af25dac3c5
--- /dev/null
+++ b/Documentation/netlink/specs/drm_ras.yaml
@@ -0,0 +1,115 @@
+# SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
+---
+name: drm-ras
+protocol: genetlink
+uapi-header: drm/drm_ras.h
+
+doc: >-
+  DRM RAS (Reliability, Availability, Serviceability) over Generic Netlink.
+  Provides a standardized mechanism for DRM drivers to register "nodes"
+  representing hardware/software components capable of reporting error counters.
+  Userspace tools can query the list of nodes or individual error counters
+  via the Generic Netlink interface.
+
+definitions:
+  -
+    type: enum
+    name: node-type
+    value-start: 1
+    entries: [error-counter]
+    doc: >-
+         Type of the node. Currently, only error-counter nodes are
+         supported, which expose reliability counters for a hardware/software
+         component.
+
+attribute-sets:
+  -
+    name: node-attrs
+    attributes:
+      -
+        name: node-id
+        type: u32
+        doc: >-
+             Unique identifier for the node.
+             Assigned dynamically by the DRM RAS core upon registration.
+      -
+        name: device-name
+        type: string
+        doc: >-
+             Device name chosen by the driver at registration.
+             Can be a PCI BDF, UUID, or module name if unique.
+      -
+        name: node-name
+        type: string
+        doc: >-
+             Node name chosen by the driver at registration.
+             Can be an IP block name, or any name that identifies the
+             RAS node inside the device.
+      -
+        name: node-type
+        type: u32
+        doc: Type of this node, identifying its function.
+        enum: node-type
+  -
+    name: error-counter-attrs
+    attributes:
+      -
+        name: node-id
+        type: u32
+        doc: Node ID targeted by this error counter operation.
+      -
+        name: error-id
+        type: u32
+        doc: Unique identifier for a specific error counter within an node.
+      -
+        name: error-name
+        type: string
+        doc: Name of the error.
+      -
+        name: error-value
+        type: u32
+        doc: Current value of the requested error counter.
+
+operations:
+  list:
+    -
+      name: list-nodes
+      doc: >-
+           Retrieve the full list of currently registered DRM RAS nodes.
+           Each node includes its dynamically assigned ID, name, and type.
+           **Important:** User space must call this operation first to obtain
+           the node IDs. These IDs are required for all subsequent
+           operations on nodes, such as querying error counters.
+      attribute-set: node-attrs
+      flags: [admin-perm]
+      dump:
+        reply:
+          attributes:
+            - node-id
+            - device-name
+            - node-name
+            - node-type
+    -
+      name: get-error-counter
+      doc: >-
+           Retrieve error counter for a given node.
+           The response includes the id, the name, and even the current
+           value of each counter.
+      attribute-set: error-counter-attrs
+      flags: [admin-perm]
+      do:
+        request:
+          attributes:
+            - node-id
+            - error-id
+        reply:
+          attributes: &errorinfo
+            - error-id
+            - error-name
+            - error-value
+      dump:
+        request:
+          attributes:
+            - node-id
+        reply:
+          attributes: *errorinfo
diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig
index 0d0657dd1b41..5386248e75b6 100644
--- a/drivers/gpu/drm/Kconfig
+++ b/drivers/gpu/drm/Kconfig
@@ -130,6 +130,16 @@ config DRM_PANIC_SCREEN_QR_VERSION
 	  Smaller QR code are easier to read, but will contain less debugging
 	  data. Default is 40.
 
+config DRM_RAS
+	bool "DRM RAS support"
+	depends on DRM
+	depends on NET
+	help
+	  Enables the DRM RAS (Reliability, Availability and Serviceability)
+	  support for DRM drivers. This provides a Generic Netlink interface
+	  for error reporting and queries.
+	  If in doubt, say "N".
+
 config DRM_DEBUG_DP_MST_TOPOLOGY_REFS
         bool "Enable refcount backtrace history in the DP MST helpers"
 	depends on STACKTRACE_SUPPORT
diff --git a/drivers/gpu/drm/Makefile b/drivers/gpu/drm/Makefile
index aba4bf542a35..e97faabcd783 100644
--- a/drivers/gpu/drm/Makefile
+++ b/drivers/gpu/drm/Makefile
@@ -93,6 +93,7 @@ drm-$(CONFIG_DRM_ACCEL) += ../../accel/drm_accel.o
 drm-$(CONFIG_DRM_PANIC) += drm_panic.o
 drm-$(CONFIG_DRM_DRAW) += drm_draw.o
 drm-$(CONFIG_DRM_PANIC_SCREEN_QR_CODE) += drm_panic_qr.o
+drm-$(CONFIG_DRM_RAS) += drm_ras.o drm_ras_nl.o drm_ras_genl_family.o
 obj-$(CONFIG_DRM)	+= drm.o
 
 obj-$(CONFIG_DRM_PANEL_ORIENTATION_QUIRKS) += drm_panel_orientation_quirks.o
diff --git a/drivers/gpu/drm/drm_drv.c b/drivers/gpu/drm/drm_drv.c
index 2915118436ce..6b965c3d3307 100644
--- a/drivers/gpu/drm/drm_drv.c
+++ b/drivers/gpu/drm/drm_drv.c
@@ -53,6 +53,7 @@
 #include <drm/drm_panic.h>
 #include <drm/drm_print.h>
 #include <drm/drm_privacy_screen_machine.h>
+#include <drm/drm_ras_genl_family.h>
 
 #include "drm_crtc_internal.h"
 #include "drm_internal.h"
@@ -1223,6 +1224,7 @@ static const struct file_operations drm_stub_fops = {
 
 static void drm_core_exit(void)
 {
+	drm_ras_genl_family_unregister();
 	drm_privacy_screen_lookup_exit();
 	drm_panic_exit();
 	accel_core_exit();
@@ -1261,6 +1263,10 @@ static int __init drm_core_init(void)
 
 	drm_privacy_screen_lookup_init();
 
+	ret = drm_ras_genl_family_register();
+	if (ret < 0)
+		goto error;
+
 	drm_core_init_complete = true;
 
 	DRM_DEBUG("Initialized\n");
diff --git a/drivers/gpu/drm/drm_ras.c b/drivers/gpu/drm/drm_ras.c
new file mode 100644
index 000000000000..b2fa5ab86d87
--- /dev/null
+++ b/drivers/gpu/drm/drm_ras.c
@@ -0,0 +1,354 @@
+// SPDX-License-Identifier: MIT
+/*
+ * Copyright © 2026 Intel Corporation
+ */
+
+#include <linux/module.h>
+#include <linux/kernel.h>
+#include <linux/netdevice.h>
+#include <linux/xarray.h>
+#include <net/genetlink.h>
+
+#include <drm/drm_ras.h>
+
+#include "drm_ras_nl.h"
+
+/**
+ * DOC: DRM RAS Node Management
+ *
+ * This module provides the infrastructure to manage RAS (Reliability,
+ * Availability, and Serviceability) nodes for DRM drivers. Each
+ * DRM driver may register one or more RAS nodes, which represent
+ * logical components capable of reporting error counters and other
+ * reliability metrics.
+ *
+ * The nodes are stored in a global xarray `drm_ras_xa` to allow
+ * efficient lookup by ID. Nodes can be registered or unregistered
+ * dynamically at runtime.
+ *
+ * A Generic Netlink family `drm_ras` exposes two main operations to
+ * userspace:
+ *
+ * 1. LIST_NODES: Dump all currently registered RAS nodes.
+ *    The user receives an array of node IDs, names, and types.
+ *
+ * 2. GET_ERROR_COUNTER: Get error counters of a given node.
+ *    Userspace must provide Node ID, Error ID (Optional for specific counter).
+ *    Returns all counters of a node if only Node ID is provided or specific
+ *    error counters.
+ *
+ * Node registration:
+ *
+ * - drm_ras_node_register(): Registers a new node and assigns
+ *   it a unique ID in the xarray.
+ * - drm_ras_node_unregister(): Removes a previously registered
+ *   node from the xarray.
+ *
+ * Node type:
+ *
+ * - ERROR_COUNTER:
+ *     + Currently, only error counters are supported.
+ *     + The driver must implement the query_error_counter() callback to provide
+ *       the name and the value of the error counter.
+ *     + The driver must provide a error_counter_range.last value informing the
+ *       last valid error ID.
+ *     + The driver can provide a error_counter_range.first value informing the
+ *       first valid error ID.
+ *     + The error counters in the driver doesn't need to be contiguous, but the
+ *       driver must return -ENOENT to the query_error_counter as an indication
+ *       that the ID should be skipped and not listed in the netlink API.
+ *
+ * Netlink handlers:
+ *
+ * - drm_ras_nl_list_nodes_dumpit(): Implements the LIST_NODES
+ *   operation, iterating over the xarray.
+ * - drm_ras_nl_get_error_counter_dumpit(): Implements the GET_ERROR_COUNTER dumpit
+ *   operation, fetching all counters from a specific node.
+ * - drm_ras_nl_get_error_counter_doit(): Implements the GET_ERROR_COUNTER doit
+ *   operation, fetching a counter value from a specific node.
+ */
+
+static DEFINE_XARRAY_ALLOC(drm_ras_xa);
+
+/*
+ * The netlink callback context carries dump state across multiple dumpit calls
+ */
+struct drm_ras_ctx {
+	/* Which xarray id to restart the dump from */
+	unsigned long restart;
+};
+
+/**
+ * drm_ras_nl_list_nodes_dumpit() - Dump all registered RAS nodes
+ * @skb: Netlink message buffer
+ * @cb: Callback context for multi-part dumps
+ *
+ * Iterates over all registered RAS nodes in the global xarray and appends
+ * their attributes (ID, name, type) to the given netlink message buffer.
+ * Uses @cb->ctx to track progress in case the message buffer fills up, allowing
+ * multi-part dump support. On buffer overflow, updates the context to resume
+ * from the last node on the next invocation.
+ *
+ * Return: 0 if all nodes fit in @skb, number of bytes added to @skb if
+ *          the buffer filled up (requires multi-part continuation), or
+ *          a negative error code on failure.
+ */
+int drm_ras_nl_list_nodes_dumpit(struct sk_buff *skb,
+				 struct netlink_callback *cb)
+{
+	const struct genl_info *info = genl_info_dump(cb);
+	struct drm_ras_ctx *ctx = (void *)cb->ctx;
+	struct drm_ras_node *node;
+	struct nlattr *hdr;
+	unsigned long id;
+	int ret;
+
+	xa_for_each_start(&drm_ras_xa, id, node, ctx->restart) {
+		hdr = genlmsg_iput(skb, info);
+		if (!hdr) {
+			ret = -EMSGSIZE;
+			break;
+		}
+
+		ret = nla_put_u32(skb, DRM_RAS_A_NODE_ATTRS_NODE_ID, node->id);
+		if (ret) {
+			genlmsg_cancel(skb, hdr);
+			break;
+		}
+
+		ret = nla_put_string(skb, DRM_RAS_A_NODE_ATTRS_DEVICE_NAME,
+				     node->device_name);
+		if (ret) {
+			genlmsg_cancel(skb, hdr);
+			break;
+		}
+
+		ret = nla_put_string(skb, DRM_RAS_A_NODE_ATTRS_NODE_NAME,
+				     node->node_name);
+		if (ret) {
+			genlmsg_cancel(skb, hdr);
+			break;
+		}
+
+		ret = nla_put_u32(skb, DRM_RAS_A_NODE_ATTRS_NODE_TYPE,
+				  node->type);
+		if (ret) {
+			genlmsg_cancel(skb, hdr);
+			break;
+		}
+
+		genlmsg_end(skb, hdr);
+	}
+
+	if (ret == -EMSGSIZE)
+		ctx->restart = id;
+
+	return ret;
+}
+
+static int get_node_error_counter(u32 node_id, u32 error_id,
+				  const char **name, u32 *value)
+{
+	struct drm_ras_node *node;
+
+	node = xa_load(&drm_ras_xa, node_id);
+	if (!node || !node->query_error_counter)
+		return -ENOENT;
+
+	if (error_id < node->error_counter_range.first ||
+	    error_id > node->error_counter_range.last)
+		return -EINVAL;
+
+	return node->query_error_counter(node, error_id, name, value);
+}
+
+static int msg_reply_value(struct sk_buff *msg, u32 error_id,
+			   const char *error_name, u32 value)
+{
+	int ret;
+
+	ret = nla_put_u32(msg, DRM_RAS_A_ERROR_COUNTER_ATTRS_ERROR_ID, error_id);
+	if (ret)
+		return ret;
+
+	ret = nla_put_string(msg, DRM_RAS_A_ERROR_COUNTER_ATTRS_ERROR_NAME,
+			     error_name);
+	if (ret)
+		return ret;
+
+	return nla_put_u32(msg, DRM_RAS_A_ERROR_COUNTER_ATTRS_ERROR_VALUE,
+			   value);
+}
+
+static int doit_reply_value(struct genl_info *info, u32 node_id,
+			    u32 error_id)
+{
+	struct sk_buff *msg;
+	struct nlattr *hdr;
+	const char *error_name;
+	u32 value;
+	int ret;
+
+	msg = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL);
+	if (!msg)
+		return -ENOMEM;
+
+	hdr = genlmsg_iput(msg, info);
+	if (!hdr) {
+		nlmsg_free(msg);
+		return -EMSGSIZE;
+	}
+
+	ret = get_node_error_counter(node_id, error_id,
+				     &error_name, &value);
+	if (ret)
+		return ret;
+
+	ret = msg_reply_value(msg, error_id, error_name, value);
+	if (ret) {
+		genlmsg_cancel(msg, hdr);
+		nlmsg_free(msg);
+		return ret;
+	}
+
+	genlmsg_end(msg, hdr);
+
+	return genlmsg_reply(msg, info);
+}
+
+/**
+ * drm_ras_nl_get_error_counter_dumpit() - Dump all Error Counters
+ * @skb: Netlink message buffer
+ * @cb: Callback context for multi-part dumps
+ *
+ * Iterates over all error counters in a given Node and appends
+ * their attributes (ID, name, value) to the given netlink message buffer.
+ * Uses @cb->ctx to track progress in case the message buffer fills up, allowing
+ * multi-part dump support. On buffer overflow, updates the context to resume
+ * from the last node on the next invocation.
+ *
+ * Return: 0 if all errors fit in @skb, number of bytes added to @skb if
+ *          the buffer filled up (requires multi-part continuation), or
+ *          a negative error code on failure.
+ */
+int drm_ras_nl_get_error_counter_dumpit(struct sk_buff *skb,
+					struct netlink_callback *cb)
+{
+	const struct genl_info *info = genl_info_dump(cb);
+	struct drm_ras_ctx *ctx = (void *)cb->ctx;
+	struct drm_ras_node *node;
+	struct nlattr *hdr;
+	const char *error_name;
+	u32 node_id, error_id, value;
+	int ret;
+
+	if (!info->attrs || GENL_REQ_ATTR_CHECK(info, DRM_RAS_A_ERROR_COUNTER_ATTRS_NODE_ID))
+		return -EINVAL;
+
+	node_id = nla_get_u32(info->attrs[DRM_RAS_A_ERROR_COUNTER_ATTRS_NODE_ID]);
+
+	node = xa_load(&drm_ras_xa, node_id);
+	if (!node)
+		return -ENOENT;
+
+	for (error_id = max(node->error_counter_range.first, ctx->restart);
+	     error_id <= node->error_counter_range.last;
+	     error_id++) {
+		ret = get_node_error_counter(node_id, error_id,
+					     &error_name, &value);
+		/*
+		 * For non-contiguous range, driver return -ENOENT as indication
+		 * to skip this ID when listing all errors.
+		 */
+		if (ret == -ENOENT)
+			continue;
+		if (ret)
+			return ret;
+
+		hdr = genlmsg_iput(skb, info);
+
+		if (!hdr) {
+			ret = -EMSGSIZE;
+			break;
+		}
+
+		ret = msg_reply_value(skb, error_id, error_name, value);
+		if (ret) {
+			genlmsg_cancel(skb, hdr);
+			break;
+		}
+
+		genlmsg_end(skb, hdr);
+	}
+
+	if (ret == -EMSGSIZE)
+		ctx->restart = error_id;
+
+	return ret;
+}
+
+/**
+ * drm_ras_nl_get_error_counter_doit() - Query an error counter of an node
+ * @skb: Netlink message buffer
+ * @info: Generic Netlink info containing attributes of the request
+ *
+ * Extracts the node ID and error ID from the netlink attributes and
+ * retrieves the current value of the corresponding error counter. Sends the
+ * result back to the requesting user via the standard Genl reply.
+ *
+ * Return: 0 on success, or negative errno on failure.
+ */
+int drm_ras_nl_get_error_counter_doit(struct sk_buff *skb,
+				      struct genl_info *info)
+{
+	u32 node_id, error_id;
+
+	if (!info->attrs ||
+	    GENL_REQ_ATTR_CHECK(info, DRM_RAS_A_ERROR_COUNTER_ATTRS_NODE_ID) ||
+	    GENL_REQ_ATTR_CHECK(info, DRM_RAS_A_ERROR_COUNTER_ATTRS_ERROR_ID))
+		return -EINVAL;
+
+	node_id = nla_get_u32(info->attrs[DRM_RAS_A_ERROR_COUNTER_ATTRS_NODE_ID]);
+	error_id = nla_get_u32(info->attrs[DRM_RAS_A_ERROR_COUNTER_ATTRS_ERROR_ID]);
+
+	return doit_reply_value(info, node_id, error_id);
+}
+
+/**
+ * drm_ras_node_register() - Register a new RAS node
+ * @node: Node structure to register
+ *
+ * Adds the given RAS node to the global node xarray and assigns it
+ * a unique ID. Both @node->name and @node->type must be valid.
+ *
+ * Return: 0 on success, or negative errno on failure:
+ */
+int drm_ras_node_register(struct drm_ras_node *node)
+{
+	if (!node->device_name || !node->node_name)
+		return -EINVAL;
+
+	/* Currently, only Error Counter Endpoints are supported */
+	if (node->type != DRM_RAS_NODE_TYPE_ERROR_COUNTER)
+		return -EINVAL;
+
+	/* Mandatory entries for Error Counter Node */
+	if (node->type == DRM_RAS_NODE_TYPE_ERROR_COUNTER &&
+	    (!node->error_counter_range.last || !node->query_error_counter))
+		return -EINVAL;
+
+	return xa_alloc(&drm_ras_xa, &node->id, node, xa_limit_32b, GFP_KERNEL);
+}
+EXPORT_SYMBOL(drm_ras_node_register);
+
+/**
+ * drm_ras_node_unregister() - Unregister a previously registered node
+ * @node: Node structure to unregister
+ *
+ * Removes the given node from the global node xarray using its ID.
+ */
+void drm_ras_node_unregister(struct drm_ras_node *node)
+{
+	xa_erase(&drm_ras_xa, node->id);
+}
+EXPORT_SYMBOL(drm_ras_node_unregister);
diff --git a/drivers/gpu/drm/drm_ras_genl_family.c b/drivers/gpu/drm/drm_ras_genl_family.c
new file mode 100644
index 000000000000..6f406d3d48c5
--- /dev/null
+++ b/drivers/gpu/drm/drm_ras_genl_family.c
@@ -0,0 +1,42 @@
+// SPDX-License-Identifier: MIT
+/*
+ * Copyright © 2026 Intel Corporation
+ */
+
+#include <drm/drm_ras_genl_family.h>
+#include "drm_ras_nl.h"
+
+/* Track family registration so the drm_exit can be called at any time */
+static bool registered;
+
+/**
+ * drm_ras_genl_family_register() - Register drm-ras genl family
+ *
+ * Only to be called one at drm_drv_init()
+ */
+int drm_ras_genl_family_register(void)
+{
+	int ret;
+
+	registered = false;
+
+	ret = genl_register_family(&drm_ras_nl_family);
+	if (ret)
+		return ret;
+
+	registered = true;
+	return 0;
+}
+
+/**
+ * drm_ras_genl_family_unregister() - Unregister drm-ras genl family
+ *
+ * To be called one at drm_drv_exit() at any moment, but only once.
+ */
+void drm_ras_genl_family_unregister(void)
+{
+	if (registered) {
+		genl_unregister_family(&drm_ras_nl_family);
+		registered = false;
+	}
+}
diff --git a/drivers/gpu/drm/drm_ras_nl.c b/drivers/gpu/drm/drm_ras_nl.c
new file mode 100644
index 000000000000..16803d0c4a44
--- /dev/null
+++ b/drivers/gpu/drm/drm_ras_nl.c
@@ -0,0 +1,56 @@
+// SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
+/* Do not edit directly, auto-generated from: */
+/*	Documentation/netlink/specs/drm_ras.yaml */
+/* YNL-GEN kernel source */
+/* To regenerate run: tools/net/ynl/ynl-regen.sh */
+
+#include <net/netlink.h>
+#include <net/genetlink.h>
+
+#include "drm_ras_nl.h"
+
+#include <uapi/drm/drm_ras.h>
+
+/* DRM_RAS_CMD_GET_ERROR_COUNTER - do */
+static const struct nla_policy drm_ras_get_error_counter_do_nl_policy[DRM_RAS_A_ERROR_COUNTER_ATTRS_ERROR_ID + 1] = {
+	[DRM_RAS_A_ERROR_COUNTER_ATTRS_NODE_ID] = { .type = NLA_U32, },
+	[DRM_RAS_A_ERROR_COUNTER_ATTRS_ERROR_ID] = { .type = NLA_U32, },
+};
+
+/* DRM_RAS_CMD_GET_ERROR_COUNTER - dump */
+static const struct nla_policy drm_ras_get_error_counter_dump_nl_policy[DRM_RAS_A_ERROR_COUNTER_ATTRS_NODE_ID + 1] = {
+	[DRM_RAS_A_ERROR_COUNTER_ATTRS_NODE_ID] = { .type = NLA_U32, },
+};
+
+/* Ops table for drm_ras */
+static const struct genl_split_ops drm_ras_nl_ops[] = {
+	{
+		.cmd	= DRM_RAS_CMD_LIST_NODES,
+		.dumpit	= drm_ras_nl_list_nodes_dumpit,
+		.flags	= GENL_ADMIN_PERM | GENL_CMD_CAP_DUMP,
+	},
+	{
+		.cmd		= DRM_RAS_CMD_GET_ERROR_COUNTER,
+		.doit		= drm_ras_nl_get_error_counter_doit,
+		.policy		= drm_ras_get_error_counter_do_nl_policy,
+		.maxattr	= DRM_RAS_A_ERROR_COUNTER_ATTRS_ERROR_ID,
+		.flags		= GENL_ADMIN_PERM | GENL_CMD_CAP_DO,
+	},
+	{
+		.cmd		= DRM_RAS_CMD_GET_ERROR_COUNTER,
+		.dumpit		= drm_ras_nl_get_error_counter_dumpit,
+		.policy		= drm_ras_get_error_counter_dump_nl_policy,
+		.maxattr	= DRM_RAS_A_ERROR_COUNTER_ATTRS_NODE_ID,
+		.flags		= GENL_ADMIN_PERM | GENL_CMD_CAP_DUMP,
+	},
+};
+
+struct genl_family drm_ras_nl_family __ro_after_init = {
+	.name		= DRM_RAS_FAMILY_NAME,
+	.version	= DRM_RAS_FAMILY_VERSION,
+	.netnsok	= true,
+	.parallel_ops	= true,
+	.module		= THIS_MODULE,
+	.split_ops	= drm_ras_nl_ops,
+	.n_split_ops	= ARRAY_SIZE(drm_ras_nl_ops),
+};
diff --git a/drivers/gpu/drm/drm_ras_nl.h b/drivers/gpu/drm/drm_ras_nl.h
new file mode 100644
index 000000000000..06ccd9342773
--- /dev/null
+++ b/drivers/gpu/drm/drm_ras_nl.h
@@ -0,0 +1,24 @@
+/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
+/* Do not edit directly, auto-generated from: */
+/*	Documentation/netlink/specs/drm_ras.yaml */
+/* YNL-GEN kernel header */
+/* To regenerate run: tools/net/ynl/ynl-regen.sh */
+
+#ifndef _LINUX_DRM_RAS_GEN_H
+#define _LINUX_DRM_RAS_GEN_H
+
+#include <net/netlink.h>
+#include <net/genetlink.h>
+
+#include <uapi/drm/drm_ras.h>
+
+int drm_ras_nl_list_nodes_dumpit(struct sk_buff *skb,
+				 struct netlink_callback *cb);
+int drm_ras_nl_get_error_counter_doit(struct sk_buff *skb,
+				      struct genl_info *info);
+int drm_ras_nl_get_error_counter_dumpit(struct sk_buff *skb,
+					struct netlink_callback *cb);
+
+extern struct genl_family drm_ras_nl_family;
+
+#endif /* _LINUX_DRM_RAS_GEN_H */
diff --git a/include/drm/drm_ras.h b/include/drm/drm_ras.h
new file mode 100644
index 000000000000..5d50209e51db
--- /dev/null
+++ b/include/drm/drm_ras.h
@@ -0,0 +1,75 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2026 Intel Corporation
+ */
+
+#ifndef __DRM_RAS_H__
+#define __DRM_RAS_H__
+
+#include <uapi/drm/drm_ras.h>
+
+/**
+ * struct drm_ras_node - A DRM RAS Node
+ */
+struct drm_ras_node {
+	/** @id: Unique identifier for the node. Dynamically assigned. */
+	u32 id;
+	/**
+	 * @device_name: Human-readable name of the device. Given by the driver.
+	 */
+	const char *device_name;
+	/** @node_name: Human-readable name of the node. Given by the driver. */
+	const char *node_name;
+	/** @type: Type of the node (enum drm_ras_node_type). */
+	enum drm_ras_node_type type;
+
+	/* Error-Counter Related Callback and Variables */
+
+	/** @error_counter_range: Range of valid Error IDs for this node. */
+	struct {
+		/** @first: First valid Error ID. */
+		u32 first;
+		/** @last: Last valid Error ID. Mandatory entry. */
+		u32 last;
+	} error_counter_range;
+
+	/**
+	 * @query_error_counter:
+	 *
+	 * This callback is used by drm-ras to query a specific error counter.
+	 * Used for input check and to iterate all error counters in a node.
+	 *
+	 * Driver should expect query_error_counter() to be called with
+	 * error_id from `error_counter_range.first` to
+	 * `error_counter_range.last`.
+	 *
+	 * The @query_error_counter is a mandatory callback for
+	 * error_counter_node.
+	 *
+	 * Returns: 0 on success,
+	 *          -ENOENT when error_id is not supported as an indication that
+	 *                  drm_ras should silently skip this entry. Used for
+	 *                  supporting non-contiguous error ranges.
+	 *                  Driver is responsible for maintaining the list of
+	 *                  supported error IDs in the range of first to last.
+	 *          Other negative values on errors that should terminate the
+	 *          netlink query.
+	 */
+	int (*query_error_counter)(struct drm_ras_node *node, u32 error_id,
+				   const char **name, u32 *val);
+
+	/** @priv: Driver private data */
+	void *priv;
+};
+
+struct drm_device;
+
+#if IS_ENABLED(CONFIG_DRM_RAS)
+int drm_ras_node_register(struct drm_ras_node *node);
+void drm_ras_node_unregister(struct drm_ras_node *node);
+#else
+static inline int drm_ras_node_register(struct drm_ras_node *node) { return 0; }
+static inline void drm_ras_node_unregister(struct drm_ras_node *node) { }
+#endif
+
+#endif
diff --git a/include/drm/drm_ras_genl_family.h b/include/drm/drm_ras_genl_family.h
new file mode 100644
index 000000000000..910fb3943a75
--- /dev/null
+++ b/include/drm/drm_ras_genl_family.h
@@ -0,0 +1,17 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2026 Intel Corporation
+ */
+
+#ifndef __DRM_RAS_GENL_FAMILY_H__
+#define __DRM_RAS_GENL_FAMILY_H__
+
+#if IS_ENABLED(CONFIG_DRM_RAS)
+int drm_ras_genl_family_register(void);
+void drm_ras_genl_family_unregister(void);
+#else
+static inline int drm_ras_genl_family_register(void) { return 0; }
+static inline void drm_ras_genl_family_unregister(void) { }
+#endif
+
+#endif
diff --git a/include/uapi/drm/drm_ras.h b/include/uapi/drm/drm_ras.h
new file mode 100644
index 000000000000..5f40fa5b869d
--- /dev/null
+++ b/include/uapi/drm/drm_ras.h
@@ -0,0 +1,49 @@
+/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
+/* Do not edit directly, auto-generated from: */
+/*	Documentation/netlink/specs/drm_ras.yaml */
+/* YNL-GEN uapi header */
+/* To regenerate run: tools/net/ynl/ynl-regen.sh */
+
+#ifndef _UAPI_LINUX_DRM_RAS_H
+#define _UAPI_LINUX_DRM_RAS_H
+
+#define DRM_RAS_FAMILY_NAME	"drm-ras"
+#define DRM_RAS_FAMILY_VERSION	1
+
+/*
+ * Type of the node. Currently, only error-counter nodes are supported, which
+ * expose reliability counters for a hardware/software component.
+ */
+enum drm_ras_node_type {
+	DRM_RAS_NODE_TYPE_ERROR_COUNTER = 1,
+};
+
+enum {
+	DRM_RAS_A_NODE_ATTRS_NODE_ID = 1,
+	DRM_RAS_A_NODE_ATTRS_DEVICE_NAME,
+	DRM_RAS_A_NODE_ATTRS_NODE_NAME,
+	DRM_RAS_A_NODE_ATTRS_NODE_TYPE,
+
+	__DRM_RAS_A_NODE_ATTRS_MAX,
+	DRM_RAS_A_NODE_ATTRS_MAX = (__DRM_RAS_A_NODE_ATTRS_MAX - 1)
+};
+
+enum {
+	DRM_RAS_A_ERROR_COUNTER_ATTRS_NODE_ID = 1,
+	DRM_RAS_A_ERROR_COUNTER_ATTRS_ERROR_ID,
+	DRM_RAS_A_ERROR_COUNTER_ATTRS_ERROR_NAME,
+	DRM_RAS_A_ERROR_COUNTER_ATTRS_ERROR_VALUE,
+
+	__DRM_RAS_A_ERROR_COUNTER_ATTRS_MAX,
+	DRM_RAS_A_ERROR_COUNTER_ATTRS_MAX = (__DRM_RAS_A_ERROR_COUNTER_ATTRS_MAX - 1)
+};
+
+enum {
+	DRM_RAS_CMD_LIST_NODES = 1,
+	DRM_RAS_CMD_GET_ERROR_COUNTER,
+
+	__DRM_RAS_CMD_MAX,
+	DRM_RAS_CMD_MAX = (__DRM_RAS_CMD_MAX - 1)
+};
+
+#endif /* _UAPI_LINUX_DRM_RAS_H */
-- 
2.47.1


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH v10 2/5] drm/xe/xe_drm_ras: Add support for XE DRM RAS
  2026-03-04  7:44 [PATCH v10 0/5] Introduce DRM_RAS using generic netlink for RAS Riana Tauro
                   ` (2 preceding siblings ...)
  2026-03-04  7:44 ` [PATCH v10 1/5] drm/ras: Introduce the DRM RAS infrastructure over generic netlink Riana Tauro
@ 2026-03-04  7:44 ` Riana Tauro
  2026-03-04  7:44 ` [PATCH v10 3/5] drm/xe/xe_hw_error: Integrate DRM RAS with hardware error handling Riana Tauro
                   ` (10 subsequent siblings)
  14 siblings, 0 replies; 18+ messages in thread
From: Riana Tauro @ 2026-03-04  7:44 UTC (permalink / raw)
  To: intel-xe, dri-devel
  Cc: aravind.iddamsetty, anshuman.gupta, rodrigo.vivi, joonas.lahtinen,
	simona.vetter, airlied, pratik.bari, joshua.santosh.ranjan,
	ashwin.kumar.kulkarni, shubham.kumar, ravi.kishore.koppuravuri,
	raag.jadav, anvesh.bakwad, Riana Tauro

Allocate correctable, uncorrectable nodes for every xe device. Each node
contains error component, counters and respective query counter functions.

Add basic functionality to create and register drm nodes.

Below operations can be performed using Generic netlink DRM RAS interface:

1) List Nodes:

    $ sudo ynl --family drm_ras --dump list-nodes
    [{'device-name': '0000:03:00.0',
      'node-id': 0,
      'node-name': 'correctable-errors',
      'node-type': 'error-counter'},
     {'device-name': '0000:03:00.0',
      'node-id': 1,
      'node-name': 'uncorrectable-errors',
      'node-type': 'error-counter'}]

2) Get Error counters:

    $ sudo ynl --family drm_ras --dump get-error-counter --json '{"node-id":0}'
    [{'error-id': 1, 'error-name': 'core-compute', 'error-value': 0},
    {'error-id': 2, 'error-name': 'soc-internal', 'error-value': 0}]

3) Get specific Error counter:

    $ sudo ynl --family drm_ras --do get-error-counter --json '{"node-id":0, "error-id":1}'
    {'error-id': 1, 'error-name': 'core-compute', 'error-value': 0}

Signed-off-by: Riana Tauro <riana.tauro@intel.com>
Reviewed-by: Raag Jadav <raag.jadav@intel.com>
---
v2: Add ID's and names as uAPI (Rodrigo)
    Add documentation
    Modify commit message

v3: remove 'error' from counters
    use drmm_kcalloc
    add a for_each for severity
    differentitate error classes and severity in uapi (Raag)
    Use correctable and uncorrectable in uapi (Pratik / Aravind)

v4: change UAPI enums
    split patches
    make drm_kcalloc robust
    fix function names and memory leak (Raag)
    add null pointer check for device_name
    start loop counter from 1

v5: reorder linux includes
    rename to error_components
    use drmm_action for de-registeration
    rename xe_drm_ras_allocate_nodes to xe_drm_ras_init
    free info if DRM RAS registeration fails (Raag)

v6: cleanup node parameters in LIFO order
    print errors for failures (Raag)
---
 drivers/gpu/drm/xe/Makefile           |   1 +
 drivers/gpu/drm/xe/xe_device_types.h  |   4 +
 drivers/gpu/drm/xe/xe_drm_ras.c       | 186 ++++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_drm_ras.h       |  15 +++
 drivers/gpu/drm/xe/xe_drm_ras_types.h |  40 ++++++
 include/uapi/drm/xe_drm.h             |  79 +++++++++++
 6 files changed, 325 insertions(+)
 create mode 100644 drivers/gpu/drm/xe/xe_drm_ras.c
 create mode 100644 drivers/gpu/drm/xe/xe_drm_ras.h
 create mode 100644 drivers/gpu/drm/xe/xe_drm_ras_types.h

diff --git a/drivers/gpu/drm/xe/Makefile b/drivers/gpu/drm/xe/Makefile
index ff778fb2d4ff..f63fdf80055a 100644
--- a/drivers/gpu/drm/xe/Makefile
+++ b/drivers/gpu/drm/xe/Makefile
@@ -41,6 +41,7 @@ xe-y += xe_bb.o \
 	xe_device_sysfs.o \
 	xe_dma_buf.o \
 	xe_drm_client.o \
+	xe_drm_ras.o \
 	xe_eu_stall.o \
 	xe_exec.o \
 	xe_exec_queue.o \
diff --git a/drivers/gpu/drm/xe/xe_device_types.h b/drivers/gpu/drm/xe/xe_device_types.h
index caa8f34a6744..de6e6fe9dc14 100644
--- a/drivers/gpu/drm/xe/xe_device_types.h
+++ b/drivers/gpu/drm/xe/xe_device_types.h
@@ -13,6 +13,7 @@
 #include <drm/ttm/ttm_device.h>
 
 #include "xe_devcoredump_types.h"
+#include "xe_drm_ras_types.h"
 #include "xe_heci_gsc.h"
 #include "xe_late_bind_fw_types.h"
 #include "xe_oa_types.h"
@@ -509,6 +510,9 @@ struct xe_device {
 	/** @pmu: performance monitoring unit */
 	struct xe_pmu pmu;
 
+	/** @ras: RAS structure for device */
+	struct xe_drm_ras ras;
+
 	/** @i2c: I2C host controller */
 	struct xe_i2c *i2c;
 
diff --git a/drivers/gpu/drm/xe/xe_drm_ras.c b/drivers/gpu/drm/xe/xe_drm_ras.c
new file mode 100644
index 000000000000..e07dc23a155e
--- /dev/null
+++ b/drivers/gpu/drm/xe/xe_drm_ras.c
@@ -0,0 +1,186 @@
+// SPDX-License-Identifier: MIT
+/*
+ * Copyright © 2026 Intel Corporation
+ */
+
+#include <linux/bitmap.h>
+
+#include <drm/drm_managed.h>
+#include <drm/drm_print.h>
+#include <drm/drm_ras.h>
+
+#include "xe_device_types.h"
+#include "xe_drm_ras.h"
+
+static const char * const error_components[] = DRM_XE_RAS_ERROR_COMPONENT_NAMES;
+static const char * const error_severity[] = DRM_XE_RAS_ERROR_SEVERITY_NAMES;
+
+static int hw_query_error_counter(struct xe_drm_ras_counter *info,
+				  u32 error_id, const char **name, u32 *val)
+{
+	if (!info || !info[error_id].name)
+		return -ENOENT;
+
+	*name = info[error_id].name;
+	*val = atomic_read(&info[error_id].counter);
+
+	return 0;
+}
+
+static int query_uncorrectable_error_counter(struct drm_ras_node *ep, u32 error_id,
+					     const char **name, u32 *val)
+{
+	struct xe_device *xe = ep->priv;
+	struct xe_drm_ras *ras = &xe->ras;
+	struct xe_drm_ras_counter *info = ras->info[DRM_XE_RAS_ERR_SEV_UNCORRECTABLE];
+
+	return hw_query_error_counter(info, error_id, name, val);
+}
+
+static int query_correctable_error_counter(struct drm_ras_node *ep, u32 error_id,
+					   const char **name, u32 *val)
+{
+	struct xe_device *xe = ep->priv;
+	struct xe_drm_ras *ras = &xe->ras;
+	struct xe_drm_ras_counter *info = ras->info[DRM_XE_RAS_ERR_SEV_CORRECTABLE];
+
+	return hw_query_error_counter(info, error_id, name, val);
+}
+
+static struct xe_drm_ras_counter *allocate_and_copy_counters(struct xe_device *xe)
+{
+	struct xe_drm_ras_counter *counter;
+	int i;
+
+	counter = kcalloc(DRM_XE_RAS_ERR_COMP_MAX, sizeof(*counter), GFP_KERNEL);
+	if (!counter)
+		return ERR_PTR(-ENOMEM);
+
+	for (i = DRM_XE_RAS_ERR_COMP_CORE_COMPUTE; i < DRM_XE_RAS_ERR_COMP_MAX; i++) {
+		if (!error_components[i])
+			continue;
+
+		counter[i].name = error_components[i];
+		atomic_set(&counter[i].counter, 0);
+	}
+
+	return counter;
+}
+
+static int assign_node_params(struct xe_device *xe, struct drm_ras_node *node,
+			      const enum drm_xe_ras_error_severity severity)
+{
+	struct pci_dev *pdev = to_pci_dev(xe->drm.dev);
+	struct xe_drm_ras *ras = &xe->ras;
+	const char *device_name;
+
+	device_name = kasprintf(GFP_KERNEL, "%04x:%02x:%02x.%d",
+				pci_domain_nr(pdev->bus), pdev->bus->number,
+				PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn));
+
+	if (!device_name)
+		return -ENOMEM;
+
+	node->device_name = device_name;
+	node->node_name = error_severity[severity];
+	node->type = DRM_RAS_NODE_TYPE_ERROR_COUNTER;
+	node->error_counter_range.first = DRM_XE_RAS_ERR_COMP_CORE_COMPUTE;
+	node->error_counter_range.last = DRM_XE_RAS_ERR_COMP_MAX - 1;
+	node->priv = xe;
+
+	ras->info[severity] = allocate_and_copy_counters(xe);
+	if (IS_ERR(ras->info[severity]))
+		return PTR_ERR(ras->info[severity]);
+
+	if (severity == DRM_XE_RAS_ERR_SEV_CORRECTABLE)
+		node->query_error_counter = query_correctable_error_counter;
+	else
+		node->query_error_counter = query_uncorrectable_error_counter;
+
+	return 0;
+}
+
+static void cleanup_node_param(struct xe_drm_ras *ras, const enum drm_xe_ras_error_severity severity)
+{
+	struct drm_ras_node *node = &ras->node[severity];
+
+	kfree(ras->info[severity]);
+	ras->info[severity] = NULL;
+
+	kfree(node->device_name);
+	node->device_name = NULL;
+}
+
+static int register_nodes(struct xe_device *xe)
+{
+	struct xe_drm_ras *ras = &xe->ras;
+	int i;
+
+	for_each_error_severity(i) {
+		struct drm_ras_node *node = &ras->node[i];
+		int ret;
+
+		ret = assign_node_params(xe, node, i);
+		if (ret) {
+			cleanup_node_param(ras, i);
+			return ret;
+		}
+
+		ret = drm_ras_node_register(node);
+		if (ret) {
+			cleanup_node_param(ras, i);
+			return ret;
+		}
+	}
+
+	return 0;
+}
+
+static void xe_drm_ras_unregister_nodes(struct drm_device *device, void *arg)
+{
+	struct xe_device *xe = arg;
+	struct xe_drm_ras *ras = &xe->ras;
+	int i;
+
+	for_each_error_severity(i) {
+		struct drm_ras_node *node = &ras->node[i];
+
+		drm_ras_node_unregister(node);
+		cleanup_node_param(ras, i);
+	}
+}
+
+/**
+ * xe_drm_ras_init() - Initialize DRM RAS
+ * @xe: xe device instance
+ *
+ * Allocate and register DRM RAS nodes per device
+ *
+ * Return: 0 on success, negative error code otherwise.
+ */
+int xe_drm_ras_init(struct xe_device *xe)
+{
+	struct xe_drm_ras *ras = &xe->ras;
+	struct drm_ras_node *node;
+	int err;
+
+	node = drmm_kcalloc(&xe->drm, DRM_XE_RAS_ERR_SEV_MAX, sizeof(*node), GFP_KERNEL);
+	if (!node)
+		return -ENOMEM;
+
+	ras->node = node;
+
+	err = register_nodes(xe);
+	if (err) {
+		drm_err(&xe->drm, "Failed to register DRM RAS nodes (%pe)\n", ERR_PTR(err));
+		return err;
+	}
+
+	err = drmm_add_action_or_reset(&xe->drm, xe_drm_ras_unregister_nodes, xe);
+	if (err) {
+		drm_err(&xe->drm, "Failed to add action for Xe DRM RAS (%pe)\n", ERR_PTR(err));
+		return err;
+	}
+
+	return 0;
+}
diff --git a/drivers/gpu/drm/xe/xe_drm_ras.h b/drivers/gpu/drm/xe/xe_drm_ras.h
new file mode 100644
index 000000000000..5cc8f0124411
--- /dev/null
+++ b/drivers/gpu/drm/xe/xe_drm_ras.h
@@ -0,0 +1,15 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2026 Intel Corporation
+ */
+#ifndef XE_DRM_RAS_H_
+#define XE_DRM_RAS_H_
+
+struct xe_device;
+
+#define for_each_error_severity(i)	\
+	for (i = 0; i < DRM_XE_RAS_ERR_SEV_MAX; i++)
+
+int xe_drm_ras_init(struct xe_device *xe);
+
+#endif
diff --git a/drivers/gpu/drm/xe/xe_drm_ras_types.h b/drivers/gpu/drm/xe/xe_drm_ras_types.h
new file mode 100644
index 000000000000..7acc5e7377b2
--- /dev/null
+++ b/drivers/gpu/drm/xe/xe_drm_ras_types.h
@@ -0,0 +1,40 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2026 Intel Corporation
+ */
+
+#ifndef _XE_DRM_RAS_TYPES_H_
+#define _XE_DRM_RAS_TYPES_H_
+
+#include <linux/atomic.h>
+#include <drm/xe_drm.h>
+
+struct drm_ras_node;
+
+/**
+ * struct xe_drm_ras_counter - XE RAS counter
+ *
+ * This structure contains error component and counter information
+ */
+struct xe_drm_ras_counter {
+	/** @name: error component name */
+	const char *name;
+
+	/** @counter: count of error */
+	atomic_t counter;
+};
+
+/**
+ * struct xe_drm_ras - XE DRM RAS structure
+ *
+ * This structure has details of error counters
+ */
+struct xe_drm_ras {
+	/** @node: DRM RAS node */
+	struct drm_ras_node *node;
+
+	/** @info: info array for all types of errors */
+	struct xe_drm_ras_counter *info[DRM_XE_RAS_ERR_SEV_MAX];
+};
+
+#endif
diff --git a/include/uapi/drm/xe_drm.h b/include/uapi/drm/xe_drm.h
index ef2565048bdf..b0264c32ceb2 100644
--- a/include/uapi/drm/xe_drm.h
+++ b/include/uapi/drm/xe_drm.h
@@ -2357,6 +2357,85 @@ struct drm_xe_exec_queue_set_property {
 	__u64 reserved[2];
 };
 
+/**
+ * DOC: Xe DRM RAS
+ *
+ * The enums and strings defined below map to the attributes of the DRM RAS Netlink Interface.
+ * Refer to Documentation/netlink/specs/drm_ras.yaml for complete interface specification.
+ *
+ * Node Registration
+ * =================
+ *
+ * The driver registers DRM RAS nodes for each error severity level.
+ * enum drm_xe_ras_error_severity defines the node-id, while DRM_XE_RAS_ERROR_SEVERITY_NAMES maps
+ * node-id to node-name.
+ *
+ * Error Classification
+ * ====================
+ *
+ * Each node contains a list of error counters. Each error is identified by a error-id and
+ * an error-name. enum drm_xe_ras_error_component defines the error-id, while
+ * DRM_XE_RAS_ERROR_COMPONENT_NAMES maps error-id to error-name.
+ *
+ * User Interface
+ * ==============
+ *
+ * To retrieve error values of a error counter, userspace applications should
+ * follow the below steps:
+ *
+ * 1. Use command LIST_NODES to enumerate all available nodes
+ * 2. Select node by node-id or node-name
+ * 3. Use command GET_ERROR_COUNTERS to list errors of specific node
+ * 4. Query specific error values using either error-id or error-name
+ *
+ * .. code-block:: C
+ *
+ *	// Lookup tables for ID-to-name resolution
+ *	static const char *nodes[] = DRM_XE_RAS_ERROR_SEVERITY_NAMES;
+ *	static const char *errors[] = DRM_XE_RAS_ERROR_COMPONENT_NAMES;
+ *
+ */
+
+/**
+ * enum drm_xe_ras_error_severity - DRM RAS error severity.
+ */
+enum drm_xe_ras_error_severity {
+	/** @DRM_XE_RAS_ERR_SEV_CORRECTABLE: Correctable Error */
+	DRM_XE_RAS_ERR_SEV_CORRECTABLE = 0,
+	/** @DRM_XE_RAS_ERR_SEV_UNCORRECTABLE: Uncorrectable Error */
+	DRM_XE_RAS_ERR_SEV_UNCORRECTABLE,
+	/** @DRM_XE_RAS_ERR_SEV_MAX: Max severity */
+	DRM_XE_RAS_ERR_SEV_MAX /* non-ABI */
+};
+
+/**
+ * enum drm_xe_ras_error_component - DRM RAS error component.
+ */
+enum drm_xe_ras_error_component {
+	/** @DRM_XE_RAS_ERR_COMP_CORE_COMPUTE: Core Compute Error */
+	DRM_XE_RAS_ERR_COMP_CORE_COMPUTE = 1,
+	/** @DRM_XE_RAS_ERR_COMP_SOC_INTERNAL: SoC Internal Error */
+	DRM_XE_RAS_ERR_COMP_SOC_INTERNAL,
+	/** @DRM_XE_RAS_ERR_COMP_MAX: Max Error */
+	DRM_XE_RAS_ERR_COMP_MAX	/* non-ABI */
+};
+
+/*
+ * Error severity to name mapping.
+ */
+#define DRM_XE_RAS_ERROR_SEVERITY_NAMES {				\
+	[DRM_XE_RAS_ERR_SEV_CORRECTABLE] = "correctable-errors",	\
+	[DRM_XE_RAS_ERR_SEV_UNCORRECTABLE] = "uncorrectable-errors",	\
+}
+
+/*
+ * Error component to name mapping.
+ */
+#define DRM_XE_RAS_ERROR_COMPONENT_NAMES {				\
+	[DRM_XE_RAS_ERR_COMP_CORE_COMPUTE] = "core-compute",		\
+	[DRM_XE_RAS_ERR_COMP_SOC_INTERNAL] = "soc-internal"		\
+}
+
 #if defined(__cplusplus)
 }
 #endif
-- 
2.47.1


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH v10 3/5] drm/xe/xe_hw_error: Integrate DRM RAS with hardware error handling
  2026-03-04  7:44 [PATCH v10 0/5] Introduce DRM_RAS using generic netlink for RAS Riana Tauro
                   ` (3 preceding siblings ...)
  2026-03-04  7:44 ` [PATCH v10 2/5] drm/xe/xe_drm_ras: Add support for XE DRM RAS Riana Tauro
@ 2026-03-04  7:44 ` Riana Tauro
  2026-03-04  7:44 ` [PATCH v10 4/5] drm/xe/xe_hw_error: Add support for Core-Compute errors Riana Tauro
                   ` (9 subsequent siblings)
  14 siblings, 0 replies; 18+ messages in thread
From: Riana Tauro @ 2026-03-04  7:44 UTC (permalink / raw)
  To: intel-xe, dri-devel
  Cc: aravind.iddamsetty, anshuman.gupta, rodrigo.vivi, joonas.lahtinen,
	simona.vetter, airlied, pratik.bari, joshua.santosh.ranjan,
	ashwin.kumar.kulkarni, shubham.kumar, ravi.kishore.koppuravuri,
	raag.jadav, anvesh.bakwad, Riana Tauro

Initialize DRM RAS in hw error init. Map the UAPI error severities
with the hardware error severities and refactor file.

Signed-off-by: Riana Tauro <riana.tauro@intel.com>
Reviewed-by: Raag Jadav <raag.jadav@intel.com>
---
v2: Fix harware error enum
    add severity_str in csc handler
    simplify hw_error_info_init() function
    use drm_err if initialization fails (Raag)

v3: print error on failure (Raag)

v4: use const (Raag)
---
 drivers/gpu/drm/xe/xe_drm_ras_types.h |  8 ++++
 drivers/gpu/drm/xe/xe_hw_error.c      | 62 +++++++++++++++------------
 2 files changed, 42 insertions(+), 28 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_drm_ras_types.h b/drivers/gpu/drm/xe/xe_drm_ras_types.h
index 7acc5e7377b2..8d729ad6a264 100644
--- a/drivers/gpu/drm/xe/xe_drm_ras_types.h
+++ b/drivers/gpu/drm/xe/xe_drm_ras_types.h
@@ -11,6 +11,14 @@
 
 struct drm_ras_node;
 
+/* Error categories reported by hardware */
+enum hardware_error {
+	HARDWARE_ERROR_CORRECTABLE = 0,
+	HARDWARE_ERROR_NONFATAL,
+	HARDWARE_ERROR_FATAL,
+	HARDWARE_ERROR_MAX
+};
+
 /**
  * struct xe_drm_ras_counter - XE RAS counter
  *
diff --git a/drivers/gpu/drm/xe/xe_hw_error.c b/drivers/gpu/drm/xe/xe_hw_error.c
index 8c65291f36fc..baae050163df 100644
--- a/drivers/gpu/drm/xe/xe_hw_error.c
+++ b/drivers/gpu/drm/xe/xe_hw_error.c
@@ -10,20 +10,16 @@
 #include "regs/xe_irq_regs.h"
 
 #include "xe_device.h"
+#include "xe_drm_ras.h"
 #include "xe_hw_error.h"
 #include "xe_mmio.h"
 #include "xe_survivability_mode.h"
 
 #define  HEC_UNCORR_FW_ERR_BITS 4
+
 extern struct fault_attr inject_csc_hw_error;
 
-/* Error categories reported by hardware */
-enum hardware_error {
-	HARDWARE_ERROR_CORRECTABLE = 0,
-	HARDWARE_ERROR_NONFATAL = 1,
-	HARDWARE_ERROR_FATAL = 2,
-	HARDWARE_ERROR_MAX,
-};
+static const char * const error_severity[] = DRM_XE_RAS_ERROR_SEVERITY_NAMES;
 
 static const char * const hec_uncorrected_fw_errors[] = {
 	"Fatal",
@@ -32,23 +28,18 @@ static const char * const hec_uncorrected_fw_errors[] = {
 	"Data Corruption"
 };
 
-static const char *hw_error_to_str(const enum hardware_error hw_err)
+static bool fault_inject_csc_hw_error(void)
 {
-	switch (hw_err) {
-	case HARDWARE_ERROR_CORRECTABLE:
-		return "CORRECTABLE";
-	case HARDWARE_ERROR_NONFATAL:
-		return "NONFATAL";
-	case HARDWARE_ERROR_FATAL:
-		return "FATAL";
-	default:
-		return "UNKNOWN";
-	}
+	return IS_ENABLED(CONFIG_DEBUG_FS) && should_fail(&inject_csc_hw_error, 1);
 }
 
-static bool fault_inject_csc_hw_error(void)
+static enum drm_xe_ras_error_severity hw_err_to_severity(const enum hardware_error hw_err)
 {
-	return IS_ENABLED(CONFIG_DEBUG_FS) && should_fail(&inject_csc_hw_error, 1);
+	if (hw_err == HARDWARE_ERROR_CORRECTABLE)
+		return DRM_XE_RAS_ERR_SEV_CORRECTABLE;
+
+	/* Uncorrectable errors comprise of both fatal and non-fatal errors */
+	return DRM_XE_RAS_ERR_SEV_UNCORRECTABLE;
 }
 
 static void csc_hw_error_work(struct work_struct *work)
@@ -64,7 +55,8 @@ static void csc_hw_error_work(struct work_struct *work)
 
 static void csc_hw_error_handler(struct xe_tile *tile, const enum hardware_error hw_err)
 {
-	const char *hw_err_str = hw_error_to_str(hw_err);
+	const enum drm_xe_ras_error_severity severity = hw_err_to_severity(hw_err);
+	const char *severity_str = error_severity[severity];
 	struct xe_device *xe = tile_to_xe(tile);
 	struct xe_mmio *mmio = &tile->mmio;
 	u32 base, err_bit, err_src;
@@ -77,8 +69,8 @@ static void csc_hw_error_handler(struct xe_tile *tile, const enum hardware_error
 	lockdep_assert_held(&xe->irq.lock);
 	err_src = xe_mmio_read32(mmio, HEC_UNCORR_ERR_STATUS(base));
 	if (!err_src) {
-		drm_err_ratelimited(&xe->drm, HW_ERR "Tile%d reported HEC_ERR_STATUS_%s blank\n",
-				    tile->id, hw_err_str);
+		drm_err_ratelimited(&xe->drm, HW_ERR "Tile%d reported %s HEC_ERR_STATUS register blank\n",
+				    tile->id, severity_str);
 		return;
 	}
 
@@ -86,8 +78,8 @@ static void csc_hw_error_handler(struct xe_tile *tile, const enum hardware_error
 		fw_err = xe_mmio_read32(mmio, HEC_UNCORR_FW_ERR_DW0(base));
 		for_each_set_bit(err_bit, &fw_err, HEC_UNCORR_FW_ERR_BITS) {
 			drm_err_ratelimited(&xe->drm, HW_ERR
-					    "%s: HEC Uncorrected FW %s error reported, bit[%d] is set\n",
-					     hw_err_str, hec_uncorrected_fw_errors[err_bit],
+					    "HEC FW %s %s reported, bit[%d] is set\n",
+					     hec_uncorrected_fw_errors[err_bit], severity_str,
 					     err_bit);
 
 			schedule_work(&tile->csc_hw_error_work);
@@ -99,7 +91,8 @@ static void csc_hw_error_handler(struct xe_tile *tile, const enum hardware_error
 
 static void hw_error_source_handler(struct xe_tile *tile, const enum hardware_error hw_err)
 {
-	const char *hw_err_str = hw_error_to_str(hw_err);
+	const enum drm_xe_ras_error_severity severity = hw_err_to_severity(hw_err);
+	const char *severity_str = error_severity[severity];
 	struct xe_device *xe = tile_to_xe(tile);
 	unsigned long flags;
 	u32 err_src;
@@ -110,8 +103,8 @@ static void hw_error_source_handler(struct xe_tile *tile, const enum hardware_er
 	spin_lock_irqsave(&xe->irq.lock, flags);
 	err_src = xe_mmio_read32(&tile->mmio, DEV_ERR_STAT_REG(hw_err));
 	if (!err_src) {
-		drm_err_ratelimited(&xe->drm, HW_ERR "Tile%d reported DEV_ERR_STAT_%s blank!\n",
-				    tile->id, hw_err_str);
+		drm_err_ratelimited(&xe->drm, HW_ERR "Tile%d reported %s DEV_ERR_STAT register blank!\n",
+				    tile->id, severity_str);
 		goto unlock;
 	}
 
@@ -146,6 +139,14 @@ void xe_hw_error_irq_handler(struct xe_tile *tile, const u32 master_ctl)
 			hw_error_source_handler(tile, hw_err);
 }
 
+static int hw_error_info_init(struct xe_device *xe)
+{
+	if (xe->info.platform != XE_PVC)
+		return 0;
+
+	return xe_drm_ras_init(xe);
+}
+
 /*
  * Process hardware errors during boot
  */
@@ -172,11 +173,16 @@ static void process_hw_errors(struct xe_device *xe)
 void xe_hw_error_init(struct xe_device *xe)
 {
 	struct xe_tile *tile = xe_device_get_root_tile(xe);
+	int ret;
 
 	if (!IS_DGFX(xe) || IS_SRIOV_VF(xe))
 		return;
 
 	INIT_WORK(&tile->csc_hw_error_work, csc_hw_error_work);
 
+	ret = hw_error_info_init(xe);
+	if (ret)
+		drm_err(&xe->drm, "Failed to initialize XE DRM RAS (%pe)\n", ERR_PTR(ret));
+
 	process_hw_errors(xe);
 }
-- 
2.47.1


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH v10 4/5] drm/xe/xe_hw_error: Add support for Core-Compute errors
  2026-03-04  7:44 [PATCH v10 0/5] Introduce DRM_RAS using generic netlink for RAS Riana Tauro
                   ` (4 preceding siblings ...)
  2026-03-04  7:44 ` [PATCH v10 3/5] drm/xe/xe_hw_error: Integrate DRM RAS with hardware error handling Riana Tauro
@ 2026-03-04  7:44 ` Riana Tauro
  2026-03-04  7:44 ` [PATCH v10 5/5] drm/xe/xe_hw_error: Add support for PVC SoC errors Riana Tauro
                   ` (8 subsequent siblings)
  14 siblings, 0 replies; 18+ messages in thread
From: Riana Tauro @ 2026-03-04  7:44 UTC (permalink / raw)
  To: intel-xe, dri-devel
  Cc: aravind.iddamsetty, anshuman.gupta, rodrigo.vivi, joonas.lahtinen,
	simona.vetter, airlied, pratik.bari, joshua.santosh.ranjan,
	ashwin.kumar.kulkarni, shubham.kumar, ravi.kishore.koppuravuri,
	raag.jadav, anvesh.bakwad, Riana Tauro, Himal Prasad Ghimiray

PVC supports GT error reporting via vector registers along with
error status register. Add support to report these errors and
update respective counters. Incase of Subslice error reported
by vector register, process the error status register
for applicable bits.

The counter is embedded in the xe drm ras structure and is
exposed to the userspace using the drm_ras generic netlink
interface.

$ sudo ynl --family drm_ras --do get-error-counter \
--json '{"node-id":0, "error-id":1}'
{'error-id': 1, 'error-name': 'core-compute', 'error-value': 0}

Co-developed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Signed-off-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Signed-off-by: Riana Tauro <riana.tauro@intel.com>
Reviewed-by: Raag Jadav <raag.jadav@intel.com>
---
v2: Add ID's and names as uAPI (Rodrigo)
    Add documentation
    Modify commit message

v3: remove 'error' from counters
    use drmm_kcalloc
    add a for_each for severity
    differentitate error classes and severity in UAPI(Raag)
    Use correctable and uncorrectable in uapi (Pratik / Aravind)

v4: modify enums in UAPI
    improve comments
    add bounds check in handler
    add error mask macro (Raag)
    use atomic_t
    add null pointer checks

v5: fix alignment
    remove info check
    fix csc bit check (Raag)

v6: add macro for gt vector len (Raag)
---
 drivers/gpu/drm/xe/regs/xe_hw_error_regs.h |  61 ++++++-
 drivers/gpu/drm/xe/xe_hw_error.c           | 195 +++++++++++++++++++--
 2 files changed, 236 insertions(+), 20 deletions(-)

diff --git a/drivers/gpu/drm/xe/regs/xe_hw_error_regs.h b/drivers/gpu/drm/xe/regs/xe_hw_error_regs.h
index c146b9ef44eb..cd17d7d7372c 100644
--- a/drivers/gpu/drm/xe/regs/xe_hw_error_regs.h
+++ b/drivers/gpu/drm/xe/regs/xe_hw_error_regs.h
@@ -6,15 +6,58 @@
 #ifndef _XE_HW_ERROR_REGS_H_
 #define _XE_HW_ERROR_REGS_H_
 
-#define HEC_UNCORR_ERR_STATUS(base)                    XE_REG((base) + 0x118)
-#define    UNCORR_FW_REPORTED_ERR                      BIT(6)
+#define HEC_UNCORR_ERR_STATUS(base)			XE_REG((base) + 0x118)
+#define   UNCORR_FW_REPORTED_ERR			REG_BIT(6)
 
-#define HEC_UNCORR_FW_ERR_DW0(base)                    XE_REG((base) + 0x124)
+#define HEC_UNCORR_FW_ERR_DW0(base)			XE_REG((base) + 0x124)
 
-#define DEV_ERR_STAT_NONFATAL			0x100178
-#define DEV_ERR_STAT_CORRECTABLE		0x10017c
-#define DEV_ERR_STAT_REG(x)			XE_REG(_PICK_EVEN((x), \
-								  DEV_ERR_STAT_CORRECTABLE, \
-								  DEV_ERR_STAT_NONFATAL))
-#define   XE_CSC_ERROR				BIT(17)
+#define ERR_STAT_GT_COR					0x100160
+#define   EU_GRF_COR_ERR				REG_BIT(15)
+#define   EU_IC_COR_ERR					REG_BIT(14)
+#define   SLM_COR_ERR					REG_BIT(13)
+#define   GUC_COR_ERR					REG_BIT(1)
+
+#define ERR_STAT_GT_NONFATAL				0x100164
+#define ERR_STAT_GT_FATAL				0x100168
+#define   EU_GRF_FAT_ERR				REG_BIT(15)
+#define   SLM_FAT_ERR					REG_BIT(13)
+#define   GUC_FAT_ERR					REG_BIT(6)
+#define   FPU_FAT_ERR					REG_BIT(3)
+
+#define ERR_STAT_GT_REG(x)				XE_REG(_PICK_EVEN((x), \
+									  ERR_STAT_GT_COR, \
+									  ERR_STAT_GT_NONFATAL))
+
+#define PVC_COR_ERR_MASK				(GUC_COR_ERR | SLM_COR_ERR | \
+							 EU_IC_COR_ERR | EU_GRF_COR_ERR)
+
+#define PVC_FAT_ERR_MASK				(FPU_FAT_ERR | GUC_FAT_ERR | \
+							 EU_GRF_FAT_ERR | SLM_FAT_ERR)
+
+#define DEV_ERR_STAT_NONFATAL				0x100178
+#define DEV_ERR_STAT_CORRECTABLE			0x10017c
+#define DEV_ERR_STAT_REG(x)				XE_REG(_PICK_EVEN((x), \
+									  DEV_ERR_STAT_CORRECTABLE, \
+									  DEV_ERR_STAT_NONFATAL))
+
+#define   XE_CSC_ERROR					17
+#define   XE_GT_ERROR					0
+
+#define ERR_STAT_GT_FATAL_VECTOR_0			0x100260
+#define ERR_STAT_GT_FATAL_VECTOR_1			0x100264
+
+#define ERR_STAT_GT_FATAL_VECTOR_REG(x)			XE_REG(_PICK_EVEN((x), \
+									  ERR_STAT_GT_FATAL_VECTOR_0, \
+									  ERR_STAT_GT_FATAL_VECTOR_1))
+
+#define ERR_STAT_GT_COR_VECTOR_0			0x1002a0
+#define ERR_STAT_GT_COR_VECTOR_1			0x1002a4
+
+#define ERR_STAT_GT_COR_VECTOR_REG(x)			XE_REG(_PICK_EVEN((x), \
+									  ERR_STAT_GT_COR_VECTOR_0, \
+									  ERR_STAT_GT_COR_VECTOR_1))
+
+#define ERR_STAT_GT_VECTOR_REG(hw_err, x)		(hw_err == HARDWARE_ERROR_CORRECTABLE ? \
+							 ERR_STAT_GT_COR_VECTOR_REG(x) : \
+							 ERR_STAT_GT_FATAL_VECTOR_REG(x))
 #endif
diff --git a/drivers/gpu/drm/xe/xe_hw_error.c b/drivers/gpu/drm/xe/xe_hw_error.c
index baae050163df..8062a6ff98a4 100644
--- a/drivers/gpu/drm/xe/xe_hw_error.c
+++ b/drivers/gpu/drm/xe/xe_hw_error.c
@@ -3,6 +3,7 @@
  * Copyright © 2025 Intel Corporation
  */
 
+#include <linux/bitmap.h>
 #include <linux/fault-inject.h>
 
 #include "regs/xe_gsc_regs.h"
@@ -15,7 +16,13 @@
 #include "xe_mmio.h"
 #include "xe_survivability_mode.h"
 
-#define  HEC_UNCORR_FW_ERR_BITS 4
+#define GT_HW_ERROR_MAX_ERR_BITS		16
+#define HEC_UNCORR_FW_ERR_BITS			4
+#define XE_RAS_REG_SIZE				32
+
+#define PVC_ERROR_MASK_SET(hw_err, err_bit)	((hw_err == HARDWARE_ERROR_CORRECTABLE) ? \
+						 (PVC_COR_ERR_MASK & REG_BIT(err_bit)) : \
+						 (PVC_FAT_ERR_MASK & REG_BIT(err_bit)))
 
 extern struct fault_attr inject_csc_hw_error;
 
@@ -28,10 +35,24 @@ static const char * const hec_uncorrected_fw_errors[] = {
 	"Data Corruption"
 };
 
-static bool fault_inject_csc_hw_error(void)
-{
-	return IS_ENABLED(CONFIG_DEBUG_FS) && should_fail(&inject_csc_hw_error, 1);
-}
+static const unsigned long xe_hw_error_map[] = {
+	[XE_GT_ERROR]	= DRM_XE_RAS_ERR_COMP_CORE_COMPUTE,
+};
+
+enum gt_vector_regs {
+	ERR_STAT_GT_VECTOR0 = 0,
+	ERR_STAT_GT_VECTOR1,
+	ERR_STAT_GT_VECTOR2,
+	ERR_STAT_GT_VECTOR3,
+	ERR_STAT_GT_VECTOR4,
+	ERR_STAT_GT_VECTOR5,
+	ERR_STAT_GT_VECTOR6,
+	ERR_STAT_GT_VECTOR7,
+	ERR_STAT_GT_VECTOR_MAX
+};
+
+#define PVC_GT_VECTOR_LEN(hw_err)	((hw_err == HARDWARE_ERROR_CORRECTABLE) ? \
+					 ERR_STAT_GT_VECTOR4 : ERR_STAT_GT_VECTOR_MAX)
 
 static enum drm_xe_ras_error_severity hw_err_to_severity(const enum hardware_error hw_err)
 {
@@ -42,6 +63,11 @@ static enum drm_xe_ras_error_severity hw_err_to_severity(const enum hardware_err
 	return DRM_XE_RAS_ERR_SEV_UNCORRECTABLE;
 }
 
+static bool fault_inject_csc_hw_error(void)
+{
+	return IS_ENABLED(CONFIG_DEBUG_FS) && should_fail(&inject_csc_hw_error, 1);
+}
+
 static void csc_hw_error_work(struct work_struct *work)
 {
 	struct xe_tile *tile = container_of(work, typeof(*tile), csc_hw_error_work);
@@ -89,15 +115,119 @@ static void csc_hw_error_handler(struct xe_tile *tile, const enum hardware_error
 	xe_mmio_write32(mmio, HEC_UNCORR_ERR_STATUS(base), err_src);
 }
 
+static void log_hw_error(struct xe_tile *tile, const char *name,
+			 const enum drm_xe_ras_error_severity severity)
+{
+	const char *severity_str = error_severity[severity];
+	struct xe_device *xe = tile_to_xe(tile);
+
+	if (severity == DRM_XE_RAS_ERR_SEV_CORRECTABLE)
+		drm_warn(&xe->drm, "%s %s detected\n", name, severity_str);
+	else
+		drm_err_ratelimited(&xe->drm, "%s %s detected\n", name, severity_str);
+}
+
+static void log_gt_err(struct xe_tile *tile, const char *name, int i, u32 err,
+		       const enum drm_xe_ras_error_severity severity)
+{
+	const char *severity_str = error_severity[severity];
+	struct xe_device *xe = tile_to_xe(tile);
+
+	if (severity == DRM_XE_RAS_ERR_SEV_CORRECTABLE)
+		drm_warn(&xe->drm, "%s %s detected, ERROR_STAT_GT_VECTOR%d:0x%08x\n",
+			 name, severity_str, i, err);
+	else
+		drm_err_ratelimited(&xe->drm, "%s %s detected, ERROR_STAT_GT_VECTOR%d:0x%08x\n",
+				    name, severity_str, i, err);
+}
+
+static void gt_hw_error_handler(struct xe_tile *tile, const enum hardware_error hw_err,
+				u32 error_id)
+{
+	const enum drm_xe_ras_error_severity severity = hw_err_to_severity(hw_err);
+	struct xe_device *xe = tile_to_xe(tile);
+	struct xe_drm_ras *ras = &xe->ras;
+	struct xe_drm_ras_counter *info = ras->info[severity];
+	struct xe_mmio *mmio = &tile->mmio;
+	unsigned long err_stat = 0;
+	int i;
+
+	if (xe->info.platform != XE_PVC)
+		return;
+
+	if (hw_err == HARDWARE_ERROR_NONFATAL) {
+		atomic_inc(&info[error_id].counter);
+		log_hw_error(tile, info[error_id].name, severity);
+		return;
+	}
+
+	for (i = 0; i < PVC_GT_VECTOR_LEN(hw_err); i++) {
+		u32 vector, val;
+
+		vector = xe_mmio_read32(mmio, ERR_STAT_GT_VECTOR_REG(hw_err, i));
+		if (!vector)
+			continue;
+
+		switch (i) {
+		case ERR_STAT_GT_VECTOR0:
+		case ERR_STAT_GT_VECTOR1: {
+			u32 errbit;
+
+			val = hweight32(vector);
+			atomic_add(val, &info[error_id].counter);
+			log_gt_err(tile, "Subslice", i, vector, severity);
+
+			/*
+			 * Error status register is only populated once per error.
+			 * Read the register and clear once.
+			 */
+			if (err_stat)
+				break;
+
+			err_stat = xe_mmio_read32(mmio, ERR_STAT_GT_REG(hw_err));
+			for_each_set_bit(errbit, &err_stat, GT_HW_ERROR_MAX_ERR_BITS) {
+				if (PVC_ERROR_MASK_SET(hw_err, errbit))
+					atomic_inc(&info[error_id].counter);
+			}
+			if (err_stat)
+				xe_mmio_write32(mmio, ERR_STAT_GT_REG(hw_err), err_stat);
+			break;
+		}
+		case ERR_STAT_GT_VECTOR2:
+		case ERR_STAT_GT_VECTOR3:
+			val = hweight32(vector);
+			atomic_add(val, &info[error_id].counter);
+			log_gt_err(tile, "L3 BANK", i, vector, severity);
+			break;
+		case ERR_STAT_GT_VECTOR6:
+			val = hweight32(vector);
+			atomic_add(val, &info[error_id].counter);
+			log_gt_err(tile, "TLB", i, vector, severity);
+			break;
+		case ERR_STAT_GT_VECTOR7:
+			val = hweight32(vector);
+			atomic_add(val, &info[error_id].counter);
+			log_gt_err(tile, "L3 Fabric", i, vector, severity);
+			break;
+		default:
+			log_gt_err(tile, "Undefined", i, vector, severity);
+		}
+
+		xe_mmio_write32(mmio, ERR_STAT_GT_VECTOR_REG(hw_err, i), vector);
+	}
+}
+
 static void hw_error_source_handler(struct xe_tile *tile, const enum hardware_error hw_err)
 {
 	const enum drm_xe_ras_error_severity severity = hw_err_to_severity(hw_err);
 	const char *severity_str = error_severity[severity];
 	struct xe_device *xe = tile_to_xe(tile);
-	unsigned long flags;
-	u32 err_src;
+	struct xe_drm_ras *ras = &xe->ras;
+	struct xe_drm_ras_counter *info = ras->info[severity];
+	unsigned long flags, err_src;
+	u32 err_bit;
 
-	if (xe->info.platform != XE_BATTLEMAGE)
+	if (!IS_DGFX(xe))
 		return;
 
 	spin_lock_irqsave(&xe->irq.lock, flags);
@@ -108,11 +238,53 @@ static void hw_error_source_handler(struct xe_tile *tile, const enum hardware_er
 		goto unlock;
 	}
 
-	if (err_src & XE_CSC_ERROR)
+	/*
+	 * On encountering CSC firmware errors, the graphics device becomes unrecoverable
+	 * so return immediately on error. The only way to recover from these errors is
+	 * firmware flash. The device will enter Runtime Survivability mode when such
+	 * errors are detected.
+	 */
+	if (err_src & REG_BIT(XE_CSC_ERROR)) {
 		csc_hw_error_handler(tile, hw_err);
+		goto clear_reg;
+	}
 
-	xe_mmio_write32(&tile->mmio, DEV_ERR_STAT_REG(hw_err), err_src);
+	if (!info)
+		goto clear_reg;
+
+	for_each_set_bit(err_bit, &err_src, XE_RAS_REG_SIZE) {
+		const char *name;
+		u32 error_id;
+
+		/* Check error bit is within bounds */
+		if (err_bit >= ARRAY_SIZE(xe_hw_error_map))
+			break;
+
+		error_id = xe_hw_error_map[err_bit];
+
+		/* Check error component is within max */
+		if (!error_id || error_id >= DRM_XE_RAS_ERR_COMP_MAX)
+			continue;
 
+		name = info[error_id].name;
+		if (!name)
+			continue;
+
+		if (severity == DRM_XE_RAS_ERR_SEV_CORRECTABLE) {
+			drm_warn(&xe->drm, HW_ERR
+				 "TILE%d reported %s %s, bit[%d] is set\n",
+				 tile->id, name, severity_str, err_bit);
+		} else {
+			drm_err_ratelimited(&xe->drm, HW_ERR
+					    "TILE%d reported %s %s, bit[%d] is set\n",
+					    tile->id, name, severity_str, err_bit);
+		}
+		if (err_bit == XE_GT_ERROR)
+			gt_hw_error_handler(tile, hw_err, error_id);
+	}
+
+clear_reg:
+	xe_mmio_write32(&tile->mmio, DEV_ERR_STAT_REG(hw_err), err_src);
 unlock:
 	spin_unlock_irqrestore(&xe->irq.lock, flags);
 }
@@ -134,9 +306,10 @@ void xe_hw_error_irq_handler(struct xe_tile *tile, const u32 master_ctl)
 	if (fault_inject_csc_hw_error())
 		schedule_work(&tile->csc_hw_error_work);
 
-	for (hw_err = 0; hw_err < HARDWARE_ERROR_MAX; hw_err++)
+	for (hw_err = 0; hw_err < HARDWARE_ERROR_MAX; hw_err++) {
 		if (master_ctl & ERROR_IRQ(hw_err))
 			hw_error_source_handler(tile, hw_err);
+	}
 }
 
 static int hw_error_info_init(struct xe_device *xe)
-- 
2.47.1


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH v10 5/5] drm/xe/xe_hw_error: Add support for PVC SoC errors
  2026-03-04  7:44 [PATCH v10 0/5] Introduce DRM_RAS using generic netlink for RAS Riana Tauro
                   ` (5 preceding siblings ...)
  2026-03-04  7:44 ` [PATCH v10 4/5] drm/xe/xe_hw_error: Add support for Core-Compute errors Riana Tauro
@ 2026-03-04  7:44 ` Riana Tauro
  2026-03-04  7:55 ` ✗ CI.checksparse: warning for Introduce DRM_RAS using generic netlink for RAS (rev10) Patchwork
                   ` (7 subsequent siblings)
  14 siblings, 0 replies; 18+ messages in thread
From: Riana Tauro @ 2026-03-04  7:44 UTC (permalink / raw)
  To: intel-xe, dri-devel
  Cc: aravind.iddamsetty, anshuman.gupta, rodrigo.vivi, joonas.lahtinen,
	simona.vetter, airlied, pratik.bari, joshua.santosh.ranjan,
	ashwin.kumar.kulkarni, shubham.kumar, ravi.kishore.koppuravuri,
	raag.jadav, anvesh.bakwad, Riana Tauro, Himal Prasad Ghimiray

Report the SoC nonfatal/fatal hardware error and update the counters.

$ sudo ynl --family drm_ras --do get-error-counter \
--json '{"node-id":0, "error-id":2}'
{'error-id': 2, 'error-name': 'soc-internal', 'error-value': 0}

Co-developed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Signed-off-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Signed-off-by: Riana Tauro <riana.tauro@intel.com>
Reviewed-by: Raag Jadav <raag.jadav@intel.com>
---
v2: Add ID's and names as uAPI (Rodrigo)

v3: reorder and align arrays
    remove redundant string err
    use REG_BIT
    fix aesthic review comments (Raag)
    use only correctable/uncorrectable error severity (Aravind)

v4: fix comments
    use master as variable name
    add static_assert (Raag)

v5: remove blank lines
    fix alignment
    rename variables of base registers
    move register initialization outside loop (Raag)

v6: add macro for master local reg (Raag)
---
 drivers/gpu/drm/xe/regs/xe_hw_error_regs.h |  25 +++
 drivers/gpu/drm/xe/xe_hw_error.c           | 206 +++++++++++++++++++++
 2 files changed, 231 insertions(+)

diff --git a/drivers/gpu/drm/xe/regs/xe_hw_error_regs.h b/drivers/gpu/drm/xe/regs/xe_hw_error_regs.h
index cd17d7d7372c..046e1756c698 100644
--- a/drivers/gpu/drm/xe/regs/xe_hw_error_regs.h
+++ b/drivers/gpu/drm/xe/regs/xe_hw_error_regs.h
@@ -41,6 +41,7 @@
 									  DEV_ERR_STAT_NONFATAL))
 
 #define   XE_CSC_ERROR					17
+#define   XE_SOC_ERROR					16
 #define   XE_GT_ERROR					0
 
 #define ERR_STAT_GT_FATAL_VECTOR_0			0x100260
@@ -60,4 +61,28 @@
 #define ERR_STAT_GT_VECTOR_REG(hw_err, x)		(hw_err == HARDWARE_ERROR_CORRECTABLE ? \
 							 ERR_STAT_GT_COR_VECTOR_REG(x) : \
 							 ERR_STAT_GT_FATAL_VECTOR_REG(x))
+
+#define SOC_PVC_MASTER_BASE				0x282000
+#define SOC_PVC_SLAVE_BASE				0x283000
+
+#define SOC_GCOERRSTS					0x200
+#define SOC_GNFERRSTS					0x210
+#define SOC_GLOBAL_ERR_STAT_REG(base, x)		XE_REG(_PICK_EVEN((x), \
+									  (base) + SOC_GCOERRSTS, \
+									  (base) + SOC_GNFERRSTS))
+#define   SOC_SLAVE_IEH					REG_BIT(1)
+#define   SOC_IEH0_LOCAL_ERR_STATUS			REG_BIT(0)
+#define   SOC_IEH1_LOCAL_ERR_STATUS			REG_BIT(0)
+
+#define SOC_GSYSEVTCTL					0x264
+#define SOC_GSYSEVTCTL_REG(master, slave, x)		XE_REG(_PICK_EVEN((x), \
+									  (master) + SOC_GSYSEVTCTL, \
+									  (slave) + SOC_GSYSEVTCTL))
+
+#define SOC_LERRUNCSTS					0x280
+#define SOC_LERRCORSTS					0x294
+#define SOC_LOCAL_ERR_STAT_REG(base, hw_err)		XE_REG(hw_err == HARDWARE_ERROR_CORRECTABLE ? \
+							       (base) + SOC_LERRCORSTS : \
+							       (base) + SOC_LERRUNCSTS)
+
 #endif
diff --git a/drivers/gpu/drm/xe/xe_hw_error.c b/drivers/gpu/drm/xe/xe_hw_error.c
index 8062a6ff98a4..2a31b430570e 100644
--- a/drivers/gpu/drm/xe/xe_hw_error.c
+++ b/drivers/gpu/drm/xe/xe_hw_error.c
@@ -19,6 +19,7 @@
 #define GT_HW_ERROR_MAX_ERR_BITS		16
 #define HEC_UNCORR_FW_ERR_BITS			4
 #define XE_RAS_REG_SIZE				32
+#define XE_SOC_NUM_IEH				2
 
 #define PVC_ERROR_MASK_SET(hw_err, err_bit)	((hw_err == HARDWARE_ERROR_CORRECTABLE) ? \
 						 (PVC_COR_ERR_MASK & REG_BIT(err_bit)) : \
@@ -37,6 +38,7 @@ static const char * const hec_uncorrected_fw_errors[] = {
 
 static const unsigned long xe_hw_error_map[] = {
 	[XE_GT_ERROR]	= DRM_XE_RAS_ERR_COMP_CORE_COMPUTE,
+	[XE_SOC_ERROR]	= DRM_XE_RAS_ERR_COMP_SOC_INTERNAL,
 };
 
 enum gt_vector_regs {
@@ -63,6 +65,101 @@ static enum drm_xe_ras_error_severity hw_err_to_severity(const enum hardware_err
 	return DRM_XE_RAS_ERR_SEV_UNCORRECTABLE;
 }
 
+static const char * const pvc_master_global_err_reg[] = {
+	[0 ... 1]	= "Undefined",
+	[2]		= "HBM SS0: Channel0",
+	[3]		= "HBM SS0: Channel1",
+	[4]		= "HBM SS0: Channel2",
+	[5]		= "HBM SS0: Channel3",
+	[6]		= "HBM SS0: Channel4",
+	[7]		= "HBM SS0: Channel5",
+	[8]		= "HBM SS0: Channel6",
+	[9]		= "HBM SS0: Channel7",
+	[10]		= "HBM SS1: Channel0",
+	[11]		= "HBM SS1: Channel1",
+	[12]		= "HBM SS1: Channel2",
+	[13]		= "HBM SS1: Channel3",
+	[14]		= "HBM SS1: Channel4",
+	[15]		= "HBM SS1: Channel5",
+	[16]		= "HBM SS1: Channel6",
+	[17]		= "HBM SS1: Channel7",
+	[18 ... 31]	= "Undefined",
+};
+static_assert(ARRAY_SIZE(pvc_master_global_err_reg) == XE_RAS_REG_SIZE);
+
+static const char * const pvc_slave_global_err_reg[] = {
+	[0]		= "Undefined",
+	[1]		= "HBM SS2: Channel0",
+	[2]		= "HBM SS2: Channel1",
+	[3]		= "HBM SS2: Channel2",
+	[4]		= "HBM SS2: Channel3",
+	[5]		= "HBM SS2: Channel4",
+	[6]		= "HBM SS2: Channel5",
+	[7]		= "HBM SS2: Channel6",
+	[8]		= "HBM SS2: Channel7",
+	[9]		= "HBM SS3: Channel0",
+	[10]		= "HBM SS3: Channel1",
+	[11]		= "HBM SS3: Channel2",
+	[12]		= "HBM SS3: Channel3",
+	[13]		= "HBM SS3: Channel4",
+	[14]		= "HBM SS3: Channel5",
+	[15]		= "HBM SS3: Channel6",
+	[16]		= "HBM SS3: Channel7",
+	[17]		= "Undefined",
+	[18]		= "ANR MDFI",
+	[19 ... 31]	= "Undefined",
+};
+static_assert(ARRAY_SIZE(pvc_slave_global_err_reg) == XE_RAS_REG_SIZE);
+
+static const char * const pvc_slave_local_fatal_err_reg[] = {
+	[0]		= "Local IEH: Malformed PCIe AER",
+	[1]		= "Local IEH: Malformed PCIe ERR",
+	[2]		= "Local IEH: UR conditions in IEH",
+	[3]		= "Local IEH: From SERR Sources",
+	[4 ... 19]	= "Undefined",
+	[20]		= "Malformed MCA error packet (HBM/Punit)",
+	[21 ... 31]	= "Undefined",
+};
+static_assert(ARRAY_SIZE(pvc_slave_local_fatal_err_reg) == XE_RAS_REG_SIZE);
+
+static const char * const pvc_master_local_fatal_err_reg[] = {
+	[0]		= "Local IEH: Malformed IOSF PCIe AER",
+	[1]		= "Local IEH: Malformed IOSF PCIe ERR",
+	[2]		= "Local IEH: UR RESPONSE",
+	[3]		= "Local IEH: From SERR SPI controller",
+	[4]		= "Base Die MDFI T2T",
+	[5]		= "Undefined",
+	[6]		= "Base Die MDFI T2C",
+	[7]		= "Undefined",
+	[8]		= "Invalid CSC PSF Command Parity",
+	[9]		= "Invalid CSC PSF Unexpected Completion",
+	[10]		= "Invalid CSC PSF Unsupported Request",
+	[11]		= "Invalid PCIe PSF Command Parity",
+	[12]		= "PCIe PSF Unexpected Completion",
+	[13]		= "PCIe PSF Unsupported Request",
+	[14 ... 19]	= "Undefined",
+	[20]		= "Malformed MCA error packet (HBM/Punit)",
+	[21 ... 31]	= "Undefined",
+};
+static_assert(ARRAY_SIZE(pvc_master_local_fatal_err_reg) == XE_RAS_REG_SIZE);
+
+static const char * const pvc_master_local_nonfatal_err_reg[] = {
+	[0 ... 3]	= "Undefined",
+	[4]		= "Base Die MDFI T2T",
+	[5]		= "Undefined",
+	[6]		= "Base Die MDFI T2C",
+	[7]		= "Undefined",
+	[8]		= "Invalid CSC PSF Command Parity",
+	[9]		= "Invalid CSC PSF Unexpected Completion",
+	[10]		= "Invalid PCIe PSF Command Parity",
+	[11 ... 31]	= "Undefined",
+};
+static_assert(ARRAY_SIZE(pvc_master_local_nonfatal_err_reg) == XE_RAS_REG_SIZE);
+
+#define PVC_MASTER_LOCAL_REG_INFO(hw_err)	((hw_err == HARDWARE_ERROR_FATAL) ? \
+						 pvc_master_local_fatal_err_reg : \
+						 pvc_master_local_nonfatal_err_reg)
+
 static bool fault_inject_csc_hw_error(void)
 {
 	return IS_ENABLED(CONFIG_DEBUG_FS) && should_fail(&inject_csc_hw_error, 1);
@@ -141,6 +238,26 @@ static void log_gt_err(struct xe_tile *tile, const char *name, int i, u32 err,
 				    name, severity_str, i, err);
 }
 
+static void log_soc_error(struct xe_tile *tile, const char * const *reg_info,
+			  const enum drm_xe_ras_error_severity severity, u32 err_bit, u32 index)
+{
+	const char *severity_str = error_severity[severity];
+	struct xe_device *xe = tile_to_xe(tile);
+	struct xe_drm_ras *ras = &xe->ras;
+	struct xe_drm_ras_counter *info = ras->info[severity];
+	const char *name;
+
+	name = reg_info[err_bit];
+
+	if (strcmp(name, "Undefined")) {
+		if (severity == DRM_XE_RAS_ERR_SEV_CORRECTABLE)
+			drm_warn(&xe->drm, "%s SOC %s detected", name, severity_str);
+		else
+			drm_err_ratelimited(&xe->drm, "%s SOC %s detected", name, severity_str);
+		atomic_inc(&info[index].counter);
+	}
+}
+
 static void gt_hw_error_handler(struct xe_tile *tile, const enum hardware_error hw_err,
 				u32 error_id)
 {
@@ -217,6 +334,92 @@ static void gt_hw_error_handler(struct xe_tile *tile, const enum hardware_error
 	}
 }
 
+static void soc_slave_ieh_handler(struct xe_tile *tile, const enum hardware_error hw_err, u32 error_id)
+{
+	const enum drm_xe_ras_error_severity severity = hw_err_to_severity(hw_err);
+	unsigned long slave_global_errstat, slave_local_errstat;
+	struct xe_mmio *mmio = &tile->mmio;
+	u32 regbit, slave;
+
+	slave = SOC_PVC_SLAVE_BASE;
+	slave_global_errstat = xe_mmio_read32(mmio, SOC_GLOBAL_ERR_STAT_REG(slave, hw_err));
+
+	if (slave_global_errstat & SOC_IEH1_LOCAL_ERR_STATUS) {
+		slave_local_errstat = xe_mmio_read32(mmio, SOC_LOCAL_ERR_STAT_REG(slave, hw_err));
+
+		if (hw_err == HARDWARE_ERROR_FATAL) {
+			for_each_set_bit(regbit, &slave_local_errstat, XE_RAS_REG_SIZE)
+				log_soc_error(tile, pvc_slave_local_fatal_err_reg, severity,
+					      regbit, error_id);
+		}
+
+		xe_mmio_write32(mmio, SOC_LOCAL_ERR_STAT_REG(slave, hw_err),
+				slave_local_errstat);
+	}
+
+	for_each_set_bit(regbit, &slave_global_errstat, XE_RAS_REG_SIZE)
+		log_soc_error(tile, pvc_slave_global_err_reg, severity, regbit, error_id);
+
+	xe_mmio_write32(mmio, SOC_GLOBAL_ERR_STAT_REG(slave, hw_err), slave_global_errstat);
+}
+
+static void soc_hw_error_handler(struct xe_tile *tile, const enum hardware_error hw_err,
+				 u32 error_id)
+{
+	const enum drm_xe_ras_error_severity severity = hw_err_to_severity(hw_err);
+	struct xe_device *xe = tile_to_xe(tile);
+	struct xe_mmio *mmio = &tile->mmio;
+	unsigned long master_global_errstat, master_local_errstat;
+	u32 master, slave, regbit;
+	int i;
+
+	if (xe->info.platform != XE_PVC)
+		return;
+
+	master = SOC_PVC_MASTER_BASE;
+	slave = SOC_PVC_SLAVE_BASE;
+
+	/* Mask error type in GSYSEVTCTL so that no new errors of the type will be reported */
+	for (i = 0; i < XE_SOC_NUM_IEH; i++)
+		xe_mmio_write32(mmio, SOC_GSYSEVTCTL_REG(master, slave, i), ~REG_BIT(hw_err));
+
+	if (hw_err == HARDWARE_ERROR_CORRECTABLE) {
+		xe_mmio_write32(mmio, SOC_GLOBAL_ERR_STAT_REG(master, hw_err), REG_GENMASK(31, 0));
+		xe_mmio_write32(mmio, SOC_LOCAL_ERR_STAT_REG(master, hw_err), REG_GENMASK(31, 0));
+		xe_mmio_write32(mmio, SOC_GLOBAL_ERR_STAT_REG(slave, hw_err), REG_GENMASK(31, 0));
+		xe_mmio_write32(mmio, SOC_LOCAL_ERR_STAT_REG(slave, hw_err), REG_GENMASK(31, 0));
+		goto unmask_gsysevtctl;
+	}
+
+	/*
+	 * Read the master global IEH error register, if BIT(1) is set then process
+	 * the slave IEH first. If BIT(0) in global error register is set then process
+	 * the corresponding local error registers.
+	 */
+	master_global_errstat = xe_mmio_read32(mmio, SOC_GLOBAL_ERR_STAT_REG(master, hw_err));
+	if (master_global_errstat & SOC_SLAVE_IEH)
+		soc_slave_ieh_handler(tile, hw_err, error_id);
+
+	if (master_global_errstat & SOC_IEH0_LOCAL_ERR_STATUS) {
+		master_local_errstat = xe_mmio_read32(mmio, SOC_LOCAL_ERR_STAT_REG(master, hw_err));
+
+		for_each_set_bit(regbit, &master_local_errstat, XE_RAS_REG_SIZE)
+			log_soc_error(tile, PVC_MASTER_LOCAL_REG_INFO(hw_err), severity, regbit, error_id);
+
+		xe_mmio_write32(mmio, SOC_LOCAL_ERR_STAT_REG(master, hw_err), master_local_errstat);
+	}
+
+	for_each_set_bit(regbit, &master_global_errstat, XE_RAS_REG_SIZE)
+		log_soc_error(tile, pvc_master_global_err_reg, severity, regbit, error_id);
+
+	xe_mmio_write32(mmio, SOC_GLOBAL_ERR_STAT_REG(master, hw_err), master_global_errstat);
+
+unmask_gsysevtctl:
+	for (i = 0; i < XE_SOC_NUM_IEH; i++)
+		xe_mmio_write32(mmio, SOC_GSYSEVTCTL_REG(master, slave, i),
+				(HARDWARE_ERROR_MAX << 1) + 1);
+}
+
 static void hw_error_source_handler(struct xe_tile *tile, const enum hardware_error hw_err)
 {
 	const enum drm_xe_ras_error_severity severity = hw_err_to_severity(hw_err);
@@ -279,8 +482,11 @@ static void hw_error_source_handler(struct xe_tile *tile, const enum hardware_er
 					    "TILE%d reported %s %s, bit[%d] is set\n",
 					    tile->id, name, severity_str, err_bit);
 		}
+
 		if (err_bit == XE_GT_ERROR)
 			gt_hw_error_handler(tile, hw_err, error_id);
+		if (err_bit == XE_SOC_ERROR)
+			soc_hw_error_handler(tile, hw_err, error_id);
 	}
 
 clear_reg:
-- 
2.47.1


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* ✗ CI.checksparse: warning for Introduce DRM_RAS using generic netlink for RAS (rev10)
  2026-03-04  7:44 [PATCH v10 0/5] Introduce DRM_RAS using generic netlink for RAS Riana Tauro
                   ` (6 preceding siblings ...)
  2026-03-04  7:44 ` [PATCH v10 5/5] drm/xe/xe_hw_error: Add support for PVC SoC errors Riana Tauro
@ 2026-03-04  7:55 ` Patchwork
  2026-03-04  8:14 ` ✗ Xe.CI.BAT: failure " Patchwork
                   ` (6 subsequent siblings)
  14 siblings, 0 replies; 18+ messages in thread
From: Patchwork @ 2026-03-04  7:55 UTC (permalink / raw)
  To: Rodrigo Vivi; +Cc: intel-xe

== Series Details ==

Series: Introduce DRM_RAS using generic netlink for RAS (rev10)
URL   : https://patchwork.freedesktop.org/series/155188/
State : warning

== Summary ==

+ trap cleanup EXIT
+ KERNEL=/kernel
+ MT=/root/linux/maintainer-tools
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools /root/linux/maintainer-tools
Cloning into '/root/linux/maintainer-tools'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ make -C /root/linux/maintainer-tools
make: Entering directory '/root/linux/maintainer-tools'
cc -O2 -g -Wextra -o remap-log remap-log.c
make: Leaving directory '/root/linux/maintainer-tools'
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ /root/linux/maintainer-tools/dim sparse --fast cfc20c776480fda8c1b0517b187bb71ec0781cd4
Sparse version: 0.6.4 (Ubuntu: 0.6.4-4ubuntu3)
Fast mode used, each commit won't be checked separately.
+/kernel/Makefile:1204: C=1 specified, but sparse is not available or not up to date

+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel



^ permalink raw reply	[flat|nested] 18+ messages in thread

* ✗ Xe.CI.BAT: failure for Introduce DRM_RAS using generic netlink for RAS (rev10)
  2026-03-04  7:44 [PATCH v10 0/5] Introduce DRM_RAS using generic netlink for RAS Riana Tauro
                   ` (7 preceding siblings ...)
  2026-03-04  7:55 ` ✗ CI.checksparse: warning for Introduce DRM_RAS using generic netlink for RAS (rev10) Patchwork
@ 2026-03-04  8:14 ` Patchwork
  2026-03-05  5:51 ` ✗ Xe.CI.FULL: " Patchwork
                   ` (5 subsequent siblings)
  14 siblings, 0 replies; 18+ messages in thread
From: Patchwork @ 2026-03-04  8:14 UTC (permalink / raw)
  To: Rodrigo Vivi; +Cc: intel-xe

[-- Attachment #1: Type: text/plain, Size: 386 bytes --]

== Series Details ==

Series: Introduce DRM_RAS using generic netlink for RAS (rev10)
URL   : https://patchwork.freedesktop.org/series/155188/
State : failure

== Summary ==

ERROR: The runconfig 'xe-4655-cfc20c776480fda8c1b0517b187bb71ec0781cd4_BAT' does not exist in the database

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v10/index.html

[-- Attachment #2: Type: text/html, Size: 952 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

* ✗ Xe.CI.FULL: failure for Introduce DRM_RAS using generic netlink for RAS (rev10)
  2026-03-04  7:44 [PATCH v10 0/5] Introduce DRM_RAS using generic netlink for RAS Riana Tauro
                   ` (8 preceding siblings ...)
  2026-03-04  8:14 ` ✗ Xe.CI.BAT: failure " Patchwork
@ 2026-03-05  5:51 ` Patchwork
  2026-03-05 18:25 ` ✗ CI.checkpatch: warning for Introduce DRM_RAS using generic netlink for RAS (rev11) Patchwork
                   ` (4 subsequent siblings)
  14 siblings, 0 replies; 18+ messages in thread
From: Patchwork @ 2026-03-05  5:51 UTC (permalink / raw)
  To: Rodrigo Vivi; +Cc: intel-xe

[-- Attachment #1: Type: text/plain, Size: 387 bytes --]

== Series Details ==

Series: Introduce DRM_RAS using generic netlink for RAS (rev10)
URL   : https://patchwork.freedesktop.org/series/155188/
State : failure

== Summary ==

ERROR: The runconfig 'xe-4655-cfc20c776480fda8c1b0517b187bb71ec0781cd4_FULL' does not exist in the database

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v10/index.html

[-- Attachment #2: Type: text/html, Size: 953 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

* ✗ CI.checkpatch: warning for Introduce DRM_RAS using generic netlink for RAS (rev11)
  2026-03-04  7:44 [PATCH v10 0/5] Introduce DRM_RAS using generic netlink for RAS Riana Tauro
                   ` (9 preceding siblings ...)
  2026-03-05  5:51 ` ✗ Xe.CI.FULL: " Patchwork
@ 2026-03-05 18:25 ` Patchwork
  2026-03-05 18:26 ` ✓ CI.KUnit: success " Patchwork
                   ` (3 subsequent siblings)
  14 siblings, 0 replies; 18+ messages in thread
From: Patchwork @ 2026-03-05 18:25 UTC (permalink / raw)
  To: Rodrigo Vivi; +Cc: intel-xe

== Series Details ==

Series: Introduce DRM_RAS using generic netlink for RAS (rev11)
URL   : https://patchwork.freedesktop.org/series/155188/
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
1f57ba1afceae32108bd24770069f764d940a0e4
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 1d77f283f643936f1e711ef01cd0845aae751ea2
Author: Riana Tauro <riana.tauro@intel.com>
Date:   Wed Mar 4 13:14:12 2026 +0530

    drm/xe/xe_hw_error: Add support for PVC SoC errors
    
    Report the SoC nonfatal/fatal hardware error and update the counters.
    
    $ sudo ynl --family drm_ras --do get-error-counter \
    --json '{"node-id":0, "error-id":2}'
    {'error-id': 2, 'error-name': 'soc-internal', 'error-value': 0}
    
    Co-developed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
    Signed-off-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
    Signed-off-by: Riana Tauro <riana.tauro@intel.com>
    Reviewed-by: Raag Jadav <raag.jadav@intel.com>
+ /mt/dim checkpatch 248385bc21fb2a7565e32a605557cdc6cc854dcb drm-intel
e19028a6510e drm/ras: Introduce the DRM RAS infrastructure over generic netlink
-:59: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#59: 
new file mode 100644

-:792: WARNING:LONG_LINE: line length of 117 exceeds 100 columns
#792: FILE: drivers/gpu/drm/drm_ras_nl.c:15:
+static const struct nla_policy drm_ras_get_error_counter_do_nl_policy[DRM_RAS_A_ERROR_COUNTER_ATTRS_ERROR_ID + 1] = {

-:798: WARNING:LONG_LINE: line length of 118 exceeds 100 columns
#798: FILE: drivers/gpu/drm/drm_ras_nl.c:21:
+static const struct nla_policy drm_ras_get_error_counter_dump_nl_policy[DRM_RAS_A_ERROR_COUNTER_ATTRS_NODE_ID + 1] = {

total: 0 errors, 3 warnings, 0 checks, 889 lines checked
0ff00f21ac0d drm/xe/xe_drm_ras: Add support for XE DRM RAS
-:27: WARNING:COMMIT_LOG_LONG_LINE: Prefer a maximum 75 chars per line (possible unwrapped commit description?)
#27: 
    $ sudo ynl --family drm_ras --dump get-error-counter --json '{"node-id":0}'

-:74: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#74: 
new file mode 100644

-:181: WARNING:LONG_LINE: line length of 101 exceeds 100 columns
#181: FILE: drivers/gpu/drm/xe/xe_drm_ras.c:103:
+static void cleanup_node_param(struct xe_drm_ras *ras, const enum drm_xe_ras_error_severity severity)

-:280: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'i' - possible side-effects?
#280: FILE: drivers/gpu/drm/xe/xe_drm_ras.h:10:
+#define for_each_error_severity(i)	\
+	for (i = 0; i < DRM_XE_RAS_ERR_SEV_MAX; i++)

total: 0 errors, 3 warnings, 1 checks, 349 lines checked
5176162f46e8 drm/xe/xe_hw_error: Integrate DRM RAS with hardware error handling
d5e5c61d1fd2 drm/xe/xe_hw_error: Add support for Core-Compute errors
-:73: WARNING:LONG_LINE: line length of 101 exceeds 100 columns
#73: FILE: drivers/gpu/drm/xe/regs/xe_hw_error_regs.h:40:
+									  DEV_ERR_STAT_CORRECTABLE, \

-:83: WARNING:LONG_LINE: line length of 103 exceeds 100 columns
#83: FILE: drivers/gpu/drm/xe/regs/xe_hw_error_regs.h:50:
+									  ERR_STAT_GT_FATAL_VECTOR_0, \

-:84: WARNING:LONG_LINE: line length of 102 exceeds 100 columns
#84: FILE: drivers/gpu/drm/xe/regs/xe_hw_error_regs.h:51:
+									  ERR_STAT_GT_FATAL_VECTOR_1))

-:90: WARNING:LONG_LINE: line length of 101 exceeds 100 columns
#90: FILE: drivers/gpu/drm/xe/regs/xe_hw_error_regs.h:57:
+									  ERR_STAT_GT_COR_VECTOR_0, \

-:93: CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'hw_err' may be better as '(hw_err)' to avoid precedence issues
#93: FILE: drivers/gpu/drm/xe/regs/xe_hw_error_regs.h:60:
+#define ERR_STAT_GT_VECTOR_REG(hw_err, x)		(hw_err == HARDWARE_ERROR_CORRECTABLE ? \
+							 ERR_STAT_GT_COR_VECTOR_REG(x) : \
+							 ERR_STAT_GT_FATAL_VECTOR_REG(x))

-:93: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'x' - possible side-effects?
#93: FILE: drivers/gpu/drm/xe/regs/xe_hw_error_regs.h:60:
+#define ERR_STAT_GT_VECTOR_REG(hw_err, x)		(hw_err == HARDWARE_ERROR_CORRECTABLE ? \
+							 ERR_STAT_GT_COR_VECTOR_REG(x) : \
+							 ERR_STAT_GT_FATAL_VECTOR_REG(x))

-:118: CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'hw_err' may be better as '(hw_err)' to avoid precedence issues
#118: FILE: drivers/gpu/drm/xe/xe_hw_error.c:23:
+#define PVC_ERROR_MASK_SET(hw_err, err_bit)	((hw_err == HARDWARE_ERROR_CORRECTABLE) ? \
+						 (PVC_COR_ERR_MASK & REG_BIT(err_bit)) : \
+						 (PVC_FAT_ERR_MASK & REG_BIT(err_bit)))

-:118: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'err_bit' - possible side-effects?
#118: FILE: drivers/gpu/drm/xe/xe_hw_error.c:23:
+#define PVC_ERROR_MASK_SET(hw_err, err_bit)	((hw_err == HARDWARE_ERROR_CORRECTABLE) ? \
+						 (PVC_COR_ERR_MASK & REG_BIT(err_bit)) : \
+						 (PVC_FAT_ERR_MASK & REG_BIT(err_bit)))

-:148: CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'hw_err' may be better as '(hw_err)' to avoid precedence issues
#148: FILE: drivers/gpu/drm/xe/xe_hw_error.c:54:
+#define PVC_GT_VECTOR_LEN(hw_err)	((hw_err == HARDWARE_ERROR_CORRECTABLE) ? \
+					 ERR_STAT_GT_VECTOR4 : ERR_STAT_GT_VECTOR_MAX)

total: 0 errors, 4 warnings, 5 checks, 315 lines checked
1d77f283f643 drm/xe/xe_hw_error: Add support for PVC SoC errors
-:39: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'base' - possible side-effects?
#39: FILE: drivers/gpu/drm/xe/regs/xe_hw_error_regs.h:70:
+#define SOC_GLOBAL_ERR_STAT_REG(base, x)		XE_REG(_PICK_EVEN((x), \
+									  (base) + SOC_GCOERRSTS, \
+									  (base) + SOC_GNFERRSTS))

-:48: WARNING:LONG_LINE: line length of 102 exceeds 100 columns
#48: FILE: drivers/gpu/drm/xe/regs/xe_hw_error_regs.h:79:
+									  (master) + SOC_GSYSEVTCTL, \

-:53: WARNING:LONG_LINE: line length of 103 exceeds 100 columns
#53: FILE: drivers/gpu/drm/xe/regs/xe_hw_error_regs.h:84:
+#define SOC_LOCAL_ERR_STAT_REG(base, hw_err)		XE_REG(hw_err == HARDWARE_ERROR_CORRECTABLE ? \

-:53: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'base' - possible side-effects?
#53: FILE: drivers/gpu/drm/xe/regs/xe_hw_error_regs.h:84:
+#define SOC_LOCAL_ERR_STAT_REG(base, hw_err)		XE_REG(hw_err == HARDWARE_ERROR_CORRECTABLE ? \
+							       (base) + SOC_LERRCORSTS : \
+							       (base) + SOC_LERRUNCSTS)

-:53: CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'hw_err' may be better as '(hw_err)' to avoid precedence issues
#53: FILE: drivers/gpu/drm/xe/regs/xe_hw_error_regs.h:84:
+#define SOC_LOCAL_ERR_STAT_REG(base, hw_err)		XE_REG(hw_err == HARDWARE_ERROR_CORRECTABLE ? \
+							       (base) + SOC_LERRCORSTS : \
+							       (base) + SOC_LERRUNCSTS)

-:102: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations
#102: FILE: drivers/gpu/drm/xe/xe_hw_error.c:88:
+};
+static_assert(ARRAY_SIZE(pvc_master_global_err_reg) == XE_RAS_REG_SIZE);

-:126: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations
#126: FILE: drivers/gpu/drm/xe/xe_hw_error.c:112:
+};
+static_assert(ARRAY_SIZE(pvc_slave_global_err_reg) == XE_RAS_REG_SIZE);

-:137: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations
#137: FILE: drivers/gpu/drm/xe/xe_hw_error.c:123:
+};
+static_assert(ARRAY_SIZE(pvc_slave_local_fatal_err_reg) == XE_RAS_REG_SIZE);

-:158: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations
#158: FILE: drivers/gpu/drm/xe/xe_hw_error.c:144:
+};
+static_assert(ARRAY_SIZE(pvc_master_local_fatal_err_reg) == XE_RAS_REG_SIZE);

-:171: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations
#171: FILE: drivers/gpu/drm/xe/xe_hw_error.c:157:
+};
+static_assert(ARRAY_SIZE(pvc_master_local_nonfatal_err_reg) == XE_RAS_REG_SIZE);

-:173: CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'hw_err' may be better as '(hw_err)' to avoid precedence issues
#173: FILE: drivers/gpu/drm/xe/xe_hw_error.c:159:
+#define PVC_MASTER_LOCAL_REG_INFO(hw_err)	((hw_err == HARDWARE_ERROR_FATAL) ? \
+						 pvc_master_local_fatal_err_reg : \
+						 pvc_master_local_nonfatal_err_reg)

-:211: WARNING:LONG_LINE: line length of 103 exceeds 100 columns
#211: FILE: drivers/gpu/drm/xe/xe_hw_error.c:337:
+static void soc_slave_ieh_handler(struct xe_tile *tile, const enum hardware_error hw_err, u32 error_id)

-:281: WARNING:LONG_LINE: line length of 107 exceeds 100 columns
#281: FILE: drivers/gpu/drm/xe/xe_hw_error.c:407:
+			log_soc_error(tile, PVC_MASTER_LOCAL_REG_INFO(hw_err), severity, regbit, error_id);

total: 0 errors, 4 warnings, 9 checks, 279 lines checked



^ permalink raw reply	[flat|nested] 18+ messages in thread

* ✓ CI.KUnit: success for Introduce DRM_RAS using generic netlink for RAS (rev11)
  2026-03-04  7:44 [PATCH v10 0/5] Introduce DRM_RAS using generic netlink for RAS Riana Tauro
                   ` (10 preceding siblings ...)
  2026-03-05 18:25 ` ✗ CI.checkpatch: warning for Introduce DRM_RAS using generic netlink for RAS (rev11) Patchwork
@ 2026-03-05 18:26 ` Patchwork
  2026-03-05 18:44 ` ✗ CI.checksparse: warning " Patchwork
                   ` (2 subsequent siblings)
  14 siblings, 0 replies; 18+ messages in thread
From: Patchwork @ 2026-03-05 18:26 UTC (permalink / raw)
  To: Rodrigo Vivi; +Cc: intel-xe

== Series Details ==

Series: Introduce DRM_RAS using generic netlink for RAS (rev11)
URL   : https://patchwork.freedesktop.org/series/155188/
State : success

== Summary ==

+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig
[18:25:08] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[18:25:12] 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=25
[18:25:50] Starting KUnit Kernel (1/1)...
[18:25:50] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[18:25:50] ================== guc_buf (11 subtests) ===================
[18:25:50] [PASSED] test_smallest
[18:25:50] [PASSED] test_largest
[18:25:50] [PASSED] test_granular
[18:25:50] [PASSED] test_unique
[18:25:50] [PASSED] test_overlap
[18:25:50] [PASSED] test_reusable
[18:25:50] [PASSED] test_too_big
[18:25:50] [PASSED] test_flush
[18:25:50] [PASSED] test_lookup
[18:25:50] [PASSED] test_data
[18:25:50] [PASSED] test_class
[18:25:50] ===================== [PASSED] guc_buf =====================
[18:25:50] =================== guc_dbm (7 subtests) ===================
[18:25:50] [PASSED] test_empty
[18:25:50] [PASSED] test_default
[18:25:50] ======================== test_size  ========================
[18:25:50] [PASSED] 4
[18:25:50] [PASSED] 8
[18:25:50] [PASSED] 32
[18:25:50] [PASSED] 256
[18:25:50] ==================== [PASSED] test_size ====================
[18:25:50] ======================= test_reuse  ========================
[18:25:50] [PASSED] 4
[18:25:50] [PASSED] 8
[18:25:50] [PASSED] 32
[18:25:50] [PASSED] 256
[18:25:50] =================== [PASSED] test_reuse ====================
[18:25:50] =================== test_range_overlap  ====================
[18:25:50] [PASSED] 4
[18:25:50] [PASSED] 8
[18:25:50] [PASSED] 32
[18:25:50] [PASSED] 256
[18:25:50] =============== [PASSED] test_range_overlap ================
[18:25:50] =================== test_range_compact  ====================
[18:25:50] [PASSED] 4
[18:25:50] [PASSED] 8
[18:25:50] [PASSED] 32
[18:25:50] [PASSED] 256
[18:25:50] =============== [PASSED] test_range_compact ================
[18:25:50] ==================== test_range_spare  =====================
[18:25:50] [PASSED] 4
[18:25:50] [PASSED] 8
[18:25:50] [PASSED] 32
[18:25:50] [PASSED] 256
[18:25:50] ================ [PASSED] test_range_spare =================
[18:25:50] ===================== [PASSED] guc_dbm =====================
[18:25:50] =================== guc_idm (6 subtests) ===================
[18:25:50] [PASSED] bad_init
[18:25:50] [PASSED] no_init
[18:25:50] [PASSED] init_fini
[18:25:50] [PASSED] check_used
[18:25:50] [PASSED] check_quota
[18:25:50] [PASSED] check_all
[18:25:50] ===================== [PASSED] guc_idm =====================
[18:25:50] ================== no_relay (3 subtests) ===================
[18:25:50] [PASSED] xe_drops_guc2pf_if_not_ready
[18:25:50] [PASSED] xe_drops_guc2vf_if_not_ready
[18:25:50] [PASSED] xe_rejects_send_if_not_ready
[18:25:50] ==================== [PASSED] no_relay =====================
[18:25:50] ================== pf_relay (14 subtests) ==================
[18:25:50] [PASSED] pf_rejects_guc2pf_too_short
[18:25:50] [PASSED] pf_rejects_guc2pf_too_long
[18:25:50] [PASSED] pf_rejects_guc2pf_no_payload
[18:25:50] [PASSED] pf_fails_no_payload
[18:25:50] [PASSED] pf_fails_bad_origin
[18:25:50] [PASSED] pf_fails_bad_type
[18:25:50] [PASSED] pf_txn_reports_error
[18:25:50] [PASSED] pf_txn_sends_pf2guc
[18:25:50] [PASSED] pf_sends_pf2guc
[18:25:50] [SKIPPED] pf_loopback_nop
[18:25:50] [SKIPPED] pf_loopback_echo
[18:25:50] [SKIPPED] pf_loopback_fail
[18:25:50] [SKIPPED] pf_loopback_busy
[18:25:50] [SKIPPED] pf_loopback_retry
[18:25:50] ==================== [PASSED] pf_relay =====================
[18:25:50] ================== vf_relay (3 subtests) ===================
[18:25:50] [PASSED] vf_rejects_guc2vf_too_short
[18:25:50] [PASSED] vf_rejects_guc2vf_too_long
[18:25:50] [PASSED] vf_rejects_guc2vf_no_payload
[18:25:50] ==================== [PASSED] vf_relay =====================
[18:25:50] ================ pf_gt_config (9 subtests) =================
[18:25:50] [PASSED] fair_contexts_1vf
[18:25:50] [PASSED] fair_doorbells_1vf
[18:25:50] [PASSED] fair_ggtt_1vf
[18:25:50] ====================== fair_vram_1vf  ======================
[18:25:50] [PASSED] 3.50 GiB
[18:25:50] [PASSED] 11.5 GiB
[18:25:50] [PASSED] 15.5 GiB
[18:25:50] [PASSED] 31.5 GiB
[18:25:50] [PASSED] 63.5 GiB
[18:25:50] [PASSED] 1.91 GiB
[18:25:50] ================== [PASSED] fair_vram_1vf ==================
[18:25:50] ================ fair_vram_1vf_admin_only  =================
[18:25:50] [PASSED] 3.50 GiB
[18:25:50] [PASSED] 11.5 GiB
[18:25:50] [PASSED] 15.5 GiB
[18:25:50] [PASSED] 31.5 GiB
[18:25:50] [PASSED] 63.5 GiB
[18:25:50] [PASSED] 1.91 GiB
[18:25:50] ============ [PASSED] fair_vram_1vf_admin_only =============
[18:25:50] ====================== fair_contexts  ======================
[18:25:50] [PASSED] 1 VF
[18:25:50] [PASSED] 2 VFs
[18:25:50] [PASSED] 3 VFs
[18:25:50] [PASSED] 4 VFs
[18:25:50] [PASSED] 5 VFs
[18:25:50] [PASSED] 6 VFs
[18:25:50] [PASSED] 7 VFs
[18:25:50] [PASSED] 8 VFs
[18:25:50] [PASSED] 9 VFs
[18:25:50] [PASSED] 10 VFs
[18:25:50] [PASSED] 11 VFs
[18:25:50] [PASSED] 12 VFs
[18:25:50] [PASSED] 13 VFs
[18:25:50] [PASSED] 14 VFs
[18:25:50] [PASSED] 15 VFs
[18:25:50] [PASSED] 16 VFs
[18:25:50] [PASSED] 17 VFs
[18:25:50] [PASSED] 18 VFs
[18:25:50] [PASSED] 19 VFs
[18:25:50] [PASSED] 20 VFs
[18:25:50] [PASSED] 21 VFs
[18:25:50] [PASSED] 22 VFs
[18:25:50] [PASSED] 23 VFs
[18:25:50] [PASSED] 24 VFs
[18:25:50] [PASSED] 25 VFs
[18:25:50] [PASSED] 26 VFs
[18:25:50] [PASSED] 27 VFs
[18:25:50] [PASSED] 28 VFs
[18:25:50] [PASSED] 29 VFs
[18:25:50] [PASSED] 30 VFs
[18:25:50] [PASSED] 31 VFs
[18:25:50] [PASSED] 32 VFs
[18:25:50] [PASSED] 33 VFs
[18:25:50] [PASSED] 34 VFs
[18:25:50] [PASSED] 35 VFs
[18:25:50] [PASSED] 36 VFs
[18:25:50] [PASSED] 37 VFs
[18:25:50] [PASSED] 38 VFs
[18:25:50] [PASSED] 39 VFs
[18:25:50] [PASSED] 40 VFs
[18:25:50] [PASSED] 41 VFs
[18:25:50] [PASSED] 42 VFs
[18:25:50] [PASSED] 43 VFs
[18:25:50] [PASSED] 44 VFs
[18:25:50] [PASSED] 45 VFs
[18:25:50] [PASSED] 46 VFs
[18:25:50] [PASSED] 47 VFs
[18:25:50] [PASSED] 48 VFs
[18:25:50] [PASSED] 49 VFs
[18:25:50] [PASSED] 50 VFs
[18:25:50] [PASSED] 51 VFs
[18:25:50] [PASSED] 52 VFs
[18:25:50] [PASSED] 53 VFs
[18:25:50] [PASSED] 54 VFs
[18:25:50] [PASSED] 55 VFs
[18:25:50] [PASSED] 56 VFs
[18:25:50] [PASSED] 57 VFs
[18:25:50] [PASSED] 58 VFs
[18:25:50] [PASSED] 59 VFs
[18:25:50] [PASSED] 60 VFs
[18:25:50] [PASSED] 61 VFs
[18:25:50] [PASSED] 62 VFs
[18:25:50] [PASSED] 63 VFs
[18:25:50] ================== [PASSED] fair_contexts ==================
[18:25:50] ===================== fair_doorbells  ======================
[18:25:50] [PASSED] 1 VF
[18:25:50] [PASSED] 2 VFs
[18:25:50] [PASSED] 3 VFs
[18:25:50] [PASSED] 4 VFs
[18:25:50] [PASSED] 5 VFs
[18:25:50] [PASSED] 6 VFs
[18:25:50] [PASSED] 7 VFs
[18:25:50] [PASSED] 8 VFs
[18:25:50] [PASSED] 9 VFs
[18:25:50] [PASSED] 10 VFs
[18:25:50] [PASSED] 11 VFs
[18:25:50] [PASSED] 12 VFs
[18:25:50] [PASSED] 13 VFs
[18:25:50] [PASSED] 14 VFs
[18:25:50] [PASSED] 15 VFs
[18:25:50] [PASSED] 16 VFs
[18:25:50] [PASSED] 17 VFs
[18:25:50] [PASSED] 18 VFs
[18:25:50] [PASSED] 19 VFs
[18:25:50] [PASSED] 20 VFs
[18:25:50] [PASSED] 21 VFs
[18:25:50] [PASSED] 22 VFs
[18:25:50] [PASSED] 23 VFs
[18:25:50] [PASSED] 24 VFs
[18:25:50] [PASSED] 25 VFs
[18:25:50] [PASSED] 26 VFs
[18:25:50] [PASSED] 27 VFs
[18:25:50] [PASSED] 28 VFs
[18:25:50] [PASSED] 29 VFs
[18:25:50] [PASSED] 30 VFs
[18:25:50] [PASSED] 31 VFs
[18:25:50] [PASSED] 32 VFs
[18:25:50] [PASSED] 33 VFs
[18:25:50] [PASSED] 34 VFs
[18:25:50] [PASSED] 35 VFs
[18:25:50] [PASSED] 36 VFs
[18:25:50] [PASSED] 37 VFs
[18:25:50] [PASSED] 38 VFs
[18:25:50] [PASSED] 39 VFs
[18:25:50] [PASSED] 40 VFs
[18:25:50] [PASSED] 41 VFs
[18:25:50] [PASSED] 42 VFs
[18:25:50] [PASSED] 43 VFs
[18:25:50] [PASSED] 44 VFs
[18:25:50] [PASSED] 45 VFs
[18:25:50] [PASSED] 46 VFs
[18:25:50] [PASSED] 47 VFs
[18:25:50] [PASSED] 48 VFs
[18:25:50] [PASSED] 49 VFs
[18:25:50] [PASSED] 50 VFs
[18:25:50] [PASSED] 51 VFs
[18:25:50] [PASSED] 52 VFs
[18:25:50] [PASSED] 53 VFs
[18:25:50] [PASSED] 54 VFs
[18:25:50] [PASSED] 55 VFs
[18:25:50] [PASSED] 56 VFs
[18:25:50] [PASSED] 57 VFs
[18:25:50] [PASSED] 58 VFs
[18:25:50] [PASSED] 59 VFs
[18:25:50] [PASSED] 60 VFs
[18:25:50] [PASSED] 61 VFs
[18:25:50] [PASSED] 62 VFs
[18:25:50] [PASSED] 63 VFs
[18:25:50] ================= [PASSED] fair_doorbells ==================
[18:25:50] ======================== fair_ggtt  ========================
[18:25:50] [PASSED] 1 VF
[18:25:50] [PASSED] 2 VFs
[18:25:50] [PASSED] 3 VFs
[18:25:50] [PASSED] 4 VFs
[18:25:50] [PASSED] 5 VFs
[18:25:50] [PASSED] 6 VFs
[18:25:50] [PASSED] 7 VFs
[18:25:50] [PASSED] 8 VFs
[18:25:50] [PASSED] 9 VFs
[18:25:50] [PASSED] 10 VFs
[18:25:50] [PASSED] 11 VFs
[18:25:50] [PASSED] 12 VFs
[18:25:50] [PASSED] 13 VFs
[18:25:50] [PASSED] 14 VFs
[18:25:50] [PASSED] 15 VFs
[18:25:50] [PASSED] 16 VFs
[18:25:50] [PASSED] 17 VFs
[18:25:50] [PASSED] 18 VFs
[18:25:50] [PASSED] 19 VFs
[18:25:50] [PASSED] 20 VFs
[18:25:50] [PASSED] 21 VFs
[18:25:50] [PASSED] 22 VFs
[18:25:50] [PASSED] 23 VFs
[18:25:50] [PASSED] 24 VFs
[18:25:50] [PASSED] 25 VFs
[18:25:50] [PASSED] 26 VFs
[18:25:50] [PASSED] 27 VFs
[18:25:50] [PASSED] 28 VFs
[18:25:50] [PASSED] 29 VFs
[18:25:50] [PASSED] 30 VFs
[18:25:50] [PASSED] 31 VFs
[18:25:50] [PASSED] 32 VFs
[18:25:50] [PASSED] 33 VFs
[18:25:50] [PASSED] 34 VFs
[18:25:50] [PASSED] 35 VFs
[18:25:50] [PASSED] 36 VFs
[18:25:50] [PASSED] 37 VFs
[18:25:50] [PASSED] 38 VFs
[18:25:50] [PASSED] 39 VFs
[18:25:50] [PASSED] 40 VFs
[18:25:50] [PASSED] 41 VFs
[18:25:50] [PASSED] 42 VFs
[18:25:50] [PASSED] 43 VFs
[18:25:50] [PASSED] 44 VFs
[18:25:50] [PASSED] 45 VFs
[18:25:50] [PASSED] 46 VFs
[18:25:50] [PASSED] 47 VFs
[18:25:50] [PASSED] 48 VFs
[18:25:50] [PASSED] 49 VFs
[18:25:50] [PASSED] 50 VFs
[18:25:50] [PASSED] 51 VFs
[18:25:50] [PASSED] 52 VFs
[18:25:50] [PASSED] 53 VFs
[18:25:50] [PASSED] 54 VFs
[18:25:50] [PASSED] 55 VFs
[18:25:50] [PASSED] 56 VFs
[18:25:50] [PASSED] 57 VFs
[18:25:50] [PASSED] 58 VFs
[18:25:50] [PASSED] 59 VFs
[18:25:50] [PASSED] 60 VFs
[18:25:50] [PASSED] 61 VFs
[18:25:50] [PASSED] 62 VFs
[18:25:50] [PASSED] 63 VFs
[18:25:50] ==================== [PASSED] fair_ggtt ====================
[18:25:50] ======================== fair_vram  ========================
[18:25:50] [PASSED] 1 VF
[18:25:50] [PASSED] 2 VFs
[18:25:50] [PASSED] 3 VFs
[18:25:50] [PASSED] 4 VFs
[18:25:50] [PASSED] 5 VFs
[18:25:50] [PASSED] 6 VFs
[18:25:50] [PASSED] 7 VFs
[18:25:50] [PASSED] 8 VFs
[18:25:50] [PASSED] 9 VFs
[18:25:50] [PASSED] 10 VFs
[18:25:50] [PASSED] 11 VFs
[18:25:50] [PASSED] 12 VFs
[18:25:50] [PASSED] 13 VFs
[18:25:50] [PASSED] 14 VFs
[18:25:50] [PASSED] 15 VFs
[18:25:50] [PASSED] 16 VFs
[18:25:50] [PASSED] 17 VFs
[18:25:50] [PASSED] 18 VFs
[18:25:50] [PASSED] 19 VFs
[18:25:50] [PASSED] 20 VFs
[18:25:50] [PASSED] 21 VFs
[18:25:50] [PASSED] 22 VFs
[18:25:50] [PASSED] 23 VFs
[18:25:50] [PASSED] 24 VFs
[18:25:50] [PASSED] 25 VFs
[18:25:50] [PASSED] 26 VFs
[18:25:50] [PASSED] 27 VFs
[18:25:50] [PASSED] 28 VFs
[18:25:50] [PASSED] 29 VFs
[18:25:50] [PASSED] 30 VFs
[18:25:50] [PASSED] 31 VFs
[18:25:50] [PASSED] 32 VFs
[18:25:50] [PASSED] 33 VFs
[18:25:50] [PASSED] 34 VFs
[18:25:50] [PASSED] 35 VFs
[18:25:50] [PASSED] 36 VFs
[18:25:50] [PASSED] 37 VFs
[18:25:50] [PASSED] 38 VFs
[18:25:50] [PASSED] 39 VFs
[18:25:50] [PASSED] 40 VFs
[18:25:50] [PASSED] 41 VFs
[18:25:50] [PASSED] 42 VFs
[18:25:50] [PASSED] 43 VFs
[18:25:50] [PASSED] 44 VFs
[18:25:50] [PASSED] 45 VFs
[18:25:50] [PASSED] 46 VFs
[18:25:50] [PASSED] 47 VFs
[18:25:50] [PASSED] 48 VFs
[18:25:50] [PASSED] 49 VFs
[18:25:50] [PASSED] 50 VFs
[18:25:50] [PASSED] 51 VFs
[18:25:50] [PASSED] 52 VFs
[18:25:50] [PASSED] 53 VFs
[18:25:50] [PASSED] 54 VFs
[18:25:50] [PASSED] 55 VFs
[18:25:50] [PASSED] 56 VFs
[18:25:50] [PASSED] 57 VFs
[18:25:50] [PASSED] 58 VFs
[18:25:50] [PASSED] 59 VFs
[18:25:50] [PASSED] 60 VFs
[18:25:50] [PASSED] 61 VFs
[18:25:50] [PASSED] 62 VFs
[18:25:50] [PASSED] 63 VFs
[18:25:50] ==================== [PASSED] fair_vram ====================
[18:25:50] ================== [PASSED] pf_gt_config ===================
[18:25:50] ===================== lmtt (1 subtest) =====================
[18:25:50] ======================== test_ops  =========================
[18:25:50] [PASSED] 2-level
[18:25:50] [PASSED] multi-level
[18:25:50] ==================== [PASSED] test_ops =====================
[18:25:50] ====================== [PASSED] lmtt =======================
[18:25:50] ================= pf_service (11 subtests) =================
[18:25:50] [PASSED] pf_negotiate_any
[18:25:50] [PASSED] pf_negotiate_base_match
[18:25:50] [PASSED] pf_negotiate_base_newer
[18:25:50] [PASSED] pf_negotiate_base_next
[18:25:50] [SKIPPED] pf_negotiate_base_older
[18:25:50] [PASSED] pf_negotiate_base_prev
[18:25:50] [PASSED] pf_negotiate_latest_match
[18:25:50] [PASSED] pf_negotiate_latest_newer
[18:25:50] [PASSED] pf_negotiate_latest_next
[18:25:50] [SKIPPED] pf_negotiate_latest_older
[18:25:50] [SKIPPED] pf_negotiate_latest_prev
[18:25:50] =================== [PASSED] pf_service ====================
[18:25:50] ================= xe_guc_g2g (2 subtests) ==================
[18:25:50] ============== xe_live_guc_g2g_kunit_default  ==============
[18:25:50] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ==========
[18:25:50] ============== xe_live_guc_g2g_kunit_allmem  ===============
[18:25:50] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ==========
[18:25:50] =================== [SKIPPED] xe_guc_g2g ===================
[18:25:50] =================== xe_mocs (2 subtests) ===================
[18:25:50] ================ xe_live_mocs_kernel_kunit  ================
[18:25:50] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============
[18:25:50] ================ xe_live_mocs_reset_kunit  =================
[18:25:50] ============ [SKIPPED] xe_live_mocs_reset_kunit ============
[18:25:50] ==================== [SKIPPED] xe_mocs =====================
[18:25:50] ================= xe_migrate (2 subtests) ==================
[18:25:50] ================= xe_migrate_sanity_kunit  =================
[18:25:50] ============ [SKIPPED] xe_migrate_sanity_kunit =============
[18:25:50] ================== xe_validate_ccs_kunit  ==================
[18:25:50] ============= [SKIPPED] xe_validate_ccs_kunit ==============
[18:25:50] =================== [SKIPPED] xe_migrate ===================
[18:25:50] ================== xe_dma_buf (1 subtest) ==================
[18:25:50] ==================== xe_dma_buf_kunit  =====================
[18:25:50] ================ [SKIPPED] xe_dma_buf_kunit ================
[18:25:50] =================== [SKIPPED] xe_dma_buf ===================
[18:25:50] ================= xe_bo_shrink (1 subtest) =================
[18:25:50] =================== xe_bo_shrink_kunit  ====================
[18:25:50] =============== [SKIPPED] xe_bo_shrink_kunit ===============
[18:25:50] ================== [SKIPPED] xe_bo_shrink ==================
[18:25:50] ==================== xe_bo (2 subtests) ====================
[18:25:50] ================== xe_ccs_migrate_kunit  ===================
[18:25:50] ============== [SKIPPED] xe_ccs_migrate_kunit ==============
[18:25:50] ==================== xe_bo_evict_kunit  ====================
[18:25:50] =============== [SKIPPED] xe_bo_evict_kunit ================
[18:25:50] ===================== [SKIPPED] xe_bo ======================
[18:25:50] ==================== args (13 subtests) ====================
[18:25:50] [PASSED] count_args_test
[18:25:50] [PASSED] call_args_example
[18:25:50] [PASSED] call_args_test
[18:25:50] [PASSED] drop_first_arg_example
[18:25:50] [PASSED] drop_first_arg_test
[18:25:50] [PASSED] first_arg_example
[18:25:50] [PASSED] first_arg_test
[18:25:50] [PASSED] last_arg_example
[18:25:50] [PASSED] last_arg_test
[18:25:50] [PASSED] pick_arg_example
[18:25:50] [PASSED] if_args_example
[18:25:50] [PASSED] if_args_test
[18:25:50] [PASSED] sep_comma_example
[18:25:50] ====================== [PASSED] args =======================
[18:25:50] =================== xe_pci (3 subtests) ====================
[18:25:50] ==================== check_graphics_ip  ====================
[18:25:50] [PASSED] 12.00 Xe_LP
[18:25:50] [PASSED] 12.10 Xe_LP+
[18:25:50] [PASSED] 12.55 Xe_HPG
[18:25:50] [PASSED] 12.60 Xe_HPC
[18:25:50] [PASSED] 12.70 Xe_LPG
[18:25:50] [PASSED] 12.71 Xe_LPG
[18:25:50] [PASSED] 12.74 Xe_LPG+
[18:25:50] [PASSED] 20.01 Xe2_HPG
[18:25:50] [PASSED] 20.02 Xe2_HPG
[18:25:50] [PASSED] 20.04 Xe2_LPG
[18:25:50] [PASSED] 30.00 Xe3_LPG
[18:25:50] [PASSED] 30.01 Xe3_LPG
[18:25:50] [PASSED] 30.03 Xe3_LPG
[18:25:50] [PASSED] 30.04 Xe3_LPG
[18:25:50] [PASSED] 30.05 Xe3_LPG
[18:25:50] [PASSED] 35.10 Xe3p_LPG
[18:25:50] [PASSED] 35.11 Xe3p_XPC
[18:25:50] ================ [PASSED] check_graphics_ip ================
[18:25:50] ===================== check_media_ip  ======================
[18:25:50] [PASSED] 12.00 Xe_M
[18:25:50] [PASSED] 12.55 Xe_HPM
[18:25:50] [PASSED] 13.00 Xe_LPM+
[18:25:50] [PASSED] 13.01 Xe2_HPM
[18:25:50] [PASSED] 20.00 Xe2_LPM
[18:25:50] [PASSED] 30.00 Xe3_LPM
[18:25:50] [PASSED] 30.02 Xe3_LPM
[18:25:50] [PASSED] 35.00 Xe3p_LPM
[18:25:50] [PASSED] 35.03 Xe3p_HPM
[18:25:50] ================= [PASSED] check_media_ip ==================
[18:25:50] =================== check_platform_desc  ===================
[18:25:50] [PASSED] 0x9A60 (TIGERLAKE)
[18:25:50] [PASSED] 0x9A68 (TIGERLAKE)
[18:25:50] [PASSED] 0x9A70 (TIGERLAKE)
[18:25:50] [PASSED] 0x9A40 (TIGERLAKE)
[18:25:50] [PASSED] 0x9A49 (TIGERLAKE)
[18:25:50] [PASSED] 0x9A59 (TIGERLAKE)
[18:25:50] [PASSED] 0x9A78 (TIGERLAKE)
[18:25:50] [PASSED] 0x9AC0 (TIGERLAKE)
[18:25:50] [PASSED] 0x9AC9 (TIGERLAKE)
[18:25:50] [PASSED] 0x9AD9 (TIGERLAKE)
[18:25:50] [PASSED] 0x9AF8 (TIGERLAKE)
[18:25:50] [PASSED] 0x4C80 (ROCKETLAKE)
[18:25:50] [PASSED] 0x4C8A (ROCKETLAKE)
[18:25:50] [PASSED] 0x4C8B (ROCKETLAKE)
[18:25:50] [PASSED] 0x4C8C (ROCKETLAKE)
[18:25:50] [PASSED] 0x4C90 (ROCKETLAKE)
[18:25:50] [PASSED] 0x4C9A (ROCKETLAKE)
[18:25:50] [PASSED] 0x4680 (ALDERLAKE_S)
[18:25:50] [PASSED] 0x4682 (ALDERLAKE_S)
[18:25:50] [PASSED] 0x4688 (ALDERLAKE_S)
[18:25:50] [PASSED] 0x468A (ALDERLAKE_S)
[18:25:50] [PASSED] 0x468B (ALDERLAKE_S)
[18:25:50] [PASSED] 0x4690 (ALDERLAKE_S)
[18:25:50] [PASSED] 0x4692 (ALDERLAKE_S)
[18:25:50] [PASSED] 0x4693 (ALDERLAKE_S)
[18:25:50] [PASSED] 0x46A0 (ALDERLAKE_P)
[18:25:50] [PASSED] 0x46A1 (ALDERLAKE_P)
[18:25:50] [PASSED] 0x46A2 (ALDERLAKE_P)
[18:25:50] [PASSED] 0x46A3 (ALDERLAKE_P)
[18:25:50] [PASSED] 0x46A6 (ALDERLAKE_P)
[18:25:50] [PASSED] 0x46A8 (ALDERLAKE_P)
[18:25:50] [PASSED] 0x46AA (ALDERLAKE_P)
[18:25:50] [PASSED] 0x462A (ALDERLAKE_P)
[18:25:50] [PASSED] 0x4626 (ALDERLAKE_P)
[18:25:50] [PASSED] 0x4628 (ALDERLAKE_P)
[18:25:50] [PASSED] 0x46B0 (ALDERLAKE_P)
[18:25:50] [PASSED] 0x46B1 (ALDERLAKE_P)
[18:25:50] [PASSED] 0x46B2 (ALDERLAKE_P)
[18:25:50] [PASSED] 0x46B3 (ALDERLAKE_P)
[18:25:50] [PASSED] 0x46C0 (ALDERLAKE_P)
[18:25:50] [PASSED] 0x46C1 (ALDERLAKE_P)
[18:25:50] [PASSED] 0x46C2 (ALDERLAKE_P)
[18:25:50] [PASSED] 0x46C3 (ALDERLAKE_P)
[18:25:50] [PASSED] 0x46D0 (ALDERLAKE_N)
[18:25:50] [PASSED] 0x46D1 (ALDERLAKE_N)
[18:25:50] [PASSED] 0x46D2 (ALDERLAKE_N)
[18:25:50] [PASSED] 0x46D3 (ALDERLAKE_N)
[18:25:50] [PASSED] 0x46D4 (ALDERLAKE_N)
[18:25:50] [PASSED] 0xA721 (ALDERLAKE_P)
[18:25:50] [PASSED] 0xA7A1 (ALDERLAKE_P)
[18:25:50] [PASSED] 0xA7A9 (ALDERLAKE_P)
[18:25:50] [PASSED] 0xA7AC (ALDERLAKE_P)
[18:25:50] [PASSED] 0xA7AD (ALDERLAKE_P)
[18:25:50] [PASSED] 0xA720 (ALDERLAKE_P)
[18:25:50] [PASSED] 0xA7A0 (ALDERLAKE_P)
[18:25:50] [PASSED] 0xA7A8 (ALDERLAKE_P)
[18:25:50] [PASSED] 0xA7AA (ALDERLAKE_P)
[18:25:50] [PASSED] 0xA7AB (ALDERLAKE_P)
[18:25:50] [PASSED] 0xA780 (ALDERLAKE_S)
[18:25:50] [PASSED] 0xA781 (ALDERLAKE_S)
[18:25:50] [PASSED] 0xA782 (ALDERLAKE_S)
[18:25:50] [PASSED] 0xA783 (ALDERLAKE_S)
[18:25:50] [PASSED] 0xA788 (ALDERLAKE_S)
[18:25:50] [PASSED] 0xA789 (ALDERLAKE_S)
[18:25:50] [PASSED] 0xA78A (ALDERLAKE_S)
[18:25:50] [PASSED] 0xA78B (ALDERLAKE_S)
[18:25:50] [PASSED] 0x4905 (DG1)
[18:25:50] [PASSED] 0x4906 (DG1)
[18:25:50] [PASSED] 0x4907 (DG1)
[18:25:50] [PASSED] 0x4908 (DG1)
[18:25:50] [PASSED] 0x4909 (DG1)
[18:25:50] [PASSED] 0x56C0 (DG2)
[18:25:50] [PASSED] 0x56C2 (DG2)
[18:25:50] [PASSED] 0x56C1 (DG2)
[18:25:50] [PASSED] 0x7D51 (METEORLAKE)
[18:25:50] [PASSED] 0x7DD1 (METEORLAKE)
[18:25:50] [PASSED] 0x7D41 (METEORLAKE)
[18:25:50] [PASSED] 0x7D67 (METEORLAKE)
[18:25:50] [PASSED] 0xB640 (METEORLAKE)
[18:25:50] [PASSED] 0x56A0 (DG2)
[18:25:50] [PASSED] 0x56A1 (DG2)
[18:25:50] [PASSED] 0x56A2 (DG2)
[18:25:50] [PASSED] 0x56BE (DG2)
[18:25:50] [PASSED] 0x56BF (DG2)
[18:25:50] [PASSED] 0x5690 (DG2)
[18:25:50] [PASSED] 0x5691 (DG2)
[18:25:50] [PASSED] 0x5692 (DG2)
[18:25:50] [PASSED] 0x56A5 (DG2)
[18:25:50] [PASSED] 0x56A6 (DG2)
[18:25:50] [PASSED] 0x56B0 (DG2)
[18:25:50] [PASSED] 0x56B1 (DG2)
[18:25:50] [PASSED] 0x56BA (DG2)
[18:25:50] [PASSED] 0x56BB (DG2)
[18:25:50] [PASSED] 0x56BC (DG2)
[18:25:50] [PASSED] 0x56BD (DG2)
[18:25:50] [PASSED] 0x5693 (DG2)
[18:25:50] [PASSED] 0x5694 (DG2)
[18:25:50] [PASSED] 0x5695 (DG2)
[18:25:50] [PASSED] 0x56A3 (DG2)
[18:25:50] [PASSED] 0x56A4 (DG2)
[18:25:50] [PASSED] 0x56B2 (DG2)
[18:25:50] [PASSED] 0x56B3 (DG2)
[18:25:50] [PASSED] 0x5696 (DG2)
[18:25:50] [PASSED] 0x5697 (DG2)
[18:25:50] [PASSED] 0xB69 (PVC)
[18:25:50] [PASSED] 0xB6E (PVC)
[18:25:50] [PASSED] 0xBD4 (PVC)
[18:25:50] [PASSED] 0xBD5 (PVC)
[18:25:50] [PASSED] 0xBD6 (PVC)
[18:25:50] [PASSED] 0xBD7 (PVC)
[18:25:50] [PASSED] 0xBD8 (PVC)
[18:25:50] [PASSED] 0xBD9 (PVC)
[18:25:50] [PASSED] 0xBDA (PVC)
[18:25:50] [PASSED] 0xBDB (PVC)
[18:25:50] [PASSED] 0xBE0 (PVC)
[18:25:50] [PASSED] 0xBE1 (PVC)
[18:25:50] [PASSED] 0xBE5 (PVC)
[18:25:50] [PASSED] 0x7D40 (METEORLAKE)
[18:25:50] [PASSED] 0x7D45 (METEORLAKE)
[18:25:50] [PASSED] 0x7D55 (METEORLAKE)
[18:25:50] [PASSED] 0x7D60 (METEORLAKE)
[18:25:50] [PASSED] 0x7DD5 (METEORLAKE)
[18:25:50] [PASSED] 0x6420 (LUNARLAKE)
[18:25:50] [PASSED] 0x64A0 (LUNARLAKE)
[18:25:50] [PASSED] 0x64B0 (LUNARLAKE)
[18:25:50] [PASSED] 0xE202 (BATTLEMAGE)
[18:25:50] [PASSED] 0xE209 (BATTLEMAGE)
[18:25:50] [PASSED] 0xE20B (BATTLEMAGE)
[18:25:50] [PASSED] 0xE20C (BATTLEMAGE)
[18:25:50] [PASSED] 0xE20D (BATTLEMAGE)
[18:25:50] [PASSED] 0xE210 (BATTLEMAGE)
[18:25:50] [PASSED] 0xE211 (BATTLEMAGE)
[18:25:50] [PASSED] 0xE212 (BATTLEMAGE)
[18:25:50] [PASSED] 0xE216 (BATTLEMAGE)
[18:25:50] [PASSED] 0xE220 (BATTLEMAGE)
[18:25:50] [PASSED] 0xE221 (BATTLEMAGE)
[18:25:50] [PASSED] 0xE222 (BATTLEMAGE)
[18:25:50] [PASSED] 0xE223 (BATTLEMAGE)
[18:25:50] [PASSED] 0xB080 (PANTHERLAKE)
[18:25:50] [PASSED] 0xB081 (PANTHERLAKE)
[18:25:50] [PASSED] 0xB082 (PANTHERLAKE)
[18:25:50] [PASSED] 0xB083 (PANTHERLAKE)
[18:25:50] [PASSED] 0xB084 (PANTHERLAKE)
[18:25:50] [PASSED] 0xB085 (PANTHERLAKE)
[18:25:50] [PASSED] 0xB086 (PANTHERLAKE)
[18:25:50] [PASSED] 0xB087 (PANTHERLAKE)
[18:25:50] [PASSED] 0xB08F (PANTHERLAKE)
[18:25:50] [PASSED] 0xB090 (PANTHERLAKE)
[18:25:50] [PASSED] 0xB0A0 (PANTHERLAKE)
[18:25:50] [PASSED] 0xB0B0 (PANTHERLAKE)
[18:25:50] [PASSED] 0xFD80 (PANTHERLAKE)
[18:25:50] [PASSED] 0xFD81 (PANTHERLAKE)
[18:25:50] [PASSED] 0xD740 (NOVALAKE_S)
[18:25:50] [PASSED] 0xD741 (NOVALAKE_S)
[18:25:50] [PASSED] 0xD742 (NOVALAKE_S)
[18:25:50] [PASSED] 0xD743 (NOVALAKE_S)
[18:25:50] [PASSED] 0xD744 (NOVALAKE_S)
[18:25:50] [PASSED] 0xD745 (NOVALAKE_S)
[18:25:50] [PASSED] 0x674C (CRESCENTISLAND)
[18:25:50] [PASSED] 0xD750 (NOVALAKE_P)
[18:25:50] [PASSED] 0xD751 (NOVALAKE_P)
[18:25:50] [PASSED] 0xD752 (NOVALAKE_P)
[18:25:50] [PASSED] 0xD753 (NOVALAKE_P)
[18:25:50] [PASSED] 0xD754 (NOVALAKE_P)
[18:25:50] [PASSED] 0xD755 (NOVALAKE_P)
[18:25:50] [PASSED] 0xD756 (NOVALAKE_P)
[18:25:50] [PASSED] 0xD757 (NOVALAKE_P)
[18:25:50] [PASSED] 0xD75F (NOVALAKE_P)
[18:25:50] =============== [PASSED] check_platform_desc ===============
[18:25:50] ===================== [PASSED] xe_pci ======================
[18:25:50] =================== xe_rtp (2 subtests) ====================
[18:25:50] =============== xe_rtp_process_to_sr_tests  ================
[18:25:50] [PASSED] coalesce-same-reg
[18:25:50] [PASSED] no-match-no-add
[18:25:50] [PASSED] match-or
[18:25:50] [PASSED] match-or-xfail
[18:25:50] [PASSED] no-match-no-add-multiple-rules
[18:25:50] [PASSED] two-regs-two-entries
[18:25:50] [PASSED] clr-one-set-other
[18:25:50] [PASSED] set-field
[18:25:50] [PASSED] conflict-duplicate
stty: 'standard input': Inappropriate ioctl for device
[18:25:50] [PASSED] conflict-not-disjoint
[18:25:50] [PASSED] conflict-reg-type
[18:25:50] =========== [PASSED] xe_rtp_process_to_sr_tests ============
[18:25:50] ================== xe_rtp_process_tests  ===================
[18:25:50] [PASSED] active1
[18:25:50] [PASSED] active2
[18:25:50] [PASSED] active-inactive
[18:25:50] [PASSED] inactive-active
[18:25:50] [PASSED] inactive-1st_or_active-inactive
[18:25:50] [PASSED] inactive-2nd_or_active-inactive
[18:25:50] [PASSED] inactive-last_or_active-inactive
[18:25:50] [PASSED] inactive-no_or_active-inactive
[18:25:50] ============== [PASSED] xe_rtp_process_tests ===============
[18:25:50] ===================== [PASSED] xe_rtp ======================
[18:25:50] ==================== xe_wa (1 subtest) =====================
[18:25:50] ======================== xe_wa_gt  =========================
[18:25:50] [PASSED] TIGERLAKE B0
[18:25:50] [PASSED] DG1 A0
[18:25:50] [PASSED] DG1 B0
[18:25:50] [PASSED] ALDERLAKE_S A0
[18:25:50] [PASSED] ALDERLAKE_S B0
[18:25:50] [PASSED] ALDERLAKE_S C0
[18:25:50] [PASSED] ALDERLAKE_S D0
[18:25:50] [PASSED] ALDERLAKE_P A0
[18:25:50] [PASSED] ALDERLAKE_P B0
[18:25:50] [PASSED] ALDERLAKE_P C0
[18:25:50] [PASSED] ALDERLAKE_S RPLS D0
[18:25:50] [PASSED] ALDERLAKE_P RPLU E0
[18:25:50] [PASSED] DG2 G10 C0
[18:25:50] [PASSED] DG2 G11 B1
[18:25:50] [PASSED] DG2 G12 A1
[18:25:50] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0
[18:25:50] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0
[18:25:50] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0
[18:25:50] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0
[18:25:50] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0
[18:25:50] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1
[18:25:50] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0
[18:25:50] ==================== [PASSED] xe_wa_gt =====================
[18:25:50] ====================== [PASSED] xe_wa ======================
[18:25:50] ============================================================
[18:25:50] Testing complete. Ran 597 tests: passed: 579, skipped: 18
[18:25:50] Elapsed time: 42.699s total, 4.368s configuring, 37.713s building, 0.604s running

+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig
[18:25:50] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[18:25:52] 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=25
[18:26:21] Starting KUnit Kernel (1/1)...
[18:26:21] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[18:26:21] ============ drm_test_pick_cmdline (2 subtests) ============
[18:26:21] [PASSED] drm_test_pick_cmdline_res_1920_1080_60
[18:26:21] =============== drm_test_pick_cmdline_named  ===============
[18:26:21] [PASSED] NTSC
[18:26:21] [PASSED] NTSC-J
[18:26:21] [PASSED] PAL
[18:26:21] [PASSED] PAL-M
[18:26:21] =========== [PASSED] drm_test_pick_cmdline_named ===========
[18:26:21] ============== [PASSED] drm_test_pick_cmdline ==============
[18:26:21] == drm_test_atomic_get_connector_for_encoder (1 subtest) ===
[18:26:21] [PASSED] drm_test_drm_atomic_get_connector_for_encoder
[18:26:21] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ====
[18:26:21] =========== drm_validate_clone_mode (2 subtests) ===========
[18:26:21] ============== drm_test_check_in_clone_mode  ===============
[18:26:21] [PASSED] in_clone_mode
[18:26:21] [PASSED] not_in_clone_mode
[18:26:21] ========== [PASSED] drm_test_check_in_clone_mode ===========
[18:26:21] =============== drm_test_check_valid_clones  ===============
[18:26:21] [PASSED] not_in_clone_mode
[18:26:21] [PASSED] valid_clone
[18:26:21] [PASSED] invalid_clone
[18:26:21] =========== [PASSED] drm_test_check_valid_clones ===========
[18:26:21] ============= [PASSED] drm_validate_clone_mode =============
[18:26:21] ============= drm_validate_modeset (1 subtest) =============
[18:26:21] [PASSED] drm_test_check_connector_changed_modeset
[18:26:21] ============== [PASSED] drm_validate_modeset ===============
[18:26:21] ====== drm_test_bridge_get_current_state (2 subtests) ======
[18:26:21] [PASSED] drm_test_drm_bridge_get_current_state_atomic
[18:26:21] [PASSED] drm_test_drm_bridge_get_current_state_legacy
[18:26:21] ======== [PASSED] drm_test_bridge_get_current_state ========
[18:26:21] ====== drm_test_bridge_helper_reset_crtc (3 subtests) ======
[18:26:21] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic
[18:26:21] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled
[18:26:21] [PASSED] drm_test_drm_bridge_helper_reset_crtc_legacy
[18:26:21] ======== [PASSED] drm_test_bridge_helper_reset_crtc ========
[18:26:21] ============== drm_bridge_alloc (2 subtests) ===============
[18:26:21] [PASSED] drm_test_drm_bridge_alloc_basic
[18:26:21] [PASSED] drm_test_drm_bridge_alloc_get_put
[18:26:21] ================ [PASSED] drm_bridge_alloc =================
[18:26:21] ============= drm_cmdline_parser (40 subtests) =============
[18:26:21] [PASSED] drm_test_cmdline_force_d_only
[18:26:21] [PASSED] drm_test_cmdline_force_D_only_dvi
[18:26:21] [PASSED] drm_test_cmdline_force_D_only_hdmi
[18:26:21] [PASSED] drm_test_cmdline_force_D_only_not_digital
[18:26:21] [PASSED] drm_test_cmdline_force_e_only
[18:26:21] [PASSED] drm_test_cmdline_res
[18:26:21] [PASSED] drm_test_cmdline_res_vesa
[18:26:21] [PASSED] drm_test_cmdline_res_vesa_rblank
[18:26:21] [PASSED] drm_test_cmdline_res_rblank
[18:26:21] [PASSED] drm_test_cmdline_res_bpp
[18:26:21] [PASSED] drm_test_cmdline_res_refresh
[18:26:21] [PASSED] drm_test_cmdline_res_bpp_refresh
[18:26:21] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced
[18:26:21] [PASSED] drm_test_cmdline_res_bpp_refresh_margins
[18:26:21] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off
[18:26:21] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on
[18:26:21] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog
[18:26:21] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital
[18:26:21] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on
[18:26:21] [PASSED] drm_test_cmdline_res_margins_force_on
[18:26:21] [PASSED] drm_test_cmdline_res_vesa_margins
[18:26:21] [PASSED] drm_test_cmdline_name
[18:26:21] [PASSED] drm_test_cmdline_name_bpp
[18:26:21] [PASSED] drm_test_cmdline_name_option
[18:26:21] [PASSED] drm_test_cmdline_name_bpp_option
[18:26:21] [PASSED] drm_test_cmdline_rotate_0
[18:26:21] [PASSED] drm_test_cmdline_rotate_90
[18:26:21] [PASSED] drm_test_cmdline_rotate_180
[18:26:21] [PASSED] drm_test_cmdline_rotate_270
[18:26:21] [PASSED] drm_test_cmdline_hmirror
[18:26:21] [PASSED] drm_test_cmdline_vmirror
[18:26:21] [PASSED] drm_test_cmdline_margin_options
[18:26:21] [PASSED] drm_test_cmdline_multiple_options
[18:26:21] [PASSED] drm_test_cmdline_bpp_extra_and_option
[18:26:21] [PASSED] drm_test_cmdline_extra_and_option
[18:26:21] [PASSED] drm_test_cmdline_freestanding_options
[18:26:21] [PASSED] drm_test_cmdline_freestanding_force_e_and_options
[18:26:21] [PASSED] drm_test_cmdline_panel_orientation
[18:26:21] ================ drm_test_cmdline_invalid  =================
[18:26:21] [PASSED] margin_only
[18:26:21] [PASSED] interlace_only
[18:26:21] [PASSED] res_missing_x
[18:26:21] [PASSED] res_missing_y
[18:26:21] [PASSED] res_bad_y
[18:26:21] [PASSED] res_missing_y_bpp
[18:26:21] [PASSED] res_bad_bpp
[18:26:21] [PASSED] res_bad_refresh
[18:26:21] [PASSED] res_bpp_refresh_force_on_off
[18:26:21] [PASSED] res_invalid_mode
[18:26:21] [PASSED] res_bpp_wrong_place_mode
[18:26:21] [PASSED] name_bpp_refresh
[18:26:21] [PASSED] name_refresh
[18:26:21] [PASSED] name_refresh_wrong_mode
[18:26:21] [PASSED] name_refresh_invalid_mode
[18:26:21] [PASSED] rotate_multiple
[18:26:21] [PASSED] rotate_invalid_val
[18:26:21] [PASSED] rotate_truncated
[18:26:21] [PASSED] invalid_option
[18:26:21] [PASSED] invalid_tv_option
[18:26:21] [PASSED] truncated_tv_option
[18:26:21] ============ [PASSED] drm_test_cmdline_invalid =============
[18:26:21] =============== drm_test_cmdline_tv_options  ===============
[18:26:21] [PASSED] NTSC
[18:26:21] [PASSED] NTSC_443
[18:26:21] [PASSED] NTSC_J
[18:26:21] [PASSED] PAL
[18:26:21] [PASSED] PAL_M
[18:26:21] [PASSED] PAL_N
[18:26:21] [PASSED] SECAM
[18:26:21] [PASSED] MONO_525
[18:26:21] [PASSED] MONO_625
[18:26:21] =========== [PASSED] drm_test_cmdline_tv_options ===========
[18:26:21] =============== [PASSED] drm_cmdline_parser ================
[18:26:21] ========== drmm_connector_hdmi_init (20 subtests) ==========
[18:26:21] [PASSED] drm_test_connector_hdmi_init_valid
[18:26:21] [PASSED] drm_test_connector_hdmi_init_bpc_8
[18:26:21] [PASSED] drm_test_connector_hdmi_init_bpc_10
[18:26:21] [PASSED] drm_test_connector_hdmi_init_bpc_12
[18:26:21] [PASSED] drm_test_connector_hdmi_init_bpc_invalid
[18:26:21] [PASSED] drm_test_connector_hdmi_init_bpc_null
[18:26:21] [PASSED] drm_test_connector_hdmi_init_formats_empty
[18:26:21] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb
[18:26:21] === drm_test_connector_hdmi_init_formats_yuv420_allowed  ===
[18:26:21] [PASSED] supported_formats=0x9 yuv420_allowed=1
[18:26:21] [PASSED] supported_formats=0x9 yuv420_allowed=0
[18:26:21] [PASSED] supported_formats=0x3 yuv420_allowed=1
[18:26:21] [PASSED] supported_formats=0x3 yuv420_allowed=0
[18:26:21] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed ===
[18:26:21] [PASSED] drm_test_connector_hdmi_init_null_ddc
[18:26:21] [PASSED] drm_test_connector_hdmi_init_null_product
[18:26:21] [PASSED] drm_test_connector_hdmi_init_null_vendor
[18:26:21] [PASSED] drm_test_connector_hdmi_init_product_length_exact
[18:26:21] [PASSED] drm_test_connector_hdmi_init_product_length_too_long
[18:26:21] [PASSED] drm_test_connector_hdmi_init_product_valid
[18:26:21] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact
[18:26:21] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long
[18:26:21] [PASSED] drm_test_connector_hdmi_init_vendor_valid
[18:26:21] ========= drm_test_connector_hdmi_init_type_valid  =========
[18:26:21] [PASSED] HDMI-A
[18:26:21] [PASSED] HDMI-B
[18:26:21] ===== [PASSED] drm_test_connector_hdmi_init_type_valid =====
[18:26:21] ======== drm_test_connector_hdmi_init_type_invalid  ========
[18:26:21] [PASSED] Unknown
[18:26:21] [PASSED] VGA
[18:26:21] [PASSED] DVI-I
[18:26:21] [PASSED] DVI-D
[18:26:21] [PASSED] DVI-A
[18:26:21] [PASSED] Composite
[18:26:21] [PASSED] SVIDEO
[18:26:21] [PASSED] LVDS
[18:26:21] [PASSED] Component
[18:26:21] [PASSED] DIN
[18:26:21] [PASSED] DP
[18:26:21] [PASSED] TV
[18:26:21] [PASSED] eDP
[18:26:21] [PASSED] Virtual
[18:26:21] [PASSED] DSI
[18:26:21] [PASSED] DPI
[18:26:21] [PASSED] Writeback
[18:26:21] [PASSED] SPI
[18:26:21] [PASSED] USB
[18:26:21] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ====
[18:26:21] ============ [PASSED] drmm_connector_hdmi_init =============
[18:26:21] ============= drmm_connector_init (3 subtests) =============
[18:26:21] [PASSED] drm_test_drmm_connector_init
[18:26:21] [PASSED] drm_test_drmm_connector_init_null_ddc
[18:26:21] ========= drm_test_drmm_connector_init_type_valid  =========
[18:26:21] [PASSED] Unknown
[18:26:21] [PASSED] VGA
[18:26:21] [PASSED] DVI-I
[18:26:21] [PASSED] DVI-D
[18:26:21] [PASSED] DVI-A
[18:26:21] [PASSED] Composite
[18:26:21] [PASSED] SVIDEO
[18:26:21] [PASSED] LVDS
[18:26:21] [PASSED] Component
[18:26:21] [PASSED] DIN
[18:26:21] [PASSED] DP
[18:26:21] [PASSED] HDMI-A
[18:26:21] [PASSED] HDMI-B
[18:26:21] [PASSED] TV
[18:26:21] [PASSED] eDP
[18:26:21] [PASSED] Virtual
[18:26:21] [PASSED] DSI
[18:26:21] [PASSED] DPI
[18:26:21] [PASSED] Writeback
[18:26:21] [PASSED] SPI
[18:26:21] [PASSED] USB
[18:26:21] ===== [PASSED] drm_test_drmm_connector_init_type_valid =====
[18:26:21] =============== [PASSED] drmm_connector_init ===============
[18:26:21] ========= drm_connector_dynamic_init (6 subtests) ==========
[18:26:21] [PASSED] drm_test_drm_connector_dynamic_init
[18:26:21] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc
[18:26:21] [PASSED] drm_test_drm_connector_dynamic_init_not_added
[18:26:21] [PASSED] drm_test_drm_connector_dynamic_init_properties
[18:26:21] ===== drm_test_drm_connector_dynamic_init_type_valid  ======
[18:26:21] [PASSED] Unknown
[18:26:21] [PASSED] VGA
[18:26:21] [PASSED] DVI-I
[18:26:21] [PASSED] DVI-D
[18:26:21] [PASSED] DVI-A
[18:26:21] [PASSED] Composite
[18:26:21] [PASSED] SVIDEO
[18:26:21] [PASSED] LVDS
[18:26:21] [PASSED] Component
[18:26:21] [PASSED] DIN
[18:26:21] [PASSED] DP
[18:26:21] [PASSED] HDMI-A
[18:26:21] [PASSED] HDMI-B
[18:26:21] [PASSED] TV
[18:26:21] [PASSED] eDP
[18:26:21] [PASSED] Virtual
[18:26:21] [PASSED] DSI
[18:26:21] [PASSED] DPI
[18:26:21] [PASSED] Writeback
[18:26:21] [PASSED] SPI
[18:26:21] [PASSED] USB
[18:26:21] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid ==
[18:26:21] ======== drm_test_drm_connector_dynamic_init_name  =========
[18:26:21] [PASSED] Unknown
[18:26:21] [PASSED] VGA
[18:26:21] [PASSED] DVI-I
[18:26:21] [PASSED] DVI-D
[18:26:21] [PASSED] DVI-A
[18:26:21] [PASSED] Composite
[18:26:21] [PASSED] SVIDEO
[18:26:21] [PASSED] LVDS
[18:26:21] [PASSED] Component
[18:26:21] [PASSED] DIN
[18:26:21] [PASSED] DP
[18:26:21] [PASSED] HDMI-A
[18:26:21] [PASSED] HDMI-B
[18:26:21] [PASSED] TV
[18:26:21] [PASSED] eDP
[18:26:21] [PASSED] Virtual
[18:26:21] [PASSED] DSI
[18:26:21] [PASSED] DPI
[18:26:21] [PASSED] Writeback
[18:26:21] [PASSED] SPI
[18:26:21] [PASSED] USB
[18:26:21] ==== [PASSED] drm_test_drm_connector_dynamic_init_name =====
[18:26:21] =========== [PASSED] drm_connector_dynamic_init ============
[18:26:21] ==== drm_connector_dynamic_register_early (4 subtests) =====
[18:26:21] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list
[18:26:21] [PASSED] drm_test_drm_connector_dynamic_register_early_defer
[18:26:21] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init
[18:26:21] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object
[18:26:21] ====== [PASSED] drm_connector_dynamic_register_early =======
[18:26:21] ======= drm_connector_dynamic_register (7 subtests) ========
[18:26:21] [PASSED] drm_test_drm_connector_dynamic_register_on_list
[18:26:21] [PASSED] drm_test_drm_connector_dynamic_register_no_defer
[18:26:21] [PASSED] drm_test_drm_connector_dynamic_register_no_init
[18:26:21] [PASSED] drm_test_drm_connector_dynamic_register_mode_object
[18:26:21] [PASSED] drm_test_drm_connector_dynamic_register_sysfs
[18:26:21] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name
[18:26:21] [PASSED] drm_test_drm_connector_dynamic_register_debugfs
[18:26:21] ========= [PASSED] drm_connector_dynamic_register ==========
[18:26:21] = drm_connector_attach_broadcast_rgb_property (2 subtests) =
[18:26:21] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property
[18:26:21] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector
[18:26:21] === [PASSED] drm_connector_attach_broadcast_rgb_property ===
[18:26:21] ========== drm_get_tv_mode_from_name (2 subtests) ==========
[18:26:21] ========== drm_test_get_tv_mode_from_name_valid  ===========
[18:26:21] [PASSED] NTSC
[18:26:21] [PASSED] NTSC-443
[18:26:21] [PASSED] NTSC-J
[18:26:21] [PASSED] PAL
[18:26:21] [PASSED] PAL-M
[18:26:21] [PASSED] PAL-N
[18:26:21] [PASSED] SECAM
[18:26:21] [PASSED] Mono
[18:26:21] ====== [PASSED] drm_test_get_tv_mode_from_name_valid =======
[18:26:21] [PASSED] drm_test_get_tv_mode_from_name_truncated
[18:26:21] ============ [PASSED] drm_get_tv_mode_from_name ============
[18:26:21] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) =
[18:26:21] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb
[18:26:21] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc
[18:26:21] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1
[18:26:21] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc
[18:26:21] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1
[18:26:21] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double
[18:26:21] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid  =
[18:26:21] [PASSED] VIC 96
[18:26:21] [PASSED] VIC 97
[18:26:21] [PASSED] VIC 101
[18:26:21] [PASSED] VIC 102
[18:26:21] [PASSED] VIC 106
[18:26:21] [PASSED] VIC 107
[18:26:21] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid ===
[18:26:21] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc
[18:26:21] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc
[18:26:21] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc
[18:26:21] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc
[18:26:21] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc
[18:26:21] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ====
[18:26:21] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) ==
[18:26:21] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name  ====
[18:26:21] [PASSED] Automatic
[18:26:21] [PASSED] Full
[18:26:21] [PASSED] Limited 16:235
[18:26:21] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name ===
[18:26:21] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid
[18:26:21] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ====
[18:26:21] == drm_hdmi_connector_get_output_format_name (2 subtests) ==
[18:26:21] === drm_test_drm_hdmi_connector_get_output_format_name  ====
[18:26:21] [PASSED] RGB
[18:26:21] [PASSED] YUV 4:2:0
[18:26:21] [PASSED] YUV 4:2:2
[18:26:21] [PASSED] YUV 4:4:4
[18:26:21] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name ===
[18:26:21] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid
[18:26:21] ==== [PASSED] drm_hdmi_connector_get_output_format_name ====
[18:26:21] ============= drm_damage_helper (21 subtests) ==============
[18:26:21] [PASSED] drm_test_damage_iter_no_damage
[18:26:21] [PASSED] drm_test_damage_iter_no_damage_fractional_src
[18:26:21] [PASSED] drm_test_damage_iter_no_damage_src_moved
[18:26:21] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved
[18:26:21] [PASSED] drm_test_damage_iter_no_damage_not_visible
[18:26:21] [PASSED] drm_test_damage_iter_no_damage_no_crtc
[18:26:21] [PASSED] drm_test_damage_iter_no_damage_no_fb
[18:26:21] [PASSED] drm_test_damage_iter_simple_damage
[18:26:21] [PASSED] drm_test_damage_iter_single_damage
[18:26:21] [PASSED] drm_test_damage_iter_single_damage_intersect_src
[18:26:21] [PASSED] drm_test_damage_iter_single_damage_outside_src
[18:26:21] [PASSED] drm_test_damage_iter_single_damage_fractional_src
[18:26:21] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src
[18:26:21] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src
[18:26:21] [PASSED] drm_test_damage_iter_single_damage_src_moved
[18:26:21] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved
[18:26:21] [PASSED] drm_test_damage_iter_damage
[18:26:21] [PASSED] drm_test_damage_iter_damage_one_intersect
[18:26:21] [PASSED] drm_test_damage_iter_damage_one_outside
[18:26:21] [PASSED] drm_test_damage_iter_damage_src_moved
[18:26:21] [PASSED] drm_test_damage_iter_damage_not_visible
[18:26:21] ================ [PASSED] drm_damage_helper ================
[18:26:21] ============== drm_dp_mst_helper (3 subtests) ==============
[18:26:21] ============== drm_test_dp_mst_calc_pbn_mode  ==============
[18:26:21] [PASSED] Clock 154000 BPP 30 DSC disabled
[18:26:21] [PASSED] Clock 234000 BPP 30 DSC disabled
[18:26:21] [PASSED] Clock 297000 BPP 24 DSC disabled
[18:26:21] [PASSED] Clock 332880 BPP 24 DSC enabled
[18:26:21] [PASSED] Clock 324540 BPP 24 DSC enabled
[18:26:21] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ==========
[18:26:21] ============== drm_test_dp_mst_calc_pbn_div  ===============
[18:26:21] [PASSED] Link rate 2000000 lane count 4
[18:26:21] [PASSED] Link rate 2000000 lane count 2
[18:26:21] [PASSED] Link rate 2000000 lane count 1
[18:26:21] [PASSED] Link rate 1350000 lane count 4
[18:26:21] [PASSED] Link rate 1350000 lane count 2
[18:26:21] [PASSED] Link rate 1350000 lane count 1
[18:26:21] [PASSED] Link rate 1000000 lane count 4
[18:26:21] [PASSED] Link rate 1000000 lane count 2
[18:26:21] [PASSED] Link rate 1000000 lane count 1
[18:26:21] [PASSED] Link rate 810000 lane count 4
[18:26:21] [PASSED] Link rate 810000 lane count 2
[18:26:21] [PASSED] Link rate 810000 lane count 1
[18:26:21] [PASSED] Link rate 540000 lane count 4
[18:26:21] [PASSED] Link rate 540000 lane count 2
[18:26:21] [PASSED] Link rate 540000 lane count 1
[18:26:21] [PASSED] Link rate 270000 lane count 4
[18:26:21] [PASSED] Link rate 270000 lane count 2
[18:26:21] [PASSED] Link rate 270000 lane count 1
[18:26:21] [PASSED] Link rate 162000 lane count 4
[18:26:21] [PASSED] Link rate 162000 lane count 2
[18:26:21] [PASSED] Link rate 162000 lane count 1
[18:26:21] ========== [PASSED] drm_test_dp_mst_calc_pbn_div ===========
[18:26:21] ========= drm_test_dp_mst_sideband_msg_req_decode  =========
[18:26:21] [PASSED] DP_ENUM_PATH_RESOURCES with port number
[18:26:21] [PASSED] DP_POWER_UP_PHY with port number
[18:26:21] [PASSED] DP_POWER_DOWN_PHY with port number
[18:26:21] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks
[18:26:21] [PASSED] DP_ALLOCATE_PAYLOAD with port number
[18:26:21] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI
[18:26:21] [PASSED] DP_ALLOCATE_PAYLOAD with PBN
[18:26:21] [PASSED] DP_QUERY_PAYLOAD with port number
[18:26:21] [PASSED] DP_QUERY_PAYLOAD with VCPI
[18:26:21] [PASSED] DP_REMOTE_DPCD_READ with port number
[18:26:21] [PASSED] DP_REMOTE_DPCD_READ with DPCD address
[18:26:21] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes
[18:26:21] [PASSED] DP_REMOTE_DPCD_WRITE with port number
[18:26:21] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address
[18:26:21] [PASSED] DP_REMOTE_DPCD_WRITE with data array
[18:26:21] [PASSED] DP_REMOTE_I2C_READ with port number
[18:26:21] [PASSED] DP_REMOTE_I2C_READ with I2C device ID
[18:26:21] [PASSED] DP_REMOTE_I2C_READ with transactions array
[18:26:21] [PASSED] DP_REMOTE_I2C_WRITE with port number
[18:26:21] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID
[18:26:21] [PASSED] DP_REMOTE_I2C_WRITE with data array
[18:26:21] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID
[18:26:21] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID
[18:26:21] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event
[18:26:21] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event
[18:26:21] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior
[18:26:21] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior
[18:26:21] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode =====
[18:26:21] ================ [PASSED] drm_dp_mst_helper ================
[18:26:21] ================== drm_exec (7 subtests) ===================
[18:26:21] [PASSED] sanitycheck
[18:26:21] [PASSED] test_lock
[18:26:21] [PASSED] test_lock_unlock
[18:26:21] [PASSED] test_duplicates
[18:26:21] [PASSED] test_prepare
[18:26:21] [PASSED] test_prepare_array
[18:26:21] [PASSED] test_multiple_loops
[18:26:21] ==================== [PASSED] drm_exec =====================
[18:26:21] =========== drm_format_helper_test (17 subtests) ===========
[18:26:21] ============== drm_test_fb_xrgb8888_to_gray8  ==============
[18:26:21] [PASSED] single_pixel_source_buffer
[18:26:21] [PASSED] single_pixel_clip_rectangle
[18:26:21] [PASSED] well_known_colors
[18:26:21] [PASSED] destination_pitch
[18:26:21] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ==========
[18:26:21] ============= drm_test_fb_xrgb8888_to_rgb332  ==============
[18:26:21] [PASSED] single_pixel_source_buffer
[18:26:21] [PASSED] single_pixel_clip_rectangle
[18:26:21] [PASSED] well_known_colors
[18:26:21] [PASSED] destination_pitch
[18:26:21] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ==========
[18:26:21] ============= drm_test_fb_xrgb8888_to_rgb565  ==============
[18:26:21] [PASSED] single_pixel_source_buffer
[18:26:21] [PASSED] single_pixel_clip_rectangle
[18:26:21] [PASSED] well_known_colors
[18:26:21] [PASSED] destination_pitch
[18:26:21] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ==========
[18:26:21] ============ drm_test_fb_xrgb8888_to_xrgb1555  =============
[18:26:21] [PASSED] single_pixel_source_buffer
[18:26:21] [PASSED] single_pixel_clip_rectangle
[18:26:21] [PASSED] well_known_colors
[18:26:21] [PASSED] destination_pitch
[18:26:21] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 =========
[18:26:21] ============ drm_test_fb_xrgb8888_to_argb1555  =============
[18:26:21] [PASSED] single_pixel_source_buffer
[18:26:21] [PASSED] single_pixel_clip_rectangle
[18:26:21] [PASSED] well_known_colors
[18:26:21] [PASSED] destination_pitch
[18:26:21] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 =========
[18:26:21] ============ drm_test_fb_xrgb8888_to_rgba5551  =============
[18:26:21] [PASSED] single_pixel_source_buffer
[18:26:21] [PASSED] single_pixel_clip_rectangle
[18:26:21] [PASSED] well_known_colors
[18:26:21] [PASSED] destination_pitch
[18:26:21] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 =========
[18:26:21] ============= drm_test_fb_xrgb8888_to_rgb888  ==============
[18:26:21] [PASSED] single_pixel_source_buffer
[18:26:21] [PASSED] single_pixel_clip_rectangle
[18:26:21] [PASSED] well_known_colors
[18:26:21] [PASSED] destination_pitch
[18:26:21] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ==========
[18:26:21] ============= drm_test_fb_xrgb8888_to_bgr888  ==============
[18:26:21] [PASSED] single_pixel_source_buffer
[18:26:21] [PASSED] single_pixel_clip_rectangle
[18:26:21] [PASSED] well_known_colors
[18:26:21] [PASSED] destination_pitch
[18:26:21] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ==========
[18:26:21] ============ drm_test_fb_xrgb8888_to_argb8888  =============
[18:26:21] [PASSED] single_pixel_source_buffer
[18:26:21] [PASSED] single_pixel_clip_rectangle
[18:26:21] [PASSED] well_known_colors
[18:26:21] [PASSED] destination_pitch
[18:26:21] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 =========
[18:26:21] =========== drm_test_fb_xrgb8888_to_xrgb2101010  ===========
[18:26:21] [PASSED] single_pixel_source_buffer
[18:26:21] [PASSED] single_pixel_clip_rectangle
[18:26:21] [PASSED] well_known_colors
[18:26:21] [PASSED] destination_pitch
[18:26:21] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 =======
[18:26:21] =========== drm_test_fb_xrgb8888_to_argb2101010  ===========
[18:26:21] [PASSED] single_pixel_source_buffer
[18:26:21] [PASSED] single_pixel_clip_rectangle
[18:26:21] [PASSED] well_known_colors
[18:26:21] [PASSED] destination_pitch
[18:26:21] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 =======
[18:26:21] ============== drm_test_fb_xrgb8888_to_mono  ===============
[18:26:21] [PASSED] single_pixel_source_buffer
[18:26:21] [PASSED] single_pixel_clip_rectangle
[18:26:21] [PASSED] well_known_colors
[18:26:21] [PASSED] destination_pitch
[18:26:21] ========== [PASSED] drm_test_fb_xrgb8888_to_mono ===========
[18:26:21] ==================== drm_test_fb_swab  =====================
[18:26:21] [PASSED] single_pixel_source_buffer
[18:26:21] [PASSED] single_pixel_clip_rectangle
[18:26:21] [PASSED] well_known_colors
[18:26:21] [PASSED] destination_pitch
[18:26:21] ================ [PASSED] drm_test_fb_swab =================
[18:26:21] ============ drm_test_fb_xrgb8888_to_xbgr8888  =============
[18:26:21] [PASSED] single_pixel_source_buffer
[18:26:21] [PASSED] single_pixel_clip_rectangle
[18:26:21] [PASSED] well_known_colors
[18:26:21] [PASSED] destination_pitch
[18:26:21] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 =========
[18:26:21] ============ drm_test_fb_xrgb8888_to_abgr8888  =============
[18:26:21] [PASSED] single_pixel_source_buffer
[18:26:21] [PASSED] single_pixel_clip_rectangle
[18:26:21] [PASSED] well_known_colors
[18:26:21] [PASSED] destination_pitch
[18:26:21] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 =========
[18:26:21] ================= drm_test_fb_clip_offset  =================
[18:26:21] [PASSED] pass through
[18:26:21] [PASSED] horizontal offset
[18:26:21] [PASSED] vertical offset
[18:26:21] [PASSED] horizontal and vertical offset
[18:26:21] [PASSED] horizontal offset (custom pitch)
[18:26:21] [PASSED] vertical offset (custom pitch)
[18:26:21] [PASSED] horizontal and vertical offset (custom pitch)
[18:26:21] ============= [PASSED] drm_test_fb_clip_offset =============
[18:26:21] =================== drm_test_fb_memcpy  ====================
[18:26:21] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258)
[18:26:21] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258)
[18:26:21] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559)
[18:26:21] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258)
[18:26:21] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258)
[18:26:21] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559)
[18:26:21] [PASSED] well_known_colors: XB24 little-endian (0x34324258)
[18:26:21] [PASSED] well_known_colors: XRA8 little-endian (0x38415258)
[18:26:21] [PASSED] well_known_colors: YU24 little-endian (0x34325559)
[18:26:21] [PASSED] destination_pitch: XB24 little-endian (0x34324258)
[18:26:21] [PASSED] destination_pitch: XRA8 little-endian (0x38415258)
[18:26:21] [PASSED] destination_pitch: YU24 little-endian (0x34325559)
[18:26:21] =============== [PASSED] drm_test_fb_memcpy ================
[18:26:21] ============= [PASSED] drm_format_helper_test ==============
[18:26:21] ================= drm_format (18 subtests) =================
[18:26:21] [PASSED] drm_test_format_block_width_invalid
[18:26:21] [PASSED] drm_test_format_block_width_one_plane
[18:26:21] [PASSED] drm_test_format_block_width_two_plane
[18:26:21] [PASSED] drm_test_format_block_width_three_plane
[18:26:21] [PASSED] drm_test_format_block_width_tiled
[18:26:21] [PASSED] drm_test_format_block_height_invalid
[18:26:21] [PASSED] drm_test_format_block_height_one_plane
[18:26:21] [PASSED] drm_test_format_block_height_two_plane
[18:26:21] [PASSED] drm_test_format_block_height_three_plane
[18:26:21] [PASSED] drm_test_format_block_height_tiled
[18:26:21] [PASSED] drm_test_format_min_pitch_invalid
[18:26:21] [PASSED] drm_test_format_min_pitch_one_plane_8bpp
[18:26:21] [PASSED] drm_test_format_min_pitch_one_plane_16bpp
[18:26:21] [PASSED] drm_test_format_min_pitch_one_plane_24bpp
[18:26:21] [PASSED] drm_test_format_min_pitch_one_plane_32bpp
[18:26:21] [PASSED] drm_test_format_min_pitch_two_plane
[18:26:21] [PASSED] drm_test_format_min_pitch_three_plane_8bpp
[18:26:21] [PASSED] drm_test_format_min_pitch_tiled
[18:26:21] =================== [PASSED] drm_format ====================
[18:26:21] ============== drm_framebuffer (10 subtests) ===============
[18:26:21] ========== drm_test_framebuffer_check_src_coords  ==========
[18:26:21] [PASSED] Success: source fits into fb
[18:26:21] [PASSED] Fail: overflowing fb with x-axis coordinate
[18:26:21] [PASSED] Fail: overflowing fb with y-axis coordinate
[18:26:21] [PASSED] Fail: overflowing fb with source width
[18:26:21] [PASSED] Fail: overflowing fb with source height
[18:26:21] ====== [PASSED] drm_test_framebuffer_check_src_coords ======
[18:26:21] [PASSED] drm_test_framebuffer_cleanup
[18:26:21] =============== drm_test_framebuffer_create  ===============
[18:26:21] [PASSED] ABGR8888 normal sizes
[18:26:21] [PASSED] ABGR8888 max sizes
[18:26:21] [PASSED] ABGR8888 pitch greater than min required
[18:26:21] [PASSED] ABGR8888 pitch less than min required
[18:26:21] [PASSED] ABGR8888 Invalid width
[18:26:21] [PASSED] ABGR8888 Invalid buffer handle
[18:26:21] [PASSED] No pixel format
[18:26:21] [PASSED] ABGR8888 Width 0
[18:26:21] [PASSED] ABGR8888 Height 0
[18:26:21] [PASSED] ABGR8888 Out of bound height * pitch combination
[18:26:21] [PASSED] ABGR8888 Large buffer offset
[18:26:21] [PASSED] ABGR8888 Buffer offset for inexistent plane
[18:26:21] [PASSED] ABGR8888 Invalid flag
[18:26:21] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers
[18:26:21] [PASSED] ABGR8888 Valid buffer modifier
[18:26:21] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE)
[18:26:21] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS
[18:26:21] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS
[18:26:21] [PASSED] NV12 Normal sizes
[18:26:21] [PASSED] NV12 Max sizes
[18:26:21] [PASSED] NV12 Invalid pitch
[18:26:21] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag
[18:26:21] [PASSED] NV12 different  modifier per-plane
[18:26:21] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE
[18:26:21] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS
[18:26:21] [PASSED] NV12 Modifier for inexistent plane
[18:26:21] [PASSED] NV12 Handle for inexistent plane
[18:26:21] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS
[18:26:21] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier
[18:26:21] [PASSED] YVU420 Normal sizes
[18:26:21] [PASSED] YVU420 Max sizes
[18:26:21] [PASSED] YVU420 Invalid pitch
[18:26:21] [PASSED] YVU420 Different pitches
[18:26:21] [PASSED] YVU420 Different buffer offsets/pitches
[18:26:21] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS
[18:26:21] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS
[18:26:21] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS
[18:26:21] [PASSED] YVU420 Valid modifier
[18:26:21] [PASSED] YVU420 Different modifiers per plane
[18:26:21] [PASSED] YVU420 Modifier for inexistent plane
[18:26:21] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR)
[18:26:21] [PASSED] X0L2 Normal sizes
[18:26:21] [PASSED] X0L2 Max sizes
[18:26:21] [PASSED] X0L2 Invalid pitch
[18:26:21] [PASSED] X0L2 Pitch greater than minimum required
[18:26:21] [PASSED] X0L2 Handle for inexistent plane
[18:26:21] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set
[18:26:21] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set
[18:26:21] [PASSED] X0L2 Valid modifier
[18:26:21] [PASSED] X0L2 Modifier for inexistent plane
[18:26:21] =========== [PASSED] drm_test_framebuffer_create ===========
[18:26:21] [PASSED] drm_test_framebuffer_free
[18:26:21] [PASSED] drm_test_framebuffer_init
[18:26:21] [PASSED] drm_test_framebuffer_init_bad_format
[18:26:21] [PASSED] drm_test_framebuffer_init_dev_mismatch
[18:26:21] [PASSED] drm_test_framebuffer_lookup
[18:26:21] [PASSED] drm_test_framebuffer_lookup_inexistent
[18:26:21] [PASSED] drm_test_framebuffer_modifiers_not_supported
[18:26:21] ================= [PASSED] drm_framebuffer =================
[18:26:21] ================ drm_gem_shmem (8 subtests) ================
[18:26:21] [PASSED] drm_gem_shmem_test_obj_create
[18:26:21] [PASSED] drm_gem_shmem_test_obj_create_private
[18:26:21] [PASSED] drm_gem_shmem_test_pin_pages
[18:26:21] [PASSED] drm_gem_shmem_test_vmap
[18:26:21] [PASSED] drm_gem_shmem_test_get_sg_table
[18:26:21] [PASSED] drm_gem_shmem_test_get_pages_sgt
[18:26:21] [PASSED] drm_gem_shmem_test_madvise
[18:26:21] [PASSED] drm_gem_shmem_test_purge
[18:26:21] ================== [PASSED] drm_gem_shmem ==================
[18:26:21] === drm_atomic_helper_connector_hdmi_check (27 subtests) ===
[18:26:21] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode
[18:26:21] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1
[18:26:21] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode
[18:26:21] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1
[18:26:21] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode
[18:26:21] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1
[18:26:21] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420  =======
[18:26:21] [PASSED] Automatic
[18:26:21] [PASSED] Full
[18:26:21] [PASSED] Limited 16:235
[18:26:21] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 ===
[18:26:21] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed
[18:26:21] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed
[18:26:21] [PASSED] drm_test_check_disable_connector
[18:26:21] [PASSED] drm_test_check_hdmi_funcs_reject_rate
[18:26:21] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb
[18:26:21] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420
[18:26:21] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422
[18:26:21] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420
[18:26:21] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420
[18:26:21] [PASSED] drm_test_check_output_bpc_crtc_mode_changed
[18:26:21] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed
[18:26:21] [PASSED] drm_test_check_output_bpc_dvi
[18:26:21] [PASSED] drm_test_check_output_bpc_format_vic_1
[18:26:21] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only
[18:26:21] [PASSED] drm_test_check_output_bpc_format_display_rgb_only
[18:26:21] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only
[18:26:21] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only
[18:26:21] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc
[18:26:21] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc
[18:26:21] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc
[18:26:21] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ======
[18:26:21] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ====
[18:26:21] [PASSED] drm_test_check_broadcast_rgb_value
[18:26:21] [PASSED] drm_test_check_bpc_8_value
[18:26:21] [PASSED] drm_test_check_bpc_10_value
[18:26:21] [PASSED] drm_test_check_bpc_12_value
[18:26:21] [PASSED] drm_test_check_format_value
[18:26:21] [PASSED] drm_test_check_tmds_char_value
[18:26:21] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ======
[18:26:21] = drm_atomic_helper_connector_hdmi_mode_valid (4 subtests) =
[18:26:21] [PASSED] drm_test_check_mode_valid
[18:26:21] [PASSED] drm_test_check_mode_valid_reject
[18:26:21] [PASSED] drm_test_check_mode_valid_reject_rate
[18:26:21] [PASSED] drm_test_check_mode_valid_reject_max_clock
[18:26:21] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid ===
[18:26:21] = drm_atomic_helper_connector_hdmi_infoframes (5 subtests) =
[18:26:21] [PASSED] drm_test_check_infoframes
[18:26:21] [PASSED] drm_test_check_reject_avi_infoframe
[18:26:21] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_8
[18:26:21] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_10
[18:26:21] [PASSED] drm_test_check_reject_audio_infoframe
[18:26:21] === [PASSED] drm_atomic_helper_connector_hdmi_infoframes ===
[18:26:21] ================= drm_managed (2 subtests) =================
[18:26:21] [PASSED] drm_test_managed_release_action
[18:26:21] [PASSED] drm_test_managed_run_action
[18:26:21] =================== [PASSED] drm_managed ===================
[18:26:21] =================== drm_mm (6 subtests) ====================
[18:26:21] [PASSED] drm_test_mm_init
[18:26:21] [PASSED] drm_test_mm_debug
[18:26:21] [PASSED] drm_test_mm_align32
[18:26:21] [PASSED] drm_test_mm_align64
[18:26:21] [PASSED] drm_test_mm_lowest
[18:26:21] [PASSED] drm_test_mm_highest
[18:26:21] ===================== [PASSED] drm_mm ======================
[18:26:21] ============= drm_modes_analog_tv (5 subtests) =============
[18:26:21] [PASSED] drm_test_modes_analog_tv_mono_576i
[18:26:21] [PASSED] drm_test_modes_analog_tv_ntsc_480i
[18:26:21] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined
[18:26:21] [PASSED] drm_test_modes_analog_tv_pal_576i
[18:26:21] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined
[18:26:21] =============== [PASSED] drm_modes_analog_tv ===============
[18:26:21] ============== drm_plane_helper (2 subtests) ===============
[18:26:21] =============== drm_test_check_plane_state  ================
[18:26:21] [PASSED] clipping_simple
[18:26:21] [PASSED] clipping_rotate_reflect
[18:26:21] [PASSED] positioning_simple
[18:26:21] [PASSED] upscaling
[18:26:21] [PASSED] downscaling
[18:26:21] [PASSED] rounding1
[18:26:21] [PASSED] rounding2
[18:26:21] [PASSED] rounding3
[18:26:21] [PASSED] rounding4
[18:26:21] =========== [PASSED] drm_test_check_plane_state ============
[18:26:21] =========== drm_test_check_invalid_plane_state  ============
[18:26:21] [PASSED] positioning_invalid
[18:26:21] [PASSED] upscaling_invalid
[18:26:21] [PASSED] downscaling_invalid
[18:26:21] ======= [PASSED] drm_test_check_invalid_plane_state ========
[18:26:21] ================ [PASSED] drm_plane_helper =================
[18:26:21] ====== drm_connector_helper_tv_get_modes (1 subtest) =======
[18:26:21] ====== drm_test_connector_helper_tv_get_modes_check  =======
[18:26:21] [PASSED] None
[18:26:21] [PASSED] PAL
[18:26:21] [PASSED] NTSC
[18:26:21] [PASSED] Both, NTSC Default
[18:26:21] [PASSED] Both, PAL Default
[18:26:21] [PASSED] Both, NTSC Default, with PAL on command-line
[18:26:21] [PASSED] Both, PAL Default, with NTSC on command-line
[18:26:21] == [PASSED] drm_test_connector_helper_tv_get_modes_check ===
[18:26:21] ======== [PASSED] drm_connector_helper_tv_get_modes ========
[18:26:21] ================== drm_rect (9 subtests) ===================
[18:26:21] [PASSED] drm_test_rect_clip_scaled_div_by_zero
[18:26:21] [PASSED] drm_test_rect_clip_scaled_not_clipped
[18:26:21] [PASSED] drm_test_rect_clip_scaled_clipped
[18:26:21] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned
[18:26:21] ================= drm_test_rect_intersect  =================
[18:26:21] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0
[18:26:21] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1
[18:26:21] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0
[18:26:21] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1
[18:26:21] [PASSED] right x left: 2x1+0+0 x 3x1+1+0
[18:26:21] [PASSED] left x right: 3x1+1+0 x 2x1+0+0
[18:26:21] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1
[18:26:21] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0
[18:26:21] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1
[18:26:21] [PASSED] touching side: 1x1+0+0 x 1x1+1+0
[18:26:21] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0
[18:26:21] [PASSED] inside another: 2x2+0+0 x 1x1+1+1
[18:26:21] [PASSED] far away: 1x1+0+0 x 1x1+3+6
[18:26:21] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10
[18:26:21] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10
[18:26:21] ============= [PASSED] drm_test_rect_intersect =============
[18:26:21] ================ drm_test_rect_calc_hscale  ================
[18:26:21] [PASSED] normal use
[18:26:21] [PASSED] out of max range
[18:26:21] [PASSED] out of min range
[18:26:21] [PASSED] zero dst
[18:26:21] [PASSED] negative src
[18:26:21] [PASSED] negative dst
[18:26:21] ============ [PASSED] drm_test_rect_calc_hscale ============
[18:26:21] ================ drm_test_rect_calc_vscale  ================
[18:26:21] [PASSED] normal use
[18:26:21] [PASSED] out of max range
[18:26:21] [PASSED] out of min range
[18:26:21] [PASSED] zero dst
[18:26:21] [PASSED] negative src
[18:26:21] [PASSED] negative dst
stty: 'standard input': Inappropriate ioctl for device
[18:26:21] ============ [PASSED] drm_test_rect_calc_vscale ============
[18:26:21] ================== drm_test_rect_rotate  ===================
[18:26:21] [PASSED] reflect-x
[18:26:21] [PASSED] reflect-y
[18:26:21] [PASSED] rotate-0
[18:26:21] [PASSED] rotate-90
[18:26:21] [PASSED] rotate-180
[18:26:21] [PASSED] rotate-270
[18:26:21] ============== [PASSED] drm_test_rect_rotate ===============
[18:26:21] ================ drm_test_rect_rotate_inv  =================
[18:26:21] [PASSED] reflect-x
[18:26:21] [PASSED] reflect-y
[18:26:21] [PASSED] rotate-0
[18:26:21] [PASSED] rotate-90
[18:26:21] [PASSED] rotate-180
[18:26:21] [PASSED] rotate-270
[18:26:21] ============ [PASSED] drm_test_rect_rotate_inv =============
[18:26:21] ==================== [PASSED] drm_rect =====================
[18:26:21] ============ drm_sysfb_modeset_test (1 subtest) ============
[18:26:21] ============ drm_test_sysfb_build_fourcc_list  =============
[18:26:21] [PASSED] no native formats
[18:26:21] [PASSED] XRGB8888 as native format
[18:26:21] [PASSED] remove duplicates
[18:26:21] [PASSED] convert alpha formats
[18:26:21] [PASSED] random formats
[18:26:21] ======== [PASSED] drm_test_sysfb_build_fourcc_list =========
[18:26:21] ============= [PASSED] drm_sysfb_modeset_test ==============
[18:26:21] ================== drm_fixp (2 subtests) ===================
[18:26:21] [PASSED] drm_test_int2fixp
[18:26:21] [PASSED] drm_test_sm2fixp
[18:26:21] ==================== [PASSED] drm_fixp =====================
[18:26:21] ============================================================
[18:26:21] Testing complete. Ran 621 tests: passed: 621
[18:26:21] Elapsed time: 30.902s total, 1.674s configuring, 29.012s building, 0.172s running

+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig
[18:26:21] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[18:26:23] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=25
[18:26:32] Starting KUnit Kernel (1/1)...
[18:26:32] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[18:26:32] ================= ttm_device (5 subtests) ==================
[18:26:32] [PASSED] ttm_device_init_basic
[18:26:32] [PASSED] ttm_device_init_multiple
[18:26:32] [PASSED] ttm_device_fini_basic
[18:26:32] [PASSED] ttm_device_init_no_vma_man
[18:26:32] ================== ttm_device_init_pools  ==================
[18:26:32] [PASSED] No DMA allocations, no DMA32 required
[18:26:32] [PASSED] DMA allocations, DMA32 required
[18:26:32] [PASSED] No DMA allocations, DMA32 required
[18:26:32] [PASSED] DMA allocations, no DMA32 required
[18:26:32] ============== [PASSED] ttm_device_init_pools ==============
[18:26:32] =================== [PASSED] ttm_device ====================
[18:26:32] ================== ttm_pool (8 subtests) ===================
[18:26:32] ================== ttm_pool_alloc_basic  ===================
[18:26:32] [PASSED] One page
[18:26:32] [PASSED] More than one page
[18:26:32] [PASSED] Above the allocation limit
[18:26:32] [PASSED] One page, with coherent DMA mappings enabled
[18:26:32] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[18:26:32] ============== [PASSED] ttm_pool_alloc_basic ===============
[18:26:32] ============== ttm_pool_alloc_basic_dma_addr  ==============
[18:26:32] [PASSED] One page
[18:26:32] [PASSED] More than one page
[18:26:32] [PASSED] Above the allocation limit
[18:26:32] [PASSED] One page, with coherent DMA mappings enabled
[18:26:32] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[18:26:32] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ==========
[18:26:32] [PASSED] ttm_pool_alloc_order_caching_match
[18:26:32] [PASSED] ttm_pool_alloc_caching_mismatch
[18:26:32] [PASSED] ttm_pool_alloc_order_mismatch
[18:26:32] [PASSED] ttm_pool_free_dma_alloc
[18:26:32] [PASSED] ttm_pool_free_no_dma_alloc
[18:26:32] [PASSED] ttm_pool_fini_basic
[18:26:32] ==================== [PASSED] ttm_pool =====================
[18:26:32] ================ ttm_resource (8 subtests) =================
[18:26:32] ================= ttm_resource_init_basic  =================
[18:26:32] [PASSED] Init resource in TTM_PL_SYSTEM
[18:26:32] [PASSED] Init resource in TTM_PL_VRAM
[18:26:32] [PASSED] Init resource in a private placement
[18:26:32] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags
[18:26:32] ============= [PASSED] ttm_resource_init_basic =============
[18:26:32] [PASSED] ttm_resource_init_pinned
[18:26:32] [PASSED] ttm_resource_fini_basic
[18:26:32] [PASSED] ttm_resource_manager_init_basic
[18:26:32] [PASSED] ttm_resource_manager_usage_basic
[18:26:32] [PASSED] ttm_resource_manager_set_used_basic
[18:26:32] [PASSED] ttm_sys_man_alloc_basic
[18:26:32] [PASSED] ttm_sys_man_free_basic
[18:26:32] ================== [PASSED] ttm_resource ===================
[18:26:32] =================== ttm_tt (15 subtests) ===================
[18:26:32] ==================== ttm_tt_init_basic  ====================
[18:26:32] [PASSED] Page-aligned size
[18:26:32] [PASSED] Extra pages requested
[18:26:32] ================ [PASSED] ttm_tt_init_basic ================
[18:26:32] [PASSED] ttm_tt_init_misaligned
[18:26:32] [PASSED] ttm_tt_fini_basic
[18:26:32] [PASSED] ttm_tt_fini_sg
[18:26:32] [PASSED] ttm_tt_fini_shmem
[18:26:32] [PASSED] ttm_tt_create_basic
[18:26:32] [PASSED] ttm_tt_create_invalid_bo_type
[18:26:32] [PASSED] ttm_tt_create_ttm_exists
[18:26:32] [PASSED] ttm_tt_create_failed
[18:26:32] [PASSED] ttm_tt_destroy_basic
[18:26:32] [PASSED] ttm_tt_populate_null_ttm
[18:26:32] [PASSED] ttm_tt_populate_populated_ttm
[18:26:32] [PASSED] ttm_tt_unpopulate_basic
[18:26:32] [PASSED] ttm_tt_unpopulate_empty_ttm
[18:26:32] [PASSED] ttm_tt_swapin_basic
[18:26:32] ===================== [PASSED] ttm_tt ======================
[18:26:32] =================== ttm_bo (14 subtests) ===================
[18:26:32] =========== ttm_bo_reserve_optimistic_no_ticket  ===========
[18:26:32] [PASSED] Cannot be interrupted and sleeps
[18:26:32] [PASSED] Cannot be interrupted, locks straight away
[18:26:32] [PASSED] Can be interrupted, sleeps
[18:26:32] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket =======
[18:26:32] [PASSED] ttm_bo_reserve_locked_no_sleep
[18:26:32] [PASSED] ttm_bo_reserve_no_wait_ticket
[18:26:32] [PASSED] ttm_bo_reserve_double_resv
[18:26:32] [PASSED] ttm_bo_reserve_interrupted
[18:26:32] [PASSED] ttm_bo_reserve_deadlock
[18:26:32] [PASSED] ttm_bo_unreserve_basic
[18:26:32] [PASSED] ttm_bo_unreserve_pinned
[18:26:32] [PASSED] ttm_bo_unreserve_bulk
[18:26:32] [PASSED] ttm_bo_fini_basic
[18:26:32] [PASSED] ttm_bo_fini_shared_resv
[18:26:32] [PASSED] ttm_bo_pin_basic
[18:26:32] [PASSED] ttm_bo_pin_unpin_resource
[18:26:32] [PASSED] ttm_bo_multiple_pin_one_unpin
[18:26:32] ===================== [PASSED] ttm_bo ======================
[18:26:32] ============== ttm_bo_validate (21 subtests) ===============
[18:26:32] ============== ttm_bo_init_reserved_sys_man  ===============
[18:26:32] [PASSED] Buffer object for userspace
[18:26:32] [PASSED] Kernel buffer object
[18:26:32] [PASSED] Shared buffer object
[18:26:32] ========== [PASSED] ttm_bo_init_reserved_sys_man ===========
[18:26:32] ============== ttm_bo_init_reserved_mock_man  ==============
[18:26:32] [PASSED] Buffer object for userspace
[18:26:32] [PASSED] Kernel buffer object
[18:26:32] [PASSED] Shared buffer object
[18:26:32] ========== [PASSED] ttm_bo_init_reserved_mock_man ==========
[18:26:32] [PASSED] ttm_bo_init_reserved_resv
[18:26:32] ================== ttm_bo_validate_basic  ==================
[18:26:32] [PASSED] Buffer object for userspace
[18:26:32] [PASSED] Kernel buffer object
[18:26:32] [PASSED] Shared buffer object
[18:26:32] ============== [PASSED] ttm_bo_validate_basic ==============
[18:26:32] [PASSED] ttm_bo_validate_invalid_placement
[18:26:32] ============= ttm_bo_validate_same_placement  ==============
[18:26:32] [PASSED] System manager
[18:26:32] [PASSED] VRAM manager
[18:26:32] ========= [PASSED] ttm_bo_validate_same_placement ==========
[18:26:32] [PASSED] ttm_bo_validate_failed_alloc
[18:26:32] [PASSED] ttm_bo_validate_pinned
[18:26:32] [PASSED] ttm_bo_validate_busy_placement
[18:26:32] ================ ttm_bo_validate_multihop  =================
[18:26:32] [PASSED] Buffer object for userspace
[18:26:32] [PASSED] Kernel buffer object
[18:26:32] [PASSED] Shared buffer object
[18:26:32] ============ [PASSED] ttm_bo_validate_multihop =============
[18:26:32] ========== ttm_bo_validate_no_placement_signaled  ==========
[18:26:32] [PASSED] Buffer object in system domain, no page vector
[18:26:32] [PASSED] Buffer object in system domain with an existing page vector
[18:26:32] ====== [PASSED] ttm_bo_validate_no_placement_signaled ======
[18:26:32] ======== ttm_bo_validate_no_placement_not_signaled  ========
[18:26:32] [PASSED] Buffer object for userspace
[18:26:32] [PASSED] Kernel buffer object
[18:26:32] [PASSED] Shared buffer object
[18:26:32] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ====
[18:26:32] [PASSED] ttm_bo_validate_move_fence_signaled
[18:26:32] ========= ttm_bo_validate_move_fence_not_signaled  =========
[18:26:32] [PASSED] Waits for GPU
[18:26:32] [PASSED] Tries to lock straight away
[18:26:32] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled =====
[18:26:32] [PASSED] ttm_bo_validate_happy_evict
[18:26:32] [PASSED] ttm_bo_validate_all_pinned_evict
[18:26:32] [PASSED] ttm_bo_validate_allowed_only_evict
[18:26:32] [PASSED] ttm_bo_validate_deleted_evict
[18:26:32] [PASSED] ttm_bo_validate_busy_domain_evict
[18:26:32] [PASSED] ttm_bo_validate_evict_gutting
[18:26:32] [PASSED] ttm_bo_validate_recrusive_evict
stty: 'standard input': Inappropriate ioctl for device
[18:26:32] ================= [PASSED] ttm_bo_validate =================
[18:26:32] ============================================================
[18:26:32] Testing complete. Ran 101 tests: passed: 101
[18:26:32] Elapsed time: 11.003s total, 1.652s configuring, 9.135s building, 0.178s running

+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel



^ permalink raw reply	[flat|nested] 18+ messages in thread

* ✗ CI.checksparse: warning for Introduce DRM_RAS using generic netlink for RAS (rev11)
  2026-03-04  7:44 [PATCH v10 0/5] Introduce DRM_RAS using generic netlink for RAS Riana Tauro
                   ` (11 preceding siblings ...)
  2026-03-05 18:26 ` ✓ CI.KUnit: success " Patchwork
@ 2026-03-05 18:44 ` Patchwork
  2026-03-05 19:21 ` ✓ Xe.CI.BAT: success " Patchwork
  2026-03-06 10:21 ` ✗ Xe.CI.FULL: failure " Patchwork
  14 siblings, 0 replies; 18+ messages in thread
From: Patchwork @ 2026-03-05 18:44 UTC (permalink / raw)
  To: Rodrigo Vivi; +Cc: intel-xe

== Series Details ==

Series: Introduce DRM_RAS using generic netlink for RAS (rev11)
URL   : https://patchwork.freedesktop.org/series/155188/
State : warning

== Summary ==

+ trap cleanup EXIT
+ KERNEL=/kernel
+ MT=/root/linux/maintainer-tools
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools /root/linux/maintainer-tools
Cloning into '/root/linux/maintainer-tools'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ make -C /root/linux/maintainer-tools
make: Entering directory '/root/linux/maintainer-tools'
cc -O2 -g -Wextra -o remap-log remap-log.c
make: Leaving directory '/root/linux/maintainer-tools'
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ /root/linux/maintainer-tools/dim sparse --fast 248385bc21fb2a7565e32a605557cdc6cc854dcb
Sparse version: 0.6.4 (Ubuntu: 0.6.4-4ubuntu3)
Fast mode used, each commit won't be checked separately.
+/kernel/Makefile:1204: C=1 specified, but sparse is not available or not up to date

+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel



^ permalink raw reply	[flat|nested] 18+ messages in thread

* ✓ Xe.CI.BAT: success for Introduce DRM_RAS using generic netlink for RAS (rev11)
  2026-03-04  7:44 [PATCH v10 0/5] Introduce DRM_RAS using generic netlink for RAS Riana Tauro
                   ` (12 preceding siblings ...)
  2026-03-05 18:44 ` ✗ CI.checksparse: warning " Patchwork
@ 2026-03-05 19:21 ` Patchwork
  2026-03-06 10:21 ` ✗ Xe.CI.FULL: failure " Patchwork
  14 siblings, 0 replies; 18+ messages in thread
From: Patchwork @ 2026-03-05 19:21 UTC (permalink / raw)
  To: Rodrigo Vivi; +Cc: intel-xe

[-- Attachment #1: Type: text/plain, Size: 2013 bytes --]

== Series Details ==

Series: Introduce DRM_RAS using generic netlink for RAS (rev11)
URL   : https://patchwork.freedesktop.org/series/155188/
State : success

== Summary ==

CI Bug Log - changes from xe-4662-e4b36c44f536abdf724e6a17700a47ce1631699f_BAT -> xe-pw-155188v11_BAT
====================================================

Summary
-------

  **SUCCESS**

  No regressions found.

  

Participating hosts (14 -> 14)
------------------------------

  No changes in participating hosts

Known issues
------------

  Here are the changes found in xe-pw-155188v11_BAT that come from known issues:

### IGT changes ###

#### Issues hit ####

  * igt@kms_flip@basic-flip-vs-wf_vblank@d-edp1:
    - bat-adlp-7:         [PASS][1] -> [DMESG-WARN][2] ([Intel XE#7483])
   [1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4662-e4b36c44f536abdf724e6a17700a47ce1631699f/bat-adlp-7/igt@kms_flip@basic-flip-vs-wf_vblank@d-edp1.html
   [2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/bat-adlp-7/igt@kms_flip@basic-flip-vs-wf_vblank@d-edp1.html

  
#### Possible fixes ####

  * igt@kms_flip@basic-flip-vs-wf_vblank@c-edp1:
    - bat-adlp-7:         [DMESG-WARN][3] ([Intel XE#7483]) -> [PASS][4]
   [3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4662-e4b36c44f536abdf724e6a17700a47ce1631699f/bat-adlp-7/igt@kms_flip@basic-flip-vs-wf_vblank@c-edp1.html
   [4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/bat-adlp-7/igt@kms_flip@basic-flip-vs-wf_vblank@c-edp1.html

  
  [Intel XE#7483]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7483


Build changes
-------------

  * Linux: xe-4662-e4b36c44f536abdf724e6a17700a47ce1631699f -> xe-pw-155188v11

  IGT_8781: 911c75d8ee24b6d42d31e76bc60149a9350f1190 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
  xe-4662-e4b36c44f536abdf724e6a17700a47ce1631699f: e4b36c44f536abdf724e6a17700a47ce1631699f
  xe-pw-155188v11: 155188v11

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/index.html

[-- Attachment #2: Type: text/html, Size: 2677 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH v10 1/5] drm/ras: Introduce the DRM RAS infrastructure over generic netlink
  2026-03-04  7:44 ` [PATCH v10 1/5] drm/ras: Introduce the DRM RAS infrastructure over generic netlink Riana Tauro
@ 2026-03-05 19:37   ` Maarten Lankhorst
  2026-03-09  8:35   ` Jani Nikula
  1 sibling, 0 replies; 18+ messages in thread
From: Maarten Lankhorst @ 2026-03-05 19:37 UTC (permalink / raw)
  To: Riana Tauro, intel-xe, dri-devel
  Cc: aravind.iddamsetty, anshuman.gupta, rodrigo.vivi, joonas.lahtinen,
	simona.vetter, airlied, pratik.bari, joshua.santosh.ranjan,
	ashwin.kumar.kulkarni, shubham.kumar, ravi.kishore.koppuravuri,
	raag.jadav, anvesh.bakwad, Zack McKevitt, Lijo Lazar,
	Hawking Zhang, Jakub Kicinski, David S. Miller, Paolo Abeni,
	Eric Dumazet, netdev

Hey,

Since development is still ongoing for xe, and other drivers
are not yet going to use RAS, it's fine with me to merge through
the drm-xe tree.

Acked-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>

Den 2026-03-04 kl. 08:44, skrev Riana Tauro:
> From: Rodrigo Vivi <rodrigo.vivi@intel.com>
> 
> Introduces the DRM RAS infrastructure over generic netlink.
> 
> The new interface allows drivers to expose RAS nodes and their
> associated error counters to userspace in a structured and extensible
> way. Each drm_ras node can register its own set of error counters, which
> are then discoverable and queryable through netlink operations. This
> lays the groundwork for reporting and managing hardware error states
> in a unified manner across different DRM drivers.
> 
> Currently it only supports error-counter nodes. But it can be
> extended later.
> 
> The registration is also not tied to any drm node, so it can be
> used by accel devices as well.
> 
> It uses the new and mandatory YAML description format stored in
> Documentation/netlink/specs/. This forces a single generic netlink
> family namespace for the entire drm: "drm-ras".
> But multiple-endpoints are supported within the single family.
> 
> Any modification to this API needs to be applied to
> Documentation/netlink/specs/drm_ras.yaml before regenerating the
> code:
> 
> $ tools/net/ynl/pyynl/ynl_gen_c.py --spec \
>  Documentation/netlink/specs/drm_ras.yaml --mode uapi --header \
>  -o include/uapi/drm/drm_ras.h
> 
> $ tools/net/ynl/pyynl/ynl_gen_c.py --spec \
>   Documentation/netlink/specs/drm_ras.yaml --mode kernel \
>   --header -o drivers/gpu/drm/drm_ras_nl.h
> 
> $ tools/net/ynl/pyynl/ynl_gen_c.py --spec \
>   Documentation/netlink/specs/drm_ras.yaml \
>   --mode kernel --source -o drivers/gpu/drm/drm_ras_nl.c
> 
> Cc: Zack McKevitt <zachary.mckevitt@oss.qualcomm.com>
> Cc: Lijo Lazar <lijo.lazar@amd.com>
> Cc: Hawking Zhang <Hawking.Zhang@amd.com>
> Cc: Jakub Kicinski <kuba@kernel.org>
> Cc: David S. Miller <davem@davemloft.net>
> Cc: Paolo Abeni <pabeni@redhat.com>
> Cc: Eric Dumazet <edumazet@google.com>
> Cc: netdev@vger.kernel.org
> Co-developed-by: Aravind Iddamsetty <aravind.iddamsetty@linux.intel.com>
> Signed-off-by: Aravind Iddamsetty <aravind.iddamsetty@linux.intel.com>
> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
> Signed-off-by: Riana Tauro <riana.tauro@intel.com>
> Reviewed-by: Zack McKevitt <zachary.mckevitt@oss.qualcomm.com>
> Acked-by: Jakub Kicinski <kuba@kernel.org>
> ---
> v2: fix doc and memory leak
>     use xe_for_each_start
>     use standard genlmsg_iput (Jakub Kicinski)
> 
> v3: add documentation to index
>     modify documentation to mention uAPI requirements (Rodrigo)
> 
> v4: fix typo (Zack)
> 
> v5: fix kernel-robot reported htmldocs error
>     fix kernel-robot reported build error on csky arch
> 
> v6: regenerate files
>     fix yamllint warnings
>     use get-error-counter for both do/dump function calls
>     fix kernel-doc (Jakub)
> 
> v7: Fix ynl-regen.sh reported issue
>     move drm_ras_nl.h from include/ to drm/
>     use -o to generate files and fix commit message (Jakub)
> 
> v8: use GENL_REQ_ATTR_CHECK (Jakub) 
> ---
>  Documentation/gpu/drm-ras.rst            | 103 +++++++
>  Documentation/gpu/index.rst              |   1 +
>  Documentation/netlink/specs/drm_ras.yaml | 115 ++++++++
>  drivers/gpu/drm/Kconfig                  |  10 +
>  drivers/gpu/drm/Makefile                 |   1 +
>  drivers/gpu/drm/drm_drv.c                |   6 +
>  drivers/gpu/drm/drm_ras.c                | 354 +++++++++++++++++++++++
>  drivers/gpu/drm/drm_ras_genl_family.c    |  42 +++
>  drivers/gpu/drm/drm_ras_nl.c             |  56 ++++
>  drivers/gpu/drm/drm_ras_nl.h             |  24 ++
>  include/drm/drm_ras.h                    |  75 +++++
>  include/drm/drm_ras_genl_family.h        |  17 ++
>  include/uapi/drm/drm_ras.h               |  49 ++++
>  13 files changed, 853 insertions(+)
>  create mode 100644 Documentation/gpu/drm-ras.rst
>  create mode 100644 Documentation/netlink/specs/drm_ras.yaml
>  create mode 100644 drivers/gpu/drm/drm_ras.c
>  create mode 100644 drivers/gpu/drm/drm_ras_genl_family.c
>  create mode 100644 drivers/gpu/drm/drm_ras_nl.c
>  create mode 100644 drivers/gpu/drm/drm_ras_nl.h
>  create mode 100644 include/drm/drm_ras.h
>  create mode 100644 include/drm/drm_ras_genl_family.h
>  create mode 100644 include/uapi/drm/drm_ras.h
> 
> diff --git a/Documentation/gpu/drm-ras.rst b/Documentation/gpu/drm-ras.rst
> new file mode 100644
> index 000000000000..70b246a78fc8
> --- /dev/null
> +++ b/Documentation/gpu/drm-ras.rst
> @@ -0,0 +1,103 @@
> +.. SPDX-License-Identifier: GPL-2.0+
> +
> +============================
> +DRM RAS over Generic Netlink
> +============================
> +
> +The DRM RAS (Reliability, Availability, Serviceability) interface provides a
> +standardized way for GPU/accelerator drivers to expose error counters and
> +other reliability nodes to user space via Generic Netlink. This allows
> +diagnostic tools, monitoring daemons, or test infrastructure to query hardware
> +health in a uniform way across different DRM drivers.
> +
> +Key Goals:
> +
> +* Provide a standardized RAS solution for GPU and accelerator drivers, enabling
> +  data center monitoring and reliability operations.
> +* Implement a single drm-ras Generic Netlink family to meet modern Netlink YAML
> +  specifications and centralize all RAS-related communication in one namespace.
> +* Support a basic error counter interface, addressing the immediate, essential
> +  monitoring needs.
> +* Offer a flexible, future-proof interface that can be extended to support
> +  additional types of RAS data in the future.
> +* Allow multiple nodes per driver, enabling drivers to register separate
> +  nodes for different IP blocks, sub-blocks, or other logical subdivisions
> +  as applicable.
> +
> +Nodes
> +=====
> +
> +Nodes are logical abstractions representing an error type or error source within
> +the device. Currently, only error counter nodes is supported.
> +
> +Drivers are responsible for registering and unregistering nodes via the
> +`drm_ras_node_register()` and `drm_ras_node_unregister()` APIs.
> +
> +Node Management
> +-------------------
> +
> +.. kernel-doc:: drivers/gpu/drm/drm_ras.c
> +   :doc: DRM RAS Node Management
> +.. kernel-doc:: drivers/gpu/drm/drm_ras.c
> +   :internal:
> +
> +Generic Netlink Usage
> +=====================
> +
> +The interface is implemented as a Generic Netlink family named ``drm-ras``.
> +User space tools can:
> +
> +* List registered nodes with the ``list-nodes`` command.
> +* List all error counters in an node with the ``get-error-counter`` command with ``node-id``
> +  as a parameter.
> +* Query specific error counter values with the ``get-error-counter`` command, using both
> +  ``node-id`` and ``error-id`` as parameters.
> +
> +YAML-based Interface
> +--------------------
> +
> +The interface is described in a YAML specification ``Documentation/netlink/specs/drm_ras.yaml``
> +
> +This YAML is used to auto-generate user space bindings via
> +``tools/net/ynl/pyynl/ynl_gen_c.py``, and drives the structure of netlink
> +attributes and operations.
> +
> +Usage Notes
> +-----------
> +
> +* User space must first enumerate nodes to obtain their IDs.
> +* Node IDs or Node names can be used for all further queries, such as error counters.
> +* Error counters can be queried by either the Error ID or Error name.
> +* Query Parameters should be defined as part of the uAPI to ensure user interface stability.
> +* The interface supports future extension by adding new node types and
> +  additional attributes.
> +
> +Example: List nodes using ynl
> +
> +.. code-block:: bash
> +
> +    sudo ynl --family drm_ras --dump list-nodes
> +    [{'device-name': '0000:03:00.0',
> +    'node-id': 0,
> +    'node-name': 'correctable-errors',
> +    'node-type': 'error-counter'},
> +    {'device-name': '0000:03:00.0',
> +     'node-id': 1,
> +     'node-name': 'uncorrectable-errors',
> +     'node-type': 'error-counter'}]
> +
> +Example: List all error counters using ynl
> +
> +.. code-block:: bash
> +
> +    sudo ynl --family drm_ras --dump get-error-counter --json '{"node-id":0}'
> +    [{'error-id': 1, 'error-name': 'error_name1', 'error-value': 0},
> +    {'error-id': 2, 'error-name': 'error_name2', 'error-value': 0}]
> +
> +Example: Query an error counter for a given node
> +
> +.. code-block:: bash
> +
> +    sudo ynl --family drm_ras --do get-error-counter --json '{"node-id":0, "error-id":1}'
> +    {'error-id': 1, 'error-name': 'error_name1', 'error-value': 0}
> +
> diff --git a/Documentation/gpu/index.rst b/Documentation/gpu/index.rst
> index 2fafa1f35ef3..5d708a106b3f 100644
> --- a/Documentation/gpu/index.rst
> +++ b/Documentation/gpu/index.rst
> @@ -9,6 +9,7 @@ GPU Driver Developer's Guide
>     drm-mm
>     drm-kms
>     drm-kms-helpers
> +   drm-ras
>     drm-uapi
>     drm-usage-stats
>     driver-uapi
> diff --git a/Documentation/netlink/specs/drm_ras.yaml b/Documentation/netlink/specs/drm_ras.yaml
> new file mode 100644
> index 000000000000..79af25dac3c5
> --- /dev/null
> +++ b/Documentation/netlink/specs/drm_ras.yaml
> @@ -0,0 +1,115 @@
> +# SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
> +---
> +name: drm-ras
> +protocol: genetlink
> +uapi-header: drm/drm_ras.h
> +
> +doc: >-
> +  DRM RAS (Reliability, Availability, Serviceability) over Generic Netlink.
> +  Provides a standardized mechanism for DRM drivers to register "nodes"
> +  representing hardware/software components capable of reporting error counters.
> +  Userspace tools can query the list of nodes or individual error counters
> +  via the Generic Netlink interface.
> +
> +definitions:
> +  -
> +    type: enum
> +    name: node-type
> +    value-start: 1
> +    entries: [error-counter]
> +    doc: >-
> +         Type of the node. Currently, only error-counter nodes are
> +         supported, which expose reliability counters for a hardware/software
> +         component.
> +
> +attribute-sets:
> +  -
> +    name: node-attrs
> +    attributes:
> +      -
> +        name: node-id
> +        type: u32
> +        doc: >-
> +             Unique identifier for the node.
> +             Assigned dynamically by the DRM RAS core upon registration.
> +      -
> +        name: device-name
> +        type: string
> +        doc: >-
> +             Device name chosen by the driver at registration.
> +             Can be a PCI BDF, UUID, or module name if unique.
> +      -
> +        name: node-name
> +        type: string
> +        doc: >-
> +             Node name chosen by the driver at registration.
> +             Can be an IP block name, or any name that identifies the
> +             RAS node inside the device.
> +      -
> +        name: node-type
> +        type: u32
> +        doc: Type of this node, identifying its function.
> +        enum: node-type
> +  -
> +    name: error-counter-attrs
> +    attributes:
> +      -
> +        name: node-id
> +        type: u32
> +        doc: Node ID targeted by this error counter operation.
> +      -
> +        name: error-id
> +        type: u32
> +        doc: Unique identifier for a specific error counter within an node.
> +      -
> +        name: error-name
> +        type: string
> +        doc: Name of the error.
> +      -
> +        name: error-value
> +        type: u32
> +        doc: Current value of the requested error counter.
> +
> +operations:
> +  list:
> +    -
> +      name: list-nodes
> +      doc: >-
> +           Retrieve the full list of currently registered DRM RAS nodes.
> +           Each node includes its dynamically assigned ID, name, and type.
> +           **Important:** User space must call this operation first to obtain
> +           the node IDs. These IDs are required for all subsequent
> +           operations on nodes, such as querying error counters.
> +      attribute-set: node-attrs
> +      flags: [admin-perm]
> +      dump:
> +        reply:
> +          attributes:
> +            - node-id
> +            - device-name
> +            - node-name
> +            - node-type
> +    -
> +      name: get-error-counter
> +      doc: >-
> +           Retrieve error counter for a given node.
> +           The response includes the id, the name, and even the current
> +           value of each counter.
> +      attribute-set: error-counter-attrs
> +      flags: [admin-perm]
> +      do:
> +        request:
> +          attributes:
> +            - node-id
> +            - error-id
> +        reply:
> +          attributes: &errorinfo
> +            - error-id
> +            - error-name
> +            - error-value
> +      dump:
> +        request:
> +          attributes:
> +            - node-id
> +        reply:
> +          attributes: *errorinfo
> diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig
> index 0d0657dd1b41..5386248e75b6 100644
> --- a/drivers/gpu/drm/Kconfig
> +++ b/drivers/gpu/drm/Kconfig
> @@ -130,6 +130,16 @@ config DRM_PANIC_SCREEN_QR_VERSION
>  	  Smaller QR code are easier to read, but will contain less debugging
>  	  data. Default is 40.
>  
> +config DRM_RAS
> +	bool "DRM RAS support"
> +	depends on DRM
> +	depends on NET
> +	help
> +	  Enables the DRM RAS (Reliability, Availability and Serviceability)
> +	  support for DRM drivers. This provides a Generic Netlink interface
> +	  for error reporting and queries.
> +	  If in doubt, say "N".
> +
>  config DRM_DEBUG_DP_MST_TOPOLOGY_REFS
>          bool "Enable refcount backtrace history in the DP MST helpers"
>  	depends on STACKTRACE_SUPPORT
> diff --git a/drivers/gpu/drm/Makefile b/drivers/gpu/drm/Makefile
> index aba4bf542a35..e97faabcd783 100644
> --- a/drivers/gpu/drm/Makefile
> +++ b/drivers/gpu/drm/Makefile
> @@ -93,6 +93,7 @@ drm-$(CONFIG_DRM_ACCEL) += ../../accel/drm_accel.o
>  drm-$(CONFIG_DRM_PANIC) += drm_panic.o
>  drm-$(CONFIG_DRM_DRAW) += drm_draw.o
>  drm-$(CONFIG_DRM_PANIC_SCREEN_QR_CODE) += drm_panic_qr.o
> +drm-$(CONFIG_DRM_RAS) += drm_ras.o drm_ras_nl.o drm_ras_genl_family.o
>  obj-$(CONFIG_DRM)	+= drm.o
>  
>  obj-$(CONFIG_DRM_PANEL_ORIENTATION_QUIRKS) += drm_panel_orientation_quirks.o
> diff --git a/drivers/gpu/drm/drm_drv.c b/drivers/gpu/drm/drm_drv.c
> index 2915118436ce..6b965c3d3307 100644
> --- a/drivers/gpu/drm/drm_drv.c
> +++ b/drivers/gpu/drm/drm_drv.c
> @@ -53,6 +53,7 @@
>  #include <drm/drm_panic.h>
>  #include <drm/drm_print.h>
>  #include <drm/drm_privacy_screen_machine.h>
> +#include <drm/drm_ras_genl_family.h>
>  
>  #include "drm_crtc_internal.h"
>  #include "drm_internal.h"
> @@ -1223,6 +1224,7 @@ static const struct file_operations drm_stub_fops = {
>  
>  static void drm_core_exit(void)
>  {
> +	drm_ras_genl_family_unregister();
>  	drm_privacy_screen_lookup_exit();
>  	drm_panic_exit();
>  	accel_core_exit();
> @@ -1261,6 +1263,10 @@ static int __init drm_core_init(void)
>  
>  	drm_privacy_screen_lookup_init();
>  
> +	ret = drm_ras_genl_family_register();
> +	if (ret < 0)
> +		goto error;
> +
>  	drm_core_init_complete = true;
>  
>  	DRM_DEBUG("Initialized\n");
> diff --git a/drivers/gpu/drm/drm_ras.c b/drivers/gpu/drm/drm_ras.c
> new file mode 100644
> index 000000000000..b2fa5ab86d87
> --- /dev/null
> +++ b/drivers/gpu/drm/drm_ras.c
> @@ -0,0 +1,354 @@
> +// SPDX-License-Identifier: MIT
> +/*
> + * Copyright © 2026 Intel Corporation
> + */
> +
> +#include <linux/module.h>
> +#include <linux/kernel.h>
> +#include <linux/netdevice.h>
> +#include <linux/xarray.h>
> +#include <net/genetlink.h>
> +
> +#include <drm/drm_ras.h>
> +
> +#include "drm_ras_nl.h"
> +
> +/**
> + * DOC: DRM RAS Node Management
> + *
> + * This module provides the infrastructure to manage RAS (Reliability,
> + * Availability, and Serviceability) nodes for DRM drivers. Each
> + * DRM driver may register one or more RAS nodes, which represent
> + * logical components capable of reporting error counters and other
> + * reliability metrics.
> + *
> + * The nodes are stored in a global xarray `drm_ras_xa` to allow
> + * efficient lookup by ID. Nodes can be registered or unregistered
> + * dynamically at runtime.
> + *
> + * A Generic Netlink family `drm_ras` exposes two main operations to
> + * userspace:
> + *
> + * 1. LIST_NODES: Dump all currently registered RAS nodes.
> + *    The user receives an array of node IDs, names, and types.
> + *
> + * 2. GET_ERROR_COUNTER: Get error counters of a given node.
> + *    Userspace must provide Node ID, Error ID (Optional for specific counter).
> + *    Returns all counters of a node if only Node ID is provided or specific
> + *    error counters.
> + *
> + * Node registration:
> + *
> + * - drm_ras_node_register(): Registers a new node and assigns
> + *   it a unique ID in the xarray.
> + * - drm_ras_node_unregister(): Removes a previously registered
> + *   node from the xarray.
> + *
> + * Node type:
> + *
> + * - ERROR_COUNTER:
> + *     + Currently, only error counters are supported.
> + *     + The driver must implement the query_error_counter() callback to provide
> + *       the name and the value of the error counter.
> + *     + The driver must provide a error_counter_range.last value informing the
> + *       last valid error ID.
> + *     + The driver can provide a error_counter_range.first value informing the
> + *       first valid error ID.
> + *     + The error counters in the driver doesn't need to be contiguous, but the
> + *       driver must return -ENOENT to the query_error_counter as an indication
> + *       that the ID should be skipped and not listed in the netlink API.
> + *
> + * Netlink handlers:
> + *
> + * - drm_ras_nl_list_nodes_dumpit(): Implements the LIST_NODES
> + *   operation, iterating over the xarray.
> + * - drm_ras_nl_get_error_counter_dumpit(): Implements the GET_ERROR_COUNTER dumpit
> + *   operation, fetching all counters from a specific node.
> + * - drm_ras_nl_get_error_counter_doit(): Implements the GET_ERROR_COUNTER doit
> + *   operation, fetching a counter value from a specific node.
> + */
> +
> +static DEFINE_XARRAY_ALLOC(drm_ras_xa);
> +
> +/*
> + * The netlink callback context carries dump state across multiple dumpit calls
> + */
> +struct drm_ras_ctx {
> +	/* Which xarray id to restart the dump from */
> +	unsigned long restart;
> +};
> +
> +/**
> + * drm_ras_nl_list_nodes_dumpit() - Dump all registered RAS nodes
> + * @skb: Netlink message buffer
> + * @cb: Callback context for multi-part dumps
> + *
> + * Iterates over all registered RAS nodes in the global xarray and appends
> + * their attributes (ID, name, type) to the given netlink message buffer.
> + * Uses @cb->ctx to track progress in case the message buffer fills up, allowing
> + * multi-part dump support. On buffer overflow, updates the context to resume
> + * from the last node on the next invocation.
> + *
> + * Return: 0 if all nodes fit in @skb, number of bytes added to @skb if
> + *          the buffer filled up (requires multi-part continuation), or
> + *          a negative error code on failure.
> + */
> +int drm_ras_nl_list_nodes_dumpit(struct sk_buff *skb,
> +				 struct netlink_callback *cb)
> +{
> +	const struct genl_info *info = genl_info_dump(cb);
> +	struct drm_ras_ctx *ctx = (void *)cb->ctx;
> +	struct drm_ras_node *node;
> +	struct nlattr *hdr;
> +	unsigned long id;
> +	int ret;
> +
> +	xa_for_each_start(&drm_ras_xa, id, node, ctx->restart) {
> +		hdr = genlmsg_iput(skb, info);
> +		if (!hdr) {
> +			ret = -EMSGSIZE;
> +			break;
> +		}
> +
> +		ret = nla_put_u32(skb, DRM_RAS_A_NODE_ATTRS_NODE_ID, node->id);
> +		if (ret) {
> +			genlmsg_cancel(skb, hdr);
> +			break;
> +		}
> +
> +		ret = nla_put_string(skb, DRM_RAS_A_NODE_ATTRS_DEVICE_NAME,
> +				     node->device_name);
> +		if (ret) {
> +			genlmsg_cancel(skb, hdr);
> +			break;
> +		}
> +
> +		ret = nla_put_string(skb, DRM_RAS_A_NODE_ATTRS_NODE_NAME,
> +				     node->node_name);
> +		if (ret) {
> +			genlmsg_cancel(skb, hdr);
> +			break;
> +		}
> +
> +		ret = nla_put_u32(skb, DRM_RAS_A_NODE_ATTRS_NODE_TYPE,
> +				  node->type);
> +		if (ret) {
> +			genlmsg_cancel(skb, hdr);
> +			break;
> +		}
> +
> +		genlmsg_end(skb, hdr);
> +	}
> +
> +	if (ret == -EMSGSIZE)
> +		ctx->restart = id;
> +
> +	return ret;
> +}
> +
> +static int get_node_error_counter(u32 node_id, u32 error_id,
> +				  const char **name, u32 *value)
> +{
> +	struct drm_ras_node *node;
> +
> +	node = xa_load(&drm_ras_xa, node_id);
> +	if (!node || !node->query_error_counter)
> +		return -ENOENT;
> +
> +	if (error_id < node->error_counter_range.first ||
> +	    error_id > node->error_counter_range.last)
> +		return -EINVAL;
> +
> +	return node->query_error_counter(node, error_id, name, value);
> +}
> +
> +static int msg_reply_value(struct sk_buff *msg, u32 error_id,
> +			   const char *error_name, u32 value)
> +{
> +	int ret;
> +
> +	ret = nla_put_u32(msg, DRM_RAS_A_ERROR_COUNTER_ATTRS_ERROR_ID, error_id);
> +	if (ret)
> +		return ret;
> +
> +	ret = nla_put_string(msg, DRM_RAS_A_ERROR_COUNTER_ATTRS_ERROR_NAME,
> +			     error_name);
> +	if (ret)
> +		return ret;
> +
> +	return nla_put_u32(msg, DRM_RAS_A_ERROR_COUNTER_ATTRS_ERROR_VALUE,
> +			   value);
> +}
> +
> +static int doit_reply_value(struct genl_info *info, u32 node_id,
> +			    u32 error_id)
> +{
> +	struct sk_buff *msg;
> +	struct nlattr *hdr;
> +	const char *error_name;
> +	u32 value;
> +	int ret;
> +
> +	msg = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL);
> +	if (!msg)
> +		return -ENOMEM;
> +
> +	hdr = genlmsg_iput(msg, info);
> +	if (!hdr) {
> +		nlmsg_free(msg);
> +		return -EMSGSIZE;
> +	}
> +
> +	ret = get_node_error_counter(node_id, error_id,
> +				     &error_name, &value);
> +	if (ret)
> +		return ret;
> +
> +	ret = msg_reply_value(msg, error_id, error_name, value);
> +	if (ret) {
> +		genlmsg_cancel(msg, hdr);
> +		nlmsg_free(msg);
> +		return ret;
> +	}
> +
> +	genlmsg_end(msg, hdr);
> +
> +	return genlmsg_reply(msg, info);
> +}
> +
> +/**
> + * drm_ras_nl_get_error_counter_dumpit() - Dump all Error Counters
> + * @skb: Netlink message buffer
> + * @cb: Callback context for multi-part dumps
> + *
> + * Iterates over all error counters in a given Node and appends
> + * their attributes (ID, name, value) to the given netlink message buffer.
> + * Uses @cb->ctx to track progress in case the message buffer fills up, allowing
> + * multi-part dump support. On buffer overflow, updates the context to resume
> + * from the last node on the next invocation.
> + *
> + * Return: 0 if all errors fit in @skb, number of bytes added to @skb if
> + *          the buffer filled up (requires multi-part continuation), or
> + *          a negative error code on failure.
> + */
> +int drm_ras_nl_get_error_counter_dumpit(struct sk_buff *skb,
> +					struct netlink_callback *cb)
> +{
> +	const struct genl_info *info = genl_info_dump(cb);
> +	struct drm_ras_ctx *ctx = (void *)cb->ctx;
> +	struct drm_ras_node *node;
> +	struct nlattr *hdr;
> +	const char *error_name;
> +	u32 node_id, error_id, value;
> +	int ret;
> +
> +	if (!info->attrs || GENL_REQ_ATTR_CHECK(info, DRM_RAS_A_ERROR_COUNTER_ATTRS_NODE_ID))
> +		return -EINVAL;
> +
> +	node_id = nla_get_u32(info->attrs[DRM_RAS_A_ERROR_COUNTER_ATTRS_NODE_ID]);
> +
> +	node = xa_load(&drm_ras_xa, node_id);
> +	if (!node)
> +		return -ENOENT;
> +
> +	for (error_id = max(node->error_counter_range.first, ctx->restart);
> +	     error_id <= node->error_counter_range.last;
> +	     error_id++) {
> +		ret = get_node_error_counter(node_id, error_id,
> +					     &error_name, &value);
> +		/*
> +		 * For non-contiguous range, driver return -ENOENT as indication
> +		 * to skip this ID when listing all errors.
> +		 */
> +		if (ret == -ENOENT)
> +			continue;
> +		if (ret)
> +			return ret;
> +
> +		hdr = genlmsg_iput(skb, info);
> +
> +		if (!hdr) {
> +			ret = -EMSGSIZE;
> +			break;
> +		}
> +
> +		ret = msg_reply_value(skb, error_id, error_name, value);
> +		if (ret) {
> +			genlmsg_cancel(skb, hdr);
> +			break;
> +		}
> +
> +		genlmsg_end(skb, hdr);
> +	}
> +
> +	if (ret == -EMSGSIZE)
> +		ctx->restart = error_id;
> +
> +	return ret;
> +}
> +
> +/**
> + * drm_ras_nl_get_error_counter_doit() - Query an error counter of an node
> + * @skb: Netlink message buffer
> + * @info: Generic Netlink info containing attributes of the request
> + *
> + * Extracts the node ID and error ID from the netlink attributes and
> + * retrieves the current value of the corresponding error counter. Sends the
> + * result back to the requesting user via the standard Genl reply.
> + *
> + * Return: 0 on success, or negative errno on failure.
> + */
> +int drm_ras_nl_get_error_counter_doit(struct sk_buff *skb,
> +				      struct genl_info *info)
> +{
> +	u32 node_id, error_id;
> +
> +	if (!info->attrs ||
> +	    GENL_REQ_ATTR_CHECK(info, DRM_RAS_A_ERROR_COUNTER_ATTRS_NODE_ID) ||
> +	    GENL_REQ_ATTR_CHECK(info, DRM_RAS_A_ERROR_COUNTER_ATTRS_ERROR_ID))
> +		return -EINVAL;
> +
> +	node_id = nla_get_u32(info->attrs[DRM_RAS_A_ERROR_COUNTER_ATTRS_NODE_ID]);
> +	error_id = nla_get_u32(info->attrs[DRM_RAS_A_ERROR_COUNTER_ATTRS_ERROR_ID]);
> +
> +	return doit_reply_value(info, node_id, error_id);
> +}
> +
> +/**
> + * drm_ras_node_register() - Register a new RAS node
> + * @node: Node structure to register
> + *
> + * Adds the given RAS node to the global node xarray and assigns it
> + * a unique ID. Both @node->name and @node->type must be valid.
> + *
> + * Return: 0 on success, or negative errno on failure:
> + */
> +int drm_ras_node_register(struct drm_ras_node *node)
> +{
> +	if (!node->device_name || !node->node_name)
> +		return -EINVAL;
> +
> +	/* Currently, only Error Counter Endpoints are supported */
> +	if (node->type != DRM_RAS_NODE_TYPE_ERROR_COUNTER)
> +		return -EINVAL;
> +
> +	/* Mandatory entries for Error Counter Node */
> +	if (node->type == DRM_RAS_NODE_TYPE_ERROR_COUNTER &&
> +	    (!node->error_counter_range.last || !node->query_error_counter))
> +		return -EINVAL;
> +
> +	return xa_alloc(&drm_ras_xa, &node->id, node, xa_limit_32b, GFP_KERNEL);
> +}
> +EXPORT_SYMBOL(drm_ras_node_register);
> +
> +/**
> + * drm_ras_node_unregister() - Unregister a previously registered node
> + * @node: Node structure to unregister
> + *
> + * Removes the given node from the global node xarray using its ID.
> + */
> +void drm_ras_node_unregister(struct drm_ras_node *node)
> +{
> +	xa_erase(&drm_ras_xa, node->id);
> +}
> +EXPORT_SYMBOL(drm_ras_node_unregister);
> diff --git a/drivers/gpu/drm/drm_ras_genl_family.c b/drivers/gpu/drm/drm_ras_genl_family.c
> new file mode 100644
> index 000000000000..6f406d3d48c5
> --- /dev/null
> +++ b/drivers/gpu/drm/drm_ras_genl_family.c
> @@ -0,0 +1,42 @@
> +// SPDX-License-Identifier: MIT
> +/*
> + * Copyright © 2026 Intel Corporation
> + */
> +
> +#include <drm/drm_ras_genl_family.h>
> +#include "drm_ras_nl.h"
> +
> +/* Track family registration so the drm_exit can be called at any time */
> +static bool registered;
> +
> +/**
> + * drm_ras_genl_family_register() - Register drm-ras genl family
> + *
> + * Only to be called one at drm_drv_init()
> + */
> +int drm_ras_genl_family_register(void)
> +{
> +	int ret;
> +
> +	registered = false;
> +
> +	ret = genl_register_family(&drm_ras_nl_family);
> +	if (ret)
> +		return ret;
> +
> +	registered = true;
> +	return 0;
> +}
> +
> +/**
> + * drm_ras_genl_family_unregister() - Unregister drm-ras genl family
> + *
> + * To be called one at drm_drv_exit() at any moment, but only once.
> + */
> +void drm_ras_genl_family_unregister(void)
> +{
> +	if (registered) {
> +		genl_unregister_family(&drm_ras_nl_family);
> +		registered = false;
> +	}
> +}
> diff --git a/drivers/gpu/drm/drm_ras_nl.c b/drivers/gpu/drm/drm_ras_nl.c
> new file mode 100644
> index 000000000000..16803d0c4a44
> --- /dev/null
> +++ b/drivers/gpu/drm/drm_ras_nl.c
> @@ -0,0 +1,56 @@
> +// SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
> +/* Do not edit directly, auto-generated from: */
> +/*	Documentation/netlink/specs/drm_ras.yaml */
> +/* YNL-GEN kernel source */
> +/* To regenerate run: tools/net/ynl/ynl-regen.sh */
> +
> +#include <net/netlink.h>
> +#include <net/genetlink.h>
> +
> +#include "drm_ras_nl.h"
> +
> +#include <uapi/drm/drm_ras.h>
> +
> +/* DRM_RAS_CMD_GET_ERROR_COUNTER - do */
> +static const struct nla_policy drm_ras_get_error_counter_do_nl_policy[DRM_RAS_A_ERROR_COUNTER_ATTRS_ERROR_ID + 1] = {
> +	[DRM_RAS_A_ERROR_COUNTER_ATTRS_NODE_ID] = { .type = NLA_U32, },
> +	[DRM_RAS_A_ERROR_COUNTER_ATTRS_ERROR_ID] = { .type = NLA_U32, },
> +};
> +
> +/* DRM_RAS_CMD_GET_ERROR_COUNTER - dump */
> +static const struct nla_policy drm_ras_get_error_counter_dump_nl_policy[DRM_RAS_A_ERROR_COUNTER_ATTRS_NODE_ID + 1] = {
> +	[DRM_RAS_A_ERROR_COUNTER_ATTRS_NODE_ID] = { .type = NLA_U32, },
> +};
> +
> +/* Ops table for drm_ras */
> +static const struct genl_split_ops drm_ras_nl_ops[] = {
> +	{
> +		.cmd	= DRM_RAS_CMD_LIST_NODES,
> +		.dumpit	= drm_ras_nl_list_nodes_dumpit,
> +		.flags	= GENL_ADMIN_PERM | GENL_CMD_CAP_DUMP,
> +	},
> +	{
> +		.cmd		= DRM_RAS_CMD_GET_ERROR_COUNTER,
> +		.doit		= drm_ras_nl_get_error_counter_doit,
> +		.policy		= drm_ras_get_error_counter_do_nl_policy,
> +		.maxattr	= DRM_RAS_A_ERROR_COUNTER_ATTRS_ERROR_ID,
> +		.flags		= GENL_ADMIN_PERM | GENL_CMD_CAP_DO,
> +	},
> +	{
> +		.cmd		= DRM_RAS_CMD_GET_ERROR_COUNTER,
> +		.dumpit		= drm_ras_nl_get_error_counter_dumpit,
> +		.policy		= drm_ras_get_error_counter_dump_nl_policy,
> +		.maxattr	= DRM_RAS_A_ERROR_COUNTER_ATTRS_NODE_ID,
> +		.flags		= GENL_ADMIN_PERM | GENL_CMD_CAP_DUMP,
> +	},
> +};
> +
> +struct genl_family drm_ras_nl_family __ro_after_init = {
> +	.name		= DRM_RAS_FAMILY_NAME,
> +	.version	= DRM_RAS_FAMILY_VERSION,
> +	.netnsok	= true,
> +	.parallel_ops	= true,
> +	.module		= THIS_MODULE,
> +	.split_ops	= drm_ras_nl_ops,
> +	.n_split_ops	= ARRAY_SIZE(drm_ras_nl_ops),
> +};
> diff --git a/drivers/gpu/drm/drm_ras_nl.h b/drivers/gpu/drm/drm_ras_nl.h
> new file mode 100644
> index 000000000000..06ccd9342773
> --- /dev/null
> +++ b/drivers/gpu/drm/drm_ras_nl.h
> @@ -0,0 +1,24 @@
> +/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
> +/* Do not edit directly, auto-generated from: */
> +/*	Documentation/netlink/specs/drm_ras.yaml */
> +/* YNL-GEN kernel header */
> +/* To regenerate run: tools/net/ynl/ynl-regen.sh */
> +
> +#ifndef _LINUX_DRM_RAS_GEN_H
> +#define _LINUX_DRM_RAS_GEN_H
> +
> +#include <net/netlink.h>
> +#include <net/genetlink.h>
> +
> +#include <uapi/drm/drm_ras.h>
> +
> +int drm_ras_nl_list_nodes_dumpit(struct sk_buff *skb,
> +				 struct netlink_callback *cb);
> +int drm_ras_nl_get_error_counter_doit(struct sk_buff *skb,
> +				      struct genl_info *info);
> +int drm_ras_nl_get_error_counter_dumpit(struct sk_buff *skb,
> +					struct netlink_callback *cb);
> +
> +extern struct genl_family drm_ras_nl_family;
> +
> +#endif /* _LINUX_DRM_RAS_GEN_H */
> diff --git a/include/drm/drm_ras.h b/include/drm/drm_ras.h
> new file mode 100644
> index 000000000000..5d50209e51db
> --- /dev/null
> +++ b/include/drm/drm_ras.h
> @@ -0,0 +1,75 @@
> +/* SPDX-License-Identifier: MIT */
> +/*
> + * Copyright © 2026 Intel Corporation
> + */
> +
> +#ifndef __DRM_RAS_H__
> +#define __DRM_RAS_H__
> +
> +#include <uapi/drm/drm_ras.h>
> +
> +/**
> + * struct drm_ras_node - A DRM RAS Node
> + */
> +struct drm_ras_node {
> +	/** @id: Unique identifier for the node. Dynamically assigned. */
> +	u32 id;
> +	/**
> +	 * @device_name: Human-readable name of the device. Given by the driver.
> +	 */
> +	const char *device_name;
> +	/** @node_name: Human-readable name of the node. Given by the driver. */
> +	const char *node_name;
> +	/** @type: Type of the node (enum drm_ras_node_type). */
> +	enum drm_ras_node_type type;
> +
> +	/* Error-Counter Related Callback and Variables */
> +
> +	/** @error_counter_range: Range of valid Error IDs for this node. */
> +	struct {
> +		/** @first: First valid Error ID. */
> +		u32 first;
> +		/** @last: Last valid Error ID. Mandatory entry. */
> +		u32 last;
> +	} error_counter_range;
> +
> +	/**
> +	 * @query_error_counter:
> +	 *
> +	 * This callback is used by drm-ras to query a specific error counter.
> +	 * Used for input check and to iterate all error counters in a node.
> +	 *
> +	 * Driver should expect query_error_counter() to be called with
> +	 * error_id from `error_counter_range.first` to
> +	 * `error_counter_range.last`.
> +	 *
> +	 * The @query_error_counter is a mandatory callback for
> +	 * error_counter_node.
> +	 *
> +	 * Returns: 0 on success,
> +	 *          -ENOENT when error_id is not supported as an indication that
> +	 *                  drm_ras should silently skip this entry. Used for
> +	 *                  supporting non-contiguous error ranges.
> +	 *                  Driver is responsible for maintaining the list of
> +	 *                  supported error IDs in the range of first to last.
> +	 *          Other negative values on errors that should terminate the
> +	 *          netlink query.
> +	 */
> +	int (*query_error_counter)(struct drm_ras_node *node, u32 error_id,
> +				   const char **name, u32 *val);
> +
> +	/** @priv: Driver private data */
> +	void *priv;
> +};
> +
> +struct drm_device;
> +
> +#if IS_ENABLED(CONFIG_DRM_RAS)
> +int drm_ras_node_register(struct drm_ras_node *node);
> +void drm_ras_node_unregister(struct drm_ras_node *node);
> +#else
> +static inline int drm_ras_node_register(struct drm_ras_node *node) { return 0; }
> +static inline void drm_ras_node_unregister(struct drm_ras_node *node) { }
> +#endif
> +
> +#endif
> diff --git a/include/drm/drm_ras_genl_family.h b/include/drm/drm_ras_genl_family.h
> new file mode 100644
> index 000000000000..910fb3943a75
> --- /dev/null
> +++ b/include/drm/drm_ras_genl_family.h
> @@ -0,0 +1,17 @@
> +/* SPDX-License-Identifier: MIT */
> +/*
> + * Copyright © 2026 Intel Corporation
> + */
> +
> +#ifndef __DRM_RAS_GENL_FAMILY_H__
> +#define __DRM_RAS_GENL_FAMILY_H__
> +
> +#if IS_ENABLED(CONFIG_DRM_RAS)
> +int drm_ras_genl_family_register(void);
> +void drm_ras_genl_family_unregister(void);
> +#else
> +static inline int drm_ras_genl_family_register(void) { return 0; }
> +static inline void drm_ras_genl_family_unregister(void) { }
> +#endif
> +
> +#endif
> diff --git a/include/uapi/drm/drm_ras.h b/include/uapi/drm/drm_ras.h
> new file mode 100644
> index 000000000000..5f40fa5b869d
> --- /dev/null
> +++ b/include/uapi/drm/drm_ras.h
> @@ -0,0 +1,49 @@
> +/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
> +/* Do not edit directly, auto-generated from: */
> +/*	Documentation/netlink/specs/drm_ras.yaml */
> +/* YNL-GEN uapi header */
> +/* To regenerate run: tools/net/ynl/ynl-regen.sh */
> +
> +#ifndef _UAPI_LINUX_DRM_RAS_H
> +#define _UAPI_LINUX_DRM_RAS_H
> +
> +#define DRM_RAS_FAMILY_NAME	"drm-ras"
> +#define DRM_RAS_FAMILY_VERSION	1
> +
> +/*
> + * Type of the node. Currently, only error-counter nodes are supported, which
> + * expose reliability counters for a hardware/software component.
> + */
> +enum drm_ras_node_type {
> +	DRM_RAS_NODE_TYPE_ERROR_COUNTER = 1,
> +};
> +
> +enum {
> +	DRM_RAS_A_NODE_ATTRS_NODE_ID = 1,
> +	DRM_RAS_A_NODE_ATTRS_DEVICE_NAME,
> +	DRM_RAS_A_NODE_ATTRS_NODE_NAME,
> +	DRM_RAS_A_NODE_ATTRS_NODE_TYPE,
> +
> +	__DRM_RAS_A_NODE_ATTRS_MAX,
> +	DRM_RAS_A_NODE_ATTRS_MAX = (__DRM_RAS_A_NODE_ATTRS_MAX - 1)
> +};
> +
> +enum {
> +	DRM_RAS_A_ERROR_COUNTER_ATTRS_NODE_ID = 1,
> +	DRM_RAS_A_ERROR_COUNTER_ATTRS_ERROR_ID,
> +	DRM_RAS_A_ERROR_COUNTER_ATTRS_ERROR_NAME,
> +	DRM_RAS_A_ERROR_COUNTER_ATTRS_ERROR_VALUE,
> +
> +	__DRM_RAS_A_ERROR_COUNTER_ATTRS_MAX,
> +	DRM_RAS_A_ERROR_COUNTER_ATTRS_MAX = (__DRM_RAS_A_ERROR_COUNTER_ATTRS_MAX - 1)
> +};
> +
> +enum {
> +	DRM_RAS_CMD_LIST_NODES = 1,
> +	DRM_RAS_CMD_GET_ERROR_COUNTER,
> +
> +	__DRM_RAS_CMD_MAX,
> +	DRM_RAS_CMD_MAX = (__DRM_RAS_CMD_MAX - 1)
> +};
> +
> +#endif /* _UAPI_LINUX_DRM_RAS_H */


^ permalink raw reply	[flat|nested] 18+ messages in thread

* ✗ Xe.CI.FULL: failure for Introduce DRM_RAS using generic netlink for RAS (rev11)
  2026-03-04  7:44 [PATCH v10 0/5] Introduce DRM_RAS using generic netlink for RAS Riana Tauro
                   ` (13 preceding siblings ...)
  2026-03-05 19:21 ` ✓ Xe.CI.BAT: success " Patchwork
@ 2026-03-06 10:21 ` Patchwork
  14 siblings, 0 replies; 18+ messages in thread
From: Patchwork @ 2026-03-06 10:21 UTC (permalink / raw)
  To: Rodrigo Vivi; +Cc: intel-xe

[-- Attachment #1: Type: text/plain, Size: 21767 bytes --]

== Series Details ==

Series: Introduce DRM_RAS using generic netlink for RAS (rev11)
URL   : https://patchwork.freedesktop.org/series/155188/
State : failure

== Summary ==

CI Bug Log - changes from xe-4662-e4b36c44f536abdf724e6a17700a47ce1631699f_FULL -> xe-pw-155188v11_FULL
====================================================

Summary
-------

  **FAILURE**

  Serious unknown changes coming with xe-pw-155188v11_FULL absolutely need to be
  verified manually.
  
  If you think the reported changes have nothing to do with the changes
  introduced in xe-pw-155188v11_FULL, please notify your bug team (I915-ci-infra@lists.freedesktop.org) 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-155188v11_FULL:

### IGT changes ###

#### Possible regressions ####

  * igt@xe_configfs@engines-allowed-invalid:
    - shard-bmg:          [PASS][1] -> [ABORT][2]
   [1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4662-e4b36c44f536abdf724e6a17700a47ce1631699f/shard-bmg-9/igt@xe_configfs@engines-allowed-invalid.html
   [2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/shard-bmg-6/igt@xe_configfs@engines-allowed-invalid.html

  
Known issues
------------

  Here are the changes found in xe-pw-155188v11_FULL that come from known issues:

### IGT changes ###

#### Issues hit ####

  * igt@kms_big_fb@x-tiled-16bpp-rotate-90:
    - shard-bmg:          NOTRUN -> [SKIP][3] ([Intel XE#2327])
   [3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/shard-bmg-5/igt@kms_big_fb@x-tiled-16bpp-rotate-90.html

  * igt@kms_big_fb@y-tiled-16bpp-rotate-270:
    - shard-bmg:          NOTRUN -> [SKIP][4] ([Intel XE#1124]) +2 other tests skip
   [4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/shard-bmg-9/igt@kms_big_fb@y-tiled-16bpp-rotate-270.html

  * igt@kms_bw@linear-tiling-1-displays-3840x2160p:
    - shard-bmg:          [PASS][5] -> [SKIP][6] ([Intel XE#367] / [Intel XE#7354])
   [5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4662-e4b36c44f536abdf724e6a17700a47ce1631699f/shard-bmg-5/igt@kms_bw@linear-tiling-1-displays-3840x2160p.html
   [6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/shard-bmg-2/igt@kms_bw@linear-tiling-1-displays-3840x2160p.html

  * igt@kms_bw@linear-tiling-2-displays-3840x2160p:
    - shard-bmg:          NOTRUN -> [SKIP][7] ([Intel XE#367] / [Intel XE#7354])
   [7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/shard-bmg-5/igt@kms_bw@linear-tiling-2-displays-3840x2160p.html

  * igt@kms_ccs@bad-rotation-90-4-tiled-lnl-ccs@pipe-c-dp-2:
    - shard-bmg:          NOTRUN -> [SKIP][8] ([Intel XE#2652]) +7 other tests skip
   [8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/shard-bmg-7/igt@kms_ccs@bad-rotation-90-4-tiled-lnl-ccs@pipe-c-dp-2.html

  * igt@kms_ccs@random-ccs-data-y-tiled-gen12-rc-ccs:
    - shard-bmg:          NOTRUN -> [SKIP][9] ([Intel XE#2887]) +4 other tests skip
   [9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/shard-bmg-5/igt@kms_ccs@random-ccs-data-y-tiled-gen12-rc-ccs.html

  * igt@kms_chamelium_color@ctm-red-to-blue:
    - shard-bmg:          NOTRUN -> [SKIP][10] ([Intel XE#2325] / [Intel XE#7358])
   [10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/shard-bmg-5/igt@kms_chamelium_color@ctm-red-to-blue.html

  * igt@kms_chamelium_hpd@common-hpd-after-suspend:
    - shard-bmg:          NOTRUN -> [SKIP][11] ([Intel XE#2252]) +1 other test skip
   [11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/shard-bmg-5/igt@kms_chamelium_hpd@common-hpd-after-suspend.html

  * igt@kms_content_protection@atomic-dpms-hdcp14@pipe-a-dp-1:
    - shard-bmg:          NOTRUN -> [FAIL][12] ([Intel XE#3304])
   [12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/shard-bmg-5/igt@kms_content_protection@atomic-dpms-hdcp14@pipe-a-dp-1.html

  * igt@kms_content_protection@lic-type-0@pipe-a-dp-2:
    - shard-bmg:          NOTRUN -> [FAIL][13] ([Intel XE#1178] / [Intel XE#3304] / [Intel XE#7374])
   [13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/shard-bmg-7/igt@kms_content_protection@lic-type-0@pipe-a-dp-2.html

  * igt@kms_content_protection@uevent-hdcp14:
    - shard-bmg:          NOTRUN -> [FAIL][14] ([Intel XE#6707] / [Intel XE#7439]) +1 other test fail
   [14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/shard-bmg-5/igt@kms_content_protection@uevent-hdcp14.html

  * igt@kms_cursor_crc@cursor-offscreen-max-size:
    - shard-bmg:          NOTRUN -> [SKIP][15] ([Intel XE#2320]) +2 other tests skip
   [15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/shard-bmg-9/igt@kms_cursor_crc@cursor-offscreen-max-size.html

  * igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-16bpp-ytile-downscaling:
    - shard-bmg:          NOTRUN -> [SKIP][16] ([Intel XE#7178] / [Intel XE#7351]) +1 other test skip
   [16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/shard-bmg-5/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-16bpp-ytile-downscaling.html

  * igt@kms_frontbuffer_tracking@drrs-2p-primscrn-cur-indfb-draw-render:
    - shard-bmg:          NOTRUN -> [SKIP][17] ([Intel XE#2311]) +8 other tests skip
   [17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/shard-bmg-5/igt@kms_frontbuffer_tracking@drrs-2p-primscrn-cur-indfb-draw-render.html

  * igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-spr-indfb-onoff:
    - shard-bmg:          NOTRUN -> [SKIP][18] ([Intel XE#4141]) +3 other tests skip
   [18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/shard-bmg-5/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-spr-indfb-onoff.html

  * igt@kms_frontbuffer_tracking@fbc-abgr161616f-draw-blt:
    - shard-bmg:          NOTRUN -> [SKIP][19] ([Intel XE#7061] / [Intel XE#7356])
   [19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/shard-bmg-5/igt@kms_frontbuffer_tracking@fbc-abgr161616f-draw-blt.html

  * igt@kms_frontbuffer_tracking@fbcpsr-rgb565-draw-render:
    - shard-bmg:          NOTRUN -> [SKIP][20] ([Intel XE#2313]) +8 other tests skip
   [20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/shard-bmg-5/igt@kms_frontbuffer_tracking@fbcpsr-rgb565-draw-render.html

  * igt@kms_joiner@invalid-modeset-force-ultra-joiner:
    - shard-bmg:          NOTRUN -> [SKIP][21] ([Intel XE#6911] / [Intel XE#7466])
   [21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/shard-bmg-1/igt@kms_joiner@invalid-modeset-force-ultra-joiner.html

  * igt@kms_multipipe_modeset@basic-max-pipe-crc-check:
    - shard-bmg:          NOTRUN -> [SKIP][22] ([Intel XE#2501] / [Intel XE#5852])
   [22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/shard-bmg-5/igt@kms_multipipe_modeset@basic-max-pipe-crc-check.html

  * igt@kms_plane@pixel-format-x-tiled-modifier@pipe-b-plane-5:
    - shard-bmg:          NOTRUN -> [SKIP][23] ([Intel XE#7130]) +1 other test skip
   [23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/shard-bmg-5/igt@kms_plane@pixel-format-x-tiled-modifier@pipe-b-plane-5.html

  * igt@kms_plane@pixel-format-y-tiled-gen12-rc-ccs-modifier:
    - shard-bmg:          NOTRUN -> [SKIP][24] ([Intel XE#7283])
   [24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/shard-bmg-5/igt@kms_plane@pixel-format-y-tiled-gen12-rc-ccs-modifier.html

  * igt@kms_plane_multiple@tiling-yf:
    - shard-bmg:          NOTRUN -> [SKIP][25] ([Intel XE#5020] / [Intel XE#7348])
   [25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/shard-bmg-5/igt@kms_plane_multiple@tiling-yf.html

  * igt@kms_pm_dc@dc5-retention-flops:
    - shard-bmg:          NOTRUN -> [SKIP][26] ([Intel XE#3309] / [Intel XE#7368])
   [26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/shard-bmg-5/igt@kms_pm_dc@dc5-retention-flops.html

  * igt@kms_psr2_sf@psr2-cursor-plane-update-sf:
    - shard-bmg:          NOTRUN -> [SKIP][27] ([Intel XE#1489]) +1 other test skip
   [27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/shard-bmg-5/igt@kms_psr2_sf@psr2-cursor-plane-update-sf.html

  * igt@kms_psr@psr-sprite-plane-move:
    - shard-bmg:          NOTRUN -> [SKIP][28] ([Intel XE#2234] / [Intel XE#2850]) +1 other test skip
   [28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/shard-bmg-5/igt@kms_psr@psr-sprite-plane-move.html

  * igt@kms_psr@psr2-primary-render:
    - shard-bmg:          NOTRUN -> [SKIP][29] ([Intel XE#2234])
   [29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/shard-bmg-5/igt@kms_psr@psr2-primary-render.html

  * igt@kms_rotation_crc@bad-tiling:
    - shard-bmg:          NOTRUN -> [SKIP][30] ([Intel XE#3414] / [Intel XE#3904] / [Intel XE#7342])
   [30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/shard-bmg-5/igt@kms_rotation_crc@bad-tiling.html

  * igt@kms_sharpness_filter@filter-toggle:
    - shard-bmg:          NOTRUN -> [SKIP][31] ([Intel XE#6503])
   [31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/shard-bmg-5/igt@kms_sharpness_filter@filter-toggle.html

  * igt@kms_vblank@ts-continuation-modeset:
    - shard-bmg:          [PASS][32] -> [INCOMPLETE][33] ([Intel XE#6819]) +1 other test incomplete
   [32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4662-e4b36c44f536abdf724e6a17700a47ce1631699f/shard-bmg-7/igt@kms_vblank@ts-continuation-modeset.html
   [33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/shard-bmg-3/igt@kms_vblank@ts-continuation-modeset.html

  * igt@kms_vrr@flip-basic:
    - shard-bmg:          NOTRUN -> [SKIP][34] ([Intel XE#1499])
   [34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/shard-bmg-5/igt@kms_vrr@flip-basic.html

  * igt@xe_eudebug@basic-vm-access-parameters-userptr-faultable:
    - shard-bmg:          NOTRUN -> [SKIP][35] ([Intel XE#4837]) +1 other test skip
   [35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/shard-bmg-5/igt@xe_eudebug@basic-vm-access-parameters-userptr-faultable.html

  * igt@xe_eudebug_online@pagefault-read-stress:
    - shard-bmg:          NOTRUN -> [SKIP][36] ([Intel XE#6665] / [Intel XE#6681])
   [36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/shard-bmg-5/igt@xe_eudebug_online@pagefault-read-stress.html

  * igt@xe_evict@evict-mixed-many-threads-small:
    - shard-bmg:          [PASS][37] -> [INCOMPLETE][38] ([Intel XE#6321])
   [37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4662-e4b36c44f536abdf724e6a17700a47ce1631699f/shard-bmg-2/igt@xe_evict@evict-mixed-many-threads-small.html
   [38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/shard-bmg-4/igt@xe_evict@evict-mixed-many-threads-small.html

  * igt@xe_exec_basic@multigpu-many-execqueues-many-vm-userptr-invalidate:
    - shard-bmg:          NOTRUN -> [SKIP][39] ([Intel XE#2322] / [Intel XE#7372]) +3 other tests skip
   [39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/shard-bmg-9/igt@xe_exec_basic@multigpu-many-execqueues-many-vm-userptr-invalidate.html

  * igt@xe_exec_fault_mode@many-multi-queue-rebind-prefetch:
    - shard-bmg:          NOTRUN -> [SKIP][40] ([Intel XE#7136]) +3 other tests skip
   [40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/shard-bmg-5/igt@xe_exec_fault_mode@many-multi-queue-rebind-prefetch.html

  * igt@xe_exec_multi_queue@few-execs-preempt-mode-basic:
    - shard-bmg:          NOTRUN -> [SKIP][41] ([Intel XE#6874]) +8 other tests skip
   [41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/shard-bmg-5/igt@xe_exec_multi_queue@few-execs-preempt-mode-basic.html

  * igt@xe_exec_system_allocator@threads-many-large-execqueues-malloc-race-nomemset:
    - shard-bmg:          [PASS][42] -> [INCOMPLETE][43] ([Intel XE#2594])
   [42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4662-e4b36c44f536abdf724e6a17700a47ce1631699f/shard-bmg-8/igt@xe_exec_system_allocator@threads-many-large-execqueues-malloc-race-nomemset.html
   [43]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/shard-bmg-6/igt@xe_exec_system_allocator@threads-many-large-execqueues-malloc-race-nomemset.html

  * igt@xe_exec_threads@threads-multi-queue-mixed-shared-vm-userptr-rebind:
    - shard-bmg:          NOTRUN -> [SKIP][44] ([Intel XE#7138]) +2 other tests skip
   [44]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/shard-bmg-5/igt@xe_exec_threads@threads-multi-queue-mixed-shared-vm-userptr-rebind.html

  * igt@xe_multigpu_svm@mgpu-migration-basic:
    - shard-bmg:          NOTRUN -> [SKIP][45] ([Intel XE#6964])
   [45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/shard-bmg-5/igt@xe_multigpu_svm@mgpu-migration-basic.html

  * igt@xe_pm@d3cold-mmap-system:
    - shard-bmg:          NOTRUN -> [SKIP][46] ([Intel XE#2284] / [Intel XE#7370])
   [46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/shard-bmg-5/igt@xe_pm@d3cold-mmap-system.html

  * igt@xe_query@multigpu-query-config:
    - shard-bmg:          NOTRUN -> [SKIP][47] ([Intel XE#944])
   [47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/shard-bmg-5/igt@xe_query@multigpu-query-config.html

  
#### Possible fixes ####

  * igt@kms_flip@2x-flip-vs-suspend-interruptible:
    - shard-bmg:          [INCOMPLETE][48] ([Intel XE#2049] / [Intel XE#2597]) -> [PASS][49]
   [48]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4662-e4b36c44f536abdf724e6a17700a47ce1631699f/shard-bmg-6/igt@kms_flip@2x-flip-vs-suspend-interruptible.html
   [49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/shard-bmg-5/igt@kms_flip@2x-flip-vs-suspend-interruptible.html

  * igt@kms_flip@flip-vs-expired-vblank@b-edp1:
    - shard-lnl:          [FAIL][50] ([Intel XE#301]) -> [PASS][51] +1 other test pass
   [50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4662-e4b36c44f536abdf724e6a17700a47ce1631699f/shard-lnl-1/igt@kms_flip@flip-vs-expired-vblank@b-edp1.html
   [51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/shard-lnl-7/igt@kms_flip@flip-vs-expired-vblank@b-edp1.html

  * igt@kms_pm_dc@dc6-dpms:
    - shard-lnl:          [FAIL][52] ([Intel XE#7340]) -> [PASS][53]
   [52]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4662-e4b36c44f536abdf724e6a17700a47ce1631699f/shard-lnl-1/igt@kms_pm_dc@dc6-dpms.html
   [53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/shard-lnl-7/igt@kms_pm_dc@dc6-dpms.html

  * igt@xe_evict@evict-beng-mixed-many-threads-small:
    - shard-bmg:          [INCOMPLETE][54] ([Intel XE#6321]) -> [PASS][55]
   [54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4662-e4b36c44f536abdf724e6a17700a47ce1631699f/shard-bmg-5/igt@xe_evict@evict-beng-mixed-many-threads-small.html
   [55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/shard-bmg-2/igt@xe_evict@evict-beng-mixed-many-threads-small.html

  * igt@xe_exec_system_allocator@threads-shared-vm-many-stride-mmap-huge-nomemset:
    - shard-lnl:          [FAIL][56] -> [PASS][57]
   [56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4662-e4b36c44f536abdf724e6a17700a47ce1631699f/shard-lnl-4/igt@xe_exec_system_allocator@threads-shared-vm-many-stride-mmap-huge-nomemset.html
   [57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/shard-lnl-2/igt@xe_exec_system_allocator@threads-shared-vm-many-stride-mmap-huge-nomemset.html

  
#### Warnings ####

  * igt@kms_tiled_display@basic-test-pattern:
    - shard-bmg:          [SKIP][58] ([Intel XE#2426] / [Intel XE#5848]) -> [FAIL][59] ([Intel XE#1729] / [Intel XE#7424])
   [58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4662-e4b36c44f536abdf724e6a17700a47ce1631699f/shard-bmg-8/igt@kms_tiled_display@basic-test-pattern.html
   [59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/shard-bmg-4/igt@kms_tiled_display@basic-test-pattern.html

  * igt@kms_tiled_display@basic-test-pattern-with-chamelium:
    - shard-bmg:          [SKIP][60] ([Intel XE#2509] / [Intel XE#7437]) -> [SKIP][61] ([Intel XE#2426] / [Intel XE#5848])
   [60]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4662-e4b36c44f536abdf724e6a17700a47ce1631699f/shard-bmg-6/igt@kms_tiled_display@basic-test-pattern-with-chamelium.html
   [61]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/shard-bmg-3/igt@kms_tiled_display@basic-test-pattern-with-chamelium.html

  
  [Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124
  [Intel XE#1178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1178
  [Intel XE#1489]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1489
  [Intel XE#1499]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1499
  [Intel XE#1729]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1729
  [Intel XE#2049]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2049
  [Intel XE#2234]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2234
  [Intel XE#2252]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2252
  [Intel XE#2284]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2284
  [Intel XE#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#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#2426]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2426
  [Intel XE#2501]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2501
  [Intel XE#2509]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2509
  [Intel XE#2594]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2594
  [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#2850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2850
  [Intel XE#2887]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2887
  [Intel XE#301]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/301
  [Intel XE#3304]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3304
  [Intel XE#3309]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3309
  [Intel XE#3414]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3414
  [Intel XE#367]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/367
  [Intel XE#3904]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3904
  [Intel XE#4141]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4141
  [Intel XE#4837]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4837
  [Intel XE#5020]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5020
  [Intel XE#5848]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5848
  [Intel XE#5852]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5852
  [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#6665]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6665
  [Intel XE#6681]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6681
  [Intel XE#6707]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6707
  [Intel XE#6819]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6819
  [Intel XE#6874]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6874
  [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#7061]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7061
  [Intel XE#7130]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7130
  [Intel XE#7136]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7136
  [Intel XE#7138]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7138
  [Intel XE#7178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7178
  [Intel XE#7283]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7283
  [Intel XE#7340]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7340
  [Intel XE#7342]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7342
  [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#7354]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7354
  [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#7368]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7368
  [Intel XE#7370]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7370
  [Intel XE#7372]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7372
  [Intel XE#7374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7374
  [Intel XE#7424]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7424
  [Intel XE#7437]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7437
  [Intel XE#7439]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7439
  [Intel XE#7466]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7466
  [Intel XE#944]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/944


Build changes
-------------

  * Linux: xe-4662-e4b36c44f536abdf724e6a17700a47ce1631699f -> xe-pw-155188v11

  IGT_8781: 911c75d8ee24b6d42d31e76bc60149a9350f1190 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
  xe-4662-e4b36c44f536abdf724e6a17700a47ce1631699f: e4b36c44f536abdf724e6a17700a47ce1631699f
  xe-pw-155188v11: 155188v11

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155188v11/index.html

[-- Attachment #2: Type: text/html, Size: 23795 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH v10 1/5] drm/ras: Introduce the DRM RAS infrastructure over generic netlink
  2026-03-04  7:44 ` [PATCH v10 1/5] drm/ras: Introduce the DRM RAS infrastructure over generic netlink Riana Tauro
  2026-03-05 19:37   ` Maarten Lankhorst
@ 2026-03-09  8:35   ` Jani Nikula
  1 sibling, 0 replies; 18+ messages in thread
From: Jani Nikula @ 2026-03-09  8:35 UTC (permalink / raw)
  To: Riana Tauro, intel-xe, dri-devel
  Cc: aravind.iddamsetty, anshuman.gupta, rodrigo.vivi, joonas.lahtinen,
	simona.vetter, airlied, pratik.bari, joshua.santosh.ranjan,
	ashwin.kumar.kulkarni, shubham.kumar, ravi.kishore.koppuravuri,
	raag.jadav, anvesh.bakwad, Zack McKevitt, Lijo Lazar,
	Hawking Zhang, Jakub Kicinski, David S. Miller, Paolo Abeni,
	Eric Dumazet, netdev, Riana Tauro

On Wed, 04 Mar 2026, Riana Tauro <riana.tauro@intel.com> wrote:
> diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig
> index 0d0657dd1b41..5386248e75b6 100644
> --- a/drivers/gpu/drm/Kconfig
> +++ b/drivers/gpu/drm/Kconfig
> @@ -130,6 +130,16 @@ config DRM_PANIC_SCREEN_QR_VERSION
>  	  Smaller QR code are easier to read, but will contain less debugging
>  	  data. Default is 40.
>  
> +config DRM_RAS
> +	bool "DRM RAS support"

I encountered this with 'make oldconfig' today:

  DRM RAS support (DRM_RAS) [N/y/?] (NEW) y

Is it too much to ask to spell out "Reliability, Availability and
Serviceability" in the one-line bool documentation instead of the TLA
soup?


BR,
Jani.

> +	depends on DRM
> +	depends on NET
> +	help
> +	  Enables the DRM RAS (Reliability, Availability and Serviceability)
> +	  support for DRM drivers. This provides a Generic Netlink interface
> +	  for error reporting and queries.
> +	  If in doubt, say "N".
> +



-- 
Jani Nikula, Intel

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2026-03-09  8:35 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-04  7:44 [PATCH v10 0/5] Introduce DRM_RAS using generic netlink for RAS Riana Tauro
2026-03-04  7:39 ` ✗ CI.checkpatch: warning for Introduce DRM_RAS using generic netlink for RAS (rev10) Patchwork
2026-03-04  7:40 ` ✓ CI.KUnit: success " Patchwork
2026-03-04  7:44 ` [PATCH v10 1/5] drm/ras: Introduce the DRM RAS infrastructure over generic netlink Riana Tauro
2026-03-05 19:37   ` Maarten Lankhorst
2026-03-09  8:35   ` Jani Nikula
2026-03-04  7:44 ` [PATCH v10 2/5] drm/xe/xe_drm_ras: Add support for XE DRM RAS Riana Tauro
2026-03-04  7:44 ` [PATCH v10 3/5] drm/xe/xe_hw_error: Integrate DRM RAS with hardware error handling Riana Tauro
2026-03-04  7:44 ` [PATCH v10 4/5] drm/xe/xe_hw_error: Add support for Core-Compute errors Riana Tauro
2026-03-04  7:44 ` [PATCH v10 5/5] drm/xe/xe_hw_error: Add support for PVC SoC errors Riana Tauro
2026-03-04  7:55 ` ✗ CI.checksparse: warning for Introduce DRM_RAS using generic netlink for RAS (rev10) Patchwork
2026-03-04  8:14 ` ✗ Xe.CI.BAT: failure " Patchwork
2026-03-05  5:51 ` ✗ Xe.CI.FULL: " Patchwork
2026-03-05 18:25 ` ✗ CI.checkpatch: warning for Introduce DRM_RAS using generic netlink for RAS (rev11) Patchwork
2026-03-05 18:26 ` ✓ CI.KUnit: success " Patchwork
2026-03-05 18:44 ` ✗ CI.checksparse: warning " Patchwork
2026-03-05 19:21 ` ✓ Xe.CI.BAT: success " Patchwork
2026-03-06 10:21 ` ✗ Xe.CI.FULL: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox