A tool to demonstrate use of netlink sockets to read RAS error counters
v2 cover A tool to demonstrate use of netlink sockets to read RAS error counters
This tool is to demonstrate the use of netlink sockets to read RAS error counters, which is being proposed via series
"[RFC v2 0/5] Proposal to use netlink for RAS and Telemetry across drm subsystem".
The tool supports the following commands:READ_ONE, READ_ALL, WAIT_ON_EVENT, LIST_ERRORS
read single error counter:
$ ./drm_ras READ_ONE --device=drm:/dev/dri/card1 --error_id=0x0000000000000005 counter value 0
read all error counters:
$ ./drm_ras READ_ALL --device=drm:/dev/dri/card1 name config-id counter
error-gt0-correctable-guc 0x0000000000000001 0 error-gt0-correctable-slm 0x0000000000000003 0 error-gt0-correctable-eu-ic 0x0000000000000004 0 error-gt0-correctable-eu-grf 0x0000000000000005 0 error-gt0-fatal-guc 0x0000000000000009 0 error-gt0-fatal-slm 0x000000000000000d 0 error-gt0-fatal-eu-grf 0x000000000000000f 0 error-gt0-fatal-fpu 0x0000000000000010 0 error-gt0-fatal-tlb 0x0000000000000011 0 error-gt0-fatal-l3-fabric 0x0000000000000012 0 error-gt0-correctable-subslice 0x0000000000000013 0 error-gt0-correctable-l3bank 0x0000000000000014 0 error-gt0-fatal-subslice 0x0000000000000015 0 error-gt0-fatal-l3bank 0x0000000000000016 0 error-gt0-sgunit-correctable 0x0000000000000017 0 error-gt0-sgunit-nonfatal 0x0000000000000018 0 error-gt0-sgunit-fatal 0x0000000000000019 0 error-gt0-soc-fatal-psf-csc-0 0x000000000000001a 0 error-gt0-soc-fatal-psf-csc-1 0x000000000000001b 0 error-gt0-soc-fatal-psf-csc-2 0x000000000000001c 0 error-gt0-soc-fatal-punit 0x000000000000001d 0 error-gt0-soc-fatal-psf-0 0x000000000000001e 0 error-gt0-soc-fatal-psf-1 0x000000000000001f 0 error-gt0-soc-fatal-psf-2 0x0000000000000020 0 error-gt0-soc-fatal-cd0 0x0000000000000021 0 error-gt0-soc-fatal-cd0-mdfi 0x0000000000000022 0 error-gt0-soc-fatal-mdfi-east 0x0000000000000023 0 error-gt0-soc-fatal-mdfi-south 0x0000000000000024 0 error-gt0-soc-fatal-hbm-ss0-0 0x0000000000000025 0 error-gt0-soc-fatal-hbm-ss0-1 0x0000000000000026 0 error-gt0-soc-fatal-hbm-ss0-2 0x0000000000000027 0 error-gt0-soc-fatal-hbm-ss0-3 0x0000000000000028 0 error-gt0-soc-fatal-hbm-ss0-4 0x0000000000000029 0 error-gt0-soc-fatal-hbm-ss0-5 0x000000000000002a 0 error-gt0-soc-fatal-hbm-ss0-6 0x000000000000002b 0 error-gt0-soc-fatal-hbm-ss0-7 0x000000000000002c 0 error-gt0-soc-fatal-hbm-ss1-0 0x000000000000002d 0 error-gt0-soc-fatal-hbm-ss1-1 0x000000000000002e 0 error-gt0-soc-fatal-hbm-ss1-2 0x000000000000002f 0 error-gt0-soc-fatal-hbm-ss1-3 0x0000000000000030 0 error-gt0-soc-fatal-hbm-ss1-4 0x0000000000000031 0 error-gt0-soc-fatal-hbm-ss1-5 0x0000000000000032 0 error-gt0-soc-fatal-hbm-ss1-6 0x0000000000000033 0 error-gt0-soc-fatal-hbm-ss1-7 0x0000000000000034 0 error-gt0-soc-fatal-hbm-ss2-0 0x0000000000000035 0 error-gt0-soc-fatal-hbm-ss2-1 0x0000000000000036 0 error-gt0-soc-fatal-hbm-ss2-2 0x0000000000000037 0 error-gt0-soc-fatal-hbm-ss2-3 0x0000000000000038 0 error-gt0-soc-fatal-hbm-ss2-4 0x0000000000000039 0 error-gt0-soc-fatal-hbm-ss2-5 0x000000000000003a 0 error-gt0-soc-fatal-hbm-ss2-6 0x000000000000003b 0 error-gt0-soc-fatal-hbm-ss2-7 0x000000000000003c 0 error-gt0-soc-fatal-hbm-ss3-0 0x000000000000003d 0 error-gt0-soc-fatal-hbm-ss3-1 0x000000000000003e 0 error-gt0-soc-fatal-hbm-ss3-2 0x000000000000003f 0 error-gt0-soc-fatal-hbm-ss3-3 0x0000000000000040 0 error-gt0-soc-fatal-hbm-ss3-4 0x0000000000000041 0 error-gt0-soc-fatal-hbm-ss3-5 0x0000000000000042 0 error-gt0-soc-fatal-hbm-ss3-6 0x0000000000000043 0 error-gt0-soc-fatal-hbm-ss3-7 0x0000000000000044 0 error-gt0-gsc-correctable-sram-ecc 0x0000000000000045 0 error-gt0-gsc-nonfatal-mia-shutdown 0x0000000000000046 0 error-gt0-gsc-nonfatal-mia-int 0x0000000000000047 0 error-gt0-gsc-nonfatal-sram-ecc 0x0000000000000048 0 error-gt0-gsc-nonfatal-wdg-timeout 0x0000000000000049 0 error-gt0-gsc-nonfatal-rom-parity 0x000000000000004a 0 error-gt0-gsc-nonfatal-ucode-parity 0x000000000000004b 0 error-gt0-gsc-nonfatal-glitch-det 0x000000000000004c 0 error-gt0-gsc-nonfatal-fuse-pull 0x000000000000004d 0 error-gt0-gsc-nonfatal-fuse-crc-check 0x000000000000004e 0 error-gt0-gsc-nonfatal-selfmbist 0x000000000000004f 0 error-gt0-gsc-nonfatal-aon-parity 0x0000000000000050 0 error-gt1-correctable-guc 0x1000000000000001 0 error-gt1-correctable-slm 0x1000000000000003 0 error-gt1-correctable-eu-ic 0x1000000000000004 0 error-gt1-correctable-eu-grf 0x1000000000000005 0 error-gt1-fatal-guc 0x1000000000000009 0 error-gt1-fatal-slm 0x100000000000000d 0 error-gt1-fatal-eu-grf 0x100000000000000f 0 error-gt1-fatal-fpu 0x1000000000000010 0 error-gt1-fatal-tlb 0x1000000000000011 0 error-gt1-fatal-l3-fabric 0x1000000000000012 0 error-gt1-correctable-subslice 0x1000000000000013 0 error-gt1-correctable-l3bank 0x1000000000000014 0 error-gt1-fatal-subslice 0x1000000000000015 0 error-gt1-fatal-l3bank 0x1000000000000016 0 error-gt1-sgunit-correctable 0x1000000000000017 0 error-gt1-sgunit-nonfatal 0x1000000000000018 0 error-gt1-sgunit-fatal 0x1000000000000019 0 error-gt1-soc-fatal-psf-csc-0 0x100000000000001a 0 error-gt1-soc-fatal-psf-csc-1 0x100000000000001b 0 error-gt1-soc-fatal-psf-csc-2 0x100000000000001c 0 error-gt1-soc-fatal-punit 0x100000000000001d 0 error-gt1-soc-fatal-psf-0 0x100000000000001e 0 error-gt1-soc-fatal-psf-1 0x100000000000001f 0 error-gt1-soc-fatal-psf-2 0x1000000000000020 0 error-gt1-soc-fatal-cd0 0x1000000000000021 0 error-gt1-soc-fatal-cd0-mdfi 0x1000000000000022 0 error-gt1-soc-fatal-mdfi-east 0x1000000000000023 0 error-gt1-soc-fatal-mdfi-south 0x1000000000000024 0 error-gt1-soc-fatal-hbm-ss0-0 0x1000000000000025 0 error-gt1-soc-fatal-hbm-ss0-1 0x1000000000000026 0 error-gt1-soc-fatal-hbm-ss0-2 0x1000000000000027 0 error-gt1-soc-fatal-hbm-ss0-3 0x1000000000000028 0 error-gt1-soc-fatal-hbm-ss0-4 0x1000000000000029 0 error-gt1-soc-fatal-hbm-ss0-5 0x100000000000002a 0 error-gt1-soc-fatal-hbm-ss0-6 0x100000000000002b 0 error-gt1-soc-fatal-hbm-ss0-7 0x100000000000002c 0 error-gt1-soc-fatal-hbm-ss1-0 0x100000000000002d 0 error-gt1-soc-fatal-hbm-ss1-1 0x100000000000002e 0 error-gt1-soc-fatal-hbm-ss1-2 0x100000000000002f 0 error-gt1-soc-fatal-hbm-ss1-3 0x1000000000000030 0 error-gt1-soc-fatal-hbm-ss1-4 0x1000000000000031 0 error-gt1-soc-fatal-hbm-ss1-5 0x1000000000000032 0 error-gt1-soc-fatal-hbm-ss1-6 0x1000000000000033 0 error-gt1-soc-fatal-hbm-ss1-7 0x1000000000000034 0 error-gt1-soc-fatal-hbm-ss2-0 0x1000000000000035 0 error-gt1-soc-fatal-hbm-ss2-1 0x1000000000000036 0 error-gt1-soc-fatal-hbm-ss2-2 0x1000000000000037 0 error-gt1-soc-fatal-hbm-ss2-3 0x1000000000000038 0 error-gt1-soc-fatal-hbm-ss2-4 0x1000000000000039 0 error-gt1-soc-fatal-hbm-ss2-5 0x100000000000003a 0 error-gt1-soc-fatal-hbm-ss2-6 0x100000000000003b 0 error-gt1-soc-fatal-hbm-ss2-7 0x100000000000003c 0 error-gt1-soc-fatal-hbm-ss3-0 0x100000000000003d 0 error-gt1-soc-fatal-hbm-ss3-1 0x100000000000003e 0 error-gt1-soc-fatal-hbm-ss3-2 0x100000000000003f 0 error-gt1-soc-fatal-hbm-ss3-3 0x1000000000000040 0 error-gt1-soc-fatal-hbm-ss3-4 0x1000000000000041 0 error-gt1-soc-fatal-hbm-ss3-5 0x1000000000000042 0 error-gt1-soc-fatal-hbm-ss3-6 0x1000000000000043 0 error-gt1-soc-fatal-hbm-ss3-7 0x1000000000000044 0
wait on a error event:
$ ./drm_ras WAIT_ON_EVENT --device=drm:/dev/dri/card1 waiting for error event error event received counter value 0
list all errors:
$ ./drm_ras LIST_ERRORS --device=drm:/dev/dri/card1 name config-id
error-gt0-correctable-guc 0x0000000000000001 error-gt0-correctable-slm 0x0000000000000003 error-gt0-correctable-eu-ic 0x0000000000000004 error-gt0-correctable-eu-grf 0x0000000000000005 error-gt0-fatal-guc 0x0000000000000009 error-gt0-fatal-slm 0x000000000000000d error-gt0-fatal-eu-grf 0x000000000000000f error-gt0-fatal-fpu 0x0000000000000010 error-gt0-fatal-tlb 0x0000000000000011 error-gt0-fatal-l3-fabric 0x0000000000000012 error-gt0-correctable-subslice 0x0000000000000013 error-gt0-correctable-l3bank 0x0000000000000014 error-gt0-fatal-subslice 0x0000000000000015 error-gt0-fatal-l3bank 0x0000000000000016 error-gt0-sgunit-correctable 0x0000000000000017 error-gt0-sgunit-nonfatal 0x0000000000000018 error-gt0-sgunit-fatal 0x0000000000000019 error-gt0-soc-fatal-psf-csc-0 0x000000000000001a error-gt0-soc-fatal-psf-csc-1 0x000000000000001b error-gt0-soc-fatal-psf-csc-2 0x000000000000001c error-gt0-soc-fatal-punit 0x000000000000001d error-gt0-soc-fatal-psf-0 0x000000000000001e error-gt0-soc-fatal-psf-1 0x000000000000001f error-gt0-soc-fatal-psf-2 0x0000000000000020 error-gt0-soc-fatal-cd0 0x0000000000000021 error-gt0-soc-fatal-cd0-mdfi 0x0000000000000022 error-gt0-soc-fatal-mdfi-east 0x0000000000000023 error-gt0-soc-fatal-mdfi-south 0x0000000000000024 error-gt0-soc-fatal-hbm-ss0-0 0x0000000000000025 error-gt0-soc-fatal-hbm-ss0-1 0x0000000000000026 error-gt0-soc-fatal-hbm-ss0-2 0x0000000000000027 error-gt0-soc-fatal-hbm-ss0-3 0x0000000000000028 error-gt0-soc-fatal-hbm-ss0-4 0x0000000000000029 error-gt0-soc-fatal-hbm-ss0-5 0x000000000000002a error-gt0-soc-fatal-hbm-ss0-6 0x000000000000002b error-gt0-soc-fatal-hbm-ss0-7 0x000000000000002c error-gt0-soc-fatal-hbm-ss1-0 0x000000000000002d error-gt0-soc-fatal-hbm-ss1-1 0x000000000000002e error-gt0-soc-fatal-hbm-ss1-2 0x000000000000002f error-gt0-soc-fatal-hbm-ss1-3 0x0000000000000030 error-gt0-soc-fatal-hbm-ss1-4 0x0000000000000031 error-gt0-soc-fatal-hbm-ss1-5 0x0000000000000032 error-gt0-soc-fatal-hbm-ss1-6 0x0000000000000033 error-gt0-soc-fatal-hbm-ss1-7 0x0000000000000034 error-gt0-soc-fatal-hbm-ss2-0 0x0000000000000035 error-gt0-soc-fatal-hbm-ss2-1 0x0000000000000036 error-gt0-soc-fatal-hbm-ss2-2 0x0000000000000037 error-gt0-soc-fatal-hbm-ss2-3 0x0000000000000038 error-gt0-soc-fatal-hbm-ss2-4 0x0000000000000039 error-gt0-soc-fatal-hbm-ss2-5 0x000000000000003a error-gt0-soc-fatal-hbm-ss2-6 0x000000000000003b error-gt0-soc-fatal-hbm-ss2-7 0x000000000000003c error-gt0-soc-fatal-hbm-ss3-0 0x000000000000003d error-gt0-soc-fatal-hbm-ss3-1 0x000000000000003e error-gt0-soc-fatal-hbm-ss3-2 0x000000000000003f error-gt0-soc-fatal-hbm-ss3-3 0x0000000000000040 error-gt0-soc-fatal-hbm-ss3-4 0x0000000000000041 error-gt0-soc-fatal-hbm-ss3-5 0x0000000000000042 error-gt0-soc-fatal-hbm-ss3-6 0x0000000000000043 error-gt0-soc-fatal-hbm-ss3-7 0x0000000000000044 error-gt0-gsc-correctable-sram-ecc 0x0000000000000045 error-gt0-gsc-nonfatal-mia-shutdown 0x0000000000000046 error-gt0-gsc-nonfatal-mia-int 0x0000000000000047 error-gt0-gsc-nonfatal-sram-ecc 0x0000000000000048 error-gt0-gsc-nonfatal-wdg-timeout 0x0000000000000049 error-gt0-gsc-nonfatal-rom-parity 0x000000000000004a error-gt0-gsc-nonfatal-ucode-parity 0x000000000000004b error-gt0-gsc-nonfatal-glitch-det 0x000000000000004c error-gt0-gsc-nonfatal-fuse-pull 0x000000000000004d error-gt0-gsc-nonfatal-fuse-crc-check 0x000000000000004e error-gt0-gsc-nonfatal-selfmbist 0x000000000000004f error-gt0-gsc-nonfatal-aon-parity 0x0000000000000050 error-gt1-correctable-guc 0x1000000000000001 error-gt1-correctable-slm 0x1000000000000003 error-gt1-correctable-eu-ic 0x1000000000000004 error-gt1-correctable-eu-grf 0x1000000000000005 error-gt1-fatal-guc 0x1000000000000009 error-gt1-fatal-slm 0x100000000000000d error-gt1-fatal-eu-grf 0x100000000000000f error-gt1-fatal-fpu 0x1000000000000010 error-gt1-fatal-tlb 0x1000000000000011 error-gt1-fatal-l3-fabric 0x1000000000000012 error-gt1-correctable-subslice 0x1000000000000013 error-gt1-correctable-l3bank 0x1000000000000014 error-gt1-fatal-subslice 0x1000000000000015 error-gt1-fatal-l3bank 0x1000000000000016 error-gt1-sgunit-correctable 0x1000000000000017 error-gt1-sgunit-nonfatal 0x1000000000000018 error-gt1-sgunit-fatal 0x1000000000000019 error-gt1-soc-fatal-psf-csc-0 0x100000000000001a error-gt1-soc-fatal-psf-csc-1 0x100000000000001b error-gt1-soc-fatal-psf-csc-2 0x100000000000001c error-gt1-soc-fatal-punit 0x100000000000001d error-gt1-soc-fatal-psf-0 0x100000000000001e error-gt1-soc-fatal-psf-1 0x100000000000001f error-gt1-soc-fatal-psf-2 0x1000000000000020 error-gt1-soc-fatal-cd0 0x1000000000000021 error-gt1-soc-fatal-cd0-mdfi 0x1000000000000022 error-gt1-soc-fatal-mdfi-east 0x1000000000000023 error-gt1-soc-fatal-mdfi-south 0x1000000000000024 error-gt1-soc-fatal-hbm-ss0-0 0x1000000000000025 error-gt1-soc-fatal-hbm-ss0-1 0x1000000000000026 error-gt1-soc-fatal-hbm-ss0-2 0x1000000000000027 error-gt1-soc-fatal-hbm-ss0-3 0x1000000000000028 error-gt1-soc-fatal-hbm-ss0-4 0x1000000000000029 error-gt1-soc-fatal-hbm-ss0-5 0x100000000000002a error-gt1-soc-fatal-hbm-ss0-6 0x100000000000002b error-gt1-soc-fatal-hbm-ss0-7 0x100000000000002c error-gt1-soc-fatal-hbm-ss1-0 0x100000000000002d error-gt1-soc-fatal-hbm-ss1-1 0x100000000000002e error-gt1-soc-fatal-hbm-ss1-2 0x100000000000002f error-gt1-soc-fatal-hbm-ss1-3 0x1000000000000030 error-gt1-soc-fatal-hbm-ss1-4 0x1000000000000031 error-gt1-soc-fatal-hbm-ss1-5 0x1000000000000032 error-gt1-soc-fatal-hbm-ss1-6 0x1000000000000033 error-gt1-soc-fatal-hbm-ss1-7 0x1000000000000034 error-gt1-soc-fatal-hbm-ss2-0 0x1000000000000035 error-gt1-soc-fatal-hbm-ss2-1 0x1000000000000036 error-gt1-soc-fatal-hbm-ss2-2 0x1000000000000037 error-gt1-soc-fatal-hbm-ss2-3 0x1000000000000038 error-gt1-soc-fatal-hbm-ss2-4 0x1000000000000039 error-gt1-soc-fatal-hbm-ss2-5 0x100000000000003a error-gt1-soc-fatal-hbm-ss2-6 0x100000000000003b error-gt1-soc-fatal-hbm-ss2-7 0x100000000000003c error-gt1-soc-fatal-hbm-ss3-0 0x100000000000003d error-gt1-soc-fatal-hbm-ss3-1 0x100000000000003e error-gt1-soc-fatal-hbm-ss3-2 0x100000000000003f error-gt1-soc-fatal-hbm-ss3-3 0x1000000000000040 error-gt1-soc-fatal-hbm-ss3-4 0x1000000000000041 error-gt1-soc-fatal-hbm-ss3-5 0x1000000000000042 error-gt1-soc-fatal-hbm-ss3-6 0x1000000000000043 error-gt1-soc-fatal-hbm-ss3-7 0x1000000000000044
Aravind Iddamsetty (1):
tools/RAS: A tool to read error counters
include/drm-uapi/drm_netlink.h | 66 ++++++ meson.build | 4 + tools/drm_ras.c | 403 +++++++++++++++++++++++++++++++++ tools/meson.build | 5 + 4 files changed, 478 insertions(+) create mode 100644 include/drm-uapi/drm_netlink.h create mode 100644 tools/drm_ras.c
Signature · 1 line
2.25.1
RFC v2 1/1 tools/RAS: A tool to read error counters
This tool demonstrates the use of netlink sockets to query and read the error counters on a hardware. It provides following commands LIST_ERRORS, READ_ONE, READ_ALL to read counters and WAIT_ON_EVENT to wait for occurrence on a particular event, presently hardcoded to wait on occurrence of correctable error event and read a error counter.
v2: update uapi header.
--- include/drm-uapi/drm_netlink.h | 66 ++++++ meson.build | 4 + tools/drm_ras.c | 403 +++++++++++++++++++++++++++++++++ tools/meson.build | 5 + 4 files changed, 478 insertions(+) create mode 100644 include/drm-uapi/drm_netlink.h create mode 100644 tools/drm_ras.c
include/drm-uapi/drm_netlink.h new file +66 -0
@@ -0,0 +1,66 @@ +/* +* Copyright 2023 Intel Corporation +* +* Permission is hereby granted, free of charge, to any person obtaining a +* copy of this software and associated documentation files (the "Software"), +* to deal in the Software without restriction, including without limitation +* the rights to use, copy, modify, merge, publish, distribute, sublicense, +* and/or sell copies of the Software, and to permit persons to whom the +* Software is furnished to do so, subject to the following conditions: +* +* The above copyright notice and this permission notice (including the next +* paragraph) shall be included in all copies or substantial portions of the +* Software. +* +* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +* VA LINUX SYSTEMS AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR +* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +* OTHER DEALINGS IN THE SOFTWARE. +*/ + +#ifndef _DRM_NETLINK_H_ +#define _DRM_NETLINK_H_ + +#define DRM_GENL_VERSION 1 +#define DRM_GENL_MCAST_GROUP_NAME_CORR_ERR "drm_corr_err" +#define DRM_GENL_MCAST_GROUP_NAME_UNCORR_ERR "drm_uncorr_err" + +#if defined(__cplusplus) +extern "C" { +#endif + +enum error_cmds { +DRM_CMD_UNSPEC , +/* command to list all errors names with config-id */ +DRM_RAS_CMD_QUERY , +/* command to get a counter for a specific error */ +DRM_RAS_CMD_READ_ONE , +/* command to get counters of all errors */ +DRM_RAS_CMD_READ_ALL , +DRM_RAS_CMD_ERROR_EVENT , + + __DRM_CMD_MAX, +DRM_CMD_MAX = __DRM_CMD_MAX -1 , +}; + +enum error_attr { +DRM_ATTR_UNSPEC , +DRM_ATTR_PAD =DRM_ATTR_UNSPEC , +DRM_RAS_ATTR_REQUEST ,/* NLA_U8 */ +DRM_RAS_ATTR_QUERY_REPLY ,/* NLA_NESTED */ +DRM_RAS_ATTR_ERROR_NAME ,/* NLA_NUL_STRING */ +DRM_RAS_ATTR_ERROR_ID ,/* NLA_U64 */ +DRM_RAS_ATTR_ERROR_VALUE ,/* NLA_U64 */ + + __DRM_ATTR_MAX, +DRM_ATTR_MAX = __DRM_ATTR_MAX -1 , +}; + +#if defined(__cplusplus) +} +#endif + +#endif
meson.build +4 -0
@@ -141,6 +141,10 @@ cairo = dependency('cairo', version : '>1.12.0', required : true) libudev = dependency('libudev', required : true) glib = dependency('glib-2.0', required : true) +libnl = dependency('libnl-3.0', required: false) +libnl_genl = dependency('libnl-genl-3.0', required: false) +libnl_cli = dependency('libnl-cli-3.0', required:false) + xmlrpc = dependency('xmlrpc', required : false) xmlrpc_util = dependency('xmlrpc_util', required : false) xmlrpc_client = dependency('xmlrpc_client', required : false)
tools/drm_ras.c new file +403 -0
403 lines not on this page · raw message
tools/meson.build +5 -0
@@ -107,5 +107,10 @@ if libudev.found() install : true) endif +executable('drm_ras', 'drm_ras.c', + dependencies : [tool_deps, libnl, libnl_cli, libnl_genl], + install_rpath : bindir_rpathdir, + install : true) + subdir('i915-perf') subdir('null_state_gen')
Signature · 1 line
2.25.1
Patchwork
CI[Intel-xe] ✗ CI.Patch_applied: failure for A tool to demonstrate use of netlink sockets to read RAS error counters (rev2)
In reply to Aravind Iddamsetty== Series Details ==
== Series Details ==
Series: A tool to demonstrate use of netlink sockets to read RAS error counters (rev2)
URL : https://patchwork.freedesktop.org/series/118437/
State : failure
== Summary ==
=== Applying kernel patches on branch 'drm-xe-next' with base: === Base commit: b9c9020fc drm/xe/pvc: Use fast copy engines as migrate engine on PVC === git am output follows ===
error: meson.build: does not exist in index .git/rebase-apply/patch:505: new blank line at EOF.
+
error: tools/meson.build: does not exist in index
hint: Use 'git am --show-current-patch' to see the failed patch
Applying: tools/RAS: A tool to read error counters
Patch failed at 0001 tools/RAS: A tool to read error counters
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
Patchwork
CI[igt-dev] ✗ Fi.CI.BUILD: failure for A tool to demonstrate use of netlink sockets to read RAS error counters (rev2)
In reply to Aravind Iddamsetty== Series Details ==
== Series Details ==
Series: A tool to demonstrate use of netlink sockets to read RAS error counters (rev2)
URL : https://patchwork.freedesktop.org/series/118438/
State : failure
== Summary ==
IGT patchset build failed on latest successful build f395b9c2b3f34de57d9639cf2d81b834bc68cd74 tests/kms_color: skip deep-color test for mst
Tail of build.log:
[736/1628] Compiling C object 'lib/76b5a35@@i915_perf@sha/meson-generated_.._i915_perf_registers_kblgt2.c.o'. [737/1628] Compiling C object 'tests/59830eb@@gem_stress@exe/i915_gem_stress.c.o'. [738/1628] Compiling C object 'runner/testdata/3f061af@@successtest@exe/successtest.c.o'. [739/1628] Compiling C object 'tools/i915-perf/d68c898@@i915-perf-reader@exe/i915_perf_reader.c.o'. [740/1628] Compiling C object 'tools/f9d35d4@@msm_dp_compliance@exe/igt_dp_compliance_hotplug.c.o'. [741/1628] Compiling C object 'runner/testdata/3f061af@@skippers@exe/skippers.c.o'. [742/1628] Compiling C object 'tools/f9d35d4@@msm_dp_compliance@exe/igt_compliance_utils.c.o'. [743/1628] Compiling C object 'runner/527aa9f@@igt_runner@exe/runner.c.o'.
[744/1628] Compiling C object 'runner/testdata/3f061af@@abort-fixture@exe/abort-fixture.c.o'. [745/1628] Compiling C object 'runner/testdata/3f061af@@abort-simple@exe/abort-simple.c.o'. [746/1628] Compiling C object 'tools/f9d35d4@@intel_l3_parity@exe/intel_l3_parity.c.o'. [747/1628] Compiling C object 'lib/76b5a35@@i915_perf@sha/meson-generated_.._i915_perf_registers_chv.c.o'. [748/1628] Compiling C object 'runner/testdata/3f061af@@abort-dynamic@exe/abort-dynamic.c.o'. [749/1628] Compiling C object 'lib/76b5a35@@i915_perf@sha/meson-generated_.._i915_perf_registers_bdw.c.o'. [750/1628] Compiling C object 'runner/testdata/3f061af@@dynamic@exe/dynamic.c.o'.
[751/1628] Compiling C object 'runner/testdata/3f061af@@abort@exe/abort.c.o'.
[752/1628] Compiling C object 'lib/76b5a35@@i915_perf@sha/meson-generated_.._i915_perf_registers_cflgt3.c.o'. [753/1628] Compiling C object 'tools/f9d35d4@@intel_residency@exe/intel_residency.c.o'. [754/1628] Compiling C object 'runner/527aa9f@@runner_json_test@exe/runner_json_tests.c.o'. [755/1628] Compiling C object 'tools/f9d35d4@@intel_error_decode@exe/intel_error_decode.c.o'. [756/1628] Compiling C object 'tools/f9d35d4@@msm_dp_compliance@exe/msm_dp_compliance.c.o'. [757/1628] Compiling C object 'runner/527aa9f@@igt_runner@sta/job_list.c.o'.
[758/1628] Compiling C object 'tools/f9d35d4@@intel_infoframes@exe/intel_infoframes.c.o'. [759/1628] Compiling C object 'tools/f9d35d4@@intel_dp_compliance@exe/intel_dp_compliance.c.o'. [760/1628] Compiling C object 'tests/59830eb@@i915_pm_rpm@exe/i915_i915_pm_rpm.c.o'. [761/1628] Compiling C object 'lib/76b5a35@@i915_perf@sha/meson-generated_.._i915_perf_metrics_hsw.c.o'. [762/1628] Compiling C object 'tools/i915-perf/d68c898@@i915-perf-recorder@exe/i915_perf_recorder.c.o'. [763/1628] Compiling C object 'tools/f9d35d4@@intel_reg@exe/intel_reg.c.o'.
[764/1628] Compiling C object 'runner/527aa9f@@igt_runner@sta/settings.c.o'.
[765/1628] Compiling C object 'tests/59830eb@@xe_vm@exe/xe_xe_vm.c.o'.
[766/1628] Compiling C object 'tools/f9d35d4@@intel_display_poller@exe/intel_display_poller.c.o'. [767/1628] Compiling C object 'lib/76b5a35@@i915_perf@sha/meson-generated_.._i915_perf_metrics_bdw.c.o'. [768/1628] Compiling C object 'tools/f9d35d4@@intel_reg@exe/intel_reg_decode.c.o'. [769/1628] Compiling C object 'lib/76b5a35@@i915_perf@sha/meson-generated_.._i915_perf_metrics_sklgt4.c.o'. [770/1628] Compiling C object 'tools/f9d35d4@@intel_watermark@exe/intel_watermark.c.o'. [771/1628] Compiling C object 'benchmarks/cb1d2fd@@gem_wsim@exe/gem_wsim.c.o'.
[772/1628] Compiling C object 'tools/f9d35d4@@intel_audio_dump@exe/intel_audio_dump.c.o'. [773/1628] Compiling C object 'tests/59830eb@@gem_exec_fence@exe/i915_gem_exec_fence.c.o'. [774/1628] Compiling C object 'tests/59830eb@@gem_concurrent_all@exe/i915_gem_concurrent_all.c.o'. [775/1628] Compiling C object 'tests/59830eb@@kms_frontbuffer_tracking@exe/i915_kms_frontbuffer_tracking.c.o'. [776/1628] Compiling C object 'runner/527aa9f@@igt_runner@sta/resultgen.c.o'.
[777/1628] Compiling C object 'tools/f9d35d4@@intel_vbt_decode@exe/intel_vbt_decode.c.o'. [778/1628] Compiling C object 'runner/527aa9f@@igt_runner@sta/executor.c.o'.
[779/1628] Compiling C object 'tests/59830eb@@perf_pmu@exe/i915_perf_pmu.c.o'.
[780/1628] Compiling C object 'tools/f9d35d4@@intel_gpu_top@exe/intel_gpu_top.c.o'. [781/1628] Compiling C object 'tests/59830eb@@perf@exe/i915_perf.c.o'.
[782/1628] Compiling C object 'tests/59830eb@@gem_exec_schedule@exe/i915_gem_exec_schedule.c.o'. [783/1628] Linking target lib/libigt.so.0.
[784/1628] Compiling C object 'lib/76b5a35@@i915_perf@sha/meson-generated_.._i915_perf_equations.c.o'.
ninja: build stopped: subcommand failed.
Patchwork
CI[igt-dev] ✗ GitLab.Pipeline: warning for A tool to demonstrate use of netlink sockets to read RAS error counters (rev2)
In reply to Aravind Iddamsetty== Series Details ==
== Series Details ==
Series: A tool to demonstrate use of netlink sockets to read RAS error counters (rev2)
URL : https://patchwork.freedesktop.org/series/118438/
State : warning
== Summary ==
Pipeline status: FAILED.
see https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/pipelines/970674 for the overview.
build:tests-debian-meson has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/48050591):
[1512/1633] Compiling C object 'tools/f9d35d4@@intel_reg@exe/intel_reg.c.o'.
[1513/1633] Compiling C object 'tools/f9d35d4@@intel_reg@exe/intel_reg_decode.c.o'.
ninja: build stopped: subcommand failed.
ninja: Entering directory `build'
[1/813] Generating version.h with a custom command.
[2/122] Linking target tools/intel_vbt_decode.
[3/122] Compiling C object 'tools/f9d35d4@@drm_ras@exe/drm_ras.c.o'.
FAILED: tools/f9d35d4@@drm_ras@exe/drm_ras.c.o
cc -Itools/f9d35d4@@drm_ras@exe -Itools -I../tools -I../include -I../include/drm-uapi -I../include/linux-uapi -Ilib -I../lib -I../lib/stubs/syscalls -I. -I../ -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/libdrm/nouveau -I/usr/include/x86_64-linux-gnu -I/usr/include/valgrind -I/usr/include/alsa -I/usr/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -O2 -g -D_GNU_SOURCE -include config.h -D_FORTIFY_SOURCE=2 -Wbad-function-cast -Wdeclaration-after-statement -Wformat=2 -Wimplicit-fallthrough=0 -Wlogical-op -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wuninitialized -Wunused -Wno-clobbered -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-pointer-arith -Wno-sign-compare -Wno-type-limits -Wno-unused-parameter -Wno-unused-result -Werror=address -Werror=array-bounds -Werror=implicit -Werror=init-self -Werror=int-to-pointer-cast -Werror=main -Werror=missing-braces -Werror=nonnull -Werror=pointer-to-int-cast -Werror=return-type -Werror=sequence-point -Werror=trigraphs -Werror=write-strings -fno-builtin-malloc -fno-builtin-calloc -pthread -MD -MQ 'tools/f9d35d4@@drm_ras@exe/drm_ras.c.o' -MF 'tools/f9d35d4@@drm_ras@exe/drm_ras.c.o.d' -o 'tools/f9d35d4@@drm_ras@exe/drm_ras.c.o' -c ../tools/drm_ras.c ../tools/drm_ras.c:11:10: fatal error: netlink/cli/utils.h: No such file or directory
#include <netlink/cli/utils.h>
^~~~~~~~~~~~~~~~~~~~~ compilation terminated.
ninja: build stopped: subcommand failed. section_end:1692972582:step_script section_start:1692972582:cleanup_file_variables Cleaning up project directory and file based variables section_end:1692972583:cleanup_file_variables
ERROR: Job failed: exit code 1
build:tests-debian-meson-arm64 has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/48050594):
ninja: build stopped: subcommand failed.
ninja: Entering directory `build'
[1/755] Generating version.h with a custom command.
[2/75] Linking target tools/intel_vbt_decode.
[3/75] Linking target tools/intel_reg.
[4/75] Linking target tools/intel_gpu_top.
[5/75] Compiling C object 'tools/f9d35d4@@drm_ras@exe/drm_ras.c.o'.
FAILED: tools/f9d35d4@@drm_ras@exe/drm_ras.c.o
/usr/bin/aarch64-linux-gnu-gcc -Itools/f9d35d4@@drm_ras@exe -Itools -I../tools -I../include -I../include/drm-uapi -I../include/linux-uapi -Ilib -I../lib -I../lib/stubs/syscalls -I. -I../ -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/libdrm/nouveau -I/usr/include/aarch64-linux-gnu -I/usr/include/valgrind -I/usr/include/alsa -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -O2 -g -D_GNU_SOURCE -include config.h -D_FORTIFY_SOURCE=2 -Wbad-function-cast -Wdeclaration-after-statement -Wformat=2 -Wimplicit-fallthrough=0 -Wlogical-op -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wuninitialized -Wunused -Wno-clobbered -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-pointer-arith -Wno-sign-compare -Wno-type-limits -Wno-unused-parameter -Wno-unused-result -Werror=address -Werror=array-bounds -Werror=implicit -Werror=init-self -Werror=int-to-pointer-cast -Werror=main -Werror=missing-braces -Werror=nonnull -Werror=pointer-to-int-cast -Werror=return-type -Werror=sequence-point -Werror=trigraphs -Werror=write-strings -fno-builtin-malloc -fno-builtin-calloc -pthread -MD -MQ 'tools/f9d35d4@@drm_ras@exe/drm_ras.c.o' -MF 'tools/f9d35d4@@drm_ras@exe/drm_ras.c.o.d' -o 'tools/f9d35d4@@drm_ras@exe/drm_ras.c.o' -c ../tools/drm_ras.c ../tools/drm_ras.c:11:10: fatal error: netlink/cli/utils.h: No such file or directory
#include <netlink/cli/utils.h>
^~~~~~~~~~~~~~~~~~~~~ compilation terminated.
ninja: build stopped: subcommand failed. section_end:1692972609:step_script section_start:1692972609:cleanup_file_variables Cleaning up project directory and file based variables section_end:1692972611:cleanup_file_variables
ERROR: Job failed: exit code 1
build:tests-debian-meson-armhf has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/48050593):
ninja: build stopped: subcommand failed.
ninja: Entering directory `build'
[1/755] Generating version.h with a custom command.
[2/73] Linking target tools/intel_gpu_top.
[3/73] Linking target tools/intel_reg.
[4/73] Linking target tools/i915-perf/i915-perf-configs.
[5/73] Compiling C object 'tools/f9d35d4@@drm_ras@exe/drm_ras.c.o'.
FAILED: tools/f9d35d4@@drm_ras@exe/drm_ras.c.o
/usr/bin/arm-linux-gnueabihf-gcc -Itools/f9d35d4@@drm_ras@exe -Itools -I../tools -I../include -I../include/drm-uapi -I../include/linux-uapi -Ilib -I../lib -I../lib/stubs/syscalls -I. -I../ -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/libdrm/nouveau -I/usr/include/arm-linux-gnueabihf -I/usr/include/valgrind -I/usr/include/alsa -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -O2 -g -D_GNU_SOURCE -include config.h -D_FORTIFY_SOURCE=2 -Wbad-function-cast -Wdeclaration-after-statement -Wformat=2 -Wimplicit-fallthrough=0 -Wlogical-op -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wuninitialized -Wunused -Wno-clobbered -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-pointer-arith -Wno-sign-compare -Wno-type-limits -Wno-unused-parameter -Wno-unused-result -Werror=address -Werror=array-bounds -Werror=implicit -Werror=init-self -Werror=int-to-pointer-cast -Werror=main -Werror=missing-braces -Werror=nonnull -Werror=pointer-to-int-cast -Werror=return-type -Werror=sequence-point -Werror=trigraphs -Werror=write-strings -fno-builtin-malloc -fno-builtin-calloc -pthread -MD -MQ 'tools/f9d35d4@@drm_ras@exe/drm_ras.c.o' -MF 'tools/f9d35d4@@drm_ras@exe/drm_ras.c.o.d' -o 'tools/f9d35d4@@drm_ras@exe/drm_ras.c.o' -c ../tools/drm_ras.c ../tools/drm_ras.c:11:10: fatal error: netlink/cli/utils.h: No such file or directory
#include <netlink/cli/utils.h>
^~~~~~~~~~~~~~~~~~~~~ compilation terminated.
ninja: build stopped: subcommand failed. section_end:1692972598:step_script section_start:1692972598:cleanup_file_variables Cleaning up project directory and file based variables section_end:1692972598:cleanup_file_variables
ERROR: Job failed: exit code 1
build:tests-debian-meson-mips has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/48050595):
ninja: build stopped: subcommand failed.
ninja: Entering directory `build'
[1/753] Generating version.h with a custom command.
[2/71] Linking target tools/intel_reg.
[3/71] Linking target tools/intel_gpu_top.
[4/71] Linking target tools/msm_dp_compliance.
[5/71] Compiling C object 'tools/f9d35d4@@drm_ras@exe/drm_ras.c.o'.
FAILED: tools/f9d35d4@@drm_ras@exe/drm_ras.c.o
/usr/bin/mips-linux-gnu-gcc -Itools/f9d35d4@@drm_ras@exe -Itools -I../tools -I../include -I../include/drm-uapi -I../include/linux-uapi -Ilib -I../lib -I../lib/stubs/syscalls -I. -I../ -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/mips-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/libdrm/nouveau -I/usr/include/mips-linux-gnu -I/usr/include/valgrind -I/usr/include/alsa -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -O2 -g -D_GNU_SOURCE -include config.h -D_FORTIFY_SOURCE=2 -Wbad-function-cast -Wdeclaration-after-statement -Wformat=2 -Wimplicit-fallthrough=0 -Wlogical-op -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wuninitialized -Wunused -Wno-clobbered -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-pointer-arith -Wno-sign-compare -Wno-type-limits -Wno-unused-parameter -Wno-unused-result -Werror=address -Werror=array-bounds -Werror=implicit -Werror=init-self -Werror=int-to-pointer-cast -Werror=main -Werror=missing-braces -Werror=nonnull -Werror=pointer-to-int-cast -Werror=return-type -Werror=sequence-point -Werror=trigraphs -Werror=write-strings -fno-builtin-malloc -fno-builtin-calloc -pthread -MD -MQ 'tools/f9d35d4@@drm_ras@exe/drm_ras.c.o' -MF 'tools/f9d35d4@@drm_ras@exe/drm_ras.c.o.d' -o 'tools/f9d35d4@@drm_ras@exe/drm_ras.c.o' -c ../tools/drm_ras.c ../tools/drm_ras.c:11:10: fatal error: netlink/cli/utils.h: No such file or directory
#include <netlink/cli/utils.h>
^~~~~~~~~~~~~~~~~~~~~ compilation terminated.
ninja: build stopped: subcommand failed. section_end:1692972614:step_script section_start:1692972614:cleanup_file_variables Cleaning up project directory and file based variables section_end:1692972615:cleanup_file_variables
ERROR: Job failed: exit code 1
build:tests-debian-minimal has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/48050592):
ninja: build stopped: subcommand failed.
ninja: Entering directory `build'
[1/115] Generating version.h with a custom command.
[2/22] Linking target lib/libi915_perf.so.1.5.
[3/22] Generating symbol file 'lib/76b5a35@@i915_perf@sha/libi915_perf.so.1.5.symbols'.
[4/22] Linking target tools/intel_gpu_top.
[5/22] Compiling C object 'tools/f9d35d4@@drm_ras@exe/drm_ras.c.o'.
FAILED: tools/f9d35d4@@drm_ras@exe/drm_ras.c.o
cc -Itools/f9d35d4@@drm_ras@exe -Itools -I../tools -I../include -I../include/drm-uapi -I../include/linux-uapi -Ilib -I../lib -I../lib/stubs/syscalls -I. -I../ -I../lib/stubs/libunwind -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -O2 -g -D_GNU_SOURCE -include config.h -D_FORTIFY_SOURCE=2 -Wbad-function-cast -Wdeclaration-after-statement -Wformat=2 -Wimplicit-fallthrough=0 -Wlogical-op -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wuninitialized -Wunused -Wno-clobbered -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-pointer-arith -Wno-sign-compare -Wno-type-limits -Wno-unused-parameter -Wno-unused-result -Werror=address -Werror=array-bounds -Werror=implicit -Werror=init-self -Werror=int-to-pointer-cast -Werror=main -Werror=missing-braces -Werror=nonnull -Werror=pointer-to-int-cast -Werror=return-type -Werror=sequence-point -Werror=trigraphs -Werror=write-strings -fno-builtin-malloc -fno-builtin-calloc -pthread -MD -MQ 'tools/f9d35d4@@drm_ras@exe/drm_ras.c.o' -MF 'tools/f9d35d4@@drm_ras@exe/drm_ras.c.o.d' -o 'tools/f9d35d4@@drm_ras@exe/drm_ras.c.o' -c ../tools/drm_ras.c ../tools/drm_ras.c:11:10: fatal error: netlink/cli/utils.h: No such file or directory
#include <netlink/cli/utils.h>
^~~~~~~~~~~~~~~~~~~~~ compilation terminated.
ninja: build stopped: subcommand failed. section_end:1692972548:step_script section_start:1692972548:cleanup_file_variables Cleaning up project directory and file based variables section_end:1692972549:cleanup_file_variables
ERROR: Job failed: exit code 1
build:tests-fedora has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/48050586):
ninja: build stopped: subcommand failed.
ninja: Entering directory `build'
[1/805] Generating version.h with a custom command.
[2/112] Linking target tools/intel_reg.
[3/112] Linking target tools/intel_gpu_top.
[4/112] Linking target tools/msm_dp_compliance.
[5/112] Compiling C object 'tools/f9d35d4@@drm_ras@exe/drm_ras.c.o'.
FAILED: tools/f9d35d4@@drm_ras@exe/drm_ras.c.o
cc -Itools/f9d35d4@@drm_ras@exe -Itools -I../tools -I../include -I../include/drm-uapi -I../include/linux-uapi -Ilib -I../lib -I../lib/stubs/syscalls -I. -I../ -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/libdrm/nouveau -I/usr/include/valgrind -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -O2 -g -D_GNU_SOURCE -include config.h -D_FORTIFY_SOURCE=2 -Wbad-function-cast -Wdeclaration-after-statement -Wformat=2 -Wimplicit-fallthrough=0 -Wlogical-op -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wuninitialized -Wunused -Wno-clobbered -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-pointer-arith -Wno-address-of-packed-member -Wno-sign-compare -Wno-type-limits -Wno-unused-parameter -Wno-unused-result -Werror=address -Werror=array-bounds -Werror=implicit -Werror=init-self -Werror=int-to-pointer-cast -Werror=main -Werror=missing-braces -Werror=nonnull -Werror=pointer-to-int-cast -Werror=return-type -Werror=sequence-point -Werror=trigraphs -Werror=write-strings -fno-builtin-malloc -fno-builtin-calloc -pthread -MD -MQ 'tools/f9d35d4@@drm_ras@exe/drm_ras.c.o' -MF 'tools/f9d35d4@@drm_ras@exe/drm_ras.c.o.d' -o 'tools/f9d35d4@@drm_ras@exe/drm_ras.c.o' -c ../tools/drm_ras.c ../tools/drm_ras.c:11:10: fatal error: netlink/cli/utils.h: No such file or directory
11 | #include <netlink/cli/utils.h>
| ^~~~~~~~~~~~~~~~~~~~~ compilation terminated.
ninja: build stopped: subcommand failed. section_end:1692972563:step_script section_start:1692972563:cleanup_file_variables Cleaning up project directory and file based variables section_end:1692972564:cleanup_file_variables
ERROR: Job failed: exit code 1
build:tests-fedora-clang has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/48050590):
[1525/1633] Compiling C object 'tools/f9d35d4@@intel_gpu_top@exe/intel_gpu_top.c.o'.
ninja: build stopped: subcommand failed.
ninja: Entering directory `build'
[1/804] Generating version.h with a custom command.
[2/110] Linking target tools/intel_gpu_top.
[3/110] Linking target tools/i915-perf/i915-perf-recorder.
[4/110] Compiling C object 'tools/f9d35d4@@drm_ras@exe/drm_ras.c.o'.
FAILED: tools/f9d35d4@@drm_ras@exe/drm_ras.c.o
clang -Itools/f9d35d4@@drm_ras@exe -Itools -I../tools -I../include -I../include/drm-uapi -I../include/linux-uapi -Ilib -I../lib -I../lib/stubs/syscalls -I. -I../ -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/libdrm/nouveau -I/usr/include/valgrind -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -O2 -g -D_GNU_SOURCE -include config.h -D_FORTIFY_SOURCE=2 -Wbad-function-cast -Wdeclaration-after-statement -Wformat=2 -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wuninitialized -Wunused -Wno-missing-field-initializers -Wno-pointer-arith -Wno-address-of-packed-member -Wno-sign-compare -Wno-type-limits -Wno-unused-parameter -Wno-unused-result -Werror=address -Werror=array-bounds -Werror=implicit -Werror=init-self -Werror=int-to-pointer-cast -Werror=main -Werror=missing-braces -Werror=nonnull -Werror=pointer-to-int-cast -Werror=return-type -Werror=sequence-point -Werror=trigraphs -Werror=write-strings -fno-builtin-malloc -fno-builtin-calloc -pthread -MD -MQ 'tools/f9d35d4@@drm_ras@exe/drm_ras.c.o' -MF 'tools/f9d35d4@@drm_ras@exe/drm_ras.c.o.d' -o 'tools/f9d35d4@@drm_ras@exe/drm_ras.c.o' -c ../tools/drm_ras.c ../tools/drm_ras.c:11:10: fatal error: 'netlink/cli/utils.h' file not found
#include <netlink/cli/utils.h>
^~~~~~~~~~~~~~~~~~~~~ 1 error generated.
ninja: build stopped: subcommand failed. section_end:1692972607:step_script section_start:1692972607:cleanup_file_variables Cleaning up project directory and file based variables section_end:1692972608:cleanup_file_variables
ERROR: Job failed: exit code 1
build:tests-fedora-no-libdrm-nouveau has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/48050589):
ninja: Entering directory `build'
[1/725] Generating version.h with a custom command.
[2/74] Linking target tools/intel_reg.
[3/74] Linking target tools/intel_gpu_top.
[4/74] Linking target tools/msm_dp_compliance.
[5/74] Linking target tools/i915-perf/i915-perf-configs.
[6/74] Compiling C object 'tools/f9d35d4@@drm_ras@exe/drm_ras.c.o'.
FAILED: tools/f9d35d4@@drm_ras@exe/drm_ras.c.o
cc -Itools/f9d35d4@@drm_ras@exe -Itools -I../tools -I../include -I../include/drm-uapi -I../include/linux-uapi -Ilib -I../lib -I../lib/stubs/syscalls -I. -I../ -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/valgrind -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -O2 -g -D_GNU_SOURCE -include config.h -D_FORTIFY_SOURCE=2 -Wbad-function-cast -Wdeclaration-after-statement -Wformat=2 -Wimplicit-fallthrough=0 -Wlogical-op -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wuninitialized -Wunused -Wno-clobbered -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-pointer-arith -Wno-address-of-packed-member -Wno-sign-compare -Wno-type-limits -Wno-unused-parameter -Wno-unused-result -Werror=address -Werror=array-bounds -Werror=implicit -Werror=init-self -Werror=int-to-pointer-cast -Werror=main -Werror=missing-braces -Werror=nonnull -Werror=pointer-to-int-cast -Werror=return-type -Werror=sequence-point -Werror=trigraphs -Werror=write-strings -fno-builtin-malloc -fno-builtin-calloc -pthread -MD -MQ 'tools/f9d35d4@@drm_ras@exe/drm_ras.c.o' -MF 'tools/f9d35d4@@drm_ras@exe/drm_ras.c.o.d' -o 'tools/f9d35d4@@drm_ras@exe/drm_ras.c.o' -c ../tools/drm_ras.c ../tools/drm_ras.c:11:10: fatal error: netlink/cli/utils.h: No such file or directory
11 | #include <netlink/cli/utils.h>
| ^~~~~~~~~~~~~~~~~~~~~ compilation terminated.
ninja: build stopped: subcommand failed. section_end:1692972578:step_script section_start:1692972578:cleanup_file_variables Cleaning up project directory and file based variables section_end:1692972580:cleanup_file_variables
ERROR: Job failed: exit code 1
build:tests-fedora-no-libunwind has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/48050587):
[1520/1633] Compiling C object 'tools/f9d35d4@@intel_gpu_top@exe/intel_gpu_top.c.o'.
ninja: build stopped: subcommand failed.
ninja: Entering directory `build'
[1/808] Generating version.h with a custom command.
[2/115] Linking target tools/intel_reg.
[3/115] Linking target tools/intel_gpu_top.
[4/115] Compiling C object 'tools/f9d35d4@@drm_ras@exe/drm_ras.c.o'.
FAILED: tools/f9d35d4@@drm_ras@exe/drm_ras.c.o
cc -Itools/f9d35d4@@drm_ras@exe -Itools -I../tools -I../include -I../include/drm-uapi -I../include/linux-uapi -Ilib -I../lib -I../lib/stubs/syscalls -I. -I../ -I../lib/stubs/libunwind -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/libdrm/nouveau -I/usr/include/valgrind -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -O2 -g -D_GNU_SOURCE -include config.h -D_FORTIFY_SOURCE=2 -Wbad-function-cast -Wdeclaration-after-statement -Wformat=2 -Wimplicit-fallthrough=0 -Wlogical-op -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wuninitialized -Wunused -Wno-clobbered -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-pointer-arith -Wno-address-of-packed-member -Wno-sign-compare -Wno-type-limits -Wno-unused-parameter -Wno-unused-result -Werror=address -Werror=array-bounds -Werror=implicit -Werror=init-self -Werror=int-to-pointer-cast -Werror=main -Werror=missing-braces -Werror=nonnull -Werror=pointer-to-int-cast -Werror=return-type -Werror=sequence-point -Werror=trigraphs -Werror=write-strings -fno-builtin-malloc -fno-builtin-calloc -pthread -MD -MQ 'tools/f9d35d4@@drm_ras@exe/drm_ras.c.o' -MF 'tools/f9d35d4@@drm_ras@exe/drm_ras.c.o.d' -o 'tools/f9d35d4@@drm_ras@exe/drm_ras.c.o' -c ../tools/drm_ras.c ../tools/drm_ras.c:11:10: fatal error: netlink/cli/utils.h: No such file or directory
11 | #include <netlink/cli/utils.h>
| ^~~~~~~~~~~~~~~~~~~~~ compilation terminated.
ninja: build stopped: subcommand failed. section_end:1692972578:step_script section_start:1692972578:cleanup_file_variables Cleaning up project directory and file based variables section_end:1692972580:cleanup_file_variables
ERROR: Job failed: exit code 1
build:tests-fedora-oldest-meson has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/48050588):
[1525/1633] Compiling C object 'tools/tools@@intel_gpu_top@exe/intel_gpu_top.c.o'.
ninja: build stopped: subcommand failed.
ninja: Entering directory `build'
[1/803] Generating version.h with a custom command.
[2/110] Linking target tools/intel_gpu_top.
[3/110] Linking target tools/intel_reg.
[4/110] Compiling C object 'tools/tools@@drm_ras@exe/drm_ras.c.o'.
FAILED: tools/tools@@drm_ras@exe/drm_ras.c.o
cc -Itools/tools@@drm_ras@exe -Itools -I../tools -I../include -I../include/drm-uapi -I../include/linux-uapi -Ilib -I../lib -I../lib/stubs/syscalls -I. -I../ -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/libdrm/nouveau -I/usr/include/valgrind -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -O2 -g -D_GNU_SOURCE -include config.h -D_FORTIFY_SOURCE=2 -Wbad-function-cast -Wdeclaration-after-statement -Wformat=2 -Wimplicit-fallthrough=0 -Wlogical-op -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wuninitialized -Wunused -Wno-clobbered -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-pointer-arith -Wno-address-of-packed-member -Wno-sign-compare -Wno-type-limits -Wno-unused-parameter -Wno-unused-result -Werror=address -Werror=array-bounds -Werror=implicit -Werror=init-self -Werror=int-to-pointer-cast -Werror=main -Werror=missing-braces -Werror=nonnull -Werror=pointer-to-int-cast -Werror=return-type -Werror=sequence-point -Werror=trigraphs -Werror=write-strings -fno-builtin-malloc -fno-builtin-calloc -pthread -MD -MQ 'tools/tools@@drm_ras@exe/drm_ras.c.o' -MF 'tools/tools@@drm_ras@exe/drm_ras.c.o.d' -o 'tools/tools@@drm_ras@exe/drm_ras.c.o' -c ../tools/drm_ras.c ../tools/drm_ras.c:11:10: fatal error: netlink/cli/utils.h: No such file or directory
11 | #include <netlink/cli/utils.h>
| ^~~~~~~~~~~~~~~~~~~~~ compilation terminated.
ninja: build stopped: subcommand failed. section_end:1692972579:step_script section_start:1692972579:cleanup_file_variables Cleaning up project directory and file based variables section_end:1692972580:cleanup_file_variables
ERROR: Job failed: exit code 1
== Logs ==
For more details see: https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/pipelines/970674