intel-xe.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v15 00/17] Add OA functionality to Xe
@ 2024-05-27  1:43 Ashutosh Dixit
  2024-05-27  1:43 ` [PATCH 01/17] drm/xe/perf/uapi: "Perf" layer to support multiple perf counter stream types Ashutosh Dixit
                   ` (25 more replies)
  0 siblings, 26 replies; 47+ messages in thread
From: Ashutosh Dixit @ 2024-05-27  1:43 UTC (permalink / raw)
  To: intel-xe

Please see cover letter for v7 here:
https://patchwork.freedesktop.org/series/121084/#rev7

For changes in later versions see changelog below.

This series is also available at:
        https://gitlab.freedesktop.org/adixit/kernel/-/tree/xe-oa

The series has been tested against this IGT series:
        https://gitlab.freedesktop.org/adixit/igt-gpu-tools/-/tree/xe-oa
	or,
	https://patchwork.freedesktop.org/series/130033/

Opensource consumers using uapi in this series:

gpuvis:
	https://github.com/mikesart/gpuvis/pull/86

mesa:
	https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29312

Test-with: 20240524031439.106332-1-ashutosh.dixit@intel.com

v2: Fix build
v3: Rebase, due to s/xe_engine/xe_exec_queue/
v4: Re-run for testing
v5: Address review comments, new patches 11 through 17
v6: New patches 18 through 21
v7: Patches are completely redone and don't start with i915 version of the uapi
v8: See https://patchwork.freedesktop.org/patch/575214/?series=128993&rev=1
v9: See https://patchwork.freedesktop.org/patch/577441/?series=128993&rev=2
v10: See https://patchwork.freedesktop.org/patch/577943/?series=128993&rev=3
v11: See https://patchwork.freedesktop.org/patch/581239/?series=130705&rev=1
v12: Add last two new patches to enable Xe2+ overrun mode
v13: Update last two patches after code review completion
v14: https://patchwork.freedesktop.org/patch/595447/?series=134028&rev=1
v15: https://patchwork.freedesktop.org/patch/595549/?series=134056&rev=1

Ashutosh Dixit (17):
  drm/xe/perf/uapi: "Perf" layer to support multiple perf counter stream
    types
  drm/xe/perf/uapi: Add perf_stream_paranoid sysctl
  drm/xe/oa/uapi: Add OA data formats
  drm/xe/oa/uapi: Initialize OA units
  drm/xe/oa/uapi: Add/remove OA config perf ops
  drm/xe/oa/uapi: Define and parse OA stream properties
  drm/xe/oa: OA stream initialization (OAG)
  drm/xe/oa/uapi: Expose OA stream fd
  drm/xe/oa/uapi: Read file_operation
  drm/xe/oa: Add OAR support
  drm/xe/oa: Add OAC support
  drm/xe/oa/uapi: Query OA unit properties
  drm/xe/oa/uapi: OA buffer mmap
  drm/xe/oa: Add MMIO trigger support
  drm/xe/oa: Override GuC RC with OA on PVC
  drm/xe/oa: Changes to OA_TAKEN
  drm/xe/oa: Enable Xe2+ overrun mode

 drivers/gpu/drm/xe/Makefile                   |    2 +
 .../gpu/drm/xe/instructions/xe_mi_commands.h  |    3 +
 drivers/gpu/drm/xe/regs/xe_engine_regs.h      |    2 +
 drivers/gpu/drm/xe/regs/xe_gt_regs.h          |    3 +
 drivers/gpu/drm/xe/regs/xe_oa_regs.h          |  103 +
 drivers/gpu/drm/xe/xe_device.c                |   19 +-
 drivers/gpu/drm/xe/xe_device_types.h          |    4 +
 drivers/gpu/drm/xe/xe_gt_types.h              |    4 +
 drivers/gpu/drm/xe/xe_guc_pc.c                |   57 +
 drivers/gpu/drm/xe/xe_guc_pc.h                |    3 +
 drivers/gpu/drm/xe/xe_hw_engine_types.h       |    2 +
 drivers/gpu/drm/xe/xe_lrc.c                   |   11 +-
 drivers/gpu/drm/xe/xe_lrc.h                   |    1 +
 drivers/gpu/drm/xe/xe_module.c                |    6 +
 drivers/gpu/drm/xe/xe_oa.c                    | 2370 +++++++++++++++++
 drivers/gpu/drm/xe/xe_oa.h                    |   27 +
 drivers/gpu/drm/xe/xe_oa_types.h              |  232 ++
 drivers/gpu/drm/xe/xe_perf.c                  |   67 +
 drivers/gpu/drm/xe/xe_perf.h                  |   20 +
 drivers/gpu/drm/xe/xe_query.c                 |   77 +
 drivers/gpu/drm/xe/xe_reg_whitelist.c         |   24 +-
 include/uapi/drm/xe_drm.h                     |  291 ++
 22 files changed, 3321 insertions(+), 7 deletions(-)
 create mode 100644 drivers/gpu/drm/xe/regs/xe_oa_regs.h
 create mode 100644 drivers/gpu/drm/xe/xe_oa.c
 create mode 100644 drivers/gpu/drm/xe/xe_oa.h
 create mode 100644 drivers/gpu/drm/xe/xe_oa_types.h
 create mode 100644 drivers/gpu/drm/xe/xe_perf.c
 create mode 100644 drivers/gpu/drm/xe/xe_perf.h

-- 
2.41.0


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

* [PATCH 01/17] drm/xe/perf/uapi: "Perf" layer to support multiple perf counter stream types
  2024-05-27  1:43 [PATCH v15 00/17] Add OA functionality to Xe Ashutosh Dixit
@ 2024-05-27  1:43 ` Ashutosh Dixit
  2024-05-27  1:43 ` [PATCH 02/17] drm/xe/perf/uapi: Add perf_stream_paranoid sysctl Ashutosh Dixit
                   ` (24 subsequent siblings)
  25 siblings, 0 replies; 47+ messages in thread
From: Ashutosh Dixit @ 2024-05-27  1:43 UTC (permalink / raw)
  To: intel-xe

In Xe, the plan is to support multiple types of perf counter streams (OA is
only one type of these streams). Rather than introduce NxM ioctls for
these (N perf streams with M ioctl's per perf stream), we decide to
multiplex these (N different stream types and the M ops for each of these
stream types) through a single PERF ioctl. This multiplexing is the purpose
of the PERF layer.

In addition to PERF DRM ioctl's, another set of ioctl's on the PERF fd are
defined. These are expected to be common to different PERF stream types and
therefore defined at the PERF layer itself.

v2: Add param_size to 'struct drm_xe_perf_param' (Umesh)
v3: Rename 'enum drm_xe_perf_ops' to
    'enum drm_xe_perf_ioctls' (Guy Zadicario)
    Add DRM_ prefix to ioctl names to indicate uapi names
v4: Add 'enum drm_xe_perf_op' previously missed out (Guy Zadicario)
v5: Squash the ops and PERF layer patches into a single patch (Umesh)
    Remove param_size from struct 'drm_xe_perf_param' (Umesh)
v6: Add DRM_XE_PERF_IOCTL_STATUS
v7: Add DRM_XE_PERF_IOCTL_INFO

Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Acked-by: Guy Zadicario <gzadicario@habana.ai>
---
 drivers/gpu/drm/xe/Makefile    |  1 +
 drivers/gpu/drm/xe/xe_device.c |  2 ++
 drivers/gpu/drm/xe/xe_perf.c   | 21 ++++++++++++
 drivers/gpu/drm/xe/xe_perf.h   | 16 +++++++++
 include/uapi/drm/xe_drm.h      | 63 ++++++++++++++++++++++++++++++++++
 5 files changed, 103 insertions(+)
 create mode 100644 drivers/gpu/drm/xe/xe_perf.c
 create mode 100644 drivers/gpu/drm/xe/xe_perf.h

diff --git a/drivers/gpu/drm/xe/Makefile b/drivers/gpu/drm/xe/Makefile
index ae07f3d6a068..dd220439fe87 100644
--- a/drivers/gpu/drm/xe/Makefile
+++ b/drivers/gpu/drm/xe/Makefile
@@ -118,6 +118,7 @@ xe-y += xe_bb.o \
 	xe_pat.o \
 	xe_pci.o \
 	xe_pcode.o \
+	xe_perf.o \
 	xe_pm.o \
 	xe_preempt_fence.o \
 	xe_pt.o \
diff --git a/drivers/gpu/drm/xe/xe_device.c b/drivers/gpu/drm/xe/xe_device.c
index 2eba1e32c633..50cb8723f54a 100644
--- a/drivers/gpu/drm/xe/xe_device.c
+++ b/drivers/gpu/drm/xe/xe_device.c
@@ -41,6 +41,7 @@
 #include "xe_module.h"
 #include "xe_pat.h"
 #include "xe_pcode.h"
+#include "xe_perf.h"
 #include "xe_pm.h"
 #include "xe_query.h"
 #include "xe_sriov.h"
@@ -133,6 +134,7 @@ static const struct drm_ioctl_desc xe_ioctls[] = {
 			  DRM_RENDER_ALLOW),
 	DRM_IOCTL_DEF_DRV(XE_WAIT_USER_FENCE, xe_wait_user_fence_ioctl,
 			  DRM_RENDER_ALLOW),
+	DRM_IOCTL_DEF_DRV(XE_PERF, xe_perf_ioctl, DRM_RENDER_ALLOW),
 };
 
 static long xe_drm_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
diff --git a/drivers/gpu/drm/xe/xe_perf.c b/drivers/gpu/drm/xe/xe_perf.c
new file mode 100644
index 000000000000..a130076b59aa
--- /dev/null
+++ b/drivers/gpu/drm/xe/xe_perf.c
@@ -0,0 +1,21 @@
+// SPDX-License-Identifier: MIT
+/*
+ * Copyright © 2023 Intel Corporation
+ */
+
+#include <linux/errno.h>
+
+#include "xe_perf.h"
+
+int xe_perf_ioctl(struct drm_device *dev, void *data, struct drm_file *file)
+{
+	struct drm_xe_perf_param *arg = data;
+
+	if (arg->extensions)
+		return -EINVAL;
+
+	switch (arg->perf_type) {
+	default:
+		return -EINVAL;
+	}
+}
diff --git a/drivers/gpu/drm/xe/xe_perf.h b/drivers/gpu/drm/xe/xe_perf.h
new file mode 100644
index 000000000000..254cc7cf49fe
--- /dev/null
+++ b/drivers/gpu/drm/xe/xe_perf.h
@@ -0,0 +1,16 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2023 Intel Corporation
+ */
+
+#ifndef _XE_PERF_H_
+#define _XE_PERF_H_
+
+#include <drm/xe_drm.h>
+
+struct drm_device;
+struct drm_file;
+
+int xe_perf_ioctl(struct drm_device *dev, void *data, struct drm_file *file);
+
+#endif
diff --git a/include/uapi/drm/xe_drm.h b/include/uapi/drm/xe_drm.h
index d7b0903c22b2..03df64600aa0 100644
--- a/include/uapi/drm/xe_drm.h
+++ b/include/uapi/drm/xe_drm.h
@@ -100,6 +100,8 @@ extern "C" {
 #define DRM_XE_EXEC_QUEUE_GET_PROPERTY	0x08
 #define DRM_XE_EXEC			0x09
 #define DRM_XE_WAIT_USER_FENCE		0x0a
+#define DRM_XE_PERF			0x0b
+
 /* Must be kept compact -- no holes */
 
 #define DRM_IOCTL_XE_DEVICE_QUERY		DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_DEVICE_QUERY, struct drm_xe_device_query)
@@ -113,6 +115,7 @@ extern "C" {
 #define DRM_IOCTL_XE_EXEC_QUEUE_GET_PROPERTY	DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_EXEC_QUEUE_GET_PROPERTY, struct drm_xe_exec_queue_get_property)
 #define DRM_IOCTL_XE_EXEC			DRM_IOW(DRM_COMMAND_BASE + DRM_XE_EXEC, struct drm_xe_exec)
 #define DRM_IOCTL_XE_WAIT_USER_FENCE		DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_WAIT_USER_FENCE, struct drm_xe_wait_user_fence)
+#define DRM_IOCTL_XE_PERF			DRM_IOW(DRM_COMMAND_BASE + DRM_XE_PERF, struct drm_xe_perf_param)
 
 /**
  * DOC: Xe IOCTL Extensions
@@ -1370,6 +1373,66 @@ struct drm_xe_wait_user_fence {
 	__u64 reserved[2];
 };
 
+/** enum drm_xe_perf_type - Perf stream types */
+enum drm_xe_perf_type {
+	DRM_XE_PERF_TYPE_MAX,
+};
+
+/**
+ * enum drm_xe_perf_op - Perf stream ops
+ */
+enum drm_xe_perf_op {
+	/** @DRM_XE_PERF_OP_STREAM_OPEN: Open a perf counter stream */
+	DRM_XE_PERF_OP_STREAM_OPEN,
+
+	/** @DRM_XE_PERF_OP_ADD_CONFIG: Add perf stream config */
+	DRM_XE_PERF_OP_ADD_CONFIG,
+
+	/** @DRM_XE_PERF_OP_REMOVE_CONFIG: Remove perf stream config */
+	DRM_XE_PERF_OP_REMOVE_CONFIG,
+};
+
+/**
+ * struct drm_xe_perf_param - Input of &DRM_XE_PERF
+ *
+ * The perf layer enables multiplexing perf counter streams of multiple
+ * types. The actual params for a particular stream operation are supplied
+ * via the @param pointer (use __copy_from_user to get these params).
+ */
+struct drm_xe_perf_param {
+	/** @extensions: Pointer to the first extension struct, if any */
+	__u64 extensions;
+	/** @perf_type: Perf stream type, of enum @drm_xe_perf_type */
+	__u64 perf_type;
+	/** @perf_op: Perf op, of enum @drm_xe_perf_op */
+	__u64 perf_op;
+	/** @param: Pointer to actual stream params */
+	__u64 param;
+};
+
+/**
+ * enum drm_xe_perf_ioctls - Perf fd ioctl's
+ *
+ * Information exchanged between userspace and kernel for perf fd ioctl's
+ * is stream type specific
+ */
+enum drm_xe_perf_ioctls {
+	/** @DRM_XE_PERF_IOCTL_ENABLE: Enable data capture for a stream */
+	DRM_XE_PERF_IOCTL_ENABLE = _IO('i', 0x0),
+
+	/** @DRM_XE_PERF_IOCTL_DISABLE: Disable data capture for a stream */
+	DRM_XE_PERF_IOCTL_DISABLE = _IO('i', 0x1),
+
+	/** @DRM_XE_PERF_IOCTL_CONFIG: Change stream configuration */
+	DRM_XE_PERF_IOCTL_CONFIG = _IO('i', 0x2),
+
+	/** @DRM_XE_PERF_IOCTL_STATUS: Return stream status */
+	DRM_XE_PERF_IOCTL_STATUS = _IO('i', 0x3),
+
+	/** @DRM_XE_PERF_IOCTL_INFO: Return stream info */
+	DRM_XE_PERF_IOCTL_INFO = _IO('i', 0x4),
+};
+
 #if defined(__cplusplus)
 }
 #endif
-- 
2.41.0


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

* [PATCH 02/17] drm/xe/perf/uapi: Add perf_stream_paranoid sysctl
  2024-05-27  1:43 [PATCH v15 00/17] Add OA functionality to Xe Ashutosh Dixit
  2024-05-27  1:43 ` [PATCH 01/17] drm/xe/perf/uapi: "Perf" layer to support multiple perf counter stream types Ashutosh Dixit
@ 2024-05-27  1:43 ` Ashutosh Dixit
  2024-05-27  1:43 ` [PATCH 03/17] drm/xe/oa/uapi: Add OA data formats Ashutosh Dixit
                   ` (23 subsequent siblings)
  25 siblings, 0 replies; 47+ messages in thread
From: Ashutosh Dixit @ 2024-05-27  1:43 UTC (permalink / raw)
  To: intel-xe

Normally only superuser/root can access perf counter data. However,
superuser can set perf_stream_paranoid sysctl to 0 to allow non-privileged
users to also access perf data. perf_stream_paranoid is introduced at the
perf layer to allow different perf stream types to share this access
mechanism.

Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
---
 drivers/gpu/drm/xe/xe_module.c |  5 +++++
 drivers/gpu/drm/xe/xe_perf.c   | 28 ++++++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_perf.h   |  4 ++++
 3 files changed, 37 insertions(+)

diff --git a/drivers/gpu/drm/xe/xe_module.c b/drivers/gpu/drm/xe/xe_module.c
index 3edeb30d5ccb..893858a2eea0 100644
--- a/drivers/gpu/drm/xe/xe_module.c
+++ b/drivers/gpu/drm/xe/xe_module.c
@@ -11,6 +11,7 @@
 #include "xe_drv.h"
 #include "xe_hw_fence.h"
 #include "xe_pci.h"
+#include "xe_perf.h"
 #include "xe_sched_job.h"
 
 struct xe_modparam xe_modparam = {
@@ -78,6 +79,10 @@ static const struct init_funcs init_funcs[] = {
 		.init = xe_register_pci_driver,
 		.exit = xe_unregister_pci_driver,
 	},
+	{
+		.init = xe_perf_sysctl_register,
+		.exit = xe_perf_sysctl_unregister,
+	},
 };
 
 static int __init xe_init(void)
diff --git a/drivers/gpu/drm/xe/xe_perf.c b/drivers/gpu/drm/xe/xe_perf.c
index a130076b59aa..37538e98dcc0 100644
--- a/drivers/gpu/drm/xe/xe_perf.c
+++ b/drivers/gpu/drm/xe/xe_perf.c
@@ -4,9 +4,13 @@
  */
 
 #include <linux/errno.h>
+#include <linux/sysctl.h>
 
 #include "xe_perf.h"
 
+u32 xe_perf_stream_paranoid = true;
+static struct ctl_table_header *sysctl_header;
+
 int xe_perf_ioctl(struct drm_device *dev, void *data, struct drm_file *file)
 {
 	struct drm_xe_perf_param *arg = data;
@@ -19,3 +23,27 @@ int xe_perf_ioctl(struct drm_device *dev, void *data, struct drm_file *file)
 		return -EINVAL;
 	}
 }
+
+static struct ctl_table perf_ctl_table[] = {
+	{
+	 .procname = "perf_stream_paranoid",
+	 .data = &xe_perf_stream_paranoid,
+	 .maxlen = sizeof(xe_perf_stream_paranoid),
+	 .mode = 0644,
+	 .proc_handler = proc_dointvec_minmax,
+	 .extra1 = SYSCTL_ZERO,
+	 .extra2 = SYSCTL_ONE,
+	 },
+	{}
+};
+
+int xe_perf_sysctl_register(void)
+{
+	sysctl_header = register_sysctl("dev/xe", perf_ctl_table);
+	return 0;
+}
+
+void xe_perf_sysctl_unregister(void)
+{
+	unregister_sysctl_table(sysctl_header);
+}
diff --git a/drivers/gpu/drm/xe/xe_perf.h b/drivers/gpu/drm/xe/xe_perf.h
index 254cc7cf49fe..1ff0a07ebab3 100644
--- a/drivers/gpu/drm/xe/xe_perf.h
+++ b/drivers/gpu/drm/xe/xe_perf.h
@@ -11,6 +11,10 @@
 struct drm_device;
 struct drm_file;
 
+extern u32 xe_perf_stream_paranoid;
+
 int xe_perf_ioctl(struct drm_device *dev, void *data, struct drm_file *file);
+int xe_perf_sysctl_register(void);
+void xe_perf_sysctl_unregister(void);
 
 #endif
-- 
2.41.0


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

* [PATCH 03/17] drm/xe/oa/uapi: Add OA data formats
  2024-05-27  1:43 [PATCH v15 00/17] Add OA functionality to Xe Ashutosh Dixit
  2024-05-27  1:43 ` [PATCH 01/17] drm/xe/perf/uapi: "Perf" layer to support multiple perf counter stream types Ashutosh Dixit
  2024-05-27  1:43 ` [PATCH 02/17] drm/xe/perf/uapi: Add perf_stream_paranoid sysctl Ashutosh Dixit
@ 2024-05-27  1:43 ` Ashutosh Dixit
  2024-06-20 17:28   ` Matt Roper
  2024-05-27  1:43 ` [PATCH 04/17] drm/xe/oa/uapi: Initialize OA units Ashutosh Dixit
                   ` (22 subsequent siblings)
  25 siblings, 1 reply; 47+ messages in thread
From: Ashutosh Dixit @ 2024-05-27  1:43 UTC (permalink / raw)
  To: intel-xe

Add and initialize supported OA data formats for various platforms
(including Xe2). User can request OA data in any supported format.

Bspec: 52198, 60942, 61101

v2: Start 'xe_oa_format_name' enum from 0 (Umesh)
    Fix error rewind with OA (Umesh)
v3: Use graphics versions rather than absolute platform names

Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
---
 drivers/gpu/drm/xe/Makefile          |   1 +
 drivers/gpu/drm/xe/xe_device.c       |  13 +++-
 drivers/gpu/drm/xe/xe_device_types.h |   4 ++
 drivers/gpu/drm/xe/xe_module.c       |   1 +
 drivers/gpu/drm/xe/xe_oa.c           | 101 +++++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_oa.h           |  16 +++++
 drivers/gpu/drm/xe/xe_oa_types.h     |  76 ++++++++++++++++++++
 include/uapi/drm/xe_drm.h            |  10 +++
 8 files changed, 221 insertions(+), 1 deletion(-)
 create mode 100644 drivers/gpu/drm/xe/xe_oa.c
 create mode 100644 drivers/gpu/drm/xe/xe_oa.h
 create mode 100644 drivers/gpu/drm/xe/xe_oa_types.h

diff --git a/drivers/gpu/drm/xe/Makefile b/drivers/gpu/drm/xe/Makefile
index dd220439fe87..79f45ffc003e 100644
--- a/drivers/gpu/drm/xe/Makefile
+++ b/drivers/gpu/drm/xe/Makefile
@@ -115,6 +115,7 @@ xe-y += xe_bb.o \
 	xe_mmio.o \
 	xe_mocs.o \
 	xe_module.o \
+	xe_oa.o \
 	xe_pat.o \
 	xe_pci.o \
 	xe_pcode.o \
diff --git a/drivers/gpu/drm/xe/xe_device.c b/drivers/gpu/drm/xe/xe_device.c
index 50cb8723f54a..d677c20980e1 100644
--- a/drivers/gpu/drm/xe/xe_device.c
+++ b/drivers/gpu/drm/xe/xe_device.c
@@ -39,6 +39,7 @@
 #include "xe_memirq.h"
 #include "xe_mmio.h"
 #include "xe_module.h"
+#include "xe_oa.h"
 #include "xe_pat.h"
 #include "xe_pcode.h"
 #include "xe_perf.h"
@@ -636,10 +637,14 @@ int xe_device_probe(struct xe_device *xe)
 
 	xe_heci_gsc_init(xe);
 
-	err = xe_display_init(xe);
+	err = xe_oa_init(xe);
 	if (err)
 		goto err_irq_shutdown;
 
+	err = xe_display_init(xe);
+	if (err)
+		goto err_oa_fini;
+
 	err = drm_dev_register(&xe->drm, 0);
 	if (err)
 		goto err_fini_display;
@@ -654,6 +659,10 @@ int xe_device_probe(struct xe_device *xe)
 
 err_fini_display:
 	xe_display_driver_remove(xe);
+
+err_oa_fini:
+	xe_oa_fini(xe);
+
 err_irq_shutdown:
 	xe_irq_shutdown(xe);
 err:
@@ -675,6 +684,8 @@ void xe_device_remove(struct xe_device *xe)
 
 	xe_display_fini(xe);
 
+	xe_oa_fini(xe);
+
 	xe_heci_gsc_fini(xe);
 
 	xe_irq_shutdown(xe);
diff --git a/drivers/gpu/drm/xe/xe_device_types.h b/drivers/gpu/drm/xe/xe_device_types.h
index 03bedc33b21a..9099aed495c4 100644
--- a/drivers/gpu/drm/xe/xe_device_types.h
+++ b/drivers/gpu/drm/xe/xe_device_types.h
@@ -17,6 +17,7 @@
 #include "xe_gt_types.h"
 #include "xe_lmtt_types.h"
 #include "xe_memirq_types.h"
+#include "xe_oa.h"
 #include "xe_platform_types.h"
 #include "xe_pt_types.h"
 #include "xe_sriov_types.h"
@@ -457,6 +458,9 @@ struct xe_device {
 	/** @heci_gsc: graphics security controller */
 	struct xe_heci_gsc heci_gsc;
 
+	/** @oa: oa perf counter subsystem */
+	struct xe_oa oa;
+
 	/** @needs_flr_on_fini: requests function-reset on fini */
 	bool needs_flr_on_fini;
 
diff --git a/drivers/gpu/drm/xe/xe_module.c b/drivers/gpu/drm/xe/xe_module.c
index 893858a2eea0..4e9f31f11920 100644
--- a/drivers/gpu/drm/xe/xe_module.c
+++ b/drivers/gpu/drm/xe/xe_module.c
@@ -10,6 +10,7 @@
 
 #include "xe_drv.h"
 #include "xe_hw_fence.h"
+#include "xe_oa.h"
 #include "xe_pci.h"
 #include "xe_perf.h"
 #include "xe_sched_job.h"
diff --git a/drivers/gpu/drm/xe/xe_oa.c b/drivers/gpu/drm/xe/xe_oa.c
new file mode 100644
index 000000000000..3349e645cb72
--- /dev/null
+++ b/drivers/gpu/drm/xe/xe_oa.c
@@ -0,0 +1,101 @@
+// SPDX-License-Identifier: MIT
+/*
+ * Copyright © 2023 Intel Corporation
+ */
+
+#include <drm/xe_drm.h>
+
+#include "xe_assert.h"
+#include "xe_device.h"
+#include "xe_macros.h"
+#include "xe_oa.h"
+
+#define DRM_FMT(x) DRM_XE_OA_FMT_TYPE_##x
+
+static const struct xe_oa_format oa_formats[] = {
+	[XE_OA_FORMAT_C4_B8]			= { 7, 64,  DRM_FMT(OAG) },
+	[XE_OA_FORMAT_A12]			= { 0, 64,  DRM_FMT(OAG) },
+	[XE_OA_FORMAT_A12_B8_C8]		= { 2, 128, DRM_FMT(OAG) },
+	[XE_OA_FORMAT_A32u40_A4u32_B8_C8]	= { 5, 256, DRM_FMT(OAG) },
+	[XE_OAR_FORMAT_A32u40_A4u32_B8_C8]	= { 5, 256, DRM_FMT(OAR) },
+	[XE_OA_FORMAT_A24u40_A14u32_B8_C8]	= { 5, 256, DRM_FMT(OAG) },
+	[XE_OAC_FORMAT_A24u64_B8_C8]		= { 1, 320, DRM_FMT(OAC), HDR_64_BIT },
+	[XE_OAC_FORMAT_A22u32_R2u32_B8_C8]	= { 2, 192, DRM_FMT(OAC), HDR_64_BIT },
+	[XE_OAM_FORMAT_MPEC8u64_B8_C8]		= { 1, 192, DRM_FMT(OAM_MPEC), HDR_64_BIT },
+	[XE_OAM_FORMAT_MPEC8u32_B8_C8]		= { 2, 128, DRM_FMT(OAM_MPEC), HDR_64_BIT },
+	[XE_OA_FORMAT_PEC64u64]			= { 1, 576, DRM_FMT(PEC), HDR_64_BIT, 1, 0 },
+	[XE_OA_FORMAT_PEC64u64_B8_C8]		= { 1, 640, DRM_FMT(PEC), HDR_64_BIT, 1, 1 },
+	[XE_OA_FORMAT_PEC64u32]			= { 1, 320, DRM_FMT(PEC), HDR_64_BIT },
+	[XE_OA_FORMAT_PEC32u64_G1]		= { 5, 320, DRM_FMT(PEC), HDR_64_BIT, 1, 0 },
+	[XE_OA_FORMAT_PEC32u32_G1]		= { 5, 192, DRM_FMT(PEC), HDR_64_BIT },
+	[XE_OA_FORMAT_PEC32u64_G2]		= { 6, 320, DRM_FMT(PEC), HDR_64_BIT, 1, 0 },
+	[XE_OA_FORMAT_PEC32u32_G2]		= { 6, 192, DRM_FMT(PEC), HDR_64_BIT },
+	[XE_OA_FORMAT_PEC36u64_G1_32_G2_4]	= { 3, 320, DRM_FMT(PEC), HDR_64_BIT, 1, 0 },
+	[XE_OA_FORMAT_PEC36u64_G1_4_G2_32]	= { 4, 320, DRM_FMT(PEC), HDR_64_BIT, 1, 0 },
+};
+
+static void oa_format_add(struct xe_oa *oa, enum xe_oa_format_name format)
+{
+	__set_bit(format, oa->format_mask);
+}
+
+static void xe_oa_init_supported_formats(struct xe_oa *oa)
+{
+	if (GRAPHICS_VER(oa->xe) >= 20) {
+		/* Xe2+ */
+		oa_format_add(oa, XE_OAM_FORMAT_MPEC8u64_B8_C8);
+		oa_format_add(oa, XE_OAM_FORMAT_MPEC8u32_B8_C8);
+		oa_format_add(oa, XE_OA_FORMAT_PEC64u64);
+		oa_format_add(oa, XE_OA_FORMAT_PEC64u64_B8_C8);
+		oa_format_add(oa, XE_OA_FORMAT_PEC64u32);
+		oa_format_add(oa, XE_OA_FORMAT_PEC32u64_G1);
+		oa_format_add(oa, XE_OA_FORMAT_PEC32u32_G1);
+		oa_format_add(oa, XE_OA_FORMAT_PEC32u64_G2);
+		oa_format_add(oa, XE_OA_FORMAT_PEC32u32_G2);
+		oa_format_add(oa, XE_OA_FORMAT_PEC36u64_G1_32_G2_4);
+		oa_format_add(oa, XE_OA_FORMAT_PEC36u64_G1_4_G2_32);
+	} else if (GRAPHICS_VERx100(oa->xe) >= 1270) {
+		/* XE_METEORLAKE */
+		oa_format_add(oa, XE_OAR_FORMAT_A32u40_A4u32_B8_C8);
+		oa_format_add(oa, XE_OA_FORMAT_A24u40_A14u32_B8_C8);
+		oa_format_add(oa, XE_OAC_FORMAT_A24u64_B8_C8);
+		oa_format_add(oa, XE_OAC_FORMAT_A22u32_R2u32_B8_C8);
+		oa_format_add(oa, XE_OAM_FORMAT_MPEC8u64_B8_C8);
+		oa_format_add(oa, XE_OAM_FORMAT_MPEC8u32_B8_C8);
+	} else if (GRAPHICS_VERx100(oa->xe) >= 1255) {
+		/* XE_DG2, XE_PVC */
+		oa_format_add(oa, XE_OAR_FORMAT_A32u40_A4u32_B8_C8);
+		oa_format_add(oa, XE_OA_FORMAT_A24u40_A14u32_B8_C8);
+		oa_format_add(oa, XE_OAC_FORMAT_A24u64_B8_C8);
+		oa_format_add(oa, XE_OAC_FORMAT_A22u32_R2u32_B8_C8);
+	} else {
+		/* Gen12+ */
+		xe_assert(oa->xe, GRAPHICS_VER(oa->xe) >= 12);
+		oa_format_add(oa, XE_OA_FORMAT_A12);
+		oa_format_add(oa, XE_OA_FORMAT_A12_B8_C8);
+		oa_format_add(oa, XE_OA_FORMAT_A32u40_A4u32_B8_C8);
+		oa_format_add(oa, XE_OA_FORMAT_C4_B8);
+	}
+}
+
+int xe_oa_init(struct xe_device *xe)
+{
+	struct xe_oa *oa = &xe->oa;
+
+	/* Support OA only with GuC submission and Gen12+ */
+	if (XE_WARN_ON(!xe_device_uc_enabled(xe)) || XE_WARN_ON(GRAPHICS_VER(xe) < 12))
+		return 0;
+
+	oa->xe = xe;
+	oa->oa_formats = oa_formats;
+
+	xe_oa_init_supported_formats(oa);
+	return 0;
+}
+
+void xe_oa_fini(struct xe_device *xe)
+{
+	struct xe_oa *oa = &xe->oa;
+
+	oa->xe = NULL;
+}
diff --git a/drivers/gpu/drm/xe/xe_oa.h b/drivers/gpu/drm/xe/xe_oa.h
new file mode 100644
index 000000000000..a2f301e2be57
--- /dev/null
+++ b/drivers/gpu/drm/xe/xe_oa.h
@@ -0,0 +1,16 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2023 Intel Corporation
+ */
+
+#ifndef _XE_OA_H_
+#define _XE_OA_H_
+
+#include "xe_oa_types.h"
+
+struct xe_device;
+
+int xe_oa_init(struct xe_device *xe);
+void xe_oa_fini(struct xe_device *xe);
+
+#endif
diff --git a/drivers/gpu/drm/xe/xe_oa_types.h b/drivers/gpu/drm/xe/xe_oa_types.h
new file mode 100644
index 000000000000..1e339090c90d
--- /dev/null
+++ b/drivers/gpu/drm/xe/xe_oa_types.h
@@ -0,0 +1,76 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2023 Intel Corporation
+ */
+
+#ifndef _XE_OA_TYPES_H_
+#define _XE_OA_TYPES_H_
+
+#include <linux/math.h>
+#include <linux/types.h>
+
+enum xe_oa_report_header {
+	HDR_32_BIT = 0,
+	HDR_64_BIT,
+};
+
+enum xe_oa_format_name {
+	XE_OA_FORMAT_C4_B8,
+
+	/* Gen8+ */
+	XE_OA_FORMAT_A12,
+	XE_OA_FORMAT_A12_B8_C8,
+	XE_OA_FORMAT_A32u40_A4u32_B8_C8,
+
+	/* DG2 */
+	XE_OAR_FORMAT_A32u40_A4u32_B8_C8,
+	XE_OA_FORMAT_A24u40_A14u32_B8_C8,
+
+	/* DG2/MTL OAC */
+	XE_OAC_FORMAT_A24u64_B8_C8,
+	XE_OAC_FORMAT_A22u32_R2u32_B8_C8,
+
+	/* MTL OAM */
+	XE_OAM_FORMAT_MPEC8u64_B8_C8,
+	XE_OAM_FORMAT_MPEC8u32_B8_C8,
+
+	/* Xe2+ */
+	XE_OA_FORMAT_PEC64u64,
+	XE_OA_FORMAT_PEC64u64_B8_C8,
+	XE_OA_FORMAT_PEC64u32,
+	XE_OA_FORMAT_PEC32u64_G1,
+	XE_OA_FORMAT_PEC32u32_G1,
+	XE_OA_FORMAT_PEC32u64_G2,
+	XE_OA_FORMAT_PEC32u32_G2,
+	XE_OA_FORMAT_PEC36u64_G1_32_G2_4,
+	XE_OA_FORMAT_PEC36u64_G1_4_G2_32,
+
+	XE_OA_FORMAT_MAX,
+};
+
+/** struct xe_oa_format - Format fields for supported OA formats */
+struct xe_oa_format {
+	u32 counter_select;
+	int size;
+	int type;
+	enum xe_oa_report_header header;
+	u16 counter_size;
+	u16 bc_report;
+};
+
+/**
+ * struct xe_oa - OA device level information
+ */
+struct xe_oa {
+	/** @xe: back pointer to xe device */
+	struct xe_device *xe;
+
+	/** @oa_formats: tracks all OA formats across platforms */
+	const struct xe_oa_format *oa_formats;
+
+#define FORMAT_MASK_SIZE DIV_ROUND_UP(XE_OA_FORMAT_MAX - 1, BITS_PER_LONG)
+
+	/** @format_mask: tracks valid OA formats for a platform */
+	unsigned long format_mask[FORMAT_MASK_SIZE];
+};
+#endif
diff --git a/include/uapi/drm/xe_drm.h b/include/uapi/drm/xe_drm.h
index 03df64600aa0..bb87bf0c96f9 100644
--- a/include/uapi/drm/xe_drm.h
+++ b/include/uapi/drm/xe_drm.h
@@ -1433,6 +1433,16 @@ enum drm_xe_perf_ioctls {
 	DRM_XE_PERF_IOCTL_INFO = _IO('i', 0x4),
 };
 
+/** enum drm_xe_oa_format_type - OA format types */
+enum drm_xe_oa_format_type {
+	DRM_XE_OA_FMT_TYPE_OAG,
+	DRM_XE_OA_FMT_TYPE_OAR,
+	DRM_XE_OA_FMT_TYPE_OAM,
+	DRM_XE_OA_FMT_TYPE_OAC,
+	DRM_XE_OA_FMT_TYPE_OAM_MPEC,
+	DRM_XE_OA_FMT_TYPE_PEC,
+};
+
 #if defined(__cplusplus)
 }
 #endif
-- 
2.41.0


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

* [PATCH 04/17] drm/xe/oa/uapi: Initialize OA units
  2024-05-27  1:43 [PATCH v15 00/17] Add OA functionality to Xe Ashutosh Dixit
                   ` (2 preceding siblings ...)
  2024-05-27  1:43 ` [PATCH 03/17] drm/xe/oa/uapi: Add OA data formats Ashutosh Dixit
@ 2024-05-27  1:43 ` Ashutosh Dixit
  2024-05-27  1:43 ` [PATCH 05/17] drm/xe/oa/uapi: Add/remove OA config perf ops Ashutosh Dixit
                   ` (21 subsequent siblings)
  25 siblings, 0 replies; 47+ messages in thread
From: Ashutosh Dixit @ 2024-05-27  1:43 UTC (permalink / raw)
  To: intel-xe

Initialize OA unit data struct's for each gt during device probe. Also
assign OA units for hardware engines.

v2: Remove XE_OA_UNIT_OAG/XE_OA_UNIT_OAM_SAMEDIA_0 enum (Umesh)
    Change mtl_oa_base to 0x13000 (Umesh)

Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
---
 drivers/gpu/drm/xe/regs/xe_oa_regs.h    |  95 ++++++++++++++
 drivers/gpu/drm/xe/xe_gt_types.h        |   4 +
 drivers/gpu/drm/xe/xe_hw_engine_types.h |   2 +
 drivers/gpu/drm/xe/xe_oa.c              | 162 ++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_oa_types.h        |  54 ++++++++
 include/uapi/drm/xe_drm.h               |  12 ++
 6 files changed, 329 insertions(+)
 create mode 100644 drivers/gpu/drm/xe/regs/xe_oa_regs.h

diff --git a/drivers/gpu/drm/xe/regs/xe_oa_regs.h b/drivers/gpu/drm/xe/regs/xe_oa_regs.h
new file mode 100644
index 000000000000..f9a60b79fa53
--- /dev/null
+++ b/drivers/gpu/drm/xe/regs/xe_oa_regs.h
@@ -0,0 +1,95 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2023 Intel Corporation
+ */
+
+#ifndef __XE_OA_REGS__
+#define __XE_OA_REGS__
+
+#define REG_EQUAL(reg, xe_reg) ((reg) == (xe_reg.addr))
+#define REG_EQUAL_MCR(reg, xe_reg) ((reg) == (xe_reg.__reg.addr))
+
+#define RPM_CONFIG1			XE_REG(0xd04)
+#define   GT_NOA_ENABLE			REG_BIT(9)
+
+#define EU_PERF_CNTL0			XE_REG(0xe458)
+#define EU_PERF_CNTL4			XE_REG(0xe45c)
+#define EU_PERF_CNTL1			XE_REG(0xe558)
+#define EU_PERF_CNTL5			XE_REG(0xe55c)
+#define EU_PERF_CNTL2			XE_REG(0xe658)
+#define EU_PERF_CNTL6			XE_REG(0xe65c)
+#define EU_PERF_CNTL3			XE_REG(0xe758)
+
+#define OA_TLB_INV_CR			XE_REG(0xceec)
+
+/* OAR unit */
+#define OAR_OACONTROL			XE_REG(0x2960)
+#define  OAR_OACONTROL_COUNTER_SEL_MASK	REG_GENMASK(3, 1)
+#define  OAR_OACONTROL_COUNTER_ENABLE	REG_BIT(0)
+
+#define OACTXCONTROL(base) XE_REG((base) + 0x360)
+#define OAR_OASTATUS			XE_REG(0x2968)
+#define  OA_COUNTER_RESUME		REG_BIT(0)
+
+/* OAG unit */
+#define OAG_OAGLBCTXCTRL		XE_REG(0x2b28)
+#define  OAG_OAGLBCTXCTRL_TIMER_PERIOD_MASK	REG_GENMASK(7, 2)
+#define  OAG_OAGLBCTXCTRL_TIMER_ENABLE		REG_BIT(1)
+#define  OAG_OAGLBCTXCTRL_COUNTER_RESUME	REG_BIT(0)
+
+#define OAG_OAHEADPTR				XE_REG(0xdb00)
+#define  OAG_OAHEADPTR_MASK			REG_GENMASK(31, 6)
+#define OAG_OATAILPTR				XE_REG(0xdb04)
+#define  OAG_OATAILPTR_MASK			REG_GENMASK(31, 6)
+
+#define OAG_OABUFFER		XE_REG(0xdb08)
+#define  OABUFFER_SIZE_MASK	REG_GENMASK(5, 3)
+#define  OABUFFER_SIZE_128K	REG_FIELD_PREP(OABUFFER_SIZE_MASK, 0)
+#define  OABUFFER_SIZE_256K	REG_FIELD_PREP(OABUFFER_SIZE_MASK, 1)
+#define  OABUFFER_SIZE_512K	REG_FIELD_PREP(OABUFFER_SIZE_MASK, 2)
+#define  OABUFFER_SIZE_1M	REG_FIELD_PREP(OABUFFER_SIZE_MASK, 3)
+#define  OABUFFER_SIZE_2M	REG_FIELD_PREP(OABUFFER_SIZE_MASK, 4)
+#define  OABUFFER_SIZE_4M	REG_FIELD_PREP(OABUFFER_SIZE_MASK, 5)
+#define  OABUFFER_SIZE_8M	REG_FIELD_PREP(OABUFFER_SIZE_MASK, 6)
+#define  OABUFFER_SIZE_16M	REG_FIELD_PREP(OABUFFER_SIZE_MASK, 7)
+#define  OAG_OABUFFER_MEMORY_SELECT		REG_BIT(0) /* 0: PPGTT, 1: GGTT */
+
+#define OAG_OACONTROL				XE_REG(0xdaf4)
+#define  OAG_OACONTROL_OA_CCS_SELECT_MASK	REG_GENMASK(18, 16)
+#define  OAG_OACONTROL_OA_COUNTER_SEL_MASK	REG_GENMASK(4, 2)
+#define  OAG_OACONTROL_OA_COUNTER_ENABLE	REG_BIT(0)
+/* Common to all OA units */
+#define  OA_OACONTROL_REPORT_BC_MASK		REG_GENMASK(9, 9)
+#define  OA_OACONTROL_COUNTER_SIZE_MASK		REG_GENMASK(8, 8)
+
+#define OAG_OA_DEBUG XE_REG(0xdaf8, XE_REG_OPTION_MASKED)
+#define  OAG_OA_DEBUG_INCLUDE_CLK_RATIO			REG_BIT(6)
+#define  OAG_OA_DEBUG_DISABLE_CLK_RATIO_REPORTS		REG_BIT(5)
+#define  OAG_OA_DEBUG_DISABLE_CTX_SWITCH_REPORTS	REG_BIT(1)
+
+#define OAG_OASTATUS			XE_REG(0xdafc)
+#define  OASTATUS_MMIO_TRG_Q_FULL	REG_BIT(6)
+#define  OASTATUS_COUNTER_OVERFLOW	REG_BIT(2)
+#define  OASTATUS_BUFFER_OVERFLOW	REG_BIT(1)
+#define  OASTATUS_REPORT_LOST		REG_BIT(0)
+/* OAM unit */
+#define OAM_HEAD_POINTER_OFFSET			(0x1a0)
+#define OAM_TAIL_POINTER_OFFSET			(0x1a4)
+#define OAM_BUFFER_OFFSET			(0x1a8)
+#define OAM_CONTEXT_CONTROL_OFFSET		(0x1bc)
+#define OAM_CONTROL_OFFSET			(0x194)
+#define  OAM_CONTROL_COUNTER_SEL_MASK		REG_GENMASK(3, 1)
+#define OAM_DEBUG_OFFSET			(0x198)
+#define OAM_STATUS_OFFSET			(0x19c)
+#define OAM_MMIO_TRG_OFFSET			(0x1d0)
+
+#define OAM_HEAD_POINTER(base)			XE_REG((base) + OAM_HEAD_POINTER_OFFSET)
+#define OAM_TAIL_POINTER(base)			XE_REG((base) + OAM_TAIL_POINTER_OFFSET)
+#define OAM_BUFFER(base)			XE_REG((base) + OAM_BUFFER_OFFSET)
+#define OAM_CONTEXT_CONTROL(base)		XE_REG((base) + OAM_CONTEXT_CONTROL_OFFSET)
+#define OAM_CONTROL(base)			XE_REG((base) + OAM_CONTROL_OFFSET)
+#define OAM_DEBUG(base)				XE_REG((base) + OAM_DEBUG_OFFSET)
+#define OAM_STATUS(base)			XE_REG((base) + OAM_STATUS_OFFSET)
+#define OAM_MMIO_TRG(base)			XE_REG((base) + OAM_MMIO_TRG_OFFSET)
+
+#endif /* __XE_OA_REGS__ */
diff --git a/drivers/gpu/drm/xe/xe_gt_types.h b/drivers/gpu/drm/xe/xe_gt_types.h
index 10a9a9529377..24bb95de920f 100644
--- a/drivers/gpu/drm/xe/xe_gt_types.h
+++ b/drivers/gpu/drm/xe/xe_gt_types.h
@@ -12,6 +12,7 @@
 #include "xe_gt_sriov_vf_types.h"
 #include "xe_hw_engine_types.h"
 #include "xe_hw_fence_types.h"
+#include "xe_oa.h"
 #include "xe_reg_sr_types.h"
 #include "xe_sa_types.h"
 #include "xe_uc_types.h"
@@ -387,6 +388,9 @@ struct xe_gt {
 		 */
 		u8 instances_per_class[XE_ENGINE_CLASS_MAX];
 	} user_engines;
+
+	/** @oa: oa perf counter subsystem per gt info */
+	struct xe_oa_gt oa;
 };
 
 #endif
diff --git a/drivers/gpu/drm/xe/xe_hw_engine_types.h b/drivers/gpu/drm/xe/xe_hw_engine_types.h
index b2f64b92a636..41028fa064f8 100644
--- a/drivers/gpu/drm/xe/xe_hw_engine_types.h
+++ b/drivers/gpu/drm/xe/xe_hw_engine_types.h
@@ -148,6 +148,8 @@ struct xe_hw_engine {
 	enum xe_hw_engine_id engine_id;
 	/** @eclass: pointer to per hw engine class interface */
 	struct xe_hw_engine_class_intf *eclass;
+	/** @oa_unit: oa unit for this hw engine */
+	struct xe_oa_unit *oa_unit;
 };
 
 /**
diff --git a/drivers/gpu/drm/xe/xe_oa.c b/drivers/gpu/drm/xe/xe_oa.c
index 3349e645cb72..7237c67728ec 100644
--- a/drivers/gpu/drm/xe/xe_oa.c
+++ b/drivers/gpu/drm/xe/xe_oa.c
@@ -5,11 +5,16 @@
 
 #include <drm/xe_drm.h>
 
+#include "regs/xe_oa_regs.h"
 #include "xe_assert.h"
 #include "xe_device.h"
+#include "xe_gt.h"
 #include "xe_macros.h"
+#include "xe_mmio.h"
 #include "xe_oa.h"
 
+#define XE_OA_UNIT_INVALID U32_MAX
+
 #define DRM_FMT(x) DRM_XE_OA_FMT_TYPE_##x
 
 static const struct xe_oa_format oa_formats[] = {
@@ -34,6 +39,141 @@ static const struct xe_oa_format oa_formats[] = {
 	[XE_OA_FORMAT_PEC36u64_G1_4_G2_32]	= { 4, 320, DRM_FMT(PEC), HDR_64_BIT, 1, 0 },
 };
 
+static u32 num_oa_units_per_gt(struct xe_gt *gt)
+{
+	return 1;
+}
+
+static u32 __hwe_oam_unit(struct xe_hw_engine *hwe)
+{
+	if (GRAPHICS_VERx100(gt_to_xe(hwe->gt)) >= 1270) {
+		/*
+		 * There's 1 SAMEDIA gt and 1 OAM per SAMEDIA gt. All media slices
+		 * within the gt use the same OAM. All MTL/LNL SKUs list 1 SA MEDIA
+		 */
+		drm_WARN_ON(&gt_to_xe(hwe->gt)->drm,
+			    hwe->gt->info.type != XE_GT_TYPE_MEDIA);
+
+		return 0;
+	}
+
+	return XE_OA_UNIT_INVALID;
+}
+
+static u32 __hwe_oa_unit(struct xe_hw_engine *hwe)
+{
+	switch (hwe->class) {
+	case XE_ENGINE_CLASS_RENDER:
+	case XE_ENGINE_CLASS_COMPUTE:
+		return 0;
+
+	case XE_ENGINE_CLASS_VIDEO_DECODE:
+	case XE_ENGINE_CLASS_VIDEO_ENHANCE:
+		return __hwe_oam_unit(hwe);
+
+	default:
+		return XE_OA_UNIT_INVALID;
+	}
+}
+
+static struct xe_oa_regs __oam_regs(u32 base)
+{
+	return (struct xe_oa_regs) {
+		base,
+		OAM_HEAD_POINTER(base),
+		OAM_TAIL_POINTER(base),
+		OAM_BUFFER(base),
+		OAM_CONTEXT_CONTROL(base),
+		OAM_CONTROL(base),
+		OAM_DEBUG(base),
+		OAM_STATUS(base),
+		OAM_CONTROL_COUNTER_SEL_MASK,
+	};
+}
+
+static struct xe_oa_regs __oag_regs(void)
+{
+	return (struct xe_oa_regs) {
+		0,
+		OAG_OAHEADPTR,
+		OAG_OATAILPTR,
+		OAG_OABUFFER,
+		OAG_OAGLBCTXCTRL,
+		OAG_OACONTROL,
+		OAG_OA_DEBUG,
+		OAG_OASTATUS,
+		OAG_OACONTROL_OA_COUNTER_SEL_MASK,
+	};
+}
+
+static void __xe_oa_init_oa_units(struct xe_gt *gt)
+{
+	const u32 mtl_oa_base[] = { 0x13000 };
+	int i, num_units = gt->oa.num_oa_units;
+
+	for (i = 0; i < num_units; i++) {
+		struct xe_oa_unit *u = &gt->oa.oa_unit[i];
+
+		if (gt->info.type != XE_GT_TYPE_MEDIA) {
+			u->regs = __oag_regs();
+			u->type = DRM_XE_OA_UNIT_TYPE_OAG;
+		} else if (GRAPHICS_VERx100(gt_to_xe(gt)) >= 1270) {
+			u->regs = __oam_regs(mtl_oa_base[i]);
+			u->type = DRM_XE_OA_UNIT_TYPE_OAM;
+		}
+
+		/* Set oa_unit_ids now to ensure ids remain contiguous */
+		u->oa_unit_id = gt_to_xe(gt)->oa.oa_unit_ids++;
+	}
+}
+
+static int xe_oa_init_gt(struct xe_gt *gt)
+{
+	u32 num_oa_units = num_oa_units_per_gt(gt);
+	struct xe_hw_engine *hwe;
+	enum xe_hw_engine_id id;
+	struct xe_oa_unit *u;
+
+	u = kcalloc(num_oa_units, sizeof(*u), GFP_KERNEL);
+	if (!u)
+		return -ENOMEM;
+
+	for_each_hw_engine(hwe, gt, id) {
+		u32 index = __hwe_oa_unit(hwe);
+
+		hwe->oa_unit = NULL;
+		if (index < num_oa_units) {
+			u[index].num_engines++;
+			hwe->oa_unit = &u[index];
+		}
+	}
+
+	/*
+	 * Fused off engines can result in oa_unit's with num_engines == 0. These units
+	 * will appear in OA unit query, but no perf streams can be opened on them.
+	 */
+	gt->oa.num_oa_units = num_oa_units;
+	gt->oa.oa_unit = u;
+
+	__xe_oa_init_oa_units(gt);
+
+	return 0;
+}
+
+static int xe_oa_init_oa_units(struct xe_oa *oa)
+{
+	struct xe_gt *gt;
+	int i, ret;
+
+	for_each_gt(gt, oa->xe, i) {
+		ret = xe_oa_init_gt(gt);
+		if (ret)
+			return ret;
+	}
+
+	return 0;
+}
+
 static void oa_format_add(struct xe_oa *oa, enum xe_oa_format_name format)
 {
 	__set_bit(format, oa->format_mask);
@@ -81,6 +221,8 @@ static void xe_oa_init_supported_formats(struct xe_oa *oa)
 int xe_oa_init(struct xe_device *xe)
 {
 	struct xe_oa *oa = &xe->oa;
+	struct xe_gt *gt;
+	int i, ret;
 
 	/* Support OA only with GuC submission and Gen12+ */
 	if (XE_WARN_ON(!xe_device_uc_enabled(xe)) || XE_WARN_ON(GRAPHICS_VER(xe) < 12))
@@ -89,13 +231,33 @@ int xe_oa_init(struct xe_device *xe)
 	oa->xe = xe;
 	oa->oa_formats = oa_formats;
 
+	for_each_gt(gt, xe, i)
+		mutex_init(&gt->oa.gt_lock);
+
+	ret = xe_oa_init_oa_units(oa);
+	if (ret) {
+		drm_err(&xe->drm, "OA initialization failed %d\n", ret);
+		goto exit;
+	}
+
 	xe_oa_init_supported_formats(oa);
 	return 0;
+exit:
+	oa->xe = NULL;
+	return ret;
 }
 
 void xe_oa_fini(struct xe_device *xe)
 {
 	struct xe_oa *oa = &xe->oa;
+	struct xe_gt *gt;
+	int i;
+
+	if (!oa->xe)
+		return;
+
+	for_each_gt(gt, xe, i)
+		kfree(gt->oa.oa_unit);
 
 	oa->xe = NULL;
 }
diff --git a/drivers/gpu/drm/xe/xe_oa_types.h b/drivers/gpu/drm/xe/xe_oa_types.h
index 1e339090c90d..4ecbf802f687 100644
--- a/drivers/gpu/drm/xe/xe_oa_types.h
+++ b/drivers/gpu/drm/xe/xe_oa_types.h
@@ -8,6 +8,10 @@
 
 #include <linux/math.h>
 #include <linux/types.h>
+#include <linux/mutex.h>
+
+#include <drm/xe_drm.h>
+#include "regs/xe_reg_defs.h"
 
 enum xe_oa_report_header {
 	HDR_32_BIT = 0,
@@ -58,6 +62,53 @@ struct xe_oa_format {
 	u16 bc_report;
 };
 
+/** struct xe_oa_regs - Registers for each OA unit */
+struct xe_oa_regs {
+	u32 base;
+	struct xe_reg oa_head_ptr;
+	struct xe_reg oa_tail_ptr;
+	struct xe_reg oa_buffer;
+	struct xe_reg oa_ctx_ctrl;
+	struct xe_reg oa_ctrl;
+	struct xe_reg oa_debug;
+	struct xe_reg oa_status;
+	u32 oa_ctrl_counter_select_mask;
+};
+
+/**
+ * struct xe_oa_unit - Hardware OA unit
+ */
+struct xe_oa_unit {
+	/** @oa_unit_id: identifier for the OA unit */
+	u16 oa_unit_id;
+
+	/** @type: Type of OA unit - OAM, OAG etc. */
+	enum drm_xe_oa_unit_type type;
+
+	/** @regs: OA registers for programming the OA unit */
+	struct xe_oa_regs regs;
+
+	/** @num_engines: number of engines attached to this OA unit */
+	u32 num_engines;
+
+	/** @exclusive_stream: The stream currently using the OA unit */
+	struct xe_oa_stream *exclusive_stream;
+};
+
+/**
+ * struct xe_oa_gt - OA per-gt information
+ */
+struct xe_oa_gt {
+	/** @gt_lock: lock protecting create/destroy OA streams */
+	struct mutex gt_lock;
+
+	/** @num_oa_units: number of oa units for each gt */
+	u32 num_oa_units;
+
+	/** @oa_unit: array of oa_units */
+	struct xe_oa_unit *oa_unit;
+};
+
 /**
  * struct xe_oa - OA device level information
  */
@@ -72,5 +123,8 @@ struct xe_oa {
 
 	/** @format_mask: tracks valid OA formats for a platform */
 	unsigned long format_mask[FORMAT_MASK_SIZE];
+
+	/** @oa_unit_ids: tracks oa unit ids assigned across gt's */
+	u16 oa_unit_ids;
 };
 #endif
diff --git a/include/uapi/drm/xe_drm.h b/include/uapi/drm/xe_drm.h
index bb87bf0c96f9..dba17bae510d 100644
--- a/include/uapi/drm/xe_drm.h
+++ b/include/uapi/drm/xe_drm.h
@@ -1433,6 +1433,18 @@ enum drm_xe_perf_ioctls {
 	DRM_XE_PERF_IOCTL_INFO = _IO('i', 0x4),
 };
 
+/** enum drm_xe_oa_unit_type - OA unit types */
+enum drm_xe_oa_unit_type {
+	/**
+	 * @DRM_XE_OA_UNIT_TYPE_OAG: OAG OA unit. OAR/OAC are considered
+	 * sub-types of OAG. For OAR/OAC, use OAG.
+	 */
+	DRM_XE_OA_UNIT_TYPE_OAG,
+
+	/** @DRM_XE_OA_UNIT_TYPE_OAM: OAM OA unit */
+	DRM_XE_OA_UNIT_TYPE_OAM,
+};
+
 /** enum drm_xe_oa_format_type - OA format types */
 enum drm_xe_oa_format_type {
 	DRM_XE_OA_FMT_TYPE_OAG,
-- 
2.41.0


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

* [PATCH 05/17] drm/xe/oa/uapi: Add/remove OA config perf ops
  2024-05-27  1:43 [PATCH v15 00/17] Add OA functionality to Xe Ashutosh Dixit
                   ` (3 preceding siblings ...)
  2024-05-27  1:43 ` [PATCH 04/17] drm/xe/oa/uapi: Initialize OA units Ashutosh Dixit
@ 2024-05-27  1:43 ` Ashutosh Dixit
  2024-05-27  1:43 ` [PATCH 06/17] drm/xe/oa/uapi: Define and parse OA stream properties Ashutosh Dixit
                   ` (20 subsequent siblings)
  25 siblings, 0 replies; 47+ messages in thread
From: Ashutosh Dixit @ 2024-05-27  1:43 UTC (permalink / raw)
  To: intel-xe

Introduce add/remove config perf ops for OA. OA configurations consist of a
set of event/counter select register address/value pairs. The add_config
perf op validates and stores such configurations and also exposes them in
the metrics sysfs. These configurations will be programmed to OA unit HW
when an OA stream using a configuration is opened. The OA stream can also
switch to other stored configurations.

v2: Start config id's from 1 and other minor review comments (Umesh)
v3: Add 32 bit build

Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
---
 drivers/gpu/drm/xe/xe_device.c   |   4 +
 drivers/gpu/drm/xe/xe_oa.c       | 403 +++++++++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_oa.h       |   6 +
 drivers/gpu/drm/xe/xe_oa_types.h |  10 +
 drivers/gpu/drm/xe/xe_perf.c     |  16 ++
 include/uapi/drm/xe_drm.h        |  25 ++
 6 files changed, 464 insertions(+)

diff --git a/drivers/gpu/drm/xe/xe_device.c b/drivers/gpu/drm/xe/xe_device.c
index d677c20980e1..1faed3500975 100644
--- a/drivers/gpu/drm/xe/xe_device.c
+++ b/drivers/gpu/drm/xe/xe_device.c
@@ -651,6 +651,8 @@ int xe_device_probe(struct xe_device *xe)
 
 	xe_display_register(xe);
 
+	xe_oa_register(xe);
+
 	xe_debugfs_register(xe);
 
 	xe_hwmon_register(xe);
@@ -680,6 +682,8 @@ static void xe_device_remove_display(struct xe_device *xe)
 
 void xe_device_remove(struct xe_device *xe)
 {
+	xe_oa_unregister(xe);
+
 	xe_device_remove_display(xe);
 
 	xe_display_fini(xe);
diff --git a/drivers/gpu/drm/xe/xe_oa.c b/drivers/gpu/drm/xe/xe_oa.c
index 7237c67728ec..98bb41bdfb31 100644
--- a/drivers/gpu/drm/xe/xe_oa.c
+++ b/drivers/gpu/drm/xe/xe_oa.c
@@ -12,9 +12,32 @@
 #include "xe_macros.h"
 #include "xe_mmio.h"
 #include "xe_oa.h"
+#include "xe_perf.h"
 
 #define XE_OA_UNIT_INVALID U32_MAX
 
+struct xe_oa_reg {
+	struct xe_reg addr;
+	u32 value;
+};
+
+struct xe_oa_config {
+	struct xe_oa *oa;
+
+	char uuid[UUID_STRING_LEN + 1];
+	int id;
+
+	const struct xe_oa_reg *regs;
+	u32 regs_len;
+
+	struct attribute_group sysfs_metric;
+	struct attribute *attrs[2];
+	struct kobj_attribute sysfs_metric_id;
+
+	struct kref ref;
+	struct rcu_head rcu;
+};
+
 #define DRM_FMT(x) DRM_XE_OA_FMT_TYPE_##x
 
 static const struct xe_oa_format oa_formats[] = {
@@ -39,6 +62,374 @@ static const struct xe_oa_format oa_formats[] = {
 	[XE_OA_FORMAT_PEC36u64_G1_4_G2_32]	= { 4, 320, DRM_FMT(PEC), HDR_64_BIT, 1, 0 },
 };
 
+static void xe_oa_config_release(struct kref *ref)
+{
+	struct xe_oa_config *oa_config =
+		container_of(ref, typeof(*oa_config), ref);
+
+	kfree(oa_config->regs);
+
+	kfree_rcu(oa_config, rcu);
+}
+
+static void xe_oa_config_put(struct xe_oa_config *oa_config)
+{
+	if (!oa_config)
+		return;
+
+	kref_put(&oa_config->ref, xe_oa_config_release);
+}
+
+static bool xe_oa_is_valid_flex_addr(struct xe_oa *oa, u32 addr)
+{
+	static const struct xe_reg flex_eu_regs[] = {
+		EU_PERF_CNTL0,
+		EU_PERF_CNTL1,
+		EU_PERF_CNTL2,
+		EU_PERF_CNTL3,
+		EU_PERF_CNTL4,
+		EU_PERF_CNTL5,
+		EU_PERF_CNTL6,
+	};
+	int i;
+
+	for (i = 0; i < ARRAY_SIZE(flex_eu_regs); i++) {
+		if (flex_eu_regs[i].addr == addr)
+			return true;
+	}
+	return false;
+}
+
+static bool xe_oa_reg_in_range_table(u32 addr, const struct xe_mmio_range *table)
+{
+	while (table->start && table->end) {
+		if (addr >= table->start && addr <= table->end)
+			return true;
+
+		table++;
+	}
+
+	return false;
+}
+
+static const struct xe_mmio_range xehp_oa_b_counters[] = {
+	{ .start = 0xdc48, .end = 0xdc48 },	/* OAA_ENABLE_REG */
+	{ .start = 0xdd00, .end = 0xdd48 },	/* OAG_LCE0_0 - OAA_LENABLE_REG */
+	{}
+};
+
+static const struct xe_mmio_range gen12_oa_b_counters[] = {
+	{ .start = 0x2b2c, .end = 0x2b2c },	/* OAG_OA_PESS */
+	{ .start = 0xd900, .end = 0xd91c },	/* OAG_OASTARTTRIG[1-8] */
+	{ .start = 0xd920, .end = 0xd93c },	/* OAG_OAREPORTTRIG1[1-8] */
+	{ .start = 0xd940, .end = 0xd97c },	/* OAG_CEC[0-7][0-1] */
+	{ .start = 0xdc00, .end = 0xdc3c },	/* OAG_SCEC[0-7][0-1] */
+	{ .start = 0xdc40, .end = 0xdc40 },	/* OAG_SPCTR_CNF */
+	{ .start = 0xdc44, .end = 0xdc44 },	/* OAA_DBG_REG */
+	{}
+};
+
+static const struct xe_mmio_range mtl_oam_b_counters[] = {
+	{ .start = 0x393000, .end = 0x39301c },	/* OAM_STARTTRIG1[1-8] */
+	{ .start = 0x393020, .end = 0x39303c },	/* OAM_REPORTTRIG1[1-8] */
+	{ .start = 0x393040, .end = 0x39307c },	/* OAM_CEC[0-7][0-1] */
+	{ .start = 0x393200, .end = 0x39323C },	/* MPES[0-7] */
+	{}
+};
+
+static const struct xe_mmio_range xe2_oa_b_counters[] = {
+	{ .start = 0x393200, .end = 0x39323C },	/* MPES_0_MPES_SAG - MPES_7_UPPER_MPES_SAG */
+	{ .start = 0x394200, .end = 0x39423C },	/* MPES_0_MPES_SCMI0 - MPES_7_UPPER_MPES_SCMI0 */
+	{ .start = 0x394A00, .end = 0x394A3C },	/* MPES_0_MPES_SCMI1 - MPES_7_UPPER_MPES_SCMI1 */
+	{},
+};
+
+static bool xe_oa_is_valid_b_counter_addr(struct xe_oa *oa, u32 addr)
+{
+	return xe_oa_reg_in_range_table(addr, xehp_oa_b_counters) ||
+		xe_oa_reg_in_range_table(addr, gen12_oa_b_counters) ||
+		xe_oa_reg_in_range_table(addr, mtl_oam_b_counters) ||
+		(GRAPHICS_VER(oa->xe) >= 20 &&
+		 xe_oa_reg_in_range_table(addr, xe2_oa_b_counters));
+}
+
+static const struct xe_mmio_range mtl_oa_mux_regs[] = {
+	{ .start = 0x0d00, .end = 0x0d04 },	/* RPM_CONFIG[0-1] */
+	{ .start = 0x0d0c, .end = 0x0d2c },	/* NOA_CONFIG[0-8] */
+	{ .start = 0x9840, .end = 0x9840 },	/* GDT_CHICKEN_BITS */
+	{ .start = 0x9884, .end = 0x9888 },	/* NOA_WRITE */
+	{ .start = 0x38d100, .end = 0x38d114},	/* VISACTL */
+	{}
+};
+
+static const struct xe_mmio_range gen12_oa_mux_regs[] = {
+	{ .start = 0x0d00, .end = 0x0d04 },     /* RPM_CONFIG[0-1] */
+	{ .start = 0x0d0c, .end = 0x0d2c },     /* NOA_CONFIG[0-8] */
+	{ .start = 0x9840, .end = 0x9840 },	/* GDT_CHICKEN_BITS */
+	{ .start = 0x9884, .end = 0x9888 },	/* NOA_WRITE */
+	{ .start = 0x20cc, .end = 0x20cc },	/* WAIT_FOR_RC6_EXIT */
+	{}
+};
+
+static const struct xe_mmio_range xe2_oa_mux_regs[] = {
+	{ .start = 0x13000,  .end = 0x137FC },	/* PES_0_PESL0 - PES_63_UPPER_PESL3 */
+	{},
+};
+
+static bool xe_oa_is_valid_mux_addr(struct xe_oa *oa, u32 addr)
+{
+	if (GRAPHICS_VER(oa->xe) >= 20)
+		return xe_oa_reg_in_range_table(addr, xe2_oa_mux_regs);
+	else if (GRAPHICS_VERx100(oa->xe) >= 1270)
+		return xe_oa_reg_in_range_table(addr, mtl_oa_mux_regs);
+	else
+		return xe_oa_reg_in_range_table(addr, gen12_oa_mux_regs);
+}
+
+static bool xe_oa_is_valid_config_reg_addr(struct xe_oa *oa, u32 addr)
+{
+	return xe_oa_is_valid_flex_addr(oa, addr) ||
+		xe_oa_is_valid_b_counter_addr(oa, addr) ||
+		xe_oa_is_valid_mux_addr(oa, addr);
+}
+
+static struct xe_oa_reg *
+xe_oa_alloc_regs(struct xe_oa *oa, bool (*is_valid)(struct xe_oa *oa, u32 addr),
+		 u32 __user *regs, u32 n_regs)
+{
+	struct xe_oa_reg *oa_regs;
+	int err;
+	u32 i;
+
+	oa_regs = kmalloc_array(n_regs, sizeof(*oa_regs), GFP_KERNEL);
+	if (!oa_regs)
+		return ERR_PTR(-ENOMEM);
+
+	for (i = 0; i < n_regs; i++) {
+		u32 addr, value;
+
+		err = get_user(addr, regs);
+		if (err)
+			goto addr_err;
+
+		if (!is_valid(oa, addr)) {
+			drm_dbg(&oa->xe->drm, "Invalid oa_reg address: %X\n", addr);
+			err = -EINVAL;
+			goto addr_err;
+		}
+
+		err = get_user(value, regs + 1);
+		if (err)
+			goto addr_err;
+
+		oa_regs[i].addr = XE_REG(addr);
+		oa_regs[i].value = value;
+
+		regs += 2;
+	}
+
+	return oa_regs;
+
+addr_err:
+	kfree(oa_regs);
+	return ERR_PTR(err);
+}
+
+static ssize_t show_dynamic_id(struct kobject *kobj,
+			       struct kobj_attribute *attr,
+			       char *buf)
+{
+	struct xe_oa_config *oa_config =
+		container_of(attr, typeof(*oa_config), sysfs_metric_id);
+
+	return sprintf(buf, "%d\n", oa_config->id);
+}
+
+static int create_dynamic_oa_sysfs_entry(struct xe_oa *oa,
+					 struct xe_oa_config *oa_config)
+{
+	sysfs_attr_init(&oa_config->sysfs_metric_id.attr);
+	oa_config->sysfs_metric_id.attr.name = "id";
+	oa_config->sysfs_metric_id.attr.mode = 0444;
+	oa_config->sysfs_metric_id.show = show_dynamic_id;
+	oa_config->sysfs_metric_id.store = NULL;
+
+	oa_config->attrs[0] = &oa_config->sysfs_metric_id.attr;
+	oa_config->attrs[1] = NULL;
+
+	oa_config->sysfs_metric.name = oa_config->uuid;
+	oa_config->sysfs_metric.attrs = oa_config->attrs;
+
+	return sysfs_create_group(oa->metrics_kobj, &oa_config->sysfs_metric);
+}
+
+int xe_oa_add_config_ioctl(struct drm_device *dev, u64 data, struct drm_file *file)
+{
+	struct xe_oa *oa = &to_xe_device(dev)->oa;
+	struct drm_xe_oa_config param;
+	struct drm_xe_oa_config *arg = &param;
+	struct xe_oa_config *oa_config, *tmp;
+	struct xe_oa_reg *regs;
+	int err, id;
+
+	if (!oa->xe) {
+		drm_dbg(&oa->xe->drm, "xe oa interface not available for this system\n");
+		return -ENODEV;
+	}
+
+	if (xe_perf_stream_paranoid && !perfmon_capable()) {
+		drm_dbg(&oa->xe->drm, "Insufficient privileges to add xe OA config\n");
+		return -EACCES;
+	}
+
+	err = __copy_from_user(&param, u64_to_user_ptr(data), sizeof(param));
+	if (XE_IOCTL_DBG(oa->xe, err))
+		return -EFAULT;
+
+	if (XE_IOCTL_DBG(oa->xe, arg->extensions) ||
+	    XE_IOCTL_DBG(oa->xe, !arg->regs_ptr) ||
+	    XE_IOCTL_DBG(oa->xe, !arg->n_regs))
+		return -EINVAL;
+
+	oa_config = kzalloc(sizeof(*oa_config), GFP_KERNEL);
+	if (!oa_config)
+		return -ENOMEM;
+
+	oa_config->oa = oa;
+	kref_init(&oa_config->ref);
+
+	if (!uuid_is_valid(arg->uuid)) {
+		drm_dbg(&oa->xe->drm, "Invalid uuid format for OA config\n");
+		err = -EINVAL;
+		goto reg_err;
+	}
+
+	/* Last character in oa_config->uuid will be 0 because oa_config is kzalloc */
+	memcpy(oa_config->uuid, arg->uuid, sizeof(arg->uuid));
+
+	oa_config->regs_len = arg->n_regs;
+	regs = xe_oa_alloc_regs(oa, xe_oa_is_valid_config_reg_addr,
+				u64_to_user_ptr(arg->regs_ptr),
+				arg->n_regs);
+	if (IS_ERR(regs)) {
+		drm_dbg(&oa->xe->drm, "Failed to create OA config for mux_regs\n");
+		err = PTR_ERR(regs);
+		goto reg_err;
+	}
+	oa_config->regs = regs;
+
+	err = mutex_lock_interruptible(&oa->metrics_lock);
+	if (err)
+		goto reg_err;
+
+	/* We shouldn't have too many configs, so this iteration shouldn't be too costly */
+	idr_for_each_entry(&oa->metrics_idr, tmp, id) {
+		if (!strcmp(tmp->uuid, oa_config->uuid)) {
+			drm_dbg(&oa->xe->drm, "OA config already exists with this uuid\n");
+			err = -EADDRINUSE;
+			goto sysfs_err;
+		}
+	}
+
+	err = create_dynamic_oa_sysfs_entry(oa, oa_config);
+	if (err) {
+		drm_dbg(&oa->xe->drm, "Failed to create sysfs entry for OA config\n");
+		goto sysfs_err;
+	}
+
+	oa_config->id = idr_alloc(&oa->metrics_idr, oa_config, 1, 0, GFP_KERNEL);
+	if (oa_config->id < 0) {
+		drm_dbg(&oa->xe->drm, "Failed to create sysfs entry for OA config\n");
+		err = oa_config->id;
+		goto sysfs_err;
+	}
+
+	mutex_unlock(&oa->metrics_lock);
+
+	drm_dbg(&oa->xe->drm, "Added config %s id=%i\n", oa_config->uuid, oa_config->id);
+
+	return oa_config->id;
+
+sysfs_err:
+	mutex_unlock(&oa->metrics_lock);
+reg_err:
+	xe_oa_config_put(oa_config);
+	drm_dbg(&oa->xe->drm, "Failed to add new OA config\n");
+	return err;
+}
+
+int xe_oa_remove_config_ioctl(struct drm_device *dev, u64 data, struct drm_file *file)
+{
+	struct xe_oa *oa = &to_xe_device(dev)->oa;
+	struct xe_oa_config *oa_config;
+	u64 arg, *ptr = u64_to_user_ptr(data);
+	int ret;
+
+	if (!oa->xe) {
+		drm_dbg(&oa->xe->drm, "xe oa interface not available for this system\n");
+		return -ENODEV;
+	}
+
+	if (xe_perf_stream_paranoid && !perfmon_capable()) {
+		drm_dbg(&oa->xe->drm, "Insufficient privileges to remove xe OA config\n");
+		return -EACCES;
+	}
+
+	ret = get_user(arg, ptr);
+	if (XE_IOCTL_DBG(oa->xe, ret))
+		return ret;
+
+	ret = mutex_lock_interruptible(&oa->metrics_lock);
+	if (ret)
+		return ret;
+
+	oa_config = idr_find(&oa->metrics_idr, arg);
+	if (!oa_config) {
+		drm_dbg(&oa->xe->drm, "Failed to remove unknown OA config\n");
+		ret = -ENOENT;
+		goto err_unlock;
+	}
+
+	WARN_ON(arg != oa_config->id);
+
+	sysfs_remove_group(oa->metrics_kobj, &oa_config->sysfs_metric);
+	idr_remove(&oa->metrics_idr, arg);
+
+	mutex_unlock(&oa->metrics_lock);
+
+	drm_dbg(&oa->xe->drm, "Removed config %s id=%i\n", oa_config->uuid, oa_config->id);
+
+	xe_oa_config_put(oa_config);
+
+	return 0;
+
+err_unlock:
+	mutex_unlock(&oa->metrics_lock);
+	return ret;
+}
+
+void xe_oa_register(struct xe_device *xe)
+{
+	struct xe_oa *oa = &xe->oa;
+
+	if (!oa->xe)
+		return;
+
+	oa->metrics_kobj = kobject_create_and_add("metrics",
+						  &xe->drm.primary->kdev->kobj);
+}
+
+void xe_oa_unregister(struct xe_device *xe)
+{
+	struct xe_oa *oa = &xe->oa;
+
+	if (!oa->metrics_kobj)
+		return;
+
+	kobject_put(oa->metrics_kobj);
+	oa->metrics_kobj = NULL;
+}
+
 static u32 num_oa_units_per_gt(struct xe_gt *gt)
 {
 	return 1;
@@ -234,6 +625,9 @@ int xe_oa_init(struct xe_device *xe)
 	for_each_gt(gt, xe, i)
 		mutex_init(&gt->oa.gt_lock);
 
+	mutex_init(&oa->metrics_lock);
+	idr_init_base(&oa->metrics_idr, 1);
+
 	ret = xe_oa_init_oa_units(oa);
 	if (ret) {
 		drm_err(&xe->drm, "OA initialization failed %d\n", ret);
@@ -247,6 +641,12 @@ int xe_oa_init(struct xe_device *xe)
 	return ret;
 }
 
+static int destroy_config(int id, void *p, void *data)
+{
+	xe_oa_config_put(p);
+	return 0;
+}
+
 void xe_oa_fini(struct xe_device *xe)
 {
 	struct xe_oa *oa = &xe->oa;
@@ -259,5 +659,8 @@ void xe_oa_fini(struct xe_device *xe)
 	for_each_gt(gt, xe, i)
 		kfree(gt->oa.oa_unit);
 
+	idr_for_each(&oa->metrics_idr, destroy_config, oa);
+	idr_destroy(&oa->metrics_idr);
+
 	oa->xe = NULL;
 }
diff --git a/drivers/gpu/drm/xe/xe_oa.h b/drivers/gpu/drm/xe/xe_oa.h
index a2f301e2be57..1d9a4c3dc7a2 100644
--- a/drivers/gpu/drm/xe/xe_oa.h
+++ b/drivers/gpu/drm/xe/xe_oa.h
@@ -8,9 +8,15 @@
 
 #include "xe_oa_types.h"
 
+struct drm_device;
+struct drm_file;
 struct xe_device;
 
 int xe_oa_init(struct xe_device *xe);
 void xe_oa_fini(struct xe_device *xe);
+void xe_oa_register(struct xe_device *xe);
+void xe_oa_unregister(struct xe_device *xe);
+int xe_oa_add_config_ioctl(struct drm_device *dev, u64 data, struct drm_file *file);
+int xe_oa_remove_config_ioctl(struct drm_device *dev, u64 data, struct drm_file *file);
 
 #endif
diff --git a/drivers/gpu/drm/xe/xe_oa_types.h b/drivers/gpu/drm/xe/xe_oa_types.h
index 4ecbf802f687..b5c1a47c8988 100644
--- a/drivers/gpu/drm/xe/xe_oa_types.h
+++ b/drivers/gpu/drm/xe/xe_oa_types.h
@@ -6,6 +6,7 @@
 #ifndef _XE_OA_TYPES_H_
 #define _XE_OA_TYPES_H_
 
+#include <linux/idr.h>
 #include <linux/math.h>
 #include <linux/types.h>
 #include <linux/mutex.h>
@@ -116,6 +117,15 @@ struct xe_oa {
 	/** @xe: back pointer to xe device */
 	struct xe_device *xe;
 
+	/** @metrics_kobj: kobj for metrics sysfs */
+	struct kobject *metrics_kobj;
+
+	/** @metrics_lock: lock protecting add/remove configs */
+	struct mutex metrics_lock;
+
+	/** @metrics_idr: List of dynamic configurations (struct xe_oa_config) */
+	struct idr metrics_idr;
+
 	/** @oa_formats: tracks all OA formats across platforms */
 	const struct xe_oa_format *oa_formats;
 
diff --git a/drivers/gpu/drm/xe/xe_perf.c b/drivers/gpu/drm/xe/xe_perf.c
index 37538e98dcc0..b826d0e0ab70 100644
--- a/drivers/gpu/drm/xe/xe_perf.c
+++ b/drivers/gpu/drm/xe/xe_perf.c
@@ -6,11 +6,25 @@
 #include <linux/errno.h>
 #include <linux/sysctl.h>
 
+#include "xe_oa.h"
 #include "xe_perf.h"
 
 u32 xe_perf_stream_paranoid = true;
 static struct ctl_table_header *sysctl_header;
 
+static int xe_oa_ioctl(struct drm_device *dev, struct drm_xe_perf_param *arg,
+		       struct drm_file *file)
+{
+	switch (arg->perf_op) {
+	case DRM_XE_PERF_OP_ADD_CONFIG:
+		return xe_oa_add_config_ioctl(dev, arg->param, file);
+	case DRM_XE_PERF_OP_REMOVE_CONFIG:
+		return xe_oa_remove_config_ioctl(dev, arg->param, file);
+	default:
+		return -EINVAL;
+	}
+}
+
 int xe_perf_ioctl(struct drm_device *dev, void *data, struct drm_file *file)
 {
 	struct drm_xe_perf_param *arg = data;
@@ -19,6 +33,8 @@ int xe_perf_ioctl(struct drm_device *dev, void *data, struct drm_file *file)
 		return -EINVAL;
 
 	switch (arg->perf_type) {
+	case DRM_XE_PERF_TYPE_OA:
+		return xe_oa_ioctl(dev, arg, file);
 	default:
 		return -EINVAL;
 	}
diff --git a/include/uapi/drm/xe_drm.h b/include/uapi/drm/xe_drm.h
index dba17bae510d..e6a67c8c02db 100644
--- a/include/uapi/drm/xe_drm.h
+++ b/include/uapi/drm/xe_drm.h
@@ -1375,6 +1375,7 @@ struct drm_xe_wait_user_fence {
 
 /** enum drm_xe_perf_type - Perf stream types */
 enum drm_xe_perf_type {
+	DRM_XE_PERF_TYPE_OA,
 	DRM_XE_PERF_TYPE_MAX,
 };
 
@@ -1455,6 +1456,30 @@ enum drm_xe_oa_format_type {
 	DRM_XE_OA_FMT_TYPE_PEC,
 };
 
+/**
+ * struct drm_xe_oa_config - OA metric configuration
+ *
+ * Multiple OA configs can be added using @DRM_XE_PERF_OP_ADD_CONFIG. A
+ * particular config can be specified when opening an OA stream using
+ * @DRM_XE_OA_PROPERTY_OA_METRIC_SET property.
+ */
+struct drm_xe_oa_config {
+	/** @extensions: Pointer to the first extension struct, if any */
+	__u64 extensions;
+
+	/** @uuid: String formatted like "%\08x-%\04x-%\04x-%\04x-%\012x" */
+	char uuid[36];
+
+	/** @n_regs: Number of regs in @regs_ptr */
+	__u32 n_regs;
+
+	/**
+	 * @regs_ptr: Pointer to (register address, value) pairs for OA config
+	 * registers. Expected length of buffer is: (2 * sizeof(u32) * @n_regs).
+	 */
+	__u64 regs_ptr;
+};
+
 #if defined(__cplusplus)
 }
 #endif
-- 
2.41.0


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

* [PATCH 06/17] drm/xe/oa/uapi: Define and parse OA stream properties
  2024-05-27  1:43 [PATCH v15 00/17] Add OA functionality to Xe Ashutosh Dixit
                   ` (4 preceding siblings ...)
  2024-05-27  1:43 ` [PATCH 05/17] drm/xe/oa/uapi: Add/remove OA config perf ops Ashutosh Dixit
@ 2024-05-27  1:43 ` Ashutosh Dixit
  2024-05-27  1:43 ` [PATCH 07/17] drm/xe/oa: OA stream initialization (OAG) Ashutosh Dixit
                   ` (19 subsequent siblings)
  25 siblings, 0 replies; 47+ messages in thread
From: Ashutosh Dixit @ 2024-05-27  1:43 UTC (permalink / raw)
  To: intel-xe

Properties for OA streams are specified by user space, when the stream is
opened, as a chain of drm_xe_ext_set_property struct's. Parse and validate
these stream properties.

v2: Remove struct drm_xe_oa_open_param (Harish Chegondi)
    Drop DRM_XE_OA_PROPERTY_POLL_OA_PERIOD_US (Umesh)
    Eliminate comparison with xe_oa_max_sample_rate (Umesh)
    Drop 'struct drm_xe_oa_record_header' (Umesh)
v3: s/DRM_XE_OA_PROPERTY_OA_EXPONENT/ \
    DRM_XE_OA_PROPERTY_OA_PERIOD_EXPONENT/ (Jose)
v4: Fix 32 bit build

Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
---
 drivers/gpu/drm/xe/xe_oa.c   | 345 +++++++++++++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_oa.h   |   5 +
 drivers/gpu/drm/xe/xe_perf.c |   2 +
 include/uapi/drm/xe_drm.h    |  72 ++++++++
 4 files changed, 424 insertions(+)

diff --git a/drivers/gpu/drm/xe/xe_oa.c b/drivers/gpu/drm/xe/xe_oa.c
index 98bb41bdfb31..9944a4a5ea15 100644
--- a/drivers/gpu/drm/xe/xe_oa.c
+++ b/drivers/gpu/drm/xe/xe_oa.c
@@ -3,16 +3,21 @@
  * Copyright © 2023 Intel Corporation
  */
 
+#include <linux/nospec.h>
+
 #include <drm/xe_drm.h>
 
+#include "regs/xe_gt_regs.h"
 #include "regs/xe_oa_regs.h"
 #include "xe_assert.h"
 #include "xe_device.h"
+#include "xe_exec_queue.h"
 #include "xe_gt.h"
 #include "xe_macros.h"
 #include "xe_mmio.h"
 #include "xe_oa.h"
 #include "xe_perf.h"
+#include "xe_pm.h"
 
 #define XE_OA_UNIT_INVALID U32_MAX
 
@@ -38,6 +43,19 @@ struct xe_oa_config {
 	struct rcu_head rcu;
 };
 
+struct xe_oa_open_param {
+	u32 oa_unit_id;
+	bool sample;
+	u32 metric_set;
+	enum xe_oa_format_name oa_format;
+	int period_exponent;
+	bool disabled;
+	int exec_queue_id;
+	int engine_instance;
+	struct xe_exec_queue *exec_q;
+	struct xe_hw_engine *hwe;
+};
+
 #define DRM_FMT(x) DRM_XE_OA_FMT_TYPE_##x
 
 static const struct xe_oa_format oa_formats[] = {
@@ -80,6 +98,333 @@ static void xe_oa_config_put(struct xe_oa_config *oa_config)
 	kref_put(&oa_config->ref, xe_oa_config_release);
 }
 
+/*
+ * OA timestamp frequency = CS timestamp frequency in most platforms. On some
+ * platforms OA unit ignores the CTC_SHIFT and the 2 timestamps differ. In such
+ * cases, return the adjusted CS timestamp frequency to the user.
+ */
+u32 xe_oa_timestamp_frequency(struct xe_gt *gt)
+{
+	u32 reg, shift;
+
+	/*
+	 * Wa_18013179988:dg2
+	 * Wa_14015568240:pvc
+	 * Wa_14015846243:mtl
+	 */
+	switch (gt_to_xe(gt)->info.platform) {
+	case XE_DG2:
+	case XE_PVC:
+	case XE_METEORLAKE:
+		xe_pm_runtime_get(gt_to_xe(gt));
+		reg = xe_mmio_read32(gt, RPM_CONFIG0);
+		xe_pm_runtime_put(gt_to_xe(gt));
+
+		shift = REG_FIELD_GET(RPM_CONFIG0_CTC_SHIFT_PARAMETER_MASK, reg);
+		return gt->info.reference_clock << (3 - shift);
+
+	default:
+		return gt->info.reference_clock;
+	}
+}
+
+static u64 oa_exponent_to_ns(struct xe_gt *gt, int exponent)
+{
+	u64 nom = (2ULL << exponent) * NSEC_PER_SEC;
+	u32 den = xe_oa_timestamp_frequency(gt);
+
+	return div_u64(nom + den - 1, den);
+}
+
+static bool engine_supports_oa_format(const struct xe_hw_engine *hwe, int type)
+{
+	switch (hwe->oa_unit->type) {
+	case DRM_XE_OA_UNIT_TYPE_OAG:
+		return type == DRM_XE_OA_FMT_TYPE_OAG || type == DRM_XE_OA_FMT_TYPE_OAR ||
+			type == DRM_XE_OA_FMT_TYPE_OAC || type == DRM_XE_OA_FMT_TYPE_PEC;
+	case DRM_XE_OA_UNIT_TYPE_OAM:
+		return type == DRM_XE_OA_FMT_TYPE_OAM || type == DRM_XE_OA_FMT_TYPE_OAM_MPEC;
+	default:
+		return false;
+	}
+}
+
+static int decode_oa_format(struct xe_oa *oa, u64 fmt, enum xe_oa_format_name *name)
+{
+	u32 counter_size = FIELD_GET(DRM_XE_OA_FORMAT_MASK_COUNTER_SIZE, fmt);
+	u32 counter_sel = FIELD_GET(DRM_XE_OA_FORMAT_MASK_COUNTER_SEL, fmt);
+	u32 bc_report = FIELD_GET(DRM_XE_OA_FORMAT_MASK_BC_REPORT, fmt);
+	u32 type = FIELD_GET(DRM_XE_OA_FORMAT_MASK_FMT_TYPE, fmt);
+	int idx;
+
+	for_each_set_bit(idx, oa->format_mask, XE_OA_FORMAT_MAX) {
+		const struct xe_oa_format *f = &oa->oa_formats[idx];
+
+		if (counter_size == f->counter_size && bc_report == f->bc_report &&
+		    type == f->type && counter_sel == f->counter_select) {
+			*name = idx;
+			return 0;
+		}
+	}
+
+	return -EINVAL;
+}
+
+u16 xe_oa_unit_id(struct xe_hw_engine *hwe)
+{
+	return hwe->oa_unit && hwe->oa_unit->num_engines ?
+		hwe->oa_unit->oa_unit_id : U16_MAX;
+}
+
+static int xe_oa_assign_hwe(struct xe_oa *oa, struct xe_oa_open_param *param)
+{
+	struct xe_gt *gt;
+	int i, ret = 0;
+
+	if (param->exec_q) {
+		/* When we have an exec_q, get hwe from the exec_q */
+		param->hwe = xe_gt_hw_engine(param->exec_q->gt, param->exec_q->class,
+					     param->engine_instance, true);
+	} else {
+		struct xe_hw_engine *hwe;
+		enum xe_hw_engine_id id;
+
+		/* Else just get the first hwe attached to the oa unit */
+		for_each_gt(gt, oa->xe, i) {
+			for_each_hw_engine(hwe, gt, id) {
+				if (xe_oa_unit_id(hwe) == param->oa_unit_id) {
+					param->hwe = hwe;
+					goto out;
+				}
+			}
+		}
+	}
+out:
+	if (!param->hwe || xe_oa_unit_id(param->hwe) != param->oa_unit_id) {
+		drm_dbg(&oa->xe->drm, "Unable to find hwe (%d, %d) for OA unit ID %d\n",
+			param->exec_q ? param->exec_q->class : -1,
+			param->engine_instance, param->oa_unit_id);
+		ret = -EINVAL;
+	}
+
+	return ret;
+}
+
+static int xe_oa_set_prop_oa_unit_id(struct xe_oa *oa, u64 value,
+				     struct xe_oa_open_param *param)
+{
+	if (value >= oa->oa_unit_ids) {
+		drm_dbg(&oa->xe->drm, "OA unit ID out of range %lld\n", value);
+		return -EINVAL;
+	}
+	param->oa_unit_id = value;
+	return 0;
+}
+
+static int xe_oa_set_prop_sample_oa(struct xe_oa *oa, u64 value,
+				    struct xe_oa_open_param *param)
+{
+	param->sample = value;
+	return 0;
+}
+
+static int xe_oa_set_prop_metric_set(struct xe_oa *oa, u64 value,
+				     struct xe_oa_open_param *param)
+{
+	param->metric_set = value;
+	return 0;
+}
+
+static int xe_oa_set_prop_oa_format(struct xe_oa *oa, u64 value,
+				    struct xe_oa_open_param *param)
+{
+	int ret = decode_oa_format(oa, value, &param->oa_format);
+
+	if (ret) {
+		drm_dbg(&oa->xe->drm, "Unsupported OA report format %#llx\n", value);
+		return ret;
+	}
+	return 0;
+}
+
+static int xe_oa_set_prop_oa_exponent(struct xe_oa *oa, u64 value,
+				      struct xe_oa_open_param *param)
+{
+#define OA_EXPONENT_MAX 31
+
+	if (value > OA_EXPONENT_MAX) {
+		drm_dbg(&oa->xe->drm, "OA timer exponent too high (> %u)\n", OA_EXPONENT_MAX);
+		return -EINVAL;
+	}
+	param->period_exponent = value;
+	return 0;
+}
+
+static int xe_oa_set_prop_disabled(struct xe_oa *oa, u64 value,
+				   struct xe_oa_open_param *param)
+{
+	param->disabled = value;
+	return 0;
+}
+
+static int xe_oa_set_prop_exec_queue_id(struct xe_oa *oa, u64 value,
+					struct xe_oa_open_param *param)
+{
+	param->exec_queue_id = value;
+	return 0;
+}
+
+static int xe_oa_set_prop_engine_instance(struct xe_oa *oa, u64 value,
+					  struct xe_oa_open_param *param)
+{
+	param->engine_instance = value;
+	return 0;
+}
+
+typedef int (*xe_oa_set_property_fn)(struct xe_oa *oa, u64 value,
+				     struct xe_oa_open_param *param);
+static const xe_oa_set_property_fn xe_oa_set_property_funcs[] = {
+	[DRM_XE_OA_PROPERTY_OA_UNIT_ID] = xe_oa_set_prop_oa_unit_id,
+	[DRM_XE_OA_PROPERTY_SAMPLE_OA] = xe_oa_set_prop_sample_oa,
+	[DRM_XE_OA_PROPERTY_OA_METRIC_SET] = xe_oa_set_prop_metric_set,
+	[DRM_XE_OA_PROPERTY_OA_FORMAT] = xe_oa_set_prop_oa_format,
+	[DRM_XE_OA_PROPERTY_OA_PERIOD_EXPONENT] = xe_oa_set_prop_oa_exponent,
+	[DRM_XE_OA_PROPERTY_OA_DISABLED] = xe_oa_set_prop_disabled,
+	[DRM_XE_OA_PROPERTY_EXEC_QUEUE_ID] = xe_oa_set_prop_exec_queue_id,
+	[DRM_XE_OA_PROPERTY_OA_ENGINE_INSTANCE] = xe_oa_set_prop_engine_instance,
+};
+
+static int xe_oa_user_ext_set_property(struct xe_oa *oa, u64 extension,
+				       struct xe_oa_open_param *param)
+{
+	u64 __user *address = u64_to_user_ptr(extension);
+	struct drm_xe_ext_set_property ext;
+	int err;
+	u32 idx;
+
+	err = __copy_from_user(&ext, address, sizeof(ext));
+	if (XE_IOCTL_DBG(oa->xe, err))
+		return -EFAULT;
+
+	if (XE_IOCTL_DBG(oa->xe, ext.property >= ARRAY_SIZE(xe_oa_set_property_funcs)) ||
+	    XE_IOCTL_DBG(oa->xe, ext.pad))
+		return -EINVAL;
+
+	idx = array_index_nospec(ext.property, ARRAY_SIZE(xe_oa_set_property_funcs));
+	return xe_oa_set_property_funcs[idx](oa, ext.value, param);
+}
+
+typedef int (*xe_oa_user_extension_fn)(struct xe_oa *oa, u64 extension,
+				       struct xe_oa_open_param *param);
+static const xe_oa_user_extension_fn xe_oa_user_extension_funcs[] = {
+	[DRM_XE_OA_EXTENSION_SET_PROPERTY] = xe_oa_user_ext_set_property,
+};
+
+static int xe_oa_user_extensions(struct xe_oa *oa, u64 extension, int ext_number,
+				 struct xe_oa_open_param *param)
+{
+	u64 __user *address = u64_to_user_ptr(extension);
+	struct drm_xe_user_extension ext;
+	int err;
+	u32 idx;
+
+	if (XE_IOCTL_DBG(oa->xe, ext_number >= DRM_XE_OA_PROPERTY_MAX))
+		return -E2BIG;
+
+	err = __copy_from_user(&ext, address, sizeof(ext));
+	if (XE_IOCTL_DBG(oa->xe, err))
+		return -EFAULT;
+
+	if (XE_IOCTL_DBG(oa->xe, ext.pad) ||
+	    XE_IOCTL_DBG(oa->xe, ext.name >= ARRAY_SIZE(xe_oa_user_extension_funcs)))
+		return -EINVAL;
+
+	idx = array_index_nospec(ext.name, ARRAY_SIZE(xe_oa_user_extension_funcs));
+	err = xe_oa_user_extension_funcs[idx](oa, extension, param);
+	if (XE_IOCTL_DBG(oa->xe, err))
+		return err;
+
+	if (ext.next_extension)
+		return xe_oa_user_extensions(oa, ext.next_extension, ++ext_number, param);
+
+	return 0;
+}
+
+int xe_oa_stream_open_ioctl(struct drm_device *dev, u64 data, struct drm_file *file)
+{
+	struct xe_oa *oa = &to_xe_device(dev)->oa;
+	struct xe_file *xef = to_xe_file(file);
+	struct xe_oa_open_param param = {};
+	const struct xe_oa_format *f;
+	bool privileged_op = true;
+	int ret;
+
+	if (!oa->xe) {
+		drm_dbg(&oa->xe->drm, "xe oa interface not available for this system\n");
+		return -ENODEV;
+	}
+
+	ret = xe_oa_user_extensions(oa, data, 0, &param);
+	if (ret)
+		return ret;
+
+	if (param.exec_queue_id > 0) {
+		param.exec_q = xe_exec_queue_lookup(xef, param.exec_queue_id);
+		if (XE_IOCTL_DBG(oa->xe, !param.exec_q))
+			return -ENOENT;
+	}
+
+	/*
+	 * Query based sampling (using MI_REPORT_PERF_COUNT) with OAR/OAC,
+	 * without global stream access, can be an unprivileged operation
+	 */
+	if (param.exec_q && !param.sample)
+		privileged_op = false;
+
+	if (privileged_op && xe_perf_stream_paranoid && !perfmon_capable()) {
+		drm_dbg(&oa->xe->drm, "Insufficient privileges to open xe perf stream\n");
+		ret = -EACCES;
+		goto err_exec_q;
+	}
+
+	if (!param.exec_q && !param.sample) {
+		drm_dbg(&oa->xe->drm, "Only OA report sampling supported\n");
+		ret = -EINVAL;
+		goto err_exec_q;
+	}
+
+	ret = xe_oa_assign_hwe(oa, &param);
+	if (ret)
+		goto err_exec_q;
+
+	f = &oa->oa_formats[param.oa_format];
+	if (!param.oa_format || !f->size ||
+	    !engine_supports_oa_format(param.hwe, f->type)) {
+		drm_dbg(&oa->xe->drm, "Invalid OA format %d type %d size %d for class %d\n",
+			param.oa_format, f->type, f->size, param.hwe->class);
+		ret = -EINVAL;
+		goto err_exec_q;
+	}
+
+	if (param.period_exponent > 0) {
+		u64 oa_period, oa_freq_hz;
+
+		/* Requesting samples from OAG buffer is a privileged operation */
+		if (!param.sample) {
+			drm_dbg(&oa->xe->drm, "OA_EXPONENT specified without SAMPLE_OA\n");
+			ret = -EINVAL;
+			goto err_exec_q;
+		}
+		oa_period = oa_exponent_to_ns(param.hwe->gt, param.period_exponent);
+		oa_freq_hz = div64_u64(NSEC_PER_SEC, oa_period);
+		drm_dbg(&oa->xe->drm, "Using periodic sampling freq %lld Hz\n", oa_freq_hz);
+	}
+err_exec_q:
+	if (ret < 0 && param.exec_q)
+		xe_exec_queue_put(param.exec_q);
+	return ret;
+}
+
 static bool xe_oa_is_valid_flex_addr(struct xe_oa *oa, u32 addr)
 {
 	static const struct xe_reg flex_eu_regs[] = {
diff --git a/drivers/gpu/drm/xe/xe_oa.h b/drivers/gpu/drm/xe/xe_oa.h
index 1d9a4c3dc7a2..d2f50c3accf3 100644
--- a/drivers/gpu/drm/xe/xe_oa.h
+++ b/drivers/gpu/drm/xe/xe_oa.h
@@ -11,12 +11,17 @@
 struct drm_device;
 struct drm_file;
 struct xe_device;
+struct xe_gt;
+struct xe_hw_engine;
 
 int xe_oa_init(struct xe_device *xe);
 void xe_oa_fini(struct xe_device *xe);
 void xe_oa_register(struct xe_device *xe);
 void xe_oa_unregister(struct xe_device *xe);
+int xe_oa_stream_open_ioctl(struct drm_device *dev, u64 data, struct drm_file *file);
 int xe_oa_add_config_ioctl(struct drm_device *dev, u64 data, struct drm_file *file);
 int xe_oa_remove_config_ioctl(struct drm_device *dev, u64 data, struct drm_file *file);
+u32 xe_oa_timestamp_frequency(struct xe_gt *gt);
+u16 xe_oa_unit_id(struct xe_hw_engine *hwe);
 
 #endif
diff --git a/drivers/gpu/drm/xe/xe_perf.c b/drivers/gpu/drm/xe/xe_perf.c
index b826d0e0ab70..06739787d0e7 100644
--- a/drivers/gpu/drm/xe/xe_perf.c
+++ b/drivers/gpu/drm/xe/xe_perf.c
@@ -16,6 +16,8 @@ static int xe_oa_ioctl(struct drm_device *dev, struct drm_xe_perf_param *arg,
 		       struct drm_file *file)
 {
 	switch (arg->perf_op) {
+	case DRM_XE_PERF_OP_STREAM_OPEN:
+		return xe_oa_stream_open_ioctl(dev, arg->param, file);
 	case DRM_XE_PERF_OP_ADD_CONFIG:
 		return xe_oa_add_config_ioctl(dev, arg->param, file);
 	case DRM_XE_PERF_OP_REMOVE_CONFIG:
diff --git a/include/uapi/drm/xe_drm.h b/include/uapi/drm/xe_drm.h
index e6a67c8c02db..38c9360684d1 100644
--- a/include/uapi/drm/xe_drm.h
+++ b/include/uapi/drm/xe_drm.h
@@ -1456,6 +1456,78 @@ enum drm_xe_oa_format_type {
 	DRM_XE_OA_FMT_TYPE_PEC,
 };
 
+/**
+ * enum drm_xe_oa_property_id - OA stream property id's
+ *
+ * Stream params are specified as a chain of @drm_xe_ext_set_property
+ * struct's, with @property values from enum @drm_xe_oa_property_id and
+ * @drm_xe_user_extension base.name set to @DRM_XE_OA_EXTENSION_SET_PROPERTY.
+ * @param field in struct @drm_xe_perf_param points to the first
+ * @drm_xe_ext_set_property struct.
+ */
+enum drm_xe_oa_property_id {
+#define DRM_XE_OA_EXTENSION_SET_PROPERTY	0
+	/**
+	 * @DRM_XE_OA_PROPERTY_OA_UNIT_ID: ID of the OA unit on which to open
+	 * the OA stream, see @oa_unit_id in 'struct
+	 * drm_xe_query_oa_units'. Defaults to 0 if not provided.
+	 */
+	DRM_XE_OA_PROPERTY_OA_UNIT_ID = 1,
+
+	/**
+	 * @DRM_XE_OA_PROPERTY_SAMPLE_OA: A value of 1 requests inclusion of raw
+	 * OA unit reports or stream samples in a global buffer attached to an
+	 * OA unit.
+	 */
+	DRM_XE_OA_PROPERTY_SAMPLE_OA,
+
+	/**
+	 * @DRM_XE_OA_PROPERTY_OA_METRIC_SET: OA metrics defining contents of OA
+	 * reports, previously added via @DRM_XE_PERF_OP_ADD_CONFIG.
+	 */
+	DRM_XE_OA_PROPERTY_OA_METRIC_SET,
+
+	/** @DRM_XE_OA_PROPERTY_OA_FORMAT: Perf counter report format */
+	DRM_XE_OA_PROPERTY_OA_FORMAT,
+	/*
+	 * OA_FORMAT's are specified the same way as in PRM/Bspec 52198/60942,
+	 * in terms of the following quantities: a. enum @drm_xe_oa_format_type
+	 * b. Counter select c. Counter size and d. BC report. Also refer to the
+	 * oa_formats array in drivers/gpu/drm/xe/xe_oa.c.
+	 */
+#define DRM_XE_OA_FORMAT_MASK_FMT_TYPE		(0xff << 0)
+#define DRM_XE_OA_FORMAT_MASK_COUNTER_SEL	(0xff << 8)
+#define DRM_XE_OA_FORMAT_MASK_COUNTER_SIZE	(0xff << 16)
+#define DRM_XE_OA_FORMAT_MASK_BC_REPORT		(0xff << 24)
+
+	/**
+	 * @DRM_XE_OA_PROPERTY_OA_PERIOD_EXPONENT: Requests periodic OA unit
+	 * sampling with sampling frequency proportional to 2^(period_exponent + 1)
+	 */
+	DRM_XE_OA_PROPERTY_OA_PERIOD_EXPONENT,
+
+	/**
+	 * @DRM_XE_OA_PROPERTY_OA_DISABLED: A value of 1 will open the OA
+	 * stream in a DISABLED state (see @DRM_XE_PERF_IOCTL_ENABLE).
+	 */
+	DRM_XE_OA_PROPERTY_OA_DISABLED,
+
+	/**
+	 * @DRM_XE_OA_PROPERTY_EXEC_QUEUE_ID: Open the stream for a specific
+	 * @exec_queue_id. Perf queries can be executed on this exec queue.
+	 */
+	DRM_XE_OA_PROPERTY_EXEC_QUEUE_ID,
+
+	/**
+	 * @DRM_XE_OA_PROPERTY_OA_ENGINE_INSTANCE: Optional engine instance to
+	 * pass along with @DRM_XE_OA_PROPERTY_EXEC_QUEUE_ID or will default to 0.
+	 */
+	DRM_XE_OA_PROPERTY_OA_ENGINE_INSTANCE,
+
+	/** @DRM_XE_OA_PROPERTY_MAX: non-ABI */
+	DRM_XE_OA_PROPERTY_MAX
+};
+
 /**
  * struct drm_xe_oa_config - OA metric configuration
  *
-- 
2.41.0


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

* [PATCH 07/17] drm/xe/oa: OA stream initialization (OAG)
  2024-05-27  1:43 [PATCH v15 00/17] Add OA functionality to Xe Ashutosh Dixit
                   ` (5 preceding siblings ...)
  2024-05-27  1:43 ` [PATCH 06/17] drm/xe/oa/uapi: Define and parse OA stream properties Ashutosh Dixit
@ 2024-05-27  1:43 ` Ashutosh Dixit
  2024-05-27  7:04   ` Lionel Landwerlin
  2024-05-27  1:43 ` [PATCH 08/17] drm/xe/oa/uapi: Expose OA stream fd Ashutosh Dixit
                   ` (18 subsequent siblings)
  25 siblings, 1 reply; 47+ messages in thread
From: Ashutosh Dixit @ 2024-05-27  1:43 UTC (permalink / raw)
  To: intel-xe

Implement majority of OA stream initialization (as part of OA stream open)
ioctl). OAG buffer is allocated for receiving perf counter samples from
HW. OAG unit is initialized and the selected OA metric configuration is
programmed into OAG unit HW using a command/batch buffer.

Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
---
 drivers/gpu/drm/xe/regs/xe_gt_regs.h |   3 +
 drivers/gpu/drm/xe/xe_oa.c           | 393 +++++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_oa_types.h     |  79 ++++++
 3 files changed, 475 insertions(+)

diff --git a/drivers/gpu/drm/xe/regs/xe_gt_regs.h b/drivers/gpu/drm/xe/regs/xe_gt_regs.h
index 9cacdcfe27ff..f48ed5fe2200 100644
--- a/drivers/gpu/drm/xe/regs/xe_gt_regs.h
+++ b/drivers/gpu/drm/xe/regs/xe_gt_regs.h
@@ -170,6 +170,8 @@
 
 #define SQCNT1					XE_REG_MCR(0x8718)
 #define XELPMP_SQCNT1				XE_REG(0x8718)
+#define   SQCNT1_PMON_ENABLE			REG_BIT(30)
+#define   SQCNT1_OABPC				REG_BIT(29)
 #define   ENFORCE_RAR				REG_BIT(23)
 
 #define XEHP_SQCM				XE_REG_MCR(0x8724)
@@ -427,6 +429,7 @@
 #define ROW_CHICKEN				XE_REG_MCR(0xe4f0, XE_REG_OPTION_MASKED)
 #define   UGM_BACKUP_MODE			REG_BIT(13)
 #define   MDQ_ARBITRATION_MODE			REG_BIT(12)
+#define   STALL_DOP_GATING_DISABLE		REG_BIT(5)
 #define   EARLY_EOT_DIS				REG_BIT(1)
 
 #define ROW_CHICKEN2				XE_REG_MCR(0xe4f4, XE_REG_OPTION_MASKED)
diff --git a/drivers/gpu/drm/xe/xe_oa.c b/drivers/gpu/drm/xe/xe_oa.c
index 9944a4a5ea15..87a00d38150a 100644
--- a/drivers/gpu/drm/xe/xe_oa.c
+++ b/drivers/gpu/drm/xe/xe_oa.c
@@ -3,22 +3,32 @@
  * Copyright © 2023 Intel Corporation
  */
 
+#include <linux/delay.h>
 #include <linux/nospec.h>
 
+#include <drm/drm_drv.h>
 #include <drm/xe_drm.h>
 
+#include "instructions/xe_mi_commands.h"
 #include "regs/xe_gt_regs.h"
 #include "regs/xe_oa_regs.h"
 #include "xe_assert.h"
+#include "xe_bb.h"
+#include "xe_bo.h"
 #include "xe_device.h"
 #include "xe_exec_queue.h"
+#include "xe_force_wake.h"
 #include "xe_gt.h"
+#include "xe_gt_mcr.h"
 #include "xe_macros.h"
 #include "xe_mmio.h"
 #include "xe_oa.h"
 #include "xe_perf.h"
 #include "xe_pm.h"
+#include "xe_sched_job.h"
 
+#define DEFAULT_POLL_FREQUENCY_HZ 200
+#define DEFAULT_POLL_PERIOD_NS (NSEC_PER_SEC / DEFAULT_POLL_FREQUENCY_HZ)
 #define XE_OA_UNIT_INVALID U32_MAX
 
 struct xe_oa_reg {
@@ -56,6 +66,13 @@ struct xe_oa_open_param {
 	struct xe_hw_engine *hwe;
 };
 
+struct xe_oa_config_bo {
+	struct llist_node node;
+
+	struct xe_oa_config *oa_config;
+	struct xe_bb *bb;
+};
+
 #define DRM_FMT(x) DRM_XE_OA_FMT_TYPE_##x
 
 static const struct xe_oa_format oa_formats[] = {
@@ -98,6 +115,378 @@ static void xe_oa_config_put(struct xe_oa_config *oa_config)
 	kref_put(&oa_config->ref, xe_oa_config_release);
 }
 
+static struct xe_oa_config *xe_oa_config_get(struct xe_oa_config *oa_config)
+{
+	return kref_get_unless_zero(&oa_config->ref) ? oa_config : NULL;
+}
+
+static struct xe_oa_config *xe_oa_get_oa_config(struct xe_oa *oa, int metrics_set)
+{
+	struct xe_oa_config *oa_config;
+
+	rcu_read_lock();
+	oa_config = idr_find(&oa->metrics_idr, metrics_set);
+	if (oa_config)
+		oa_config = xe_oa_config_get(oa_config);
+	rcu_read_unlock();
+
+	return oa_config;
+}
+
+static void free_oa_config_bo(struct xe_oa_config_bo *oa_bo)
+{
+	xe_oa_config_put(oa_bo->oa_config);
+	xe_bb_free(oa_bo->bb, NULL);
+	kfree(oa_bo);
+}
+
+static const struct xe_oa_regs *__oa_regs(struct xe_oa_stream *stream)
+{
+	return &stream->hwe->oa_unit->regs;
+}
+
+static int xe_oa_submit_bb(struct xe_oa_stream *stream, struct xe_bb *bb)
+{
+	struct xe_sched_job *job;
+	struct dma_fence *fence;
+	long timeout;
+	int err = 0;
+
+	/* Kernel configuration is issued on stream->k_exec_q, not stream->exec_q */
+	job = xe_bb_create_job(stream->k_exec_q, bb);
+	if (IS_ERR(job)) {
+		err = PTR_ERR(job);
+		goto exit;
+	}
+
+	xe_sched_job_arm(job);
+	fence = dma_fence_get(&job->drm.s_fence->finished);
+	xe_sched_job_push(job);
+
+	timeout = dma_fence_wait_timeout(fence, false, HZ);
+	dma_fence_put(fence);
+	if (timeout < 0)
+		err = timeout;
+	else if (!timeout)
+		err = -ETIME;
+exit:
+	return err;
+}
+
+static void write_cs_mi_lri(struct xe_bb *bb, const struct xe_oa_reg *reg_data, u32 n_regs)
+{
+	u32 i;
+
+#define MI_LOAD_REGISTER_IMM_MAX_REGS (126)
+
+	for (i = 0; i < n_regs; i++) {
+		if ((i % MI_LOAD_REGISTER_IMM_MAX_REGS) == 0) {
+			u32 n_lri = min_t(u32, n_regs - i,
+					  MI_LOAD_REGISTER_IMM_MAX_REGS);
+
+			bb->cs[bb->len++] = MI_LOAD_REGISTER_IMM | MI_LRI_NUM_REGS(n_lri);
+		}
+		bb->cs[bb->len++] = reg_data[i].addr.addr;
+		bb->cs[bb->len++] = reg_data[i].value;
+	}
+}
+
+static int num_lri_dwords(int num_regs)
+{
+	int count = 0;
+
+	if (num_regs > 0) {
+		count += DIV_ROUND_UP(num_regs, MI_LOAD_REGISTER_IMM_MAX_REGS);
+		count += num_regs * 2;
+	}
+
+	return count;
+}
+
+static void xe_oa_free_oa_buffer(struct xe_oa_stream *stream)
+{
+	xe_bo_unpin_map_no_vm(stream->oa_buffer.bo);
+}
+
+static void xe_oa_free_configs(struct xe_oa_stream *stream)
+{
+	struct xe_oa_config_bo *oa_bo, *tmp;
+
+	xe_oa_config_put(stream->oa_config);
+	llist_for_each_entry_safe(oa_bo, tmp, stream->oa_config_bos.first, node)
+		free_oa_config_bo(oa_bo);
+}
+
+#define HAS_OA_BPC_REPORTING(xe) (GRAPHICS_VERx100(xe) >= 1255)
+
+static void xe_oa_disable_metric_set(struct xe_oa_stream *stream)
+{
+	u32 sqcnt1;
+
+	/*
+	 * Wa_1508761755:xehpsdv, dg2
+	 * Enable thread stall DOP gating and EU DOP gating.
+	 */
+	if (stream->oa->xe->info.platform == XE_DG2) {
+		xe_gt_mcr_multicast_write(stream->gt, ROW_CHICKEN,
+					  _MASKED_BIT_DISABLE(STALL_DOP_GATING_DISABLE));
+		xe_gt_mcr_multicast_write(stream->gt, ROW_CHICKEN2,
+					  _MASKED_BIT_DISABLE(DISABLE_DOP_GATING));
+	}
+
+	/* Make sure we disable noa to save power. */
+	xe_mmio_rmw32(stream->gt, RPM_CONFIG1, GT_NOA_ENABLE, 0);
+
+	sqcnt1 = SQCNT1_PMON_ENABLE |
+		 (HAS_OA_BPC_REPORTING(stream->oa->xe) ? SQCNT1_OABPC : 0);
+
+	/* Reset PMON Enable to save power. */
+	xe_mmio_rmw32(stream->gt, XELPMP_SQCNT1, sqcnt1, 0);
+}
+
+static int xe_oa_alloc_oa_buffer(struct xe_oa_stream *stream)
+{
+	struct xe_bo *bo;
+
+	BUILD_BUG_ON_NOT_POWER_OF_2(XE_OA_BUFFER_SIZE);
+	BUILD_BUG_ON(XE_OA_BUFFER_SIZE < SZ_128K || XE_OA_BUFFER_SIZE > SZ_16M);
+
+	bo = xe_bo_create_pin_map(stream->oa->xe, stream->gt->tile, NULL,
+				  XE_OA_BUFFER_SIZE, ttm_bo_type_kernel,
+				  XE_BO_FLAG_SYSTEM | XE_BO_FLAG_GGTT);
+	if (IS_ERR(bo))
+		return PTR_ERR(bo);
+
+	stream->oa_buffer.bo = bo;
+	stream->oa_buffer.vaddr = bo->vmap.vaddr;
+	return 0;
+}
+
+static struct xe_oa_config_bo *
+__xe_oa_alloc_config_buffer(struct xe_oa_stream *stream, struct xe_oa_config *oa_config)
+{
+	struct xe_oa_config_bo *oa_bo;
+	size_t config_length;
+	struct xe_bb *bb;
+
+	oa_bo = kzalloc(sizeof(*oa_bo), GFP_KERNEL);
+	if (!oa_bo)
+		return ERR_PTR(-ENOMEM);
+
+	config_length = num_lri_dwords(oa_config->regs_len);
+	config_length = ALIGN(sizeof(u32) * config_length, XE_PAGE_SIZE) / sizeof(u32);
+
+	bb = xe_bb_new(stream->gt, config_length, false);
+	if (IS_ERR(bb))
+		goto err_free;
+
+	write_cs_mi_lri(bb, oa_config->regs, oa_config->regs_len);
+
+	oa_bo->bb = bb;
+	oa_bo->oa_config = xe_oa_config_get(oa_config);
+	llist_add(&oa_bo->node, &stream->oa_config_bos);
+
+	return oa_bo;
+err_free:
+	kfree(oa_bo);
+	return ERR_CAST(bb);
+}
+
+static struct xe_oa_config_bo *xe_oa_alloc_config_buffer(struct xe_oa_stream *stream)
+{
+	struct xe_oa_config *oa_config = stream->oa_config;
+	struct xe_oa_config_bo *oa_bo;
+
+	/* Look for the buffer in the already allocated BOs attached to the stream */
+	llist_for_each_entry(oa_bo, stream->oa_config_bos.first, node) {
+		if (oa_bo->oa_config == oa_config &&
+		    memcmp(oa_bo->oa_config->uuid, oa_config->uuid,
+			   sizeof(oa_config->uuid)) == 0)
+			goto out;
+	}
+
+	oa_bo = __xe_oa_alloc_config_buffer(stream, oa_config);
+out:
+	return oa_bo;
+}
+
+static int xe_oa_emit_oa_config(struct xe_oa_stream *stream)
+{
+#define NOA_PROGRAM_ADDITIONAL_DELAY_US 500
+	struct xe_oa_config_bo *oa_bo;
+	int err, us = NOA_PROGRAM_ADDITIONAL_DELAY_US;
+
+	oa_bo = xe_oa_alloc_config_buffer(stream);
+	if (IS_ERR(oa_bo)) {
+		err = PTR_ERR(oa_bo);
+		goto exit;
+	}
+
+	err = xe_oa_submit_bb(stream, oa_bo->bb);
+
+	/* Additional empirical delay needed for NOA programming after registers are written */
+	usleep_range(us, 2 * us);
+exit:
+	return err;
+}
+
+static u32 oag_report_ctx_switches(const struct xe_oa_stream *stream)
+{
+	/* If user didn't require OA reports, ask HW not to emit ctx switch reports */
+	return _MASKED_FIELD(OAG_OA_DEBUG_DISABLE_CTX_SWITCH_REPORTS,
+			     stream->sample ?
+			     0 : OAG_OA_DEBUG_DISABLE_CTX_SWITCH_REPORTS);
+}
+
+static int xe_oa_enable_metric_set(struct xe_oa_stream *stream)
+{
+	u32 oa_debug, sqcnt1;
+
+	/*
+	 * Wa_1508761755:xehpsdv, dg2
+	 * EU NOA signals behave incorrectly if EU clock gating is enabled.
+	 * Disable thread stall DOP gating and EU DOP gating.
+	 */
+	if (stream->oa->xe->info.platform == XE_DG2) {
+		xe_gt_mcr_multicast_write(stream->gt, ROW_CHICKEN,
+					  _MASKED_BIT_ENABLE(STALL_DOP_GATING_DISABLE));
+		xe_gt_mcr_multicast_write(stream->gt, ROW_CHICKEN2,
+					  _MASKED_BIT_ENABLE(DISABLE_DOP_GATING));
+	}
+
+	/* Disable clk ratio reports */
+	oa_debug = OAG_OA_DEBUG_DISABLE_CLK_RATIO_REPORTS |
+		OAG_OA_DEBUG_INCLUDE_CLK_RATIO;
+
+	xe_mmio_write32(stream->gt, __oa_regs(stream)->oa_debug,
+			_MASKED_BIT_ENABLE(oa_debug) |
+			oag_report_ctx_switches(stream));
+
+	xe_mmio_write32(stream->gt, __oa_regs(stream)->oa_ctx_ctrl, stream->periodic ?
+			(OAG_OAGLBCTXCTRL_COUNTER_RESUME |
+			 OAG_OAGLBCTXCTRL_TIMER_ENABLE |
+			 REG_FIELD_PREP(OAG_OAGLBCTXCTRL_TIMER_PERIOD_MASK,
+					stream->period_exponent)) : 0);
+
+	/*
+	 * Initialize Super Queue Internal Cnt Register
+	 * Set PMON Enable in order to collect valid metrics
+	 * Enable bytes per clock reporting
+	 */
+	sqcnt1 = SQCNT1_PMON_ENABLE |
+		 (HAS_OA_BPC_REPORTING(stream->oa->xe) ? SQCNT1_OABPC : 0);
+
+	xe_mmio_rmw32(stream->gt, XELPMP_SQCNT1, 0, sqcnt1);
+
+	return xe_oa_emit_oa_config(stream);
+}
+
+static int xe_oa_stream_init(struct xe_oa_stream *stream,
+			     struct xe_oa_open_param *param)
+{
+	struct xe_oa_unit *u = param->hwe->oa_unit;
+	struct xe_gt *gt = param->hwe->gt;
+	int ret;
+
+	stream->exec_q = param->exec_q;
+	stream->poll_period_ns = DEFAULT_POLL_PERIOD_NS;
+	stream->hwe = param->hwe;
+	stream->gt = stream->hwe->gt;
+	stream->oa_buffer.format = &stream->oa->oa_formats[param->oa_format];
+
+	stream->sample = param->sample;
+	stream->periodic = param->period_exponent > 0;
+	stream->period_exponent = param->period_exponent;
+
+	stream->oa_config = xe_oa_get_oa_config(stream->oa, param->metric_set);
+	if (!stream->oa_config) {
+		drm_dbg(&stream->oa->xe->drm, "Invalid OA config id=%i\n", param->metric_set);
+		ret = -EINVAL;
+		goto exit;
+	}
+
+	/* Take runtime pm ref and forcewake to disable RC6 */
+	xe_pm_runtime_get(stream->oa->xe);
+	XE_WARN_ON(xe_force_wake_get(gt_to_fw(gt), XE_FORCEWAKE_ALL));
+
+	ret = xe_oa_alloc_oa_buffer(stream);
+	if (ret)
+		goto err_fw_put;
+
+	stream->k_exec_q = xe_exec_queue_create(stream->oa->xe, NULL,
+						BIT(stream->hwe->logical_instance), 1,
+						stream->hwe, EXEC_QUEUE_FLAG_KERNEL, 0);
+	if (IS_ERR(stream->k_exec_q)) {
+		ret = PTR_ERR(stream->k_exec_q);
+		drm_err(&stream->oa->xe->drm, "gt%d, hwe %s, xe_exec_queue_create failed=%d",
+			stream->gt->info.id, stream->hwe->name, ret);
+		goto err_free_oa_buf;
+	}
+
+	ret = xe_oa_enable_metric_set(stream);
+	if (ret) {
+		drm_dbg(&stream->oa->xe->drm, "Unable to enable metric set\n");
+		goto err_put_k_exec_q;
+	}
+
+	drm_dbg(&stream->oa->xe->drm, "opening stream oa config uuid=%s\n",
+		stream->oa_config->uuid);
+
+	WRITE_ONCE(u->exclusive_stream, stream);
+
+	spin_lock_init(&stream->oa_buffer.ptr_lock);
+	mutex_init(&stream->stream_lock);
+
+	return 0;
+
+err_put_k_exec_q:
+	xe_oa_disable_metric_set(stream);
+	xe_exec_queue_put(stream->k_exec_q);
+err_free_oa_buf:
+	xe_oa_free_oa_buffer(stream);
+err_fw_put:
+	XE_WARN_ON(xe_force_wake_put(gt_to_fw(gt), XE_FORCEWAKE_ALL));
+	xe_pm_runtime_put(stream->oa->xe);
+	xe_oa_free_configs(stream);
+exit:
+	return ret;
+}
+
+static int xe_oa_stream_open_ioctl_locked(struct xe_oa *oa,
+					  struct xe_oa_open_param *param)
+{
+	struct xe_oa_stream *stream;
+	int stream_fd;
+	int ret;
+
+	/* We currently only allow exclusive access */
+	if (param->hwe->oa_unit->exclusive_stream) {
+		drm_dbg(&oa->xe->drm, "OA unit already in use\n");
+		ret = -EBUSY;
+		goto exit;
+	}
+
+	stream = kzalloc(sizeof(*stream), GFP_KERNEL);
+	if (!stream) {
+		ret = -ENOMEM;
+		goto exit;
+	}
+
+	stream->oa = oa;
+	ret = xe_oa_stream_init(stream, param);
+	if (ret)
+		goto err_free;
+
+	/* Hold a reference on the drm device till stream_fd is released */
+	drm_dev_get(&stream->oa->xe->drm);
+
+	return stream_fd;
+err_free:
+	kfree(stream);
+exit:
+	return ret;
+}
+
 /*
  * OA timestamp frequency = CS timestamp frequency in most platforms. On some
  * platforms OA unit ignores the CTC_SHIFT and the 2 timestamps differ. In such
@@ -419,6 +808,10 @@ int xe_oa_stream_open_ioctl(struct drm_device *dev, u64 data, struct drm_file *f
 		oa_freq_hz = div64_u64(NSEC_PER_SEC, oa_period);
 		drm_dbg(&oa->xe->drm, "Using periodic sampling freq %lld Hz\n", oa_freq_hz);
 	}
+
+	mutex_lock(&param.hwe->gt->oa.gt_lock);
+	ret = xe_oa_stream_open_ioctl_locked(oa, &param);
+	mutex_unlock(&param.hwe->gt->oa.gt_lock);
 err_exec_q:
 	if (ret < 0 && param.exec_q)
 		xe_exec_queue_put(param.exec_q);
diff --git a/drivers/gpu/drm/xe/xe_oa_types.h b/drivers/gpu/drm/xe/xe_oa_types.h
index b5c1a47c8988..91ecb1a0c7cc 100644
--- a/drivers/gpu/drm/xe/xe_oa_types.h
+++ b/drivers/gpu/drm/xe/xe_oa_types.h
@@ -14,6 +14,8 @@
 #include <drm/xe_drm.h>
 #include "regs/xe_reg_defs.h"
 
+#define XE_OA_BUFFER_SIZE SZ_16M
+
 enum xe_oa_report_header {
 	HDR_32_BIT = 0,
 	HDR_64_BIT,
@@ -137,4 +139,81 @@ struct xe_oa {
 	/** @oa_unit_ids: tracks oa unit ids assigned across gt's */
 	u16 oa_unit_ids;
 };
+
+/** @xe_oa_buffer: State of the stream OA buffer */
+struct xe_oa_buffer {
+	/** @format: data format */
+	const struct xe_oa_format *format;
+
+	/** @format: xe_bo backing the OA buffer */
+	struct xe_bo *bo;
+
+	/** @vaddr: mapped vaddr of the OA buffer */
+	u8 *vaddr;
+
+	/** @ptr_lock: Lock protecting reads/writes to head/tail pointers */
+	spinlock_t ptr_lock;
+
+	/** @head: Cached head to read from */
+	u32 head;
+
+	/** @tail: The last verified cached tail where HW has completed writing */
+	u32 tail;
+};
+
+/**
+ * struct xe_oa_stream - state for a single open stream FD
+ */
+struct xe_oa_stream {
+	/** @oa: xe_oa backpointer */
+	struct xe_oa *oa;
+
+	/** @gt: gt associated with the oa stream */
+	struct xe_gt *gt;
+
+	/** @hwe: hardware engine associated with this oa stream */
+	struct xe_hw_engine *hwe;
+
+	/** @stream_lock: Lock serializing stream operations */
+	struct mutex stream_lock;
+
+	/** @sample: true if DRM_XE_OA_PROP_SAMPLE_OA is provided */
+	bool sample;
+
+	/** @exec_q: Exec queue corresponding to DRM_XE_OA_PROPERTY_EXEC_QUEUE_ID */
+	struct xe_exec_queue *exec_q;
+
+	/** @k_exec_q: kernel exec_q used for OA programming batch submissions */
+	struct xe_exec_queue *k_exec_q;
+
+	/** @enabled: Whether the stream is currently enabled */
+	bool enabled;
+
+	/** @oa_config: OA configuration used by the stream */
+	struct xe_oa_config *oa_config;
+
+	/** @oa_config_bos: List of struct @xe_oa_config_bo's */
+	struct llist_head oa_config_bos;
+
+	/** @poll_check_timer: Timer to periodically check for data in the OA buffer */
+	struct hrtimer poll_check_timer;
+
+	/** @poll_wq: Wait queue for waiting for OA data to be available */
+	wait_queue_head_t poll_wq;
+
+	/** @pollin: Whether there is data available to read */
+	bool pollin;
+
+	/** @periodic: Whether periodic sampling is currently enabled */
+	bool periodic;
+
+	/** @period_exponent: OA unit sampling frequency is derived from this */
+	int period_exponent;
+
+	/** @oa_buffer: OA buffer for the stream */
+	struct xe_oa_buffer oa_buffer;
+
+	/** @poll_period_ns: hrtimer period for checking OA buffer for available data */
+	u64 poll_period_ns;
+};
 #endif
-- 
2.41.0


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

* [PATCH 08/17] drm/xe/oa/uapi: Expose OA stream fd
  2024-05-27  1:43 [PATCH v15 00/17] Add OA functionality to Xe Ashutosh Dixit
                   ` (6 preceding siblings ...)
  2024-05-27  1:43 ` [PATCH 07/17] drm/xe/oa: OA stream initialization (OAG) Ashutosh Dixit
@ 2024-05-27  1:43 ` Ashutosh Dixit
  2024-05-27  1:43 ` [PATCH 09/17] drm/xe/oa/uapi: Read file_operation Ashutosh Dixit
                   ` (17 subsequent siblings)
  25 siblings, 0 replies; 47+ messages in thread
From: Ashutosh Dixit @ 2024-05-27  1:43 UTC (permalink / raw)
  To: intel-xe

The OA stream open perf op returns an fd with its own file_operations for
the newly initialized OA stream. These file_operations allow userspace to
enable or disable the stream, as well as apply a different metric
configuration for the OA stream. Userspace can also poll for data
availability. OA stream initialization is completed in this commit by
enabling the OA stream. When sampling is enabled this starts a hrtimer
which periodically checks for data availablility.

v2: Use stream properties for stream reconfiguration with
    DRM_XE_PERF_IOCTL_CONFIG
v3: Hold runtime_pm reference across oa buffer alloc/free
v4: Fix 32 bit build

Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
---
 drivers/gpu/drm/xe/xe_oa.c | 380 +++++++++++++++++++++++++++++++++++++
 include/uapi/drm/xe_drm.h  |   4 +
 2 files changed, 384 insertions(+)

diff --git a/drivers/gpu/drm/xe/xe_oa.c b/drivers/gpu/drm/xe/xe_oa.c
index 87a00d38150a..5281ab9da202 100644
--- a/drivers/gpu/drm/xe/xe_oa.c
+++ b/drivers/gpu/drm/xe/xe_oa.c
@@ -3,8 +3,10 @@
  * Copyright © 2023 Intel Corporation
  */
 
+#include <linux/anon_inodes.h>
 #include <linux/delay.h>
 #include <linux/nospec.h>
+#include <linux/poll.h>
 
 #include <drm/drm_drv.h>
 #include <drm/xe_drm.h>
@@ -27,6 +29,7 @@
 #include "xe_pm.h"
 #include "xe_sched_job.h"
 
+#define OA_TAKEN(tail, head)	(((tail) - (head)) & (XE_OA_BUFFER_SIZE - 1))
 #define DEFAULT_POLL_FREQUENCY_HZ 200
 #define DEFAULT_POLL_PERIOD_NS (NSEC_PER_SEC / DEFAULT_POLL_FREQUENCY_HZ)
 #define XE_OA_UNIT_INVALID U32_MAX
@@ -145,6 +148,205 @@ static const struct xe_oa_regs *__oa_regs(struct xe_oa_stream *stream)
 	return &stream->hwe->oa_unit->regs;
 }
 
+static u32 xe_oa_hw_tail_read(struct xe_oa_stream *stream)
+{
+	return xe_mmio_read32(stream->gt, __oa_regs(stream)->oa_tail_ptr) &
+		OAG_OATAILPTR_MASK;
+}
+
+#define oa_report_header_64bit(__s) \
+	((__s)->oa_buffer.format->header == HDR_64_BIT)
+
+static u64 oa_report_id(struct xe_oa_stream *stream, void *report)
+{
+	return oa_report_header_64bit(stream) ? *(u64 *)report : *(u32 *)report;
+}
+
+static u64 oa_timestamp(struct xe_oa_stream *stream, void *report)
+{
+	return oa_report_header_64bit(stream) ?
+		*((u64 *)report + 1) :
+		*((u32 *)report + 1);
+}
+
+static bool xe_oa_buffer_check_unlocked(struct xe_oa_stream *stream)
+{
+	u32 gtt_offset = xe_bo_ggtt_addr(stream->oa_buffer.bo);
+	int report_size = stream->oa_buffer.format->size;
+	u32 tail, hw_tail;
+	unsigned long flags;
+	bool pollin;
+	u32 partial_report_size;
+
+	spin_lock_irqsave(&stream->oa_buffer.ptr_lock, flags);
+
+	hw_tail = xe_oa_hw_tail_read(stream);
+	hw_tail -= gtt_offset;
+
+	/*
+	 * The tail pointer increases in 64 byte (cacheline size), not in report_size
+	 * increments. Also report size may not be a power of 2. Compute potential
+	 * partially landed report in OA buffer.
+	 */
+	partial_report_size = OA_TAKEN(hw_tail, stream->oa_buffer.tail);
+	partial_report_size %= report_size;
+
+	/* Subtract partial amount off the tail */
+	hw_tail = OA_TAKEN(hw_tail, partial_report_size);
+
+	tail = hw_tail;
+
+	/*
+	 * Walk the stream backward until we find a report with report id and timestamp
+	 * not 0. We can't tell whether a report has fully landed in memory before the
+	 * report id and timestamp of the following report have landed.
+	 *
+	 * This is assuming that the writes of the OA unit land in memory in the order
+	 * they were written.  If not : (╯°□°)╯︵ ┻━┻
+	 */
+	while (OA_TAKEN(tail, stream->oa_buffer.tail) >= report_size) {
+		void *report = stream->oa_buffer.vaddr + tail;
+
+		if (oa_report_id(stream, report) || oa_timestamp(stream, report))
+			break;
+
+		tail = OA_TAKEN(tail, report_size);
+	}
+
+	if (OA_TAKEN(hw_tail, tail) > report_size)
+		drm_dbg(&stream->oa->xe->drm,
+			"unlanded report(s) head=0x%x tail=0x%x hw_tail=0x%x\n",
+			stream->oa_buffer.head, tail, hw_tail);
+
+	stream->oa_buffer.tail = tail;
+
+	pollin = OA_TAKEN(stream->oa_buffer.tail,
+			  stream->oa_buffer.head) >= report_size;
+
+	spin_unlock_irqrestore(&stream->oa_buffer.ptr_lock, flags);
+
+	return pollin;
+}
+
+static enum hrtimer_restart xe_oa_poll_check_timer_cb(struct hrtimer *hrtimer)
+{
+	struct xe_oa_stream *stream =
+		container_of(hrtimer, typeof(*stream), poll_check_timer);
+
+	if (xe_oa_buffer_check_unlocked(stream)) {
+		stream->pollin = true;
+		wake_up(&stream->poll_wq);
+	}
+
+	hrtimer_forward_now(hrtimer, ns_to_ktime(stream->poll_period_ns));
+
+	return HRTIMER_RESTART;
+}
+
+static void xe_oa_init_oa_buffer(struct xe_oa_stream *stream)
+{
+	u32 gtt_offset = xe_bo_ggtt_addr(stream->oa_buffer.bo);
+	u32 oa_buf = gtt_offset | OABUFFER_SIZE_16M | OAG_OABUFFER_MEMORY_SELECT;
+	unsigned long flags;
+
+	spin_lock_irqsave(&stream->oa_buffer.ptr_lock, flags);
+
+	xe_mmio_write32(stream->gt, __oa_regs(stream)->oa_status, 0);
+	xe_mmio_write32(stream->gt, __oa_regs(stream)->oa_head_ptr,
+			gtt_offset & OAG_OAHEADPTR_MASK);
+	stream->oa_buffer.head = 0;
+
+	/*
+	 * PRM says: "This MMIO must be set before the OATAILPTR register and after the
+	 * OAHEADPTR register. This is to enable proper functionality of the overflow bit".
+	 */
+	xe_mmio_write32(stream->gt, __oa_regs(stream)->oa_buffer, oa_buf);
+	xe_mmio_write32(stream->gt, __oa_regs(stream)->oa_tail_ptr,
+			gtt_offset & OAG_OATAILPTR_MASK);
+
+	/* Mark that we need updated tail pointer to read from */
+	stream->oa_buffer.tail = 0;
+
+	spin_unlock_irqrestore(&stream->oa_buffer.ptr_lock, flags);
+
+	/* Zero out the OA buffer since we rely on zero report id and timestamp fields */
+	memset(stream->oa_buffer.vaddr, 0, stream->oa_buffer.bo->size);
+}
+
+static u32 __format_to_oactrl(const struct xe_oa_format *format, int counter_sel_mask)
+{
+	return ((format->counter_select << (ffs(counter_sel_mask) - 1)) & counter_sel_mask) |
+		REG_FIELD_PREP(OA_OACONTROL_REPORT_BC_MASK, format->bc_report) |
+		REG_FIELD_PREP(OA_OACONTROL_COUNTER_SIZE_MASK, format->counter_size);
+}
+
+static void xe_oa_enable(struct xe_oa_stream *stream)
+{
+	const struct xe_oa_format *format = stream->oa_buffer.format;
+	const struct xe_oa_regs *regs;
+	u32 val;
+
+	/*
+	 * BSpec: 46822: Bit 0. Even if stream->sample is 0, for OAR to function, the OA
+	 * buffer must be correctly initialized
+	 */
+	xe_oa_init_oa_buffer(stream);
+
+	regs = __oa_regs(stream);
+	val = __format_to_oactrl(format, regs->oa_ctrl_counter_select_mask) |
+		OAG_OACONTROL_OA_COUNTER_ENABLE;
+
+	xe_mmio_write32(stream->gt, regs->oa_ctrl, val);
+}
+
+static void xe_oa_disable(struct xe_oa_stream *stream)
+{
+	xe_mmio_write32(stream->gt, __oa_regs(stream)->oa_ctrl, 0);
+	if (xe_mmio_wait32(stream->gt, __oa_regs(stream)->oa_ctrl,
+			   OAG_OACONTROL_OA_COUNTER_ENABLE, 0, 50000, NULL, false))
+		drm_err(&stream->oa->xe->drm,
+			"wait for OA to be disabled timed out\n");
+
+	if (GRAPHICS_VERx100(stream->oa->xe) <= 1270 && GRAPHICS_VERx100(stream->oa->xe) != 1260) {
+		/* <= XE_METEORLAKE except XE_PVC */
+		xe_mmio_write32(stream->gt, OA_TLB_INV_CR, 1);
+		if (xe_mmio_wait32(stream->gt, OA_TLB_INV_CR, 1, 0, 50000, NULL, false))
+			drm_err(&stream->oa->xe->drm,
+				"wait for OA tlb invalidate timed out\n");
+	}
+}
+
+static __poll_t xe_oa_poll_locked(struct xe_oa_stream *stream,
+				  struct file *file, poll_table *wait)
+{
+	__poll_t events = 0;
+
+	poll_wait(file, &stream->poll_wq, wait);
+
+	/*
+	 * We don't explicitly check whether there's something to read here since this
+	 * path may be hot depending on what else userspace is polling, or on the timeout
+	 * in use. We rely on hrtimer xe_oa_poll_check_timer_cb to notify us when there
+	 * are samples to read
+	 */
+	if (stream->pollin)
+		events |= EPOLLIN;
+
+	return events;
+}
+
+static __poll_t xe_oa_poll(struct file *file, poll_table *wait)
+{
+	struct xe_oa_stream *stream = file->private_data;
+	__poll_t ret;
+
+	mutex_lock(&stream->stream_lock);
+	ret = xe_oa_poll_locked(stream, file, wait);
+	mutex_unlock(&stream->stream_lock);
+
+	return ret;
+}
+
 static int xe_oa_submit_bb(struct xe_oa_stream *stream, struct xe_bb *bb)
 {
 	struct xe_sched_job *job;
@@ -244,6 +446,27 @@ static void xe_oa_disable_metric_set(struct xe_oa_stream *stream)
 	xe_mmio_rmw32(stream->gt, XELPMP_SQCNT1, sqcnt1, 0);
 }
 
+static void xe_oa_stream_destroy(struct xe_oa_stream *stream)
+{
+	struct xe_oa_unit *u = stream->hwe->oa_unit;
+	struct xe_gt *gt = stream->hwe->gt;
+
+	if (WARN_ON(stream != u->exclusive_stream))
+		return;
+
+	WRITE_ONCE(u->exclusive_stream, NULL);
+
+	xe_oa_disable_metric_set(stream);
+	xe_exec_queue_put(stream->k_exec_q);
+
+	xe_oa_free_oa_buffer(stream);
+
+	XE_WARN_ON(xe_force_wake_put(gt_to_fw(gt), XE_FORCEWAKE_ALL));
+	xe_pm_runtime_put(stream->oa->xe);
+
+	xe_oa_free_configs(stream);
+}
+
 static int xe_oa_alloc_oa_buffer(struct xe_oa_stream *stream)
 {
 	struct xe_bo *bo;
@@ -381,6 +604,148 @@ static int xe_oa_enable_metric_set(struct xe_oa_stream *stream)
 	return xe_oa_emit_oa_config(stream);
 }
 
+static void xe_oa_stream_enable(struct xe_oa_stream *stream)
+{
+	stream->pollin = false;
+
+	xe_oa_enable(stream);
+
+	if (stream->sample)
+		hrtimer_start(&stream->poll_check_timer,
+			      ns_to_ktime(stream->poll_period_ns),
+			      HRTIMER_MODE_REL_PINNED);
+}
+
+static void xe_oa_stream_disable(struct xe_oa_stream *stream)
+{
+	xe_oa_disable(stream);
+
+	if (stream->sample)
+		hrtimer_cancel(&stream->poll_check_timer);
+}
+
+static void xe_oa_enable_locked(struct xe_oa_stream *stream)
+{
+	if (stream->enabled)
+		return;
+
+	stream->enabled = true;
+
+	xe_oa_stream_enable(stream);
+}
+
+static void xe_oa_disable_locked(struct xe_oa_stream *stream)
+{
+	if (!stream->enabled)
+		return;
+
+	stream->enabled = false;
+
+	xe_oa_stream_disable(stream);
+}
+
+static long xe_oa_config_locked(struct xe_oa_stream *stream, u64 arg)
+{
+	struct drm_xe_ext_set_property ext;
+	long ret = stream->oa_config->id;
+	struct xe_oa_config *config;
+	int err;
+
+	err = __copy_from_user(&ext, u64_to_user_ptr(arg), sizeof(ext));
+	if (XE_IOCTL_DBG(stream->oa->xe, err))
+		return -EFAULT;
+
+	if (XE_IOCTL_DBG(stream->oa->xe, ext.pad) ||
+	    XE_IOCTL_DBG(stream->oa->xe, ext.base.name != DRM_XE_OA_EXTENSION_SET_PROPERTY) ||
+	    XE_IOCTL_DBG(stream->oa->xe, ext.base.next_extension) ||
+	    XE_IOCTL_DBG(stream->oa->xe, ext.property != DRM_XE_OA_PROPERTY_OA_METRIC_SET))
+		return -EINVAL;
+
+	config = xe_oa_get_oa_config(stream->oa, ext.value);
+	if (!config)
+		return -ENODEV;
+
+	if (config != stream->oa_config) {
+		err = xe_oa_emit_oa_config(stream);
+		if (!err)
+			config = xchg(&stream->oa_config, config);
+		else
+			ret = err;
+	}
+
+	xe_oa_config_put(config);
+
+	return ret;
+}
+
+static long xe_oa_ioctl_locked(struct xe_oa_stream *stream,
+			       unsigned int cmd,
+			       unsigned long arg)
+{
+	switch (cmd) {
+	case DRM_XE_PERF_IOCTL_ENABLE:
+		xe_oa_enable_locked(stream);
+		return 0;
+	case DRM_XE_PERF_IOCTL_DISABLE:
+		xe_oa_disable_locked(stream);
+		return 0;
+	case DRM_XE_PERF_IOCTL_CONFIG:
+		return xe_oa_config_locked(stream, arg);
+	}
+
+	return -EINVAL;
+}
+
+static long xe_oa_ioctl(struct file *file,
+			unsigned int cmd,
+			unsigned long arg)
+{
+	struct xe_oa_stream *stream = file->private_data;
+	long ret;
+
+	mutex_lock(&stream->stream_lock);
+	ret = xe_oa_ioctl_locked(stream, cmd, arg);
+	mutex_unlock(&stream->stream_lock);
+
+	return ret;
+}
+
+static void xe_oa_destroy_locked(struct xe_oa_stream *stream)
+{
+	if (stream->enabled)
+		xe_oa_disable_locked(stream);
+
+	xe_oa_stream_destroy(stream);
+
+	if (stream->exec_q)
+		xe_exec_queue_put(stream->exec_q);
+
+	kfree(stream);
+}
+
+static int xe_oa_release(struct inode *inode, struct file *file)
+{
+	struct xe_oa_stream *stream = file->private_data;
+	struct xe_gt *gt = stream->gt;
+
+	mutex_lock(&gt->oa.gt_lock);
+	xe_oa_destroy_locked(stream);
+	mutex_unlock(&gt->oa.gt_lock);
+
+	/* Release the reference the perf stream kept on the driver */
+	drm_dev_put(&gt_to_xe(gt)->drm);
+
+	return 0;
+}
+
+static const struct file_operations xe_oa_fops = {
+	.owner		= THIS_MODULE,
+	.llseek		= no_llseek,
+	.release	= xe_oa_release,
+	.poll		= xe_oa_poll,
+	.unlocked_ioctl	= xe_oa_ioctl,
+};
+
 static int xe_oa_stream_init(struct xe_oa_stream *stream,
 			     struct xe_oa_open_param *param)
 {
@@ -434,6 +799,10 @@ static int xe_oa_stream_init(struct xe_oa_stream *stream,
 
 	WRITE_ONCE(u->exclusive_stream, stream);
 
+	hrtimer_init(&stream->poll_check_timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL);
+	stream->poll_check_timer.function = xe_oa_poll_check_timer_cb;
+	init_waitqueue_head(&stream->poll_wq);
+
 	spin_lock_init(&stream->oa_buffer.ptr_lock);
 	mutex_init(&stream->stream_lock);
 
@@ -477,10 +846,21 @@ static int xe_oa_stream_open_ioctl_locked(struct xe_oa *oa,
 	if (ret)
 		goto err_free;
 
+	stream_fd = anon_inode_getfd("[xe_oa]", &xe_oa_fops, stream, 0);
+	if (stream_fd < 0) {
+		ret = stream_fd;
+		goto err_destroy;
+	}
+
+	if (!param->disabled)
+		xe_oa_enable_locked(stream);
+
 	/* Hold a reference on the drm device till stream_fd is released */
 	drm_dev_get(&stream->oa->xe->drm);
 
 	return stream_fd;
+err_destroy:
+	xe_oa_stream_destroy(stream);
 err_free:
 	kfree(stream);
 exit:
diff --git a/include/uapi/drm/xe_drm.h b/include/uapi/drm/xe_drm.h
index 38c9360684d1..eff62a3ed7d9 100644
--- a/include/uapi/drm/xe_drm.h
+++ b/include/uapi/drm/xe_drm.h
@@ -1464,6 +1464,10 @@ enum drm_xe_oa_format_type {
  * @drm_xe_user_extension base.name set to @DRM_XE_OA_EXTENSION_SET_PROPERTY.
  * @param field in struct @drm_xe_perf_param points to the first
  * @drm_xe_ext_set_property struct.
+ *
+ * Exactly the same mechanism is also used for stream reconfiguration using
+ * the @DRM_XE_PERF_IOCTL_CONFIG perf fd ioctl, though only a subset of
+ * properties below can be specified for stream reconfiguration.
  */
 enum drm_xe_oa_property_id {
 #define DRM_XE_OA_EXTENSION_SET_PROPERTY	0
-- 
2.41.0


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

* [PATCH 09/17] drm/xe/oa/uapi: Read file_operation
  2024-05-27  1:43 [PATCH v15 00/17] Add OA functionality to Xe Ashutosh Dixit
                   ` (7 preceding siblings ...)
  2024-05-27  1:43 ` [PATCH 08/17] drm/xe/oa/uapi: Expose OA stream fd Ashutosh Dixit
@ 2024-05-27  1:43 ` Ashutosh Dixit
  2024-05-27  1:43 ` [PATCH 10/17] drm/xe/oa: Add OAR support Ashutosh Dixit
                   ` (16 subsequent siblings)
  25 siblings, 0 replies; 47+ messages in thread
From: Ashutosh Dixit @ 2024-05-27  1:43 UTC (permalink / raw)
  To: intel-xe

Implement the OA stream read file_operation. Both blocking and non-blocking
reads are supported. As part of read system call, the read copies OA perf
data from the OA buffer to the user buffer, after appending packet headers
for status and data packets.

v2: Drop OA report headers, implement DRM_XE_PERF_IOCTL_STATUS (Umesh)
v3: Introduce 'struct drm_xe_oa_stream_status'
v4: Define oa_status register bitfields (Umesh)
v5: Add extensions to 'struct drm_xe_oa_stream_status'
v6: Minor cleanup, eliminate report32 variable
v7: Use -EIO to signal to userspace to read OASTATUS using
    DRM_XE_PERF_IOCTL_STATUS, change previous sites returning -EIO to
    return -EINVAL
    Make drm_xe_oa_stream_status bits contiguous (Jose, Umesh)
    rmw oa_status bits (Umesh)

Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
---
 drivers/gpu/drm/xe/xe_oa.c       | 201 +++++++++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_oa_types.h |   3 +
 include/uapi/drm/xe_drm.h        |  20 +++
 3 files changed, 224 insertions(+)

diff --git a/drivers/gpu/drm/xe/xe_oa.c b/drivers/gpu/drm/xe/xe_oa.c
index 5281ab9da202..37d869df413d 100644
--- a/drivers/gpu/drm/xe/xe_oa.c
+++ b/drivers/gpu/drm/xe/xe_oa.c
@@ -162,6 +162,14 @@ static u64 oa_report_id(struct xe_oa_stream *stream, void *report)
 	return oa_report_header_64bit(stream) ? *(u64 *)report : *(u32 *)report;
 }
 
+static void oa_report_id_clear(struct xe_oa_stream *stream, u32 *report)
+{
+	if (oa_report_header_64bit(stream))
+		*(u64 *)report = 0;
+	else
+		*report = 0;
+}
+
 static u64 oa_timestamp(struct xe_oa_stream *stream, void *report)
 {
 	return oa_report_header_64bit(stream) ?
@@ -169,6 +177,14 @@ static u64 oa_timestamp(struct xe_oa_stream *stream, void *report)
 		*((u32 *)report + 1);
 }
 
+static void oa_timestamp_clear(struct xe_oa_stream *stream, u32 *report)
+{
+	if (oa_report_header_64bit(stream))
+		*(u64 *)&report[2] = 0;
+	else
+		report[1] = 0;
+}
+
 static bool xe_oa_buffer_check_unlocked(struct xe_oa_stream *stream)
 {
 	u32 gtt_offset = xe_bo_ggtt_addr(stream->oa_buffer.bo);
@@ -243,6 +259,95 @@ static enum hrtimer_restart xe_oa_poll_check_timer_cb(struct hrtimer *hrtimer)
 	return HRTIMER_RESTART;
 }
 
+static int xe_oa_append_report(struct xe_oa_stream *stream, char __user *buf,
+			       size_t count, size_t *offset, const u8 *report)
+{
+	int report_size = stream->oa_buffer.format->size;
+	int report_size_partial;
+	u8 *oa_buf_end;
+
+	if ((count - *offset) < report_size)
+		return -ENOSPC;
+
+	buf += *offset;
+
+	oa_buf_end = stream->oa_buffer.vaddr + XE_OA_BUFFER_SIZE;
+	report_size_partial = oa_buf_end - report;
+
+	if (report_size_partial < report_size) {
+		if (copy_to_user(buf, report, report_size_partial))
+			return -EFAULT;
+		buf += report_size_partial;
+
+		if (copy_to_user(buf, stream->oa_buffer.vaddr,
+				 report_size - report_size_partial))
+			return -EFAULT;
+	} else if (copy_to_user(buf, report, report_size)) {
+		return -EFAULT;
+	}
+
+	*offset += report_size;
+
+	return 0;
+}
+
+static int xe_oa_append_reports(struct xe_oa_stream *stream, char __user *buf,
+				size_t count, size_t *offset)
+{
+	int report_size = stream->oa_buffer.format->size;
+	u8 *oa_buf_base = stream->oa_buffer.vaddr;
+	u32 gtt_offset = xe_bo_ggtt_addr(stream->oa_buffer.bo);
+	u32 mask = (XE_OA_BUFFER_SIZE - 1);
+	size_t start_offset = *offset;
+	unsigned long flags;
+	u32 head, tail;
+	int ret = 0;
+
+	spin_lock_irqsave(&stream->oa_buffer.ptr_lock, flags);
+	head = stream->oa_buffer.head;
+	tail = stream->oa_buffer.tail;
+	spin_unlock_irqrestore(&stream->oa_buffer.ptr_lock, flags);
+
+	xe_assert(stream->oa->xe, head < XE_OA_BUFFER_SIZE && tail < XE_OA_BUFFER_SIZE);
+
+	for (; OA_TAKEN(tail, head); head = (head + report_size) & mask) {
+		u8 *report = oa_buf_base + head;
+
+		ret = xe_oa_append_report(stream, buf, count, offset, report);
+		if (ret)
+			break;
+
+		if (is_power_of_2(report_size)) {
+			/* Clear out report id and timestamp to detect unlanded reports */
+			oa_report_id_clear(stream, (void *)report);
+			oa_timestamp_clear(stream, (void *)report);
+		} else {
+			u8 *oa_buf_end = stream->oa_buffer.vaddr + XE_OA_BUFFER_SIZE;
+			u32 part = oa_buf_end - report;
+
+			/* Zero out the entire report */
+			if (report_size <= part) {
+				memset(report, 0, report_size);
+			} else {
+				memset(report, 0, part);
+				memset(oa_buf_base, 0, report_size - part);
+			}
+		}
+	}
+
+	if (start_offset != *offset) {
+		struct xe_reg oaheadptr = __oa_regs(stream)->oa_head_ptr;
+
+		spin_lock_irqsave(&stream->oa_buffer.ptr_lock, flags);
+		xe_mmio_write32(stream->gt, oaheadptr,
+				(head + gtt_offset) & OAG_OAHEADPTR_MASK);
+		stream->oa_buffer.head = head;
+		spin_unlock_irqrestore(&stream->oa_buffer.ptr_lock, flags);
+	}
+
+	return ret;
+}
+
 static void xe_oa_init_oa_buffer(struct xe_oa_stream *stream)
 {
 	u32 gtt_offset = xe_bo_ggtt_addr(stream->oa_buffer.bo);
@@ -316,6 +421,78 @@ static void xe_oa_disable(struct xe_oa_stream *stream)
 	}
 }
 
+static int xe_oa_wait_unlocked(struct xe_oa_stream *stream)
+{
+	/* We might wait indefinitely if periodic sampling is not enabled */
+	if (!stream->periodic)
+		return -EINVAL;
+
+	return wait_event_interruptible(stream->poll_wq,
+					xe_oa_buffer_check_unlocked(stream));
+}
+
+#define OASTATUS_RELEVANT_BITS (OASTATUS_MMIO_TRG_Q_FULL | OASTATUS_COUNTER_OVERFLOW | \
+				OASTATUS_BUFFER_OVERFLOW | OASTATUS_REPORT_LOST)
+
+static int __xe_oa_read(struct xe_oa_stream *stream, char __user *buf,
+			size_t count, size_t *offset)
+{
+	/* Only clear our bits to avoid side-effects */
+	stream->oa_status = xe_mmio_rmw32(stream->gt, __oa_regs(stream)->oa_status,
+					  OASTATUS_RELEVANT_BITS, 0);
+	/*
+	 * Signal to userspace that there is non-zero OA status to read via
+	 * @DRM_XE_PERF_IOCTL_STATUS perf fd ioctl
+	 */
+	if (stream->oa_status & OASTATUS_RELEVANT_BITS)
+		return -EIO;
+
+	return xe_oa_append_reports(stream, buf, count, offset);
+}
+
+static ssize_t xe_oa_read(struct file *file, char __user *buf,
+			  size_t count, loff_t *ppos)
+{
+	struct xe_oa_stream *stream = file->private_data;
+	size_t offset = 0;
+	int ret;
+
+	/* Can't read from disabled streams */
+	if (!stream->enabled || !stream->sample)
+		return -EINVAL;
+
+	if (!(file->f_flags & O_NONBLOCK)) {
+		do {
+			ret = xe_oa_wait_unlocked(stream);
+			if (ret)
+				return ret;
+
+			mutex_lock(&stream->stream_lock);
+			ret = __xe_oa_read(stream, buf, count, &offset);
+			mutex_unlock(&stream->stream_lock);
+		} while (!offset && !ret);
+	} else {
+		mutex_lock(&stream->stream_lock);
+		ret = __xe_oa_read(stream, buf, count, &offset);
+		mutex_unlock(&stream->stream_lock);
+	}
+
+	/*
+	 * Typically we clear pollin here in order to wait for the new hrtimer callback
+	 * before unblocking. The exception to this is if __xe_oa_read returns -ENOSPC,
+	 * which means that more OA data is available than could fit in the user provided
+	 * buffer. In this case we want the next poll() call to not block.
+	 *
+	 * Also in case of -EIO, we have already waited for data before returning
+	 * -EIO, so need to wait again
+	 */
+	if (ret != -ENOSPC && ret != -EIO)
+		stream->pollin = false;
+
+	/* Possible values for ret are 0, -EFAULT, -ENOSPC, -EIO, -EINVAL, ... */
+	return offset ?: (ret ?: -EAGAIN);
+}
+
 static __poll_t xe_oa_poll_locked(struct xe_oa_stream *stream,
 				  struct file *file, poll_table *wait)
 {
@@ -678,6 +855,27 @@ static long xe_oa_config_locked(struct xe_oa_stream *stream, u64 arg)
 	return ret;
 }
 
+static long xe_oa_status_locked(struct xe_oa_stream *stream, unsigned long arg)
+{
+	struct drm_xe_oa_stream_status status = {};
+	void __user *uaddr = (void __user *)arg;
+
+	/* Map from register to uapi bits */
+	if (stream->oa_status & OASTATUS_REPORT_LOST)
+		status.oa_status |= DRM_XE_OASTATUS_REPORT_LOST;
+	if (stream->oa_status & OASTATUS_BUFFER_OVERFLOW)
+		status.oa_status |= DRM_XE_OASTATUS_BUFFER_OVERFLOW;
+	if (stream->oa_status & OASTATUS_COUNTER_OVERFLOW)
+		status.oa_status |= DRM_XE_OASTATUS_COUNTER_OVERFLOW;
+	if (stream->oa_status & OASTATUS_MMIO_TRG_Q_FULL)
+		status.oa_status |= DRM_XE_OASTATUS_MMIO_TRG_Q_FULL;
+
+	if (copy_to_user(uaddr, &status, sizeof(status)))
+		return -EFAULT;
+
+	return 0;
+}
+
 static long xe_oa_ioctl_locked(struct xe_oa_stream *stream,
 			       unsigned int cmd,
 			       unsigned long arg)
@@ -691,6 +889,8 @@ static long xe_oa_ioctl_locked(struct xe_oa_stream *stream,
 		return 0;
 	case DRM_XE_PERF_IOCTL_CONFIG:
 		return xe_oa_config_locked(stream, arg);
+	case DRM_XE_PERF_IOCTL_STATUS:
+		return xe_oa_status_locked(stream, arg);
 	}
 
 	return -EINVAL;
@@ -743,6 +943,7 @@ static const struct file_operations xe_oa_fops = {
 	.llseek		= no_llseek,
 	.release	= xe_oa_release,
 	.poll		= xe_oa_poll,
+	.read		= xe_oa_read,
 	.unlocked_ioctl	= xe_oa_ioctl,
 };
 
diff --git a/drivers/gpu/drm/xe/xe_oa_types.h b/drivers/gpu/drm/xe/xe_oa_types.h
index 91ecb1a0c7cc..d6f183be0c2d 100644
--- a/drivers/gpu/drm/xe/xe_oa_types.h
+++ b/drivers/gpu/drm/xe/xe_oa_types.h
@@ -215,5 +215,8 @@ struct xe_oa_stream {
 
 	/** @poll_period_ns: hrtimer period for checking OA buffer for available data */
 	u64 poll_period_ns;
+
+	/** @oa_status: temporary storage for oa_status register value */
+	u32 oa_status;
 };
 #endif
diff --git a/include/uapi/drm/xe_drm.h b/include/uapi/drm/xe_drm.h
index eff62a3ed7d9..697a4f9e12e6 100644
--- a/include/uapi/drm/xe_drm.h
+++ b/include/uapi/drm/xe_drm.h
@@ -1556,6 +1556,26 @@ struct drm_xe_oa_config {
 	__u64 regs_ptr;
 };
 
+/**
+ * struct drm_xe_oa_stream_status - OA stream status returned from
+ * @DRM_XE_PERF_IOCTL_STATUS perf fd ioctl. Userspace can call the ioctl to
+ * query stream status in response to EIO errno from perf fd read().
+ */
+struct drm_xe_oa_stream_status {
+	/** @extensions: Pointer to the first extension struct, if any */
+	__u64 extensions;
+
+	/** @oa_status: OA stream status (see Bspec 46717/61226) */
+	__u64 oa_status;
+#define DRM_XE_OASTATUS_MMIO_TRG_Q_FULL		(1 << 3)
+#define DRM_XE_OASTATUS_COUNTER_OVERFLOW	(1 << 2)
+#define DRM_XE_OASTATUS_BUFFER_OVERFLOW		(1 << 1)
+#define DRM_XE_OASTATUS_REPORT_LOST		(1 << 0)
+
+	/** @reserved: reserved for future use */
+	__u64 reserved[3];
+};
+
 #if defined(__cplusplus)
 }
 #endif
-- 
2.41.0


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

* [PATCH 10/17] drm/xe/oa: Add OAR support
  2024-05-27  1:43 [PATCH v15 00/17] Add OA functionality to Xe Ashutosh Dixit
                   ` (8 preceding siblings ...)
  2024-05-27  1:43 ` [PATCH 09/17] drm/xe/oa/uapi: Read file_operation Ashutosh Dixit
@ 2024-05-27  1:43 ` Ashutosh Dixit
  2024-05-27  1:43 ` [PATCH 11/17] drm/xe/oa: Add OAC support Ashutosh Dixit
                   ` (15 subsequent siblings)
  25 siblings, 0 replies; 47+ messages in thread
From: Ashutosh Dixit @ 2024-05-27  1:43 UTC (permalink / raw)
  To: intel-xe

Add OAR support to allow userspace to execute MI_REPORT_PERF_COUNT on
render engines. Configuration batches are used to program the OAR unit, as
well as modifying the render engine context image of a specified exec queue
(to have correct register values when that context switches in).

v2: Rename/refactor xe_oa_modify_self (Umesh)

Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
---
 .../gpu/drm/xe/instructions/xe_mi_commands.h  |   3 +
 drivers/gpu/drm/xe/regs/xe_engine_regs.h      |   1 +
 drivers/gpu/drm/xe/xe_lrc.c                   |  11 +-
 drivers/gpu/drm/xe/xe_lrc.h                   |   1 +
 drivers/gpu/drm/xe/xe_oa.c                    | 190 ++++++++++++++++++
 drivers/gpu/drm/xe/xe_oa_types.h              |   4 +
 6 files changed, 205 insertions(+), 5 deletions(-)

diff --git a/drivers/gpu/drm/xe/instructions/xe_mi_commands.h b/drivers/gpu/drm/xe/instructions/xe_mi_commands.h
index c74ceb550dce..48d4c759c688 100644
--- a/drivers/gpu/drm/xe/instructions/xe_mi_commands.h
+++ b/drivers/gpu/drm/xe/instructions/xe_mi_commands.h
@@ -45,6 +45,9 @@
 #define   MI_LRI_MMIO_REMAP_EN		REG_BIT(17)
 #define   MI_LRI_NUM_REGS(x)		XE_INSTR_NUM_DW(2 * (x) + 1)
 #define   MI_LRI_FORCE_POSTED		REG_BIT(12)
+#define   IS_MI_LRI_CMD(x)		(REG_FIELD_GET(MI_OPCODE, (x)) == \
+					 REG_FIELD_GET(MI_OPCODE, MI_LOAD_REGISTER_IMM))
+#define   MI_LRI_LEN(x)			(((x) & 0xff) + 1)
 
 #define MI_FLUSH_DW			__MI_INSTR(0x26)
 #define   MI_FLUSH_DW_STORE_INDEX	REG_BIT(21)
diff --git a/drivers/gpu/drm/xe/regs/xe_engine_regs.h b/drivers/gpu/drm/xe/regs/xe_engine_regs.h
index 263ffc7bc2ef..cdc68d373165 100644
--- a/drivers/gpu/drm/xe/regs/xe_engine_regs.h
+++ b/drivers/gpu/drm/xe/regs/xe_engine_regs.h
@@ -129,6 +129,7 @@
 #define RING_EXECLIST_STATUS_HI(base)		XE_REG((base) + 0x234 + 4)
 
 #define RING_CONTEXT_CONTROL(base)		XE_REG((base) + 0x244, XE_REG_OPTION_MASKED)
+#define	  CTX_CTRL_OAC_CONTEXT_ENABLE		REG_BIT(8)
 #define	  CTX_CTRL_INDIRECT_RING_STATE_ENABLE	REG_BIT(4)
 #define	  CTX_CTRL_INHIBIT_SYN_CTX_SWITCH	REG_BIT(3)
 #define	  CTX_CTRL_ENGINE_CTX_RESTORE_INHIBIT	REG_BIT(0)
diff --git a/drivers/gpu/drm/xe/xe_lrc.c b/drivers/gpu/drm/xe/xe_lrc.c
index f679cb9aaea7..39de6ed84432 100644
--- a/drivers/gpu/drm/xe/xe_lrc.c
+++ b/drivers/gpu/drm/xe/xe_lrc.c
@@ -649,12 +649,18 @@ u32 xe_lrc_pphwsp_offset(struct xe_lrc *lrc)
 
 /* Make the magic macros work */
 #define __xe_lrc_pphwsp_offset xe_lrc_pphwsp_offset
+#define __xe_lrc_regs_offset xe_lrc_regs_offset
 
 #define LRC_SEQNO_PPHWSP_OFFSET 512
 #define LRC_START_SEQNO_PPHWSP_OFFSET (LRC_SEQNO_PPHWSP_OFFSET + 8)
 #define LRC_PARALLEL_PPHWSP_OFFSET 2048
 #define LRC_PPHWSP_SIZE SZ_4K
 
+u32 xe_lrc_regs_offset(struct xe_lrc *lrc)
+{
+	return xe_lrc_pphwsp_offset(lrc) + LRC_PPHWSP_SIZE;
+}
+
 static size_t lrc_reg_size(struct xe_device *xe)
 {
 	if (GRAPHICS_VERx100(xe) >= 1250)
@@ -686,11 +692,6 @@ static inline u32 __xe_lrc_parallel_offset(struct xe_lrc *lrc)
 	return xe_lrc_pphwsp_offset(lrc) + LRC_PARALLEL_PPHWSP_OFFSET;
 }
 
-static inline u32 __xe_lrc_regs_offset(struct xe_lrc *lrc)
-{
-	return xe_lrc_pphwsp_offset(lrc) + LRC_PPHWSP_SIZE;
-}
-
 static inline u32 __xe_lrc_indirect_ring_offset(struct xe_lrc *lrc)
 {
 	/* Indirect ring state page is at the very end of LRC */
diff --git a/drivers/gpu/drm/xe/xe_lrc.h b/drivers/gpu/drm/xe/xe_lrc.h
index b9da1031083b..0a5a49da3734 100644
--- a/drivers/gpu/drm/xe/xe_lrc.h
+++ b/drivers/gpu/drm/xe/xe_lrc.h
@@ -26,6 +26,7 @@ void xe_lrc_finish(struct xe_lrc *lrc);
 
 size_t xe_gt_lrc_size(struct xe_gt *gt, enum xe_engine_class class);
 u32 xe_lrc_pphwsp_offset(struct xe_lrc *lrc);
+u32 xe_lrc_regs_offset(struct xe_lrc *lrc);
 
 void xe_lrc_set_ring_tail(struct xe_lrc *lrc, u32 tail);
 u32 xe_lrc_ring_tail(struct xe_lrc *lrc);
diff --git a/drivers/gpu/drm/xe/xe_oa.c b/drivers/gpu/drm/xe/xe_oa.c
index 37d869df413d..beec07e4ff2c 100644
--- a/drivers/gpu/drm/xe/xe_oa.c
+++ b/drivers/gpu/drm/xe/xe_oa.c
@@ -12,7 +12,9 @@
 #include <drm/xe_drm.h>
 
 #include "instructions/xe_mi_commands.h"
+#include "regs/xe_engine_regs.h"
 #include "regs/xe_gt_regs.h"
+#include "regs/xe_lrc_layout.h"
 #include "regs/xe_oa_regs.h"
 #include "xe_assert.h"
 #include "xe_bb.h"
@@ -22,6 +24,7 @@
 #include "xe_force_wake.h"
 #include "xe_gt.h"
 #include "xe_gt_mcr.h"
+#include "xe_lrc.h"
 #include "xe_macros.h"
 #include "xe_mmio.h"
 #include "xe_oa.h"
@@ -56,6 +59,12 @@ struct xe_oa_config {
 	struct rcu_head rcu;
 };
 
+struct flex {
+	struct xe_reg reg;
+	u32 offset;
+	u32 value;
+};
+
 struct xe_oa_open_param {
 	u32 oa_unit_id;
 	bool sample;
@@ -596,6 +605,93 @@ static void xe_oa_free_configs(struct xe_oa_stream *stream)
 		free_oa_config_bo(oa_bo);
 }
 
+static void xe_oa_store_flex(struct xe_oa_stream *stream, struct xe_lrc *lrc,
+			     struct xe_bb *bb, const struct flex *flex, u32 count)
+{
+	u32 offset = xe_bo_ggtt_addr(lrc->bo);
+
+	do {
+		bb->cs[bb->len++] = MI_STORE_DATA_IMM | BIT(22) /* GGTT */ | 2;
+		bb->cs[bb->len++] = offset + flex->offset * sizeof(u32);
+		bb->cs[bb->len++] = 0;
+		bb->cs[bb->len++] = flex->value;
+
+	} while (flex++, --count);
+}
+
+static int xe_oa_modify_ctx_image(struct xe_oa_stream *stream, struct xe_lrc *lrc,
+				  const struct flex *flex, u32 count)
+{
+	struct xe_bb *bb;
+	int err;
+
+	bb = xe_bb_new(stream->gt, 4 * count, false);
+	if (IS_ERR(bb)) {
+		err = PTR_ERR(bb);
+		goto exit;
+	}
+
+	xe_oa_store_flex(stream, lrc, bb, flex, count);
+
+	err = xe_oa_submit_bb(stream, bb);
+	xe_bb_free(bb, NULL);
+exit:
+	return err;
+}
+
+static int xe_oa_load_with_lri(struct xe_oa_stream *stream, struct xe_oa_reg *reg_lri)
+{
+	struct xe_bb *bb;
+	int err;
+
+	bb = xe_bb_new(stream->gt, 3, false);
+	if (IS_ERR(bb)) {
+		err = PTR_ERR(bb);
+		goto exit;
+	}
+
+	write_cs_mi_lri(bb, reg_lri, 1);
+
+	err = xe_oa_submit_bb(stream, bb);
+	xe_bb_free(bb, NULL);
+exit:
+	return err;
+}
+
+static int xe_oa_configure_oar_context(struct xe_oa_stream *stream, bool enable)
+{
+	const struct xe_oa_format *format = stream->oa_buffer.format;
+	struct xe_lrc *lrc = &stream->exec_q->lrc[0];
+	u32 regs_offset = xe_lrc_regs_offset(lrc) / sizeof(u32);
+	u32 oacontrol = __format_to_oactrl(format, OAR_OACONTROL_COUNTER_SEL_MASK) |
+		(enable ? OAR_OACONTROL_COUNTER_ENABLE : 0);
+
+	struct flex regs_context[] = {
+		{
+			OACTXCONTROL(stream->hwe->mmio_base),
+			stream->oa->ctx_oactxctrl_offset[stream->hwe->class] + 1,
+			enable ? OA_COUNTER_RESUME : 0,
+		},
+		{
+			RING_CONTEXT_CONTROL(stream->hwe->mmio_base),
+			regs_offset + CTX_CONTEXT_CONTROL,
+			_MASKED_FIELD(CTX_CTRL_OAC_CONTEXT_ENABLE,
+				      enable ? CTX_CTRL_OAC_CONTEXT_ENABLE : 0)
+		},
+	};
+	struct xe_oa_reg reg_lri = { OAR_OACONTROL, oacontrol };
+	int err;
+
+	/* Modify stream hwe context image with regs_context */
+	err = xe_oa_modify_ctx_image(stream, &stream->exec_q->lrc[0],
+				     regs_context, ARRAY_SIZE(regs_context));
+	if (err)
+		return err;
+
+	/* Apply reg_lri using LRI */
+	return xe_oa_load_with_lri(stream, &reg_lri);
+}
+
 #define HAS_OA_BPC_REPORTING(xe) (GRAPHICS_VERx100(xe) >= 1255)
 
 static void xe_oa_disable_metric_set(struct xe_oa_stream *stream)
@@ -613,6 +709,10 @@ static void xe_oa_disable_metric_set(struct xe_oa_stream *stream)
 					  _MASKED_BIT_DISABLE(DISABLE_DOP_GATING));
 	}
 
+	/* disable the context save/restore or OAR counters */
+	if (stream->exec_q)
+		xe_oa_configure_oar_context(stream, false);
+
 	/* Make sure we disable noa to save power. */
 	xe_mmio_rmw32(stream->gt, RPM_CONFIG1, GT_NOA_ENABLE, 0);
 
@@ -741,6 +841,7 @@ static u32 oag_report_ctx_switches(const struct xe_oa_stream *stream)
 static int xe_oa_enable_metric_set(struct xe_oa_stream *stream)
 {
 	u32 oa_debug, sqcnt1;
+	int ret;
 
 	/*
 	 * Wa_1508761755:xehpsdv, dg2
@@ -778,6 +879,12 @@ static int xe_oa_enable_metric_set(struct xe_oa_stream *stream)
 
 	xe_mmio_rmw32(stream->gt, XELPMP_SQCNT1, 0, sqcnt1);
 
+	if (stream->exec_q) {
+		ret = xe_oa_configure_oar_context(stream, true);
+		if (ret)
+			return ret;
+	}
+
 	return xe_oa_emit_oa_config(stream);
 }
 
@@ -947,6 +1054,78 @@ static const struct file_operations xe_oa_fops = {
 	.unlocked_ioctl	= xe_oa_ioctl,
 };
 
+static bool engine_supports_mi_query(struct xe_hw_engine *hwe)
+{
+	return hwe->class == XE_ENGINE_CLASS_RENDER ||
+		hwe->class == XE_ENGINE_CLASS_COMPUTE;
+}
+
+static bool xe_oa_find_reg_in_lri(u32 *state, u32 reg, u32 *offset, u32 end)
+{
+	u32 idx = *offset;
+	u32 len = min(MI_LRI_LEN(state[idx]) + idx, end);
+	bool found = false;
+
+	idx++;
+	for (; idx < len; idx += 2) {
+		if (state[idx] == reg) {
+			found = true;
+			break;
+		}
+	}
+
+	*offset = idx;
+	return found;
+}
+
+static u32 xe_oa_context_image_offset(struct xe_oa_stream *stream, u32 reg)
+{
+	struct xe_lrc *lrc = &stream->exec_q->lrc[0];
+	u32 len = (xe_gt_lrc_size(stream->gt, stream->hwe->class) +
+		   lrc->ring.size) / sizeof(u32);
+	u32 offset = xe_lrc_regs_offset(lrc) / sizeof(u32);
+	u32 *state = (u32 *)lrc->bo->vmap.vaddr;
+
+	if (drm_WARN_ON(&stream->oa->xe->drm, !state))
+		return U32_MAX;
+
+	for (; offset < len; ) {
+		if (IS_MI_LRI_CMD(state[offset])) {
+			/*
+			 * We expect reg-value pairs in MI_LRI command, so
+			 * MI_LRI_LEN() should be even
+			 */
+			drm_WARN_ON(&stream->oa->xe->drm,
+				    MI_LRI_LEN(state[offset]) & 0x1);
+
+			if (xe_oa_find_reg_in_lri(state, reg, &offset, len))
+				break;
+		} else {
+			offset++;
+		}
+	}
+
+	return offset < len ? offset : U32_MAX;
+}
+
+static int xe_oa_set_ctx_ctrl_offset(struct xe_oa_stream *stream)
+{
+	struct xe_reg reg = OACTXCONTROL(stream->hwe->mmio_base);
+	u32 offset = stream->oa->ctx_oactxctrl_offset[stream->hwe->class];
+
+	/* Do this only once. Failure is stored as offset of U32_MAX */
+	if (offset)
+		goto exit;
+
+	offset = xe_oa_context_image_offset(stream, reg.addr);
+	stream->oa->ctx_oactxctrl_offset[stream->hwe->class] = offset;
+
+	drm_dbg(&stream->oa->xe->drm, "%s oa ctx control at 0x%08x dword offset\n",
+		stream->hwe->name, offset);
+exit:
+	return offset && offset != U32_MAX ? 0 : -ENODEV;
+}
+
 static int xe_oa_stream_init(struct xe_oa_stream *stream,
 			     struct xe_oa_open_param *param)
 {
@@ -964,6 +1143,17 @@ static int xe_oa_stream_init(struct xe_oa_stream *stream,
 	stream->periodic = param->period_exponent > 0;
 	stream->period_exponent = param->period_exponent;
 
+	if (stream->exec_q && engine_supports_mi_query(stream->hwe)) {
+		/* If we don't find the context offset, just return error */
+		ret = xe_oa_set_ctx_ctrl_offset(stream);
+		if (ret) {
+			drm_err(&stream->oa->xe->drm,
+				"xe_oa_set_ctx_ctrl_offset failed for %s\n",
+				stream->hwe->name);
+			goto exit;
+		}
+	}
+
 	stream->oa_config = xe_oa_get_oa_config(stream->oa, param->metric_set);
 	if (!stream->oa_config) {
 		drm_dbg(&stream->oa->xe->drm, "Invalid OA config id=%i\n", param->metric_set);
diff --git a/drivers/gpu/drm/xe/xe_oa_types.h b/drivers/gpu/drm/xe/xe_oa_types.h
index d6f183be0c2d..7f7c84e4b3a6 100644
--- a/drivers/gpu/drm/xe/xe_oa_types.h
+++ b/drivers/gpu/drm/xe/xe_oa_types.h
@@ -13,6 +13,7 @@
 
 #include <drm/xe_drm.h>
 #include "regs/xe_reg_defs.h"
+#include "xe_hw_engine_types.h"
 
 #define XE_OA_BUFFER_SIZE SZ_16M
 
@@ -128,6 +129,9 @@ struct xe_oa {
 	/** @metrics_idr: List of dynamic configurations (struct xe_oa_config) */
 	struct idr metrics_idr;
 
+	/** @ctx_oactxctrl_offset: offset of OACTXCONTROL register in context image */
+	u32 ctx_oactxctrl_offset[XE_ENGINE_CLASS_MAX];
+
 	/** @oa_formats: tracks all OA formats across platforms */
 	const struct xe_oa_format *oa_formats;
 
-- 
2.41.0


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

* [PATCH 11/17] drm/xe/oa: Add OAC support
  2024-05-27  1:43 [PATCH v15 00/17] Add OA functionality to Xe Ashutosh Dixit
                   ` (9 preceding siblings ...)
  2024-05-27  1:43 ` [PATCH 10/17] drm/xe/oa: Add OAR support Ashutosh Dixit
@ 2024-05-27  1:43 ` Ashutosh Dixit
  2024-05-27  1:43 ` [PATCH 12/17] drm/xe/oa/uapi: Query OA unit properties Ashutosh Dixit
                   ` (14 subsequent siblings)
  25 siblings, 0 replies; 47+ messages in thread
From: Ashutosh Dixit @ 2024-05-27  1:43 UTC (permalink / raw)
  To: intel-xe

Similar to OAR, allow userspace to execute MI_REPORT_PERF_COUNT on compute
engines of a specified exec queue.

Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
---
 drivers/gpu/drm/xe/regs/xe_engine_regs.h |  1 +
 drivers/gpu/drm/xe/regs/xe_oa_regs.h     |  3 +
 drivers/gpu/drm/xe/xe_oa.c               | 74 +++++++++++++++++++++++-
 3 files changed, 75 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/xe/regs/xe_engine_regs.h b/drivers/gpu/drm/xe/regs/xe_engine_regs.h
index cdc68d373165..c38db2a74614 100644
--- a/drivers/gpu/drm/xe/regs/xe_engine_regs.h
+++ b/drivers/gpu/drm/xe/regs/xe_engine_regs.h
@@ -130,6 +130,7 @@
 
 #define RING_CONTEXT_CONTROL(base)		XE_REG((base) + 0x244, XE_REG_OPTION_MASKED)
 #define	  CTX_CTRL_OAC_CONTEXT_ENABLE		REG_BIT(8)
+#define	  CTX_CTRL_RUN_ALONE			REG_BIT(7)
 #define	  CTX_CTRL_INDIRECT_RING_STATE_ENABLE	REG_BIT(4)
 #define	  CTX_CTRL_INHIBIT_SYN_CTX_SWITCH	REG_BIT(3)
 #define	  CTX_CTRL_ENGINE_CTX_RESTORE_INHIBIT	REG_BIT(0)
diff --git a/drivers/gpu/drm/xe/regs/xe_oa_regs.h b/drivers/gpu/drm/xe/regs/xe_oa_regs.h
index f9a60b79fa53..2f4293a974d0 100644
--- a/drivers/gpu/drm/xe/regs/xe_oa_regs.h
+++ b/drivers/gpu/drm/xe/regs/xe_oa_regs.h
@@ -72,6 +72,9 @@
 #define  OASTATUS_COUNTER_OVERFLOW	REG_BIT(2)
 #define  OASTATUS_BUFFER_OVERFLOW	REG_BIT(1)
 #define  OASTATUS_REPORT_LOST		REG_BIT(0)
+/* OAC unit */
+#define OAC_OACONTROL			XE_REG(0x15114)
+
 /* OAM unit */
 #define OAM_HEAD_POINTER_OFFSET			(0x1a0)
 #define OAM_TAIL_POINTER_OFFSET			(0x1a4)
diff --git a/drivers/gpu/drm/xe/xe_oa.c b/drivers/gpu/drm/xe/xe_oa.c
index beec07e4ff2c..36a374c0c4a8 100644
--- a/drivers/gpu/drm/xe/xe_oa.c
+++ b/drivers/gpu/drm/xe/xe_oa.c
@@ -394,6 +394,19 @@ static u32 __format_to_oactrl(const struct xe_oa_format *format, int counter_sel
 		REG_FIELD_PREP(OA_OACONTROL_COUNTER_SIZE_MASK, format->counter_size);
 }
 
+static u32 __oa_ccs_select(struct xe_oa_stream *stream)
+{
+	u32 val;
+
+	if (stream->hwe->class != XE_ENGINE_CLASS_COMPUTE)
+		return 0;
+
+	val = REG_FIELD_PREP(OAG_OACONTROL_OA_CCS_SELECT_MASK, stream->hwe->instance);
+	xe_assert(stream->oa->xe,
+		  REG_FIELD_GET(OAG_OACONTROL_OA_CCS_SELECT_MASK, val) == stream->hwe->instance);
+	return val;
+}
+
 static void xe_oa_enable(struct xe_oa_stream *stream)
 {
 	const struct xe_oa_format *format = stream->oa_buffer.format;
@@ -408,7 +421,7 @@ static void xe_oa_enable(struct xe_oa_stream *stream)
 
 	regs = __oa_regs(stream);
 	val = __format_to_oactrl(format, regs->oa_ctrl_counter_select_mask) |
-		OAG_OACONTROL_OA_COUNTER_ENABLE;
+		__oa_ccs_select(stream) | OAG_OACONTROL_OA_COUNTER_ENABLE;
 
 	xe_mmio_write32(stream->gt, regs->oa_ctrl, val);
 }
@@ -692,6 +705,57 @@ static int xe_oa_configure_oar_context(struct xe_oa_stream *stream, bool enable)
 	return xe_oa_load_with_lri(stream, &reg_lri);
 }
 
+static int xe_oa_configure_oac_context(struct xe_oa_stream *stream, bool enable)
+{
+	const struct xe_oa_format *format = stream->oa_buffer.format;
+	struct xe_lrc *lrc = &stream->exec_q->lrc[0];
+	u32 regs_offset = xe_lrc_regs_offset(lrc) / sizeof(u32);
+	u32 oacontrol = __format_to_oactrl(format, OAR_OACONTROL_COUNTER_SEL_MASK) |
+		(enable ? OAR_OACONTROL_COUNTER_ENABLE : 0);
+	struct flex regs_context[] = {
+		{
+			OACTXCONTROL(stream->hwe->mmio_base),
+			stream->oa->ctx_oactxctrl_offset[stream->hwe->class] + 1,
+			enable ? OA_COUNTER_RESUME : 0,
+		},
+		{
+			RING_CONTEXT_CONTROL(stream->hwe->mmio_base),
+			regs_offset + CTX_CONTEXT_CONTROL,
+			_MASKED_FIELD(CTX_CTRL_OAC_CONTEXT_ENABLE,
+				      enable ? CTX_CTRL_OAC_CONTEXT_ENABLE : 0) |
+			_MASKED_FIELD(CTX_CTRL_RUN_ALONE,
+				      enable ? CTX_CTRL_RUN_ALONE : 0),
+		},
+	};
+	struct xe_oa_reg reg_lri = { OAC_OACONTROL, oacontrol };
+	int err;
+
+	/* Set ccs select to enable programming of OAC_OACONTROL */
+	xe_mmio_write32(stream->gt, __oa_regs(stream)->oa_ctrl, __oa_ccs_select(stream));
+
+	/* Modify stream hwe context image with regs_context */
+	err = xe_oa_modify_ctx_image(stream, &stream->exec_q->lrc[0],
+				     regs_context, ARRAY_SIZE(regs_context));
+	if (err)
+		return err;
+
+	/* Apply reg_lri using LRI */
+	return xe_oa_load_with_lri(stream, &reg_lri);
+}
+
+static int xe_oa_configure_oa_context(struct xe_oa_stream *stream, bool enable)
+{
+	switch (stream->hwe->class) {
+	case XE_ENGINE_CLASS_RENDER:
+		return xe_oa_configure_oar_context(stream, enable);
+	case XE_ENGINE_CLASS_COMPUTE:
+		return xe_oa_configure_oac_context(stream, enable);
+	default:
+		/* Video engines do not support MI_REPORT_PERF_COUNT */
+		return 0;
+	}
+}
+
 #define HAS_OA_BPC_REPORTING(xe) (GRAPHICS_VERx100(xe) >= 1255)
 
 static void xe_oa_disable_metric_set(struct xe_oa_stream *stream)
@@ -711,7 +775,7 @@ static void xe_oa_disable_metric_set(struct xe_oa_stream *stream)
 
 	/* disable the context save/restore or OAR counters */
 	if (stream->exec_q)
-		xe_oa_configure_oar_context(stream, false);
+		xe_oa_configure_oa_context(stream, false);
 
 	/* Make sure we disable noa to save power. */
 	xe_mmio_rmw32(stream->gt, RPM_CONFIG1, GT_NOA_ENABLE, 0);
@@ -879,8 +943,9 @@ static int xe_oa_enable_metric_set(struct xe_oa_stream *stream)
 
 	xe_mmio_rmw32(stream->gt, XELPMP_SQCNT1, 0, sqcnt1);
 
+	/* Configure OAR/OAC */
 	if (stream->exec_q) {
-		ret = xe_oa_configure_oar_context(stream, true);
+		ret = xe_oa_configure_oa_context(stream, true);
 		if (ret)
 			return ret;
 	}
@@ -1532,6 +1597,9 @@ int xe_oa_stream_open_ioctl(struct drm_device *dev, u64 data, struct drm_file *f
 		param.exec_q = xe_exec_queue_lookup(xef, param.exec_queue_id);
 		if (XE_IOCTL_DBG(oa->xe, !param.exec_q))
 			return -ENOENT;
+
+		if (param.exec_q->width > 1)
+			drm_dbg(&oa->xe->drm, "exec_q->width > 1, programming only exec_q->lrc[0]\n");
 	}
 
 	/*
-- 
2.41.0


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

* [PATCH 12/17] drm/xe/oa/uapi: Query OA unit properties
  2024-05-27  1:43 [PATCH v15 00/17] Add OA functionality to Xe Ashutosh Dixit
                   ` (10 preceding siblings ...)
  2024-05-27  1:43 ` [PATCH 11/17] drm/xe/oa: Add OAC support Ashutosh Dixit
@ 2024-05-27  1:43 ` Ashutosh Dixit
  2024-05-27  1:43 ` [PATCH 13/17] drm/xe/oa/uapi: OA buffer mmap Ashutosh Dixit
                   ` (13 subsequent siblings)
  25 siblings, 0 replies; 47+ messages in thread
From: Ashutosh Dixit @ 2024-05-27  1:43 UTC (permalink / raw)
  To: intel-xe

Implement query for properties of OA units present on a device.

v2: Clean up reserved/pad fields (Umesh)
    Follow the same scheme as other query structs
v3: Skip reporting reserved engines attached to OA units
v4: Expose oa_buf_size via DRM_XE_PERF_IOCTL_INFO (Umesh)
v5: Don't expose capabilities as OR of properties (Umesh)
v6: Add extensions to query output structs: drm_xe_oa_unit,
    drm_xe_query_oa_units and drm_xe_oa_stream_info
v7: Change oa_units[] array to __u64 type

Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
---
 drivers/gpu/drm/xe/xe_oa.c    | 13 ++++++
 drivers/gpu/drm/xe/xe_query.c | 77 +++++++++++++++++++++++++++++++
 include/uapi/drm/xe_drm.h     | 85 +++++++++++++++++++++++++++++++++++
 3 files changed, 175 insertions(+)

diff --git a/drivers/gpu/drm/xe/xe_oa.c b/drivers/gpu/drm/xe/xe_oa.c
index 36a374c0c4a8..fa1c78c4b30a 100644
--- a/drivers/gpu/drm/xe/xe_oa.c
+++ b/drivers/gpu/drm/xe/xe_oa.c
@@ -1048,6 +1048,17 @@ static long xe_oa_status_locked(struct xe_oa_stream *stream, unsigned long arg)
 	return 0;
 }
 
+static long xe_oa_info_locked(struct xe_oa_stream *stream, unsigned long arg)
+{
+	struct drm_xe_oa_stream_info info = { .oa_buf_size = XE_OA_BUFFER_SIZE, };
+	void __user *uaddr = (void __user *)arg;
+
+	if (copy_to_user(uaddr, &info, sizeof(info)))
+		return -EFAULT;
+
+	return 0;
+}
+
 static long xe_oa_ioctl_locked(struct xe_oa_stream *stream,
 			       unsigned int cmd,
 			       unsigned long arg)
@@ -1063,6 +1074,8 @@ static long xe_oa_ioctl_locked(struct xe_oa_stream *stream,
 		return xe_oa_config_locked(stream, arg);
 	case DRM_XE_PERF_IOCTL_STATUS:
 		return xe_oa_status_locked(stream, arg);
+	case DRM_XE_PERF_IOCTL_INFO:
+		return xe_oa_info_locked(stream, arg);
 	}
 
 	return -EINVAL;
diff --git a/drivers/gpu/drm/xe/xe_query.c b/drivers/gpu/drm/xe/xe_query.c
index 995effcb904b..4e01df6b1b7a 100644
--- a/drivers/gpu/drm/xe/xe_query.c
+++ b/drivers/gpu/drm/xe/xe_query.c
@@ -602,6 +602,82 @@ query_uc_fw_version(struct xe_device *xe, struct drm_xe_device_query *query)
 	return 0;
 }
 
+static size_t calc_oa_unit_query_size(struct xe_device *xe)
+{
+	size_t size = sizeof(struct drm_xe_query_oa_units);
+	struct xe_gt *gt;
+	int i, id;
+
+	for_each_gt(gt, xe, id) {
+		for (i = 0; i < gt->oa.num_oa_units; i++) {
+			size += sizeof(struct drm_xe_oa_unit);
+			size += gt->oa.oa_unit[i].num_engines *
+				sizeof(struct drm_xe_engine_class_instance);
+		}
+	}
+
+	return size;
+}
+
+static int query_oa_units(struct xe_device *xe,
+			  struct drm_xe_device_query *query)
+{
+	void __user *query_ptr = u64_to_user_ptr(query->data);
+	size_t size = calc_oa_unit_query_size(xe);
+	struct drm_xe_query_oa_units *qoa;
+	enum xe_hw_engine_id hwe_id;
+	struct drm_xe_oa_unit *du;
+	struct xe_hw_engine *hwe;
+	struct xe_oa_unit *u;
+	int gt_id, i, j, ret;
+	struct xe_gt *gt;
+	u8 *pdu;
+
+	if (query->size == 0) {
+		query->size = size;
+		return 0;
+	} else if (XE_IOCTL_DBG(xe, query->size != size)) {
+		return -EINVAL;
+	}
+
+	qoa = kzalloc(size, GFP_KERNEL);
+	if (!qoa)
+		return -ENOMEM;
+
+	pdu = (u8 *)&qoa->oa_units[0];
+	for_each_gt(gt, xe, gt_id) {
+		for (i = 0; i < gt->oa.num_oa_units; i++) {
+			u = &gt->oa.oa_unit[i];
+			du = (struct drm_xe_oa_unit *)pdu;
+
+			du->oa_unit_id = u->oa_unit_id;
+			du->oa_unit_type = u->type;
+			du->oa_timestamp_freq = xe_oa_timestamp_frequency(gt);
+			du->capabilities = DRM_XE_OA_CAPS_BASE;
+
+			j = 0;
+			for_each_hw_engine(hwe, gt, hwe_id) {
+				if (!xe_hw_engine_is_reserved(hwe) &&
+				    xe_oa_unit_id(hwe) == u->oa_unit_id) {
+					du->eci[j].engine_class =
+						xe_to_user_engine_class[hwe->class];
+					du->eci[j].engine_instance = hwe->logical_instance;
+					du->eci[j].gt_id = gt->info.id;
+					j++;
+				}
+			}
+			du->num_engines = j;
+			pdu += sizeof(*du) + j * sizeof(du->eci[0]);
+			qoa->num_oa_units++;
+		}
+	}
+
+	ret = copy_to_user(query_ptr, qoa, size);
+	kfree(qoa);
+
+	return ret ? -EFAULT : 0;
+}
+
 static int (* const xe_query_funcs[])(struct xe_device *xe,
 				      struct drm_xe_device_query *query) = {
 	query_engines,
@@ -612,6 +688,7 @@ static int (* const xe_query_funcs[])(struct xe_device *xe,
 	query_gt_topology,
 	query_engine_cycles,
 	query_uc_fw_version,
+	query_oa_units,
 };
 
 int xe_query_ioctl(struct drm_device *dev, void *data, struct drm_file *file)
diff --git a/include/uapi/drm/xe_drm.h b/include/uapi/drm/xe_drm.h
index 697a4f9e12e6..8378e5a51d37 100644
--- a/include/uapi/drm/xe_drm.h
+++ b/include/uapi/drm/xe_drm.h
@@ -688,6 +688,7 @@ struct drm_xe_device_query {
 #define DRM_XE_DEVICE_QUERY_GT_TOPOLOGY		5
 #define DRM_XE_DEVICE_QUERY_ENGINE_CYCLES	6
 #define DRM_XE_DEVICE_QUERY_UC_FW_VERSION	7
+#define DRM_XE_DEVICE_QUERY_OA_UNITS		8
 	/** @query: The type of data to query */
 	__u32 query;
 
@@ -1446,6 +1447,75 @@ enum drm_xe_oa_unit_type {
 	DRM_XE_OA_UNIT_TYPE_OAM,
 };
 
+/**
+ * struct drm_xe_oa_unit - describe OA unit
+ */
+struct drm_xe_oa_unit {
+	/** @extensions: Pointer to the first extension struct, if any */
+	__u64 extensions;
+
+	/** @oa_unit_id: OA unit ID */
+	__u32 oa_unit_id;
+
+	/** @oa_unit_type: OA unit type of @drm_xe_oa_unit_type */
+	__u32 oa_unit_type;
+
+	/** @capabilities: OA capabilities bit-mask */
+	__u64 capabilities;
+#define DRM_XE_OA_CAPS_BASE		(1 << 0)
+
+	/** @oa_timestamp_freq: OA timestamp freq */
+	__u64 oa_timestamp_freq;
+
+	/** @reserved: MBZ */
+	__u64 reserved[4];
+
+	/** @num_engines: number of engines in @eci array */
+	__u64 num_engines;
+
+	/** @eci: engines attached to this OA unit */
+	struct drm_xe_engine_class_instance eci[];
+};
+
+/**
+ * struct drm_xe_query_oa_units - describe OA units
+ *
+ * If a query is made with a struct drm_xe_device_query where .query
+ * is equal to DRM_XE_DEVICE_QUERY_OA_UNITS, then the reply uses struct
+ * drm_xe_query_oa_units in .data.
+ *
+ * OA unit properties for all OA units can be accessed using a code block
+ * such as the one below:
+ *
+ * .. code-block:: C
+ *
+ *	struct drm_xe_query_oa_units *qoa;
+ *	struct drm_xe_oa_unit *oau;
+ *	u8 *poau;
+ *
+ *	// malloc qoa and issue DRM_XE_DEVICE_QUERY_OA_UNITS. Then:
+ *	poau = (u8 *)&qoa->oa_units[0];
+ *	for (int i = 0; i < qoa->num_oa_units; i++) {
+ *		oau = (struct drm_xe_oa_unit *)poau;
+ *		// Access 'struct drm_xe_oa_unit' fields here
+ *		poau += sizeof(*oau) + oau->num_engines * sizeof(oau->eci[0]);
+ *	}
+ */
+struct drm_xe_query_oa_units {
+	/** @extensions: Pointer to the first extension struct, if any */
+	__u64 extensions;
+	/** @num_oa_units: number of OA units returned in oau[] */
+	__u32 num_oa_units;
+	/** @pad: MBZ */
+	__u32 pad;
+	/**
+	 * @oa_units: struct @drm_xe_oa_unit array returned for this device.
+	 * Written below as a u64 array to avoid problems with nested flexible
+	 * arrays with some compilers
+	 */
+	__u64 oa_units[];
+};
+
 /** enum drm_xe_oa_format_type - OA format types */
 enum drm_xe_oa_format_type {
 	DRM_XE_OA_FMT_TYPE_OAG,
@@ -1576,6 +1646,21 @@ struct drm_xe_oa_stream_status {
 	__u64 reserved[3];
 };
 
+/**
+ * struct drm_xe_oa_stream_info - OA stream info returned from
+ * @DRM_XE_PERF_IOCTL_INFO perf fd ioctl
+ */
+struct drm_xe_oa_stream_info {
+	/** @extensions: Pointer to the first extension struct, if any */
+	__u64 extensions;
+
+	/** @oa_buf_size: OA buffer size */
+	__u64 oa_buf_size;
+
+	/** @reserved: reserved for future use */
+	__u64 reserved[3];
+};
+
 #if defined(__cplusplus)
 }
 #endif
-- 
2.41.0


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

* [PATCH 13/17] drm/xe/oa/uapi: OA buffer mmap
  2024-05-27  1:43 [PATCH v15 00/17] Add OA functionality to Xe Ashutosh Dixit
                   ` (11 preceding siblings ...)
  2024-05-27  1:43 ` [PATCH 12/17] drm/xe/oa/uapi: Query OA unit properties Ashutosh Dixit
@ 2024-05-27  1:43 ` Ashutosh Dixit
  2024-05-27  1:43 ` [PATCH 14/17] drm/xe/oa: Add MMIO trigger support Ashutosh Dixit
                   ` (12 subsequent siblings)
  25 siblings, 0 replies; 47+ messages in thread
From: Ashutosh Dixit @ 2024-05-27  1:43 UTC (permalink / raw)
  To: intel-xe

Allow the OA buffer to be mmap'd to userspace. This is needed for the MMIO
trigger use case. Even otherwise, with whitelisted OA head/tail ptr
registers, userspace can receive/interpret OA data from the mmap'd buffer
without issuing read()'s on the OA stream fd.

v2: Remove unmap_mapping_range from xe_oa_release (Thomas H)
    Use vm_flags_mod (Umesh)

Suggested-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
---
 drivers/gpu/drm/xe/xe_oa.c | 46 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

diff --git a/drivers/gpu/drm/xe/xe_oa.c b/drivers/gpu/drm/xe/xe_oa.c
index fa1c78c4b30a..73b829e52fac 100644
--- a/drivers/gpu/drm/xe/xe_oa.c
+++ b/drivers/gpu/drm/xe/xe_oa.c
@@ -822,6 +822,8 @@ static int xe_oa_alloc_oa_buffer(struct xe_oa_stream *stream)
 		return PTR_ERR(bo);
 
 	stream->oa_buffer.bo = bo;
+	/* mmap implementation requires OA buffer to be in system memory */
+	xe_assert(stream->oa->xe, bo->vmap.is_iomem == 0);
 	stream->oa_buffer.vaddr = bo->vmap.vaddr;
 	return 0;
 }
@@ -1123,6 +1125,49 @@ static int xe_oa_release(struct inode *inode, struct file *file)
 	return 0;
 }
 
+static int xe_oa_mmap(struct file *file, struct vm_area_struct *vma)
+{
+	struct xe_oa_stream *stream = file->private_data;
+	struct xe_bo *bo = stream->oa_buffer.bo;
+	unsigned long start = vma->vm_start;
+	int i, ret;
+
+	if (xe_perf_stream_paranoid && !perfmon_capable()) {
+		drm_dbg(&stream->oa->xe->drm, "Insufficient privilege to map OA buffer\n");
+		return -EACCES;
+	}
+
+	/* Can mmap the entire OA buffer or nothing (no partial OA buffer mmaps) */
+	if (vma->vm_end - vma->vm_start != XE_OA_BUFFER_SIZE) {
+		drm_dbg(&stream->oa->xe->drm, "Wrong mmap size, must be OA buffer size\n");
+		return -EINVAL;
+	}
+
+	/*
+	 * Only support VM_READ, enforce MAP_PRIVATE by checking for
+	 * VM_MAYSHARE, don't copy the vma on fork
+	 */
+	if (vma->vm_flags & (VM_WRITE | VM_EXEC | VM_SHARED | VM_MAYSHARE)) {
+		drm_dbg(&stream->oa->xe->drm, "mmap must be read only\n");
+		return -EINVAL;
+	}
+	vm_flags_mod(vma, VM_PFNMAP | VM_DONTEXPAND | VM_DONTDUMP | VM_DONTCOPY,
+		     VM_MAYWRITE | VM_MAYEXEC);
+
+	xe_assert(stream->oa->xe, bo->ttm.ttm->num_pages ==
+		  (vma->vm_end - vma->vm_start) >> PAGE_SHIFT);
+	for (i = 0; i < bo->ttm.ttm->num_pages; i++) {
+		ret = remap_pfn_range(vma, start, page_to_pfn(bo->ttm.ttm->pages[i]),
+				      PAGE_SIZE, vma->vm_page_prot);
+		if (ret)
+			break;
+
+		start += PAGE_SIZE;
+	}
+
+	return ret;
+}
+
 static const struct file_operations xe_oa_fops = {
 	.owner		= THIS_MODULE,
 	.llseek		= no_llseek,
@@ -1130,6 +1175,7 @@ static const struct file_operations xe_oa_fops = {
 	.poll		= xe_oa_poll,
 	.read		= xe_oa_read,
 	.unlocked_ioctl	= xe_oa_ioctl,
+	.mmap		= xe_oa_mmap,
 };
 
 static bool engine_supports_mi_query(struct xe_hw_engine *hwe)
-- 
2.41.0


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

* [PATCH 14/17] drm/xe/oa: Add MMIO trigger support
  2024-05-27  1:43 [PATCH v15 00/17] Add OA functionality to Xe Ashutosh Dixit
                   ` (12 preceding siblings ...)
  2024-05-27  1:43 ` [PATCH 13/17] drm/xe/oa/uapi: OA buffer mmap Ashutosh Dixit
@ 2024-05-27  1:43 ` Ashutosh Dixit
  2024-05-27  1:43 ` [PATCH 15/17] drm/xe/oa: Override GuC RC with OA on PVC Ashutosh Dixit
                   ` (11 subsequent siblings)
  25 siblings, 0 replies; 47+ messages in thread
From: Ashutosh Dixit @ 2024-05-27  1:43 UTC (permalink / raw)
  To: intel-xe

Add MMIO trigger support and allow-list required registers for MMIO trigger
use case. Registers are whitelisted for the lifetime of the driver but MMIO
trigger is enabled only for the duration of the stream.

Bspec: 45925, 60340, 61228

Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
---
 drivers/gpu/drm/xe/regs/xe_oa_regs.h  |  5 +++++
 drivers/gpu/drm/xe/xe_oa.c            | 24 +++++++++++++++++++++++-
 drivers/gpu/drm/xe/xe_reg_whitelist.c | 24 +++++++++++++++++++++++-
 3 files changed, 51 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/xe/regs/xe_oa_regs.h b/drivers/gpu/drm/xe/regs/xe_oa_regs.h
index 2f4293a974d0..d9fcb08f500d 100644
--- a/drivers/gpu/drm/xe/regs/xe_oa_regs.h
+++ b/drivers/gpu/drm/xe/regs/xe_oa_regs.h
@@ -63,6 +63,10 @@
 #define  OA_OACONTROL_COUNTER_SIZE_MASK		REG_GENMASK(8, 8)
 
 #define OAG_OA_DEBUG XE_REG(0xdaf8, XE_REG_OPTION_MASKED)
+#define  OAG_OA_DEBUG_DISABLE_MMIO_TRG			REG_BIT(14)
+#define  OAG_OA_DEBUG_START_TRIGGER_SCOPE_CONTROL	REG_BIT(13)
+#define  OAG_OA_DEBUG_DISABLE_START_TRG_2_COUNT_QUAL	REG_BIT(8)
+#define  OAG_OA_DEBUG_DISABLE_START_TRG_1_COUNT_QUAL	REG_BIT(7)
 #define  OAG_OA_DEBUG_INCLUDE_CLK_RATIO			REG_BIT(6)
 #define  OAG_OA_DEBUG_DISABLE_CLK_RATIO_REPORTS		REG_BIT(5)
 #define  OAG_OA_DEBUG_DISABLE_CTX_SWITCH_REPORTS	REG_BIT(1)
@@ -72,6 +76,7 @@
 #define  OASTATUS_COUNTER_OVERFLOW	REG_BIT(2)
 #define  OASTATUS_BUFFER_OVERFLOW	REG_BIT(1)
 #define  OASTATUS_REPORT_LOST		REG_BIT(0)
+#define OAG_MMIOTRIGGER			XE_REG(0xdb1c)
 /* OAC unit */
 #define OAC_OACONTROL			XE_REG(0x15114)
 
diff --git a/drivers/gpu/drm/xe/xe_oa.c b/drivers/gpu/drm/xe/xe_oa.c
index 73b829e52fac..1d180e4c1056 100644
--- a/drivers/gpu/drm/xe/xe_oa.c
+++ b/drivers/gpu/drm/xe/xe_oa.c
@@ -758,6 +758,13 @@ static int xe_oa_configure_oa_context(struct xe_oa_stream *stream, bool enable)
 
 #define HAS_OA_BPC_REPORTING(xe) (GRAPHICS_VERx100(xe) >= 1255)
 
+static u32 oag_configure_mmio_trigger(const struct xe_oa_stream *stream, bool enable)
+{
+	return _MASKED_FIELD(OAG_OA_DEBUG_DISABLE_MMIO_TRG,
+			     enable && stream && stream->sample ?
+			     0 : OAG_OA_DEBUG_DISABLE_MMIO_TRG);
+}
+
 static void xe_oa_disable_metric_set(struct xe_oa_stream *stream)
 {
 	u32 sqcnt1;
@@ -773,6 +780,9 @@ static void xe_oa_disable_metric_set(struct xe_oa_stream *stream)
 					  _MASKED_BIT_DISABLE(DISABLE_DOP_GATING));
 	}
 
+	xe_mmio_write32(stream->gt, __oa_regs(stream)->oa_debug,
+			oag_configure_mmio_trigger(stream, false));
+
 	/* disable the context save/restore or OAR counters */
 	if (stream->exec_q)
 		xe_oa_configure_oa_context(stream, false);
@@ -925,9 +935,17 @@ static int xe_oa_enable_metric_set(struct xe_oa_stream *stream)
 	oa_debug = OAG_OA_DEBUG_DISABLE_CLK_RATIO_REPORTS |
 		OAG_OA_DEBUG_INCLUDE_CLK_RATIO;
 
+	if (GRAPHICS_VER(stream->oa->xe) >= 20)
+		oa_debug |=
+			/* The three bits below are needed to get PEC counters running */
+			OAG_OA_DEBUG_START_TRIGGER_SCOPE_CONTROL |
+			OAG_OA_DEBUG_DISABLE_START_TRG_2_COUNT_QUAL |
+			OAG_OA_DEBUG_DISABLE_START_TRG_1_COUNT_QUAL;
+
 	xe_mmio_write32(stream->gt, __oa_regs(stream)->oa_debug,
 			_MASKED_BIT_ENABLE(oa_debug) |
-			oag_report_ctx_switches(stream));
+			oag_report_ctx_switches(stream) |
+			oag_configure_mmio_trigger(stream, true));
 
 	xe_mmio_write32(stream->gt, __oa_regs(stream)->oa_ctx_ctrl, stream->periodic ?
 			(OAG_OAGLBCTXCTRL_COUNTER_RESUME |
@@ -2149,6 +2167,10 @@ static void __xe_oa_init_oa_units(struct xe_gt *gt)
 			u->type = DRM_XE_OA_UNIT_TYPE_OAM;
 		}
 
+		/* Ensure MMIO trigger remains disabled till there is a stream */
+		xe_mmio_write32(gt, u->regs.oa_debug,
+				oag_configure_mmio_trigger(NULL, false));
+
 		/* Set oa_unit_ids now to ensure ids remain contiguous */
 		u->oa_unit_id = gt_to_xe(gt)->oa.oa_unit_ids++;
 	}
diff --git a/drivers/gpu/drm/xe/xe_reg_whitelist.c b/drivers/gpu/drm/xe/xe_reg_whitelist.c
index 3fa2ece7d228..3996934974fa 100644
--- a/drivers/gpu/drm/xe/xe_reg_whitelist.c
+++ b/drivers/gpu/drm/xe/xe_reg_whitelist.c
@@ -7,6 +7,7 @@
 
 #include "regs/xe_engine_regs.h"
 #include "regs/xe_gt_regs.h"
+#include "regs/xe_oa_regs.h"
 #include "regs/xe_regs.h"
 #include "xe_gt_types.h"
 #include "xe_platform_types.h"
@@ -63,7 +64,28 @@ static const struct xe_rtp_entry_sr register_whitelist[] = {
 		       ENGINE_CLASS(RENDER)),
 	  XE_RTP_ACTIONS(WHITELIST(CSBE_DEBUG_STATUS(RENDER_RING_BASE), 0))
 	},
-
+	{ XE_RTP_NAME("oa_reg_render"),
+	  XE_RTP_RULES(GRAPHICS_VERSION_RANGE(1200, XE_RTP_END_VERSION_UNDEFINED),
+		       ENGINE_CLASS(RENDER)),
+	  XE_RTP_ACTIONS(WHITELIST(OAG_MMIOTRIGGER,
+				   RING_FORCE_TO_NONPRIV_ACCESS_RW),
+			 WHITELIST(OAG_OASTATUS,
+				   RING_FORCE_TO_NONPRIV_ACCESS_RD),
+			 WHITELIST(OAG_OAHEADPTR,
+				   RING_FORCE_TO_NONPRIV_ACCESS_RD |
+				   RING_FORCE_TO_NONPRIV_RANGE_4))
+	},
+	{ XE_RTP_NAME("oa_reg_compute"),
+	  XE_RTP_RULES(GRAPHICS_VERSION_RANGE(1200, XE_RTP_END_VERSION_UNDEFINED),
+		       ENGINE_CLASS(COMPUTE)),
+	  XE_RTP_ACTIONS(WHITELIST(OAG_MMIOTRIGGER,
+				   RING_FORCE_TO_NONPRIV_ACCESS_RW),
+			 WHITELIST(OAG_OASTATUS,
+				   RING_FORCE_TO_NONPRIV_ACCESS_RD),
+			 WHITELIST(OAG_OAHEADPTR,
+				   RING_FORCE_TO_NONPRIV_ACCESS_RD |
+				   RING_FORCE_TO_NONPRIV_RANGE_4))
+	},
 	{}
 };
 
-- 
2.41.0


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

* [PATCH 15/17] drm/xe/oa: Override GuC RC with OA on PVC
  2024-05-27  1:43 [PATCH v15 00/17] Add OA functionality to Xe Ashutosh Dixit
                   ` (13 preceding siblings ...)
  2024-05-27  1:43 ` [PATCH 14/17] drm/xe/oa: Add MMIO trigger support Ashutosh Dixit
@ 2024-05-27  1:43 ` Ashutosh Dixit
  2024-05-27  1:43 ` [PATCH 16/17] drm/xe/oa: Changes to OA_TAKEN Ashutosh Dixit
                   ` (10 subsequent siblings)
  25 siblings, 0 replies; 47+ messages in thread
From: Ashutosh Dixit @ 2024-05-27  1:43 UTC (permalink / raw)
  To: intel-xe

On PVC, a w/a resets RCS/CCS before it goes into RC6. This breaks OA since
OA does not expect engine resets during its use. Fix it by disabling RC6.

Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
---
 drivers/gpu/drm/xe/xe_guc_pc.c   | 57 ++++++++++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_guc_pc.h   |  3 ++
 drivers/gpu/drm/xe/xe_oa.c       | 23 +++++++++++++
 drivers/gpu/drm/xe/xe_oa_types.h |  3 ++
 4 files changed, 86 insertions(+)

diff --git a/drivers/gpu/drm/xe/xe_guc_pc.c b/drivers/gpu/drm/xe/xe_guc_pc.c
index 8187dfb2ad6c..da701cf5325d 100644
--- a/drivers/gpu/drm/xe/xe_guc_pc.c
+++ b/drivers/gpu/drm/xe/xe_guc_pc.c
@@ -24,6 +24,7 @@
 #include "xe_map.h"
 #include "xe_mmio.h"
 #include "xe_pcode.h"
+#include "xe_pm.h"
 
 #define MCHBAR_MIRROR_BASE_SNB	0x140000
 
@@ -191,6 +192,27 @@ static int pc_action_set_param(struct xe_guc_pc *pc, u8 id, u32 value)
 	return ret;
 }
 
+static int pc_action_unset_param(struct xe_guc_pc *pc, u8 id)
+{
+	struct xe_guc_ct *ct = &pc_to_guc(pc)->ct;
+	int ret;
+	u32 action[] = {
+		GUC_ACTION_HOST2GUC_PC_SLPC_REQUEST,
+		SLPC_EVENT(SLPC_EVENT_PARAMETER_UNSET, 1),
+		id,
+	};
+
+	if (wait_for_pc_state(pc, SLPC_GLOBAL_STATE_RUNNING))
+		return -EAGAIN;
+
+	ret = xe_guc_ct_send(ct, action, ARRAY_SIZE(action), 0, 0);
+	if (ret)
+		drm_err(&pc_to_xe(pc)->drm, "GuC PC unset param failed: %pe",
+			ERR_PTR(ret));
+
+	return ret;
+}
+
 static int pc_action_setup_gucrc(struct xe_guc_pc *pc, u32 mode)
 {
 	struct xe_guc_ct *ct = &pc_to_guc(pc)->ct;
@@ -773,6 +795,41 @@ int xe_guc_pc_gucrc_disable(struct xe_guc_pc *pc)
 	return 0;
 }
 
+/**
+ * xe_guc_pc_override_gucrc_mode - override GUCRC mode
+ * @pc: Xe_GuC_PC instance
+ * @mode: new value of the mode.
+ *
+ * Return: 0 on success, negative error code on error
+ */
+int xe_guc_pc_override_gucrc_mode(struct xe_guc_pc *pc, enum slpc_gucrc_mode mode)
+{
+	int ret;
+
+	xe_pm_runtime_get(pc_to_xe(pc));
+	ret = pc_action_set_param(pc, SLPC_PARAM_PWRGATE_RC_MODE, mode);
+	xe_pm_runtime_put(pc_to_xe(pc));
+
+	return ret;
+}
+
+/**
+ * xe_guc_pc_unset_gucrc_mode - unset GUCRC mode override
+ * @pc: Xe_GuC_PC instance
+ *
+ * Return: 0 on success, negative error code on error
+ */
+int xe_guc_pc_unset_gucrc_mode(struct xe_guc_pc *pc)
+{
+	int ret;
+
+	xe_pm_runtime_get(pc_to_xe(pc));
+	ret = pc_action_unset_param(pc, SLPC_PARAM_PWRGATE_RC_MODE);
+	xe_pm_runtime_put(pc_to_xe(pc));
+
+	return ret;
+}
+
 static void pc_init_pcode_freq(struct xe_guc_pc *pc)
 {
 	u32 min = DIV_ROUND_CLOSEST(pc->rpn_freq, GT_FREQUENCY_MULTIPLIER);
diff --git a/drivers/gpu/drm/xe/xe_guc_pc.h b/drivers/gpu/drm/xe/xe_guc_pc.h
index 532cac985a6d..eb5bba9f0736 100644
--- a/drivers/gpu/drm/xe/xe_guc_pc.h
+++ b/drivers/gpu/drm/xe/xe_guc_pc.h
@@ -9,11 +9,14 @@
 #include <linux/types.h>
 
 struct xe_guc_pc;
+#include "abi/guc_actions_slpc_abi.h"
 
 int xe_guc_pc_init(struct xe_guc_pc *pc);
 int xe_guc_pc_start(struct xe_guc_pc *pc);
 int xe_guc_pc_stop(struct xe_guc_pc *pc);
 int xe_guc_pc_gucrc_disable(struct xe_guc_pc *pc);
+int xe_guc_pc_override_gucrc_mode(struct xe_guc_pc *pc, enum slpc_gucrc_mode mode);
+int xe_guc_pc_unset_gucrc_mode(struct xe_guc_pc *pc);
 
 u32 xe_guc_pc_get_act_freq(struct xe_guc_pc *pc);
 int xe_guc_pc_get_cur_freq(struct xe_guc_pc *pc, u32 *freq);
diff --git a/drivers/gpu/drm/xe/xe_oa.c b/drivers/gpu/drm/xe/xe_oa.c
index 1d180e4c1056..5eef533a637f 100644
--- a/drivers/gpu/drm/xe/xe_oa.c
+++ b/drivers/gpu/drm/xe/xe_oa.c
@@ -24,6 +24,7 @@
 #include "xe_force_wake.h"
 #include "xe_gt.h"
 #include "xe_gt_mcr.h"
+#include "xe_guc_pc.h"
 #include "xe_lrc.h"
 #include "xe_macros.h"
 #include "xe_mmio.h"
@@ -815,6 +816,10 @@ static void xe_oa_stream_destroy(struct xe_oa_stream *stream)
 	XE_WARN_ON(xe_force_wake_put(gt_to_fw(gt), XE_FORCEWAKE_ALL));
 	xe_pm_runtime_put(stream->oa->xe);
 
+	/* Wa_1509372804:pvc: Unset the override of GUCRC mode to enable rc6 */
+	if (stream->override_gucrc)
+		XE_WARN_ON(xe_guc_pc_unset_gucrc_mode(&gt->uc.guc.pc));
+
 	xe_oa_free_configs(stream);
 }
 
@@ -1303,6 +1308,21 @@ static int xe_oa_stream_init(struct xe_oa_stream *stream,
 		goto exit;
 	}
 
+	/*
+	 * Wa_1509372804:pvc
+	 *
+	 * GuC reset of engines causes OA to lose configuration
+	 * state. Prevent this by overriding GUCRC mode.
+	 */
+	if (stream->oa->xe->info.platform == XE_PVC) {
+		ret = xe_guc_pc_override_gucrc_mode(&gt->uc.guc.pc,
+						    SLPC_GUCRC_MODE_GUCRC_NO_RC6);
+		if (ret)
+			goto err_free_configs;
+
+		stream->override_gucrc = true;
+	}
+
 	/* Take runtime pm ref and forcewake to disable RC6 */
 	xe_pm_runtime_get(stream->oa->xe);
 	XE_WARN_ON(xe_force_wake_get(gt_to_fw(gt), XE_FORCEWAKE_ALL));
@@ -1349,6 +1369,9 @@ static int xe_oa_stream_init(struct xe_oa_stream *stream,
 err_fw_put:
 	XE_WARN_ON(xe_force_wake_put(gt_to_fw(gt), XE_FORCEWAKE_ALL));
 	xe_pm_runtime_put(stream->oa->xe);
+	if (stream->override_gucrc)
+		XE_WARN_ON(xe_guc_pc_unset_gucrc_mode(&gt->uc.guc.pc));
+err_free_configs:
 	xe_oa_free_configs(stream);
 exit:
 	return ret;
diff --git a/drivers/gpu/drm/xe/xe_oa_types.h b/drivers/gpu/drm/xe/xe_oa_types.h
index 7f7c84e4b3a6..7775fe91616f 100644
--- a/drivers/gpu/drm/xe/xe_oa_types.h
+++ b/drivers/gpu/drm/xe/xe_oa_types.h
@@ -220,6 +220,9 @@ struct xe_oa_stream {
 	/** @poll_period_ns: hrtimer period for checking OA buffer for available data */
 	u64 poll_period_ns;
 
+	/** @override_gucrc: GuC RC has been overridden for the OA stream */
+	bool override_gucrc;
+
 	/** @oa_status: temporary storage for oa_status register value */
 	u32 oa_status;
 };
-- 
2.41.0


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

* [PATCH 16/17] drm/xe/oa: Changes to OA_TAKEN
  2024-05-27  1:43 [PATCH v15 00/17] Add OA functionality to Xe Ashutosh Dixit
                   ` (14 preceding siblings ...)
  2024-05-27  1:43 ` [PATCH 15/17] drm/xe/oa: Override GuC RC with OA on PVC Ashutosh Dixit
@ 2024-05-27  1:43 ` Ashutosh Dixit
  2024-05-27  1:43 ` [PATCH 17/17] drm/xe/oa: Enable Xe2+ overrun mode Ashutosh Dixit
                   ` (9 subsequent siblings)
  25 siblings, 0 replies; 47+ messages in thread
From: Ashutosh Dixit @ 2024-05-27  1:43 UTC (permalink / raw)
  To: intel-xe

Rename OA_TAKEN to xe_oa_circ_diff, since xe_oa_circ_diff better describes
what the macro actually does. Also convert to function and add xe_oa_stream
arg. These will be used in the following patch.

Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
---
 drivers/gpu/drm/xe/xe_oa.c | 22 +++++++++++++---------
 1 file changed, 13 insertions(+), 9 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_oa.c b/drivers/gpu/drm/xe/xe_oa.c
index 5eef533a637f..5ef4c4abea32 100644
--- a/drivers/gpu/drm/xe/xe_oa.c
+++ b/drivers/gpu/drm/xe/xe_oa.c
@@ -33,7 +33,6 @@
 #include "xe_pm.h"
 #include "xe_sched_job.h"
 
-#define OA_TAKEN(tail, head)	(((tail) - (head)) & (XE_OA_BUFFER_SIZE - 1))
 #define DEFAULT_POLL_FREQUENCY_HZ 200
 #define DEFAULT_POLL_PERIOD_NS (NSEC_PER_SEC / DEFAULT_POLL_FREQUENCY_HZ)
 #define XE_OA_UNIT_INVALID U32_MAX
@@ -110,6 +109,11 @@ static const struct xe_oa_format oa_formats[] = {
 	[XE_OA_FORMAT_PEC36u64_G1_4_G2_32]	= { 4, 320, DRM_FMT(PEC), HDR_64_BIT, 1, 0 },
 };
 
+static u32 xe_oa_circ_diff(struct xe_oa_stream *stream, u32 tail, u32 head)
+{
+	return (tail - head) & (XE_OA_BUFFER_SIZE - 1);
+}
+
 static void xe_oa_config_release(struct kref *ref)
 {
 	struct xe_oa_config *oa_config =
@@ -214,11 +218,11 @@ static bool xe_oa_buffer_check_unlocked(struct xe_oa_stream *stream)
 	 * increments. Also report size may not be a power of 2. Compute potential
 	 * partially landed report in OA buffer.
 	 */
-	partial_report_size = OA_TAKEN(hw_tail, stream->oa_buffer.tail);
+	partial_report_size = xe_oa_circ_diff(stream, hw_tail, stream->oa_buffer.tail);
 	partial_report_size %= report_size;
 
 	/* Subtract partial amount off the tail */
-	hw_tail = OA_TAKEN(hw_tail, partial_report_size);
+	hw_tail = xe_oa_circ_diff(stream, hw_tail, partial_report_size);
 
 	tail = hw_tail;
 
@@ -230,24 +234,24 @@ static bool xe_oa_buffer_check_unlocked(struct xe_oa_stream *stream)
 	 * This is assuming that the writes of the OA unit land in memory in the order
 	 * they were written.  If not : (╯°□°)╯︵ ┻━┻
 	 */
-	while (OA_TAKEN(tail, stream->oa_buffer.tail) >= report_size) {
+	while (xe_oa_circ_diff(stream, tail, stream->oa_buffer.tail) >= report_size) {
 		void *report = stream->oa_buffer.vaddr + tail;
 
 		if (oa_report_id(stream, report) || oa_timestamp(stream, report))
 			break;
 
-		tail = OA_TAKEN(tail, report_size);
+		tail = xe_oa_circ_diff(stream, tail, report_size);
 	}
 
-	if (OA_TAKEN(hw_tail, tail) > report_size)
+	if (xe_oa_circ_diff(stream, hw_tail, tail) > report_size)
 		drm_dbg(&stream->oa->xe->drm,
 			"unlanded report(s) head=0x%x tail=0x%x hw_tail=0x%x\n",
 			stream->oa_buffer.head, tail, hw_tail);
 
 	stream->oa_buffer.tail = tail;
 
-	pollin = OA_TAKEN(stream->oa_buffer.tail,
-			  stream->oa_buffer.head) >= report_size;
+	pollin = xe_oa_circ_diff(stream, stream->oa_buffer.tail,
+				 stream->oa_buffer.head) >= report_size;
 
 	spin_unlock_irqrestore(&stream->oa_buffer.ptr_lock, flags);
 
@@ -320,7 +324,7 @@ static int xe_oa_append_reports(struct xe_oa_stream *stream, char __user *buf,
 
 	xe_assert(stream->oa->xe, head < XE_OA_BUFFER_SIZE && tail < XE_OA_BUFFER_SIZE);
 
-	for (; OA_TAKEN(tail, head); head = (head + report_size) & mask) {
+	for (; xe_oa_circ_diff(stream, tail, head); head = (head + report_size) & mask) {
 		u8 *report = oa_buf_base + head;
 
 		ret = xe_oa_append_report(stream, buf, count, offset, report);
-- 
2.41.0


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

* [PATCH 17/17] drm/xe/oa: Enable Xe2+ overrun mode
  2024-05-27  1:43 [PATCH v15 00/17] Add OA functionality to Xe Ashutosh Dixit
                   ` (15 preceding siblings ...)
  2024-05-27  1:43 ` [PATCH 16/17] drm/xe/oa: Changes to OA_TAKEN Ashutosh Dixit
@ 2024-05-27  1:43 ` Ashutosh Dixit
  2024-05-27  1:49 ` ✓ CI.Patch_applied: success for Add OA functionality to Xe (rev15) Patchwork
                   ` (8 subsequent siblings)
  25 siblings, 0 replies; 47+ messages in thread
From: Ashutosh Dixit @ 2024-05-27  1:43 UTC (permalink / raw)
  To: intel-xe

Enable Xe2+ overrun mode. For Xe2+, when overrun mode is enabled, there are
no partial reports at the end of buffer, making the OA buffer effectively a
non-power-of-2 size circular buffer whose size, circ_size, is a multiple of
the report size.

v2: Fix implementation of xe_oa_circ_diff/xe_oa_circ_incr (Umesh)

Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
---
 drivers/gpu/drm/xe/xe_oa.c       | 35 ++++++++++++++++++++++++--------
 drivers/gpu/drm/xe/xe_oa_types.h |  3 +++
 2 files changed, 30 insertions(+), 8 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_oa.c b/drivers/gpu/drm/xe/xe_oa.c
index 5ef4c4abea32..3ed4ca19f9cd 100644
--- a/drivers/gpu/drm/xe/xe_oa.c
+++ b/drivers/gpu/drm/xe/xe_oa.c
@@ -111,7 +111,14 @@ static const struct xe_oa_format oa_formats[] = {
 
 static u32 xe_oa_circ_diff(struct xe_oa_stream *stream, u32 tail, u32 head)
 {
-	return (tail - head) & (XE_OA_BUFFER_SIZE - 1);
+	return tail >= head ? tail - head :
+		tail + stream->oa_buffer.circ_size - head;
+}
+
+static u32 xe_oa_circ_incr(struct xe_oa_stream *stream, u32 ptr, u32 n)
+{
+	return ptr + n >= stream->oa_buffer.circ_size ?
+		ptr + n - stream->oa_buffer.circ_size : ptr + n;
 }
 
 static void xe_oa_config_release(struct kref *ref)
@@ -285,7 +292,7 @@ static int xe_oa_append_report(struct xe_oa_stream *stream, char __user *buf,
 
 	buf += *offset;
 
-	oa_buf_end = stream->oa_buffer.vaddr + XE_OA_BUFFER_SIZE;
+	oa_buf_end = stream->oa_buffer.vaddr + stream->oa_buffer.circ_size;
 	report_size_partial = oa_buf_end - report;
 
 	if (report_size_partial < report_size) {
@@ -311,7 +318,6 @@ static int xe_oa_append_reports(struct xe_oa_stream *stream, char __user *buf,
 	int report_size = stream->oa_buffer.format->size;
 	u8 *oa_buf_base = stream->oa_buffer.vaddr;
 	u32 gtt_offset = xe_bo_ggtt_addr(stream->oa_buffer.bo);
-	u32 mask = (XE_OA_BUFFER_SIZE - 1);
 	size_t start_offset = *offset;
 	unsigned long flags;
 	u32 head, tail;
@@ -322,21 +328,23 @@ static int xe_oa_append_reports(struct xe_oa_stream *stream, char __user *buf,
 	tail = stream->oa_buffer.tail;
 	spin_unlock_irqrestore(&stream->oa_buffer.ptr_lock, flags);
 
-	xe_assert(stream->oa->xe, head < XE_OA_BUFFER_SIZE && tail < XE_OA_BUFFER_SIZE);
+	xe_assert(stream->oa->xe,
+		  head < stream->oa_buffer.circ_size && tail < stream->oa_buffer.circ_size);
 
-	for (; xe_oa_circ_diff(stream, tail, head); head = (head + report_size) & mask) {
+	for (; xe_oa_circ_diff(stream, tail, head);
+	     head = xe_oa_circ_incr(stream, head, report_size)) {
 		u8 *report = oa_buf_base + head;
 
 		ret = xe_oa_append_report(stream, buf, count, offset, report);
 		if (ret)
 			break;
 
-		if (is_power_of_2(report_size)) {
+		if (!(stream->oa_buffer.circ_size % report_size)) {
 			/* Clear out report id and timestamp to detect unlanded reports */
 			oa_report_id_clear(stream, (void *)report);
 			oa_timestamp_clear(stream, (void *)report);
 		} else {
-			u8 *oa_buf_end = stream->oa_buffer.vaddr + XE_OA_BUFFER_SIZE;
+			u8 *oa_buf_end = stream->oa_buffer.vaddr + stream->oa_buffer.circ_size;
 			u32 part = oa_buf_end - report;
 
 			/* Zero out the entire report */
@@ -374,7 +382,6 @@ static void xe_oa_init_oa_buffer(struct xe_oa_stream *stream)
 	xe_mmio_write32(stream->gt, __oa_regs(stream)->oa_head_ptr,
 			gtt_offset & OAG_OAHEADPTR_MASK);
 	stream->oa_buffer.head = 0;
-
 	/*
 	 * PRM says: "This MMIO must be set before the OATAILPTR register and after the
 	 * OAHEADPTR register. This is to enable proper functionality of the overflow bit".
@@ -1294,6 +1301,18 @@ static int xe_oa_stream_init(struct xe_oa_stream *stream,
 	stream->periodic = param->period_exponent > 0;
 	stream->period_exponent = param->period_exponent;
 
+	/*
+	 * For Xe2+, when overrun mode is enabled, there are no partial reports at the end
+	 * of buffer, making the OA buffer effectively a non-power-of-2 size circular
+	 * buffer whose size, circ_size, is a multiple of the report size
+	 */
+	if (GRAPHICS_VER(stream->oa->xe) >= 20 &&
+	    stream->hwe->oa_unit->type == DRM_XE_OA_UNIT_TYPE_OAG && stream->sample)
+		stream->oa_buffer.circ_size =
+			XE_OA_BUFFER_SIZE - XE_OA_BUFFER_SIZE % stream->oa_buffer.format->size;
+	else
+		stream->oa_buffer.circ_size = XE_OA_BUFFER_SIZE;
+
 	if (stream->exec_q && engine_supports_mi_query(stream->hwe)) {
 		/* If we don't find the context offset, just return error */
 		ret = xe_oa_set_ctx_ctrl_offset(stream);
diff --git a/drivers/gpu/drm/xe/xe_oa_types.h b/drivers/gpu/drm/xe/xe_oa_types.h
index 7775fe91616f..c62811482934 100644
--- a/drivers/gpu/drm/xe/xe_oa_types.h
+++ b/drivers/gpu/drm/xe/xe_oa_types.h
@@ -163,6 +163,9 @@ struct xe_oa_buffer {
 
 	/** @tail: The last verified cached tail where HW has completed writing */
 	u32 tail;
+
+	/** @circ_size: The effective circular buffer size, for Xe2+ */
+	u32 circ_size;
 };
 
 /**
-- 
2.41.0


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

* ✓ CI.Patch_applied: success for Add OA functionality to Xe (rev15)
  2024-05-27  1:43 [PATCH v15 00/17] Add OA functionality to Xe Ashutosh Dixit
                   ` (16 preceding siblings ...)
  2024-05-27  1:43 ` [PATCH 17/17] drm/xe/oa: Enable Xe2+ overrun mode Ashutosh Dixit
@ 2024-05-27  1:49 ` Patchwork
  2024-05-27  1:49 ` ✗ CI.checkpatch: warning " Patchwork
                   ` (7 subsequent siblings)
  25 siblings, 0 replies; 47+ messages in thread
From: Patchwork @ 2024-05-27  1:49 UTC (permalink / raw)
  To: Ashutosh Dixit; +Cc: intel-xe

== Series Details ==

Series: Add OA functionality to Xe (rev15)
URL   : https://patchwork.freedesktop.org/series/121084/
State : success

== Summary ==

=== Applying kernel patches on branch 'drm-tip' with base: ===
Base commit: 573842e9ab57 drm-tip: 2024y-05m-24d-13h-04m-26s UTC integration manifest
=== git am output follows ===
Applying: drm/xe/perf/uapi: "Perf" layer to support multiple perf counter stream types
Applying: drm/xe/perf/uapi: Add perf_stream_paranoid sysctl
Applying: drm/xe/oa/uapi: Add OA data formats
Applying: drm/xe/oa/uapi: Initialize OA units
Applying: drm/xe/oa/uapi: Add/remove OA config perf ops
Applying: drm/xe/oa/uapi: Define and parse OA stream properties
Applying: drm/xe/oa: OA stream initialization (OAG)
Applying: drm/xe/oa/uapi: Expose OA stream fd
Applying: drm/xe/oa/uapi: Read file_operation
Applying: drm/xe/oa: Add OAR support
Applying: drm/xe/oa: Add OAC support
Applying: drm/xe/oa/uapi: Query OA unit properties
Applying: drm/xe/oa/uapi: OA buffer mmap
Applying: drm/xe/oa: Add MMIO trigger support
Applying: drm/xe/oa: Override GuC RC with OA on PVC
Applying: drm/xe/oa: Changes to OA_TAKEN
Applying: drm/xe/oa: Enable Xe2+ overrun mode



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

* ✗ CI.checkpatch: warning for Add OA functionality to Xe (rev15)
  2024-05-27  1:43 [PATCH v15 00/17] Add OA functionality to Xe Ashutosh Dixit
                   ` (17 preceding siblings ...)
  2024-05-27  1:49 ` ✓ CI.Patch_applied: success for Add OA functionality to Xe (rev15) Patchwork
@ 2024-05-27  1:49 ` Patchwork
  2024-05-27  1:50 ` ✓ CI.KUnit: success " Patchwork
                   ` (6 subsequent siblings)
  25 siblings, 0 replies; 47+ messages in thread
From: Patchwork @ 2024-05-27  1:49 UTC (permalink / raw)
  To: Ashutosh Dixit; +Cc: intel-xe

== Series Details ==

Series: Add OA functionality to Xe (rev15)
URL   : https://patchwork.freedesktop.org/series/121084/
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
51ce9f6cd981d42d7467409d7dbc559a450abc1e
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit a1db6c824226347d6ef7708549dd3dfdf09fa1c5
Author: Ashutosh Dixit <ashutosh.dixit@intel.com>
Date:   Sun May 26 18:43:33 2024 -0700

    drm/xe/oa: Enable Xe2+ overrun mode
    
    Enable Xe2+ overrun mode. For Xe2+, when overrun mode is enabled, there are
    no partial reports at the end of buffer, making the OA buffer effectively a
    non-power-of-2 size circular buffer whose size, circ_size, is a multiple of
    the report size.
    
    v2: Fix implementation of xe_oa_circ_diff/xe_oa_circ_incr (Umesh)
    
    Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
    Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
+ /mt/dim checkpatch 573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f drm-intel
57855ae37bb6 drm/xe/perf/uapi: "Perf" layer to support multiple perf counter stream types
Traceback (most recent call last):
  File "scripts/spdxcheck.py", line 6, in <module>
    from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
Traceback (most recent call last):
  File "scripts/spdxcheck.py", line 6, in <module>
    from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
-:65: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#65: 
new file mode 100644

-:130: WARNING:LONG_LINE: line length of 113 exceeds 100 columns
#130: FILE: include/uapi/drm/xe_drm.h:118:
+#define DRM_IOCTL_XE_PERF			DRM_IOW(DRM_COMMAND_BASE + DRM_XE_PERF, struct drm_xe_perf_param)

total: 0 errors, 2 warnings, 0 checks, 139 lines checked
41ceeeb9c633 drm/xe/perf/uapi: Add perf_stream_paranoid sysctl
700084747817 drm/xe/oa/uapi: Add OA data formats
Traceback (most recent call last):
  File "scripts/spdxcheck.py", line 6, in <module>
    from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
Traceback (most recent call last):
  File "scripts/spdxcheck.py", line 6, in <module>
    from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
Traceback (most recent call last):
  File "scripts/spdxcheck.py", line 6, in <module>
    from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
-:113: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#113: 
new file mode 100644

total: 0 errors, 1 warnings, 0 checks, 279 lines checked
49371c9625da drm/xe/oa/uapi: Initialize OA units
Traceback (most recent call last):
  File "scripts/spdxcheck.py", line 6, in <module>
    from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
-:16: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#16: 
new file mode 100644

total: 0 errors, 1 warnings, 0 checks, 406 lines checked
669c40afead8 drm/xe/oa/uapi: Add/remove OA config perf ops
39a22a7a1983 drm/xe/oa/uapi: Define and parse OA stream properties
b35a33907a12 drm/xe/oa: OA stream initialization (OAG)
986f875888ad drm/xe/oa/uapi: Expose OA stream fd
d61b58974d15 drm/xe/oa/uapi: Read file_operation
095516e04672 drm/xe/oa: Add OAR support
0965e23fcb82 drm/xe/oa: Add OAC support
016d8fdb4530 drm/xe/oa/uapi: Query OA unit properties
c5338b2675ad drm/xe/oa/uapi: OA buffer mmap
81d3e3804895 drm/xe/oa: Add MMIO trigger support
82630c066c2d drm/xe/oa: Override GuC RC with OA on PVC
bbcc7ef42d36 drm/xe/oa: Changes to OA_TAKEN
a1db6c824226 drm/xe/oa: Enable Xe2+ overrun mode



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

* ✓ CI.KUnit: success for Add OA functionality to Xe (rev15)
  2024-05-27  1:43 [PATCH v15 00/17] Add OA functionality to Xe Ashutosh Dixit
                   ` (18 preceding siblings ...)
  2024-05-27  1:49 ` ✗ CI.checkpatch: warning " Patchwork
@ 2024-05-27  1:50 ` Patchwork
  2024-05-27  2:02 ` ✓ CI.Build: " Patchwork
                   ` (5 subsequent siblings)
  25 siblings, 0 replies; 47+ messages in thread
From: Patchwork @ 2024-05-27  1:50 UTC (permalink / raw)
  To: Ashutosh Dixit; +Cc: intel-xe

== Series Details ==

Series: Add OA functionality to Xe (rev15)
URL   : https://patchwork.freedesktop.org/series/121084/
State : success

== Summary ==

+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig
[01:49:55] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[01:49:59] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make ARCH=um O=.kunit --jobs=48
../arch/x86/um/user-offsets.c:17:6: warning: no previous prototype for ‘foo’ [-Wmissing-prototypes]
   17 | void foo(void)
      |      ^~~
In file included from ../arch/um/kernel/asm-offsets.c:1:
../arch/x86/um/shared/sysdep/kernel-offsets.h:9:6: warning: no previous prototype for ‘foo’ [-Wmissing-prototypes]
    9 | void foo(void)
      |      ^~~
../arch/x86/um/bugs_64.c:9:6: warning: no previous prototype for ‘arch_check_bugs’ [-Wmissing-prototypes]
    9 | void arch_check_bugs(void)
      |      ^~~~~~~~~~~~~~~
../arch/x86/um/bugs_64.c:13:6: warning: no previous prototype for ‘arch_examine_signal’ [-Wmissing-prototypes]
   13 | void arch_examine_signal(int sig, struct uml_pt_regs *regs)
      |      ^~~~~~~~~~~~~~~~~~~
../arch/x86/um/fault.c:18:5: warning: no previous prototype for ‘arch_fixup’ [-Wmissing-prototypes]
   18 | int arch_fixup(unsigned long address, struct uml_pt_regs *regs)
      |     ^~~~~~~~~~
../arch/x86/um/os-Linux/registers.c:146:15: warning: no previous prototype for ‘get_thread_reg’ [-Wmissing-prototypes]
  146 | unsigned long get_thread_reg(int reg, jmp_buf *buf)
      |               ^~~~~~~~~~~~~~
../arch/x86/um/os-Linux/mcontext.c:7:6: warning: no previous prototype for ‘get_regs_from_mc’ [-Wmissing-prototypes]
    7 | void get_regs_from_mc(struct uml_pt_regs *regs, mcontext_t *mc)
      |      ^~~~~~~~~~~~~~~~
../arch/x86/um/vdso/um_vdso.c:16:5: warning: no previous prototype for ‘__vdso_clock_gettime’ [-Wmissing-prototypes]
   16 | int __vdso_clock_gettime(clockid_t clock, struct __kernel_old_timespec *ts)
      |     ^~~~~~~~~~~~~~~~~~~~
../arch/x86/um/vdso/um_vdso.c:30:5: warning: no previous prototype for ‘__vdso_gettimeofday’ [-Wmissing-prototypes]
   30 | int __vdso_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz)
      |     ^~~~~~~~~~~~~~~~~~~
../arch/x86/um/vdso/um_vdso.c:44:21: warning: no previous prototype for ‘__vdso_time’ [-Wmissing-prototypes]
   44 | __kernel_old_time_t __vdso_time(__kernel_old_time_t *t)
      |                     ^~~~~~~~~~~
../arch/x86/um/vdso/um_vdso.c:57:1: warning: no previous prototype for ‘__vdso_getcpu’ [-Wmissing-prototypes]
   57 | __vdso_getcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *unused)
      | ^~~~~~~~~~~~~
../arch/um/os-Linux/skas/process.c:107:6: warning: no previous prototype for ‘wait_stub_done’ [-Wmissing-prototypes]
  107 | void wait_stub_done(int pid)
      |      ^~~~~~~~~~~~~~
../arch/um/os-Linux/skas/process.c:683:6: warning: no previous prototype for ‘__switch_mm’ [-Wmissing-prototypes]
  683 | void __switch_mm(struct mm_id *mm_idp)
      |      ^~~~~~~~~~~
../arch/um/kernel/skas/process.c:36:12: warning: no previous prototype for ‘start_uml’ [-Wmissing-prototypes]
   36 | int __init start_uml(void)
      |            ^~~~~~~~~
../arch/um/kernel/skas/mmu.c:17:5: warning: no previous prototype for ‘init_new_context’ [-Wmissing-prototypes]
   17 | int init_new_context(struct task_struct *task, struct mm_struct *mm)
      |     ^~~~~~~~~~~~~~~~
../arch/um/kernel/skas/mmu.c:60:6: warning: no previous prototype for ‘destroy_context’ [-Wmissing-prototypes]
   60 | void destroy_context(struct mm_struct *mm)
      |      ^~~~~~~~~~~~~~~
../arch/um/os-Linux/main.c:187:7: warning: no previous prototype for ‘__wrap_malloc’ [-Wmissing-prototypes]
  187 | void *__wrap_malloc(int size)
      |       ^~~~~~~~~~~~~
../arch/um/os-Linux/main.c:208:7: warning: no previous prototype for ‘__wrap_calloc’ [-Wmissing-prototypes]
  208 | void *__wrap_calloc(int n, int size)
      |       ^~~~~~~~~~~~~
../arch/um/os-Linux/main.c:222:6: warning: no previous prototype for ‘__wrap_free’ [-Wmissing-prototypes]
  222 | void __wrap_free(void *ptr)
      |      ^~~~~~~~~~~
../arch/um/os-Linux/mem.c:28:6: warning: no previous prototype for ‘kasan_map_memory’ [-Wmissing-prototypes]
   28 | void kasan_map_memory(void *start, size_t len)
      |      ^~~~~~~~~~~~~~~~
../arch/um/os-Linux/mem.c:212:13: warning: no previous prototype for ‘check_tmpexec’ [-Wmissing-prototypes]
  212 | void __init check_tmpexec(void)
      |             ^~~~~~~~~~~~~
../arch/um/os-Linux/signal.c:75:6: warning: no previous prototype for ‘sig_handler’ [-Wmissing-prototypes]
   75 | void sig_handler(int sig, struct siginfo *si, mcontext_t *mc)
      |      ^~~~~~~~~~~
../arch/um/os-Linux/signal.c:111:6: warning: no previous prototype for ‘timer_alarm_handler’ [-Wmissing-prototypes]
  111 | void timer_alarm_handler(int sig, struct siginfo *unused_si, mcontext_t *mc)
      |      ^~~~~~~~~~~~~~~~~~~
../arch/x86/um/ptrace_64.c:111:5: warning: no previous prototype for ‘poke_user’ [-Wmissing-prototypes]
  111 | int poke_user(struct task_struct *child, long addr, long data)
      |     ^~~~~~~~~
../arch/x86/um/ptrace_64.c:171:5: warning: no previous prototype for ‘peek_user’ [-Wmissing-prototypes]
  171 | int peek_user(struct task_struct *child, long addr, long data)
      |     ^~~~~~~~~
../arch/um/os-Linux/start_up.c:301:12: warning: no previous prototype for ‘parse_iomem’ [-Wmissing-prototypes]
  301 | int __init parse_iomem(char *str, int *add)
      |            ^~~~~~~~~~~
../arch/x86/um/signal.c:560:6: warning: no previous prototype for ‘sys_rt_sigreturn’ [-Wmissing-prototypes]
  560 | long sys_rt_sigreturn(void)
      |      ^~~~~~~~~~~~~~~~
../arch/um/kernel/mem.c:202:8: warning: no previous prototype for ‘pgd_alloc’ [-Wmissing-prototypes]
  202 | pgd_t *pgd_alloc(struct mm_struct *mm)
      |        ^~~~~~~~~
../arch/um/kernel/mem.c:215:7: warning: no previous prototype for ‘uml_kmalloc’ [-Wmissing-prototypes]
  215 | void *uml_kmalloc(int size, int flags)
      |       ^~~~~~~~~~~
../arch/um/kernel/process.c:51:5: warning: no previous prototype for ‘pid_to_processor_id’ [-Wmissing-prototypes]
   51 | int pid_to_processor_id(int pid)
      |     ^~~~~~~~~~~~~~~~~~~
../arch/um/kernel/process.c:87:7: warning: no previous prototype for ‘__switch_to’ [-Wmissing-prototypes]
   87 | void *__switch_to(struct task_struct *from, struct task_struct *to)
      |       ^~~~~~~~~~~
../arch/um/kernel/process.c:140:6: warning: no previous prototype for ‘fork_handler’ [-Wmissing-prototypes]
  140 | void fork_handler(void)
      |      ^~~~~~~~~~~~
../arch/um/kernel/process.c:217:6: warning: no previous prototype for ‘arch_cpu_idle’ [-Wmissing-prototypes]
  217 | void arch_cpu_idle(void)
      |      ^~~~~~~~~~~~~
../arch/um/kernel/process.c:253:5: warning: no previous prototype for ‘copy_to_user_proc’ [-Wmissing-prototypes]
  253 | int copy_to_user_proc(void __user *to, void *from, int size)
      |     ^~~~~~~~~~~~~~~~~
../arch/um/kernel/process.c:263:5: warning: no previous prototype for ‘clear_user_proc’ [-Wmissing-prototypes]
  263 | int clear_user_proc(void __user *buf, int size)
      |     ^~~~~~~~~~~~~~~
../arch/um/kernel/process.c:271:6: warning: no previous prototype for ‘set_using_sysemu’ [-Wmissing-prototypes]
  271 | void set_using_sysemu(int value)
      |      ^~~~~~~~~~~~~~~~
../arch/um/kernel/process.c:278:5: warning: no previous prototype for ‘get_using_sysemu’ [-Wmissing-prototypes]
  278 | int get_using_sysemu(void)
      |     ^~~~~~~~~~~~~~~~
../arch/um/kernel/process.c:316:12: warning: no previous prototype for ‘make_proc_sysemu’ [-Wmissing-prototypes]
  316 | int __init make_proc_sysemu(void)
      |            ^~~~~~~~~~~~~~~~
../arch/um/kernel/process.c:348:15: warning: no previous prototype for ‘arch_align_stack’ [-Wmissing-prototypes]
  348 | unsigned long arch_align_stack(unsigned long sp)
      |               ^~~~~~~~~~~~~~~~
../arch/x86/um/syscalls_64.c:48:6: warning: no previous prototype for ‘arch_switch_to’ [-Wmissing-prototypes]
   48 | void arch_switch_to(struct task_struct *to)
      |      ^~~~~~~~~~~~~~
../arch/um/kernel/reboot.c:45:6: warning: no previous prototype for ‘machine_restart’ [-Wmissing-prototypes]
   45 | void machine_restart(char * __unused)
      |      ^~~~~~~~~~~~~~~
../arch/um/kernel/reboot.c:51:6: warning: no previous prototype for ‘machine_power_off’ [-Wmissing-prototypes]
   51 | void machine_power_off(void)
      |      ^~~~~~~~~~~~~~~~~
../arch/um/kernel/reboot.c:57:6: warning: no previous prototype for ‘machine_halt’ [-Wmissing-prototypes]
   57 | void machine_halt(void)
      |      ^~~~~~~~~~~~
../arch/um/kernel/tlb.c:579:6: warning: no previous prototype for ‘flush_tlb_mm_range’ [-Wmissing-prototypes]
  579 | void flush_tlb_mm_range(struct mm_struct *mm, unsigned long start,
      |      ^~~~~~~~~~~~~~~~~~
../arch/um/kernel/tlb.c:594:6: warning: no previous prototype for ‘force_flush_all’ [-Wmissing-prototypes]
  594 | void force_flush_all(void)
      |      ^~~~~~~~~~~~~~~
../arch/um/kernel/um_arch.c:408:19: warning: no previous prototype for ‘read_initrd’ [-Wmissing-prototypes]
  408 | int __init __weak read_initrd(void)
      |                   ^~~~~~~~~~~
../arch/um/kernel/um_arch.c:461:7: warning: no previous prototype for ‘text_poke’ [-Wmissing-prototypes]
  461 | void *text_poke(void *addr, const void *opcode, size_t len)
      |       ^~~~~~~~~
../arch/um/kernel/um_arch.c:473:6: warning: no previous prototype for ‘text_poke_sync’ [-Wmissing-prototypes]
  473 | void text_poke_sync(void)
      |      ^~~~~~~~~~~~~~
../arch/um/kernel/kmsg_dump.c:60:12: warning: no previous prototype for ‘kmsg_dumper_stdout_init’ [-Wmissing-prototypes]
   60 | int __init kmsg_dumper_stdout_init(void)
      |            ^~~~~~~~~~~~~~~~~~~~~~~
../lib/iomap.c:156:5: warning: no previous prototype for ‘ioread64_lo_hi’ [-Wmissing-prototypes]
  156 | u64 ioread64_lo_hi(const void __iomem *addr)
      |     ^~~~~~~~~~~~~~
../lib/iomap.c:163:5: warning: no previous prototype for ‘ioread64_hi_lo’ [-Wmissing-prototypes]
  163 | u64 ioread64_hi_lo(const void __iomem *addr)
      |     ^~~~~~~~~~~~~~
../lib/iomap.c:170:5: warning: no previous prototype for ‘ioread64be_lo_hi’ [-Wmissing-prototypes]
  170 | u64 ioread64be_lo_hi(const void __iomem *addr)
      |     ^~~~~~~~~~~~~~~~
../lib/iomap.c:178:5: warning: no previous prototype for ‘ioread64be_hi_lo’ [-Wmissing-prototypes]
  178 | u64 ioread64be_hi_lo(const void __iomem *addr)
      |     ^~~~~~~~~~~~~~~~
../lib/iomap.c:264:6: warning: no previous prototype for ‘iowrite64_lo_hi’ [-Wmissing-prototypes]
  264 | void iowrite64_lo_hi(u64 val, void __iomem *addr)
      |      ^~~~~~~~~~~~~~~
../lib/iomap.c:272:6: warning: no previous prototype for ‘iowrite64_hi_lo’ [-Wmissing-prototypes]
  272 | void iowrite64_hi_lo(u64 val, void __iomem *addr)
      |      ^~~~~~~~~~~~~~~
../lib/iomap.c:280:6: warning: no previous prototype for ‘iowrite64be_lo_hi’ [-Wmissing-prototypes]
  280 | void iowrite64be_lo_hi(u64 val, void __iomem *addr)
      |      ^~~~~~~~~~~~~~~~~
../lib/iomap.c:288:6: warning: no previous prototype for ‘iowrite64be_hi_lo’ [-Wmissing-prototypes]
  288 | void iowrite64be_hi_lo(u64 val, void __iomem *addr)
      |      ^~~~~~~~~~~~~~~~~
stty: 'standard input': Inappropriate ioctl for device

[01:50:25] Starting KUnit Kernel (1/1)...
[01:50:25] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[01:50:25] =================== guc_dbm (7 subtests) ===================
[01:50:25] [PASSED] test_empty
[01:50:25] [PASSED] test_default
[01:50:25] ======================== test_size  ========================
[01:50:25] [PASSED] 4
[01:50:25] [PASSED] 8
[01:50:25] [PASSED] 32
[01:50:25] [PASSED] 256
[01:50:25] ==================== [PASSED] test_size ====================
[01:50:25] ======================= test_reuse  ========================
[01:50:25] [PASSED] 4
[01:50:25] [PASSED] 8
[01:50:25] [PASSED] 32
[01:50:25] [PASSED] 256
[01:50:25] =================== [PASSED] test_reuse ====================
[01:50:25] =================== test_range_overlap  ====================
[01:50:25] [PASSED] 4
[01:50:25] [PASSED] 8
[01:50:25] [PASSED] 32
[01:50:25] [PASSED] 256
[01:50:25] =============== [PASSED] test_range_overlap ================
[01:50:25] =================== test_range_compact  ====================
[01:50:25] [PASSED] 4
[01:50:25] [PASSED] 8
[01:50:25] [PASSED] 32
[01:50:25] [PASSED] 256
[01:50:25] =============== [PASSED] test_range_compact ================
[01:50:25] ==================== test_range_spare  =====================
[01:50:25] [PASSED] 4
[01:50:25] [PASSED] 8
[01:50:25] [PASSED] 32
[01:50:25] [PASSED] 256
[01:50:25] ================ [PASSED] test_range_spare =================
[01:50:25] ===================== [PASSED] guc_dbm =====================
[01:50:25] =================== guc_idm (6 subtests) ===================
[01:50:25] [PASSED] bad_init
[01:50:25] [PASSED] no_init
[01:50:25] [PASSED] init_fini
[01:50:25] [PASSED] check_used
[01:50:25] [PASSED] check_quota
[01:50:25] [PASSED] check_all
[01:50:25] ===================== [PASSED] guc_idm =====================
[01:50:25] ================== no_relay (3 subtests) ===================
[01:50:25] [PASSED] xe_drops_guc2pf_if_not_ready
[01:50:25] [PASSED] xe_drops_guc2vf_if_not_ready
[01:50:25] [PASSED] xe_rejects_send_if_not_ready
[01:50:25] ==================== [PASSED] no_relay =====================
[01:50:25] ================== pf_relay (14 subtests) ==================
[01:50:25] [PASSED] pf_rejects_guc2pf_too_short
[01:50:25] [PASSED] pf_rejects_guc2pf_too_long
[01:50:25] [PASSED] pf_rejects_guc2pf_no_payload
[01:50:25] [PASSED] pf_fails_no_payload
[01:50:25] [PASSED] pf_fails_bad_origin
[01:50:25] [PASSED] pf_fails_bad_type
[01:50:25] [PASSED] pf_txn_reports_error
[01:50:25] [PASSED] pf_txn_sends_pf2guc
[01:50:25] [PASSED] pf_sends_pf2guc
[01:50:25] [SKIPPED] pf_loopback_nop
[01:50:25] [SKIPPED] pf_loopback_echo
[01:50:25] [SKIPPED] pf_loopback_fail
[01:50:25] [SKIPPED] pf_loopback_busy
[01:50:25] [SKIPPED] pf_loopback_retry
[01:50:25] ==================== [PASSED] pf_relay =====================
[01:50:25] ================== vf_relay (3 subtests) ===================
[01:50:25] [PASSED] vf_rejects_guc2vf_too_short
[01:50:25] [PASSED] vf_rejects_guc2vf_too_long
[01:50:25] [PASSED] vf_rejects_guc2vf_no_payload
[01:50:25] ==================== [PASSED] vf_relay =====================
[01:50:25] ================= pf_service (11 subtests) =================
[01:50:25] [PASSED] pf_negotiate_any
[01:50:25] [PASSED] pf_negotiate_base_match
[01:50:25] [PASSED] pf_negotiate_base_newer
[01:50:25] [PASSED] pf_negotiate_base_next
[01:50:25] [SKIPPED] pf_negotiate_base_older
[01:50:25] [PASSED] pf_negotiate_base_prev
[01:50:25] [PASSED] pf_negotiate_latest_match
[01:50:25] [PASSED] pf_negotiate_latest_newer
[01:50:25] [PASSED] pf_negotiate_latest_next
[01:50:25] [SKIPPED] pf_negotiate_latest_older
[01:50:25] [SKIPPED] pf_negotiate_latest_prev
[01:50:25] =================== [PASSED] pf_service ====================
[01:50:25] ===================== lmtt (1 subtest) =====================
[01:50:25] ======================== test_ops  =========================
[01:50:25] [PASSED] 2-level
[01:50:25] [PASSED] multi-level
[01:50:25] ==================== [PASSED] test_ops =====================
[01:50:25] ====================== [PASSED] lmtt =======================
[01:50:25] ==================== xe_bo (2 subtests) ====================
[01:50:25] [SKIPPED] xe_ccs_migrate_kunit
[01:50:25] [SKIPPED] xe_bo_evict_kunit
[01:50:25] ===================== [SKIPPED] xe_bo ======================
[01:50:25] ================== xe_dma_buf (1 subtest) ==================
[01:50:25] [SKIPPED] xe_dma_buf_kunit
[01:50:25] =================== [SKIPPED] xe_dma_buf ===================
[01:50:25] ================== xe_migrate (1 subtest) ==================
[01:50:25] [SKIPPED] xe_migrate_sanity_kunit
[01:50:25] =================== [SKIPPED] xe_migrate ===================
[01:50:25] =================== xe_mocs (2 subtests) ===================
[01:50:25] [SKIPPED] xe_live_mocs_kernel_kunit
[01:50:25] [SKIPPED] xe_live_mocs_reset_kunit
[01:50:25] ==================== [SKIPPED] xe_mocs =====================
[01:50:25] ==================== args (11 subtests) ====================
[01:50:25] [PASSED] count_args_test
[01:50:25] [PASSED] call_args_example
[01:50:25] [PASSED] call_args_test
[01:50:25] [PASSED] drop_first_arg_example
[01:50:25] [PASSED] drop_first_arg_test
[01:50:25] [PASSED] first_arg_example
[01:50:25] [PASSED] first_arg_test
[01:50:25] [PASSED] last_arg_example
[01:50:25] [PASSED] last_arg_test
[01:50:25] [PASSED] pick_arg_example
[01:50:25] [PASSED] sep_comma_example
[01:50:25] ====================== [PASSED] args =======================
[01:50:25] =================== xe_pci (2 subtests) ====================
[01:50:25] [PASSED] xe_gmdid_graphics_ip
[01:50:25] [PASSED] xe_gmdid_media_ip
[01:50:25] ===================== [PASSED] xe_pci ======================
[01:50:25] ==================== xe_rtp (1 subtest) ====================
[01:50:25] ================== xe_rtp_process_tests  ===================
[01:50:25] [PASSED] coalesce-same-reg
[01:50:25] [PASSED] no-match-no-add
[01:50:25] [PASSED] no-match-no-add-multiple-rules
[01:50:25] [PASSED] two-regs-two-entries
[01:50:25] [PASSED] clr-one-set-other
[01:50:25] [PASSED] set-field
[01:50:25] [PASSED] conflict-duplicate
[01:50:25] [PASSED] conflict-not-disjoint
[01:50:25] [PASSED] conflict-reg-type
[01:50:25] ============== [PASSED] xe_rtp_process_tests ===============
[01:50:25] ===================== [PASSED] xe_rtp ======================
[01:50:25] ==================== xe_wa (1 subtest) =====================
[01:50:25] ======================== xe_wa_gt  =========================
[01:50:25] [PASSED] TIGERLAKE (B0)
[01:50:25] [PASSED] DG1 (A0)
[01:50:25] [PASSED] DG1 (B0)
[01:50:25] [PASSED] ALDERLAKE_S (A0)
[01:50:25] [PASSED] ALDERLAKE_S (B0)
[01:50:25] [PASSED] ALDERLAKE_S (C0)
[01:50:25] [PASSED] ALDERLAKE_S (D0)
[01:50:25] [PASSED] ALDERLAKE_P (A0)
[01:50:25] [PASSED] ALDERLAKE_P (B0)
[01:50:25] [PASSED] ALDERLAKE_P (C0)
[01:50:25] [PASSED] ALDERLAKE_S_RPLS (D0)
[01:50:25] [PASSED] ALDERLAKE_P_RPLU (E0)
[01:50:25] [PASSED] DG2_G10 (C0)
[01:50:25] [PASSED] DG2_G11 (B1)
[01:50:25] [PASSED] DG2_G12 (A1)
[01:50:25] [PASSED] METEORLAKE (g:A0, m:A0)
[01:50:25] [PASSED] METEORLAKE (g:A0, m:A0)
[01:50:25] [PASSED] METEORLAKE (g:A0, m:A0)
[01:50:25] [PASSED] LUNARLAKE (g:A0, m:A0)
[01:50:25] [PASSED] LUNARLAKE (g:B0, m:A0)
[01:50:25] ==================== [PASSED] xe_wa_gt =====================
[01:50:25] ====================== [PASSED] xe_wa ======================
[01:50:25] ============================================================
[01:50:25] Testing complete. Ran 109 tests: passed: 95, skipped: 14
[01:50:25] Elapsed time: 29.814s total, 4.308s configuring, 25.235s building, 0.217s running

+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig
[01:50:25] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[01:50:27] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make ARCH=um O=.kunit --jobs=48
In file included from ../arch/um/kernel/asm-offsets.c:1:
../arch/x86/um/shared/sysdep/kernel-offsets.h:9:6: warning: no previous prototype for ‘foo’ [-Wmissing-prototypes]
    9 | void foo(void)
      |      ^~~
../arch/x86/um/ptrace_64.c:111:5: warning: no previous prototype for ‘poke_user’ [-Wmissing-prototypes]
  111 | int poke_user(struct task_struct *child, long addr, long data)
      |     ^~~~~~~~~
../arch/x86/um/ptrace_64.c:171:5: warning: no previous prototype for ‘peek_user’ [-Wmissing-prototypes]
  171 | int peek_user(struct task_struct *child, long addr, long data)
      |     ^~~~~~~~~
../arch/um/kernel/mem.c:202:8: warning: no previous prototype for ‘pgd_alloc’ [-Wmissing-prototypes]
  202 | pgd_t *pgd_alloc(struct mm_struct *mm)
      |        ^~~~~~~~~
../arch/um/kernel/mem.c:215:7: warning: no previous prototype for ‘uml_kmalloc’ [-Wmissing-prototypes]
  215 | void *uml_kmalloc(int size, int flags)
      |       ^~~~~~~~~~~
../arch/x86/um/signal.c:560:6: warning: no previous prototype for ‘sys_rt_sigreturn’ [-Wmissing-prototypes]
  560 | long sys_rt_sigreturn(void)
      |      ^~~~~~~~~~~~~~~~
../arch/um/kernel/reboot.c:45:6: warning: no previous prototype for ‘machine_restart’ [-Wmissing-prototypes]
   45 | void machine_restart(char * __unused)
      |      ^~~~~~~~~~~~~~~
../arch/um/kernel/reboot.c:51:6: warning: no previous prototype for ‘machine_power_off’ [-Wmissing-prototypes]
   51 | void machine_power_off(void)
      |      ^~~~~~~~~~~~~~~~~
../arch/um/kernel/reboot.c:57:6: warning: no previous prototype for ‘machine_halt’ [-Wmissing-prototypes]
   57 | void machine_halt(void)
      |      ^~~~~~~~~~~~
../arch/um/kernel/process.c:51:5: warning: no previous prototype for ‘pid_to_processor_id’ [-Wmissing-prototypes]
   51 | int pid_to_processor_id(int pid)
      |     ^~~~~~~~~~~~~~~~~~~
../arch/um/kernel/process.c:87:7: warning: no previous prototype for ‘__switch_to’ [-Wmissing-prototypes]
   87 | void *__switch_to(struct task_struct *from, struct task_struct *to)
      |       ^~~~~~~~~~~
../arch/um/kernel/process.c:140:6: warning: no previous prototype for ‘fork_handler’ [-Wmissing-prototypes]
  140 | void fork_handler(void)
      |      ^~~~~~~~~~~~
../arch/um/kernel/process.c:217:6: warning: no previous prototype for ‘arch_cpu_idle’ [-Wmissing-prototypes]
  217 | void arch_cpu_idle(void)
      |      ^~~~~~~~~~~~~
../arch/um/kernel/process.c:253:5: warning: no previous prototype for ‘copy_to_user_proc’ [-Wmissing-prototypes]
  253 | int copy_to_user_proc(void __user *to, void *from, int size)
      |     ^~~~~~~~~~~~~~~~~
../arch/um/kernel/process.c:263:5: warning: no previous prototype for ‘clear_user_proc’ [-Wmissing-prototypes]
  263 | int clear_user_proc(void __user *buf, int size)
      |     ^~~~~~~~~~~~~~~
../arch/um/kernel/process.c:271:6: warning: no previous prototype for ‘set_using_sysemu’ [-Wmissing-prototypes]
  271 | void set_using_sysemu(int value)
      |      ^~~~~~~~~~~~~~~~
../arch/um/kernel/process.c:278:5: warning: no previous prototype for ‘get_using_sysemu’ [-Wmissing-prototypes]
  278 | int get_using_sysemu(void)
      |     ^~~~~~~~~~~~~~~~
../arch/um/kernel/process.c:316:12: warning: no previous prototype for ‘make_proc_sysemu’ [-Wmissing-prototypes]
  316 | int __init make_proc_sysemu(void)
      |            ^~~~~~~~~~~~~~~~
../arch/um/kernel/process.c:348:15: warning: no previous prototype for ‘arch_align_stack’ [-Wmissing-prototypes]
  348 | unsigned long arch_align_stack(unsigned long sp)
      |               ^~~~~~~~~~~~~~~~
../arch/um/kernel/tlb.c:579:6: warning: no previous prototype for ‘flush_tlb_mm_range’ [-Wmissing-prototypes]
  579 | void flush_tlb_mm_range(struct mm_struct *mm, unsigned long start,
      |      ^~~~~~~~~~~~~~~~~~
../arch/um/kernel/tlb.c:594:6: warning: no previous prototype for ‘force_flush_all’ [-Wmissing-prototypes]
  594 | void force_flush_all(void)
      |      ^~~~~~~~~~~~~~~
../arch/um/kernel/kmsg_dump.c:60:12: warning: no previous prototype for ‘kmsg_dumper_stdout_init’ [-Wmissing-prototypes]
   60 | int __init kmsg_dumper_stdout_init(void)
      |            ^~~~~~~~~~~~~~~~~~~~~~~
../arch/um/kernel/um_arch.c:408:19: warning: no previous prototype for ‘read_initrd’ [-Wmissing-prototypes]
  408 | int __init __weak read_initrd(void)
      |                   ^~~~~~~~~~~
../arch/um/kernel/um_arch.c:461:7: warning: no previous prototype for ‘text_poke’ [-Wmissing-prototypes]
  461 | void *text_poke(void *addr, const void *opcode, size_t len)
      |       ^~~~~~~~~
../arch/um/kernel/um_arch.c:473:6: warning: no previous prototype for ‘text_poke_sync’ [-Wmissing-prototypes]
  473 | void text_poke_sync(void)
      |      ^~~~~~~~~~~~~~
../arch/x86/um/syscalls_64.c:48:6: warning: no previous prototype for ‘arch_switch_to’ [-Wmissing-prototypes]
   48 | void arch_switch_to(struct task_struct *to)
      |      ^~~~~~~~~~~~~~
../arch/um/kernel/skas/process.c:36:12: warning: no previous prototype for ‘start_uml’ [-Wmissing-prototypes]
   36 | int __init start_uml(void)
      |            ^~~~~~~~~
../arch/um/kernel/skas/mmu.c:17:5: warning: no previous prototype for ‘init_new_context’ [-Wmissing-prototypes]
   17 | int init_new_context(struct task_struct *task, struct mm_struct *mm)
      |     ^~~~~~~~~~~~~~~~
../arch/um/kernel/skas/mmu.c:60:6: warning: no previous prototype for ‘destroy_context’ [-Wmissing-prototypes]
   60 | void destroy_context(struct mm_struct *mm)
      |      ^~~~~~~~~~~~~~~
../lib/iomap.c:156:5: warning: no previous prototype for ‘ioread64_lo_hi’ [-Wmissing-prototypes]
  156 | u64 ioread64_lo_hi(const void __iomem *addr)
      |     ^~~~~~~~~~~~~~
../lib/iomap.c:163:5: warning: no previous prototype for ‘ioread64_hi_lo’ [-Wmissing-prototypes]
  163 | u64 ioread64_hi_lo(const void __iomem *addr)
      |     ^~~~~~~~~~~~~~
../lib/iomap.c:170:5: warning: no previous prototype for ‘ioread64be_lo_hi’ [-Wmissing-prototypes]
  170 | u64 ioread64be_lo_hi(const void __iomem *addr)
      |     ^~~~~~~~~~~~~~~~
../lib/iomap.c:178:5: warning: no previous prototype for ‘ioread64be_hi_lo’ [-Wmissing-prototypes]
  178 | u64 ioread64be_hi_lo(const void __iomem *addr)
      |     ^~~~~~~~~~~~~~~~
../lib/iomap.c:264:6: warning: no previous prototype for ‘iowrite64_lo_hi’ [-Wmissing-prototypes]
  264 | void iowrite64_lo_hi(u64 val, void __iomem *addr)
      |      ^~~~~~~~~~~~~~~
../lib/iomap.c:272:6: warning: no previous prototype for ‘iowrite64_hi_lo’ [-Wmissing-prototypes]
  272 | void iowrite64_hi_lo(u64 val, void __iomem *addr)
      |      ^~~~~~~~~~~~~~~
../lib/iomap.c:280:6: warning: no previous prototype for ‘iowrite64be_lo_hi’ [-Wmissing-prototypes]
  280 | void iowrite64be_lo_hi(u64 val, void __iomem *addr)
      |      ^~~~~~~~~~~~~~~~~
../lib/iomap.c:288:6: warning: no previous prototype for ‘iowrite64be_hi_lo’ [-Wmissing-prototypes]
  288 | void iowrite64be_hi_lo(u64 val, void __iomem *addr)
      |      ^~~~~~~~~~~~~~~~~

[01:50:48] Starting KUnit Kernel (1/1)...
[01:50:48] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[01:50:48] ============ drm_test_pick_cmdline (2 subtests) ============
[01:50:48] [PASSED] drm_test_pick_cmdline_res_1920_1080_60
[01:50:48] =============== drm_test_pick_cmdline_named  ===============
[01:50:48] [PASSED] NTSC
[01:50:48] [PASSED] NTSC-J
[01:50:48] [PASSED] PAL
[01:50:48] [PASSED] PAL-M
[01:50:48] =========== [PASSED] drm_test_pick_cmdline_named ===========
[01:50:48] ============== [PASSED] drm_test_pick_cmdline ==============
[01:50:48] ================== drm_buddy (7 subtests) ==================
[01:50:48] [PASSED] drm_test_buddy_alloc_limit
[01:50:48] [PASSED] drm_test_buddy_alloc_optimistic
[01:50:48] [PASSED] drm_test_buddy_alloc_pessimistic
[01:50:48] [PASSED] drm_test_buddy_alloc_pathological
[01:50:48] [PASSED] drm_test_buddy_alloc_contiguous
[01:50:48] [PASSED] drm_test_buddy_alloc_clear
[01:50:48] [PASSED] drm_test_buddy_alloc_range_bias
[01:50:48] ==================== [PASSED] drm_buddy ====================
[01:50:48] ============= drm_cmdline_parser (40 subtests) =============
[01:50:48] [PASSED] drm_test_cmdline_force_d_only
[01:50:48] [PASSED] drm_test_cmdline_force_D_only_dvi
[01:50:48] [PASSED] drm_test_cmdline_force_D_only_hdmi
[01:50:48] [PASSED] drm_test_cmdline_force_D_only_not_digital
[01:50:48] [PASSED] drm_test_cmdline_force_e_only
[01:50:48] [PASSED] drm_test_cmdline_res
[01:50:48] [PASSED] drm_test_cmdline_res_vesa
[01:50:48] [PASSED] drm_test_cmdline_res_vesa_rblank
[01:50:48] [PASSED] drm_test_cmdline_res_rblank
[01:50:48] [PASSED] drm_test_cmdline_res_bpp
[01:50:48] [PASSED] drm_test_cmdline_res_refresh
[01:50:48] [PASSED] drm_test_cmdline_res_bpp_refresh
[01:50:48] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced
[01:50:48] [PASSED] drm_test_cmdline_res_bpp_refresh_margins
[01:50:48] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off
[01:50:48] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on
[01:50:48] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog
[01:50:48] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital
[01:50:48] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on
[01:50:48] [PASSED] drm_test_cmdline_res_margins_force_on
[01:50:48] [PASSED] drm_test_cmdline_res_vesa_margins
[01:50:48] [PASSED] drm_test_cmdline_name
[01:50:48] [PASSED] drm_test_cmdline_name_bpp
[01:50:48] [PASSED] drm_test_cmdline_name_option
[01:50:48] [PASSED] drm_test_cmdline_name_bpp_option
[01:50:48] [PASSED] drm_test_cmdline_rotate_0
[01:50:48] [PASSED] drm_test_cmdline_rotate_90
[01:50:48] [PASSED] drm_test_cmdline_rotate_180
[01:50:48] [PASSED] drm_test_cmdline_rotate_270
[01:50:48] [PASSED] drm_test_cmdline_hmirror
[01:50:48] [PASSED] drm_test_cmdline_vmirror
[01:50:48] [PASSED] drm_test_cmdline_margin_options
[01:50:48] [PASSED] drm_test_cmdline_multiple_options
[01:50:48] [PASSED] drm_test_cmdline_bpp_extra_and_option
[01:50:48] [PASSED] drm_test_cmdline_extra_and_option
[01:50:48] [PASSED] drm_test_cmdline_freestanding_options
[01:50:48] [PASSED] drm_test_cmdline_freestanding_force_e_and_options
[01:50:48] [PASSED] drm_test_cmdline_panel_orientation
[01:50:48] ================ drm_test_cmdline_invalid  =================
[01:50:48] [PASSED] margin_only
[01:50:48] [PASSED] interlace_only
[01:50:48] [PASSED] res_missing_x
[01:50:48] [PASSED] res_missing_y
[01:50:48] [PASSED] res_bad_y
[01:50:48] [PASSED] res_missing_y_bpp
[01:50:48] [PASSED] res_bad_bpp
[01:50:48] [PASSED] res_bad_refresh
[01:50:48] [PASSED] res_bpp_refresh_force_on_off
[01:50:48] [PASSED] res_invalid_mode
[01:50:48] [PASSED] res_bpp_wrong_place_mode
[01:50:48] [PASSED] name_bpp_refresh
[01:50:48] [PASSED] name_refresh
[01:50:48] [PASSED] name_refresh_wrong_mode
[01:50:48] [PASSED] name_refresh_invalid_mode
[01:50:48] [PASSED] rotate_multiple
[01:50:48] [PASSED] rotate_invalid_val
[01:50:48] [PASSED] rotate_truncated
[01:50:48] [PASSED] invalid_option
[01:50:48] [PASSED] invalid_tv_option
[01:50:48] [PASSED] truncated_tv_option
[01:50:48] ============ [PASSED] drm_test_cmdline_invalid =============
[01:50:48] =============== drm_test_cmdline_tv_options  ===============
[01:50:48] [PASSED] NTSC
[01:50:48] [PASSED] NTSC_443
[01:50:48] [PASSED] NTSC_J
[01:50:48] [PASSED] PAL
[01:50:48] [PASSED] PAL_M
[01:50:48] [PASSED] PAL_N
[01:50:48] [PASSED] SECAM
[01:50:48] =========== [PASSED] drm_test_cmdline_tv_options ===========
[01:50:48] =============== [PASSED] drm_cmdline_parser ================
[01:50:48] ============= drmm_connector_init (3 subtests) =============
[01:50:48] [PASSED] drm_test_drmm_connector_init
[01:50:48] [PASSED] drm_test_drmm_connector_init_null_ddc
[01:50:48] ========= drm_test_drmm_connector_init_type_valid  =========
[01:50:48] [PASSED] Unknown
[01:50:48] [PASSED] VGA
[01:50:48] [PASSED] DVI-I
[01:50:48] [PASSED] DVI-D
[01:50:48] [PASSED] DVI-A
[01:50:48] [PASSED] Composite
[01:50:48] [PASSED] SVIDEO
[01:50:48] [PASSED] LVDS
[01:50:48] [PASSED] Component
[01:50:48] [PASSED] DIN
[01:50:48] [PASSED] DP
[01:50:48] [PASSED] HDMI-A
[01:50:48] [PASSED] HDMI-B
[01:50:48] [PASSED] TV
[01:50:48] [PASSED] eDP
[01:50:48] [PASSED] Virtual
[01:50:48] [PASSED] DSI
[01:50:48] [PASSED] DPI
[01:50:48] [PASSED] Writeback
[01:50:48] [PASSED] SPI
[01:50:48] [PASSED] USB
[01:50:48] ===== [PASSED] drm_test_drmm_connector_init_type_valid =====
[01:50:48] =============== [PASSED] drmm_connector_init ===============
[01:50:48] ========== drm_get_tv_mode_from_name (2 subtests) ==========
[01:50:48] ========== drm_test_get_tv_mode_from_name_valid  ===========
[01:50:48] [PASSED] NTSC
[01:50:48] [PASSED] NTSC-443
[01:50:48] [PASSED] NTSC-J
[01:50:48] [PASSED] PAL
[01:50:48] [PASSED] PAL-M
[01:50:48] [PASSED] PAL-N
[01:50:48] [PASSED] SECAM
[01:50:48] ====== [PASSED] drm_test_get_tv_mode_from_name_valid =======
[01:50:48] [PASSED] drm_test_get_tv_mode_from_name_truncated
[01:50:48] ============ [PASSED] drm_get_tv_mode_from_name ============
[01:50:48] ============= drm_damage_helper (21 subtests) ==============
[01:50:48] [PASSED] drm_test_damage_iter_no_damage
[01:50:48] [PASSED] drm_test_damage_iter_no_damage_fractional_src
[01:50:48] [PASSED] drm_test_damage_iter_no_damage_src_moved
[01:50:48] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved
[01:50:48] [PASSED] drm_test_damage_iter_no_damage_not_visible
[01:50:48] [PASSED] drm_test_damage_iter_no_damage_no_crtc
[01:50:48] [PASSED] drm_test_damage_iter_no_damage_no_fb
[01:50:48] [PASSED] drm_test_damage_iter_simple_damage
[01:50:48] [PASSED] drm_test_damage_iter_single_damage
[01:50:48] [PASSED] drm_test_damage_iter_single_damage_intersect_src
[01:50:48] [PASSED] drm_test_damage_iter_single_damage_outside_src
[01:50:48] [PASSED] drm_test_damage_iter_single_damage_fractional_src
[01:50:48] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src
[01:50:48] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src
[01:50:48] [PASSED] drm_test_damage_iter_single_damage_src_moved
[01:50:48] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved
[01:50:48] [PASSED] drm_test_damage_iter_damage
[01:50:48] [PASSED] drm_test_damage_iter_damage_one_intersect
[01:50:48] [PASSED] drm_test_damage_iter_damage_one_outside
[01:50:48] [PASSED] drm_test_damage_iter_damage_src_moved
[01:50:48] [PASSED] drm_test_damage_iter_damage_not_visible
[01:50:48] ================ [PASSED] drm_damage_helper ================
[01:50:48] ============== drm_dp_mst_helper (3 subtests) ==============
[01:50:48] ============== drm_test_dp_mst_calc_pbn_mode  ==============
[01:50:48] [PASSED] Clock 154000 BPP 30 DSC disabled
[01:50:48] [PASSED] Clock 234000 BPP 30 DSC disabled
[01:50:48] [PASSED] Clock 297000 BPP 24 DSC disabled
[01:50:48] [PASSED] Clock 332880 BPP 24 DSC enabled
[01:50:48] [PASSED] Clock 324540 BPP 24 DSC enabled
[01:50:48] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ==========
[01:50:48] ============== drm_test_dp_mst_calc_pbn_div  ===============
[01:50:48] [PASSED] Link rate 2000000 lane count 4
[01:50:48] [PASSED] Link rate 2000000 lane count 2
[01:50:48] [PASSED] Link rate 2000000 lane count 1
[01:50:48] [PASSED] Link rate 1350000 lane count 4
[01:50:48] [PASSED] Link rate 1350000 lane count 2
[01:50:48] [PASSED] Link rate 1350000 lane count 1
[01:50:48] [PASSED] Link rate 1000000 lane count 4
[01:50:48] [PASSED] Link rate 1000000 lane count 2
[01:50:48] [PASSED] Link rate 1000000 lane count 1
[01:50:48] [PASSED] Link rate 810000 lane count 4
[01:50:48] [PASSED] Link rate 810000 lane count 2
[01:50:48] [PASSED] Link rate 810000 lane count 1
[01:50:48] [PASSED] Link rate 540000 lane count 4
[01:50:48] [PASSED] Link rate 540000 lane count 2
[01:50:48] [PASSED] Link rate 540000 lane count 1
[01:50:48] [PASSED] Link rate 270000 lane count 4
[01:50:48] [PASSED] Link rate 270000 lane count 2
[01:50:48] [PASSED] Link rate 270000 lane count 1
[01:50:48] [PASSED] Link rate 162000 lane count 4
[01:50:48] [PASSED] Link rate 162000 lane count 2
[01:50:48] [PASSED] Link rate 162000 lane count 1
[01:50:48] ========== [PASSED] drm_test_dp_mst_calc_pbn_div ===========
[01:50:48] ========= drm_test_dp_mst_sideband_msg_req_decode  =========
[01:50:48] [PASSED] DP_ENUM_PATH_RESOURCES with port number
[01:50:48] [PASSED] DP_POWER_UP_PHY with port number
[01:50:48] [PASSED] DP_POWER_DOWN_PHY with port number
[01:50:48] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks
[01:50:48] [PASSED] DP_ALLOCATE_PAYLOAD with port number
[01:50:48] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI
[01:50:48] [PASSED] DP_ALLOCATE_PAYLOAD with PBN
[01:50:48] [PASSED] DP_QUERY_PAYLOAD with port number
[01:50:48] [PASSED] DP_QUERY_PAYLOAD with VCPI
[01:50:48] [PASSED] DP_REMOTE_DPCD_READ with port number
[01:50:48] [PASSED] DP_REMOTE_DPCD_READ with DPCD address
[01:50:48] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes
[01:50:48] [PASSED] DP_REMOTE_DPCD_WRITE with port number
[01:50:48] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address
[01:50:48] [PASSED] DP_REMOTE_DPCD_WRITE with data array
[01:50:48] [PASSED] DP_REMOTE_I2C_READ with port number
[01:50:48] [PASSED] DP_REMOTE_I2C_READ with I2C device ID
[01:50:48] [PASSED] DP_REMOTE_I2C_READ with transactions array
[01:50:48] [PASSED] DP_REMOTE_I2C_WRITE with port number
[01:50:48] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID
[01:50:48] [PASSED] DP_REMOTE_I2C_WRITE with data array
[01:50:48] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID
[01:50:48] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID
[01:50:48] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event
[01:50:48] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event
[01:50:48] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior
[01:50:48] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior
[01:50:48] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode =====
[01:50:48] ================ [PASSED] drm_dp_mst_helper ================
[01:50:48] ================== drm_exec (7 subtests) ===================
[01:50:48] [PASSED] sanitycheck
[01:50:48] [PASSED] test_lock
[01:50:48] [PASSED] test_lock_unlock
[01:50:48] [PASSED] test_duplicates
[01:50:48] [PASSED] test_prepare
[01:50:48] [PASSED] test_prepare_array
[01:50:48] [PASSED] test_multiple_loops
[01:50:48] ==================== [PASSED] drm_exec =====================
[01:50:48] =========== drm_format_helper_test (17 subtests) ===========
[01:50:48] ============== drm_test_fb_xrgb8888_to_gray8  ==============
[01:50:48] [PASSED] single_pixel_source_buffer
[01:50:48] [PASSED] single_pixel_clip_rectangle
[01:50:48] [PASSED] well_known_colors
[01:50:48] [PASSED] destination_pitch
[01:50:48] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ==========
[01:50:48] ============= drm_test_fb_xrgb8888_to_rgb332  ==============
[01:50:48] [PASSED] single_pixel_source_buffer
[01:50:48] [PASSED] single_pixel_clip_rectangle
[01:50:48] [PASSED] well_known_colors
[01:50:48] [PASSED] destination_pitch
[01:50:48] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ==========
[01:50:48] ============= drm_test_fb_xrgb8888_to_rgb565  ==============
[01:50:48] [PASSED] single_pixel_source_buffer
[01:50:48] [PASSED] single_pixel_clip_rectangle
[01:50:48] [PASSED] well_known_colors
[01:50:48] [PASSED] destination_pitch
[01:50:48] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ==========
[01:50:48] ============ drm_test_fb_xrgb8888_to_xrgb1555  =============
[01:50:48] [PASSED] single_pixel_source_buffer
[01:50:48] [PASSED] single_pixel_clip_rectangle
[01:50:48] [PASSED] well_known_colors
[01:50:48] [PASSED] destination_pitch
[01:50:48] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 =========
[01:50:48] ============ drm_test_fb_xrgb8888_to_argb1555  =============
[01:50:48] [PASSED] single_pixel_source_buffer
[01:50:48] [PASSED] single_pixel_clip_rectangle
[01:50:48] [PASSED] well_known_colors
[01:50:48] [PASSED] destination_pitch
[01:50:48] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 =========
[01:50:48] ============ drm_test_fb_xrgb8888_to_rgba5551  =============
[01:50:48] [PASSED] single_pixel_source_buffer
[01:50:48] [PASSED] single_pixel_clip_rectangle
[01:50:48] [PASSED] well_known_colors
[01:50:48] [PASSED] destination_pitch
[01:50:48] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 =========
[01:50:48] ============= drm_test_fb_xrgb8888_to_rgb888  ==============
[01:50:48] [PASSED] single_pixel_source_buffer
[01:50:48] [PASSED] single_pixel_clip_rectangle
[01:50:48] [PASSED] well_known_colors
[01:50:48] [PASSED] destination_pitch
[01:50:48] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ==========
[01:50:48] ============ drm_test_fb_xrgb8888_to_argb8888  =============
[01:50:48] [PASSED] single_pixel_source_buffer
[01:50:48] [PASSED] single_pixel_clip_rectangle
[01:50:48] [PASSED] well_known_colors
[01:50:48] [PASSED] destination_pitch
[01:50:48] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 =========
[01:50:48] =========== drm_test_fb_xrgb8888_to_xrgb2101010  ===========
[01:50:48] [PASSED] single_pixel_source_buffer
[01:50:48] [PASSED] single_pixel_clip_rectangle
[01:50:48] [PASSED] well_known_colors
[01:50:48] [PASSED] destination_pitch
[01:50:48] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 =======
[01:50:48] =========== drm_test_fb_xrgb8888_to_argb2101010  ===========
[01:50:48] [PASSED] single_pixel_source_buffer
[01:50:48] [PASSED] single_pixel_clip_rectangle
[01:50:48] [PASSED] well_known_colors
[01:50:48] [PASSED] destination_pitch
[01:50:48] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 =======
[01:50:48] ============== drm_test_fb_xrgb8888_to_mono  ===============
[01:50:48] [PASSED] single_pixel_source_buffer
[01:50:48] [PASSED] single_pixel_clip_rectangle
[01:50:48] [PASSED] well_known_colors
[01:50:48] [PASSED] destination_pitch
[01:50:48] ========== [PASSED] drm_test_fb_xrgb8888_to_mono ===========
[01:50:48] ==================== drm_test_fb_swab  =====================
[01:50:48] [PASSED] single_pixel_source_buffer
[01:50:48] [PASSED] single_pixel_clip_rectangle
[01:50:48] [PASSED] well_known_colors
[01:50:48] [PASSED] destination_pitch
[01:50:48] ================ [PASSED] drm_test_fb_swab =================
[01:50:48] ============ drm_test_fb_xrgb8888_to_xbgr8888  =============
[01:50:48] [PASSED] single_pixel_source_buffer
[01:50:48] [PASSED] single_pixel_clip_rectangle
[01:50:48] [PASSED] well_known_colors
[01:50:48] [PASSED] destination_pitch
[01:50:48] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 =========
[01:50:48] ============ drm_test_fb_xrgb8888_to_abgr8888  =============
[01:50:48] [PASSED] single_pixel_source_buffer
[01:50:48] [PASSED] single_pixel_clip_rectangle
[01:50:48] [PASSED] well_known_colors
[01:50:48] [PASSED] destination_pitch
[01:50:48] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 =========
[01:50:48] ================= drm_test_fb_clip_offset  =================
[01:50:48] [PASSED] pass through
[01:50:48] [PASSED] horizontal offset
[01:50:48] [PASSED] vertical offset
[01:50:48] [PASSED] horizontal and vertical offset
[01:50:48] [PASSED] horizontal offset (custom pitch)
[01:50:48] [PASSED] vertical offset (custom pitch)
[01:50:48] [PASSED] horizontal and vertical offset (custom pitch)
[01:50:48] ============= [PASSED] drm_test_fb_clip_offset =============
[01:50:48] ============== drm_test_fb_build_fourcc_list  ==============
[01:50:48] [PASSED] no native formats
[01:50:48] [PASSED] XRGB8888 as native format
[01:50:48] [PASSED] remove duplicates
[01:50:48] [PASSED] convert alpha formats
[01:50:48] [PASSED] random formats
[01:50:48] ========== [PASSED] drm_test_fb_build_fourcc_list ==========
[01:50:48] =================== drm_test_fb_memcpy  ====================
[01:50:48] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258)
[01:50:48] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258)
[01:50:48] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559)
[01:50:48] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258)
[01:50:48] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258)
[01:50:48] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559)
[01:50:48] [PASSED] well_known_colors: XB24 little-endian (0x34324258)
[01:50:48] [PASSED] well_known_colors: XRA8 little-endian (0x38415258)
[01:50:48] [PASSED] well_known_colors: YU24 little-endian (0x34325559)
[01:50:48] [PASSED] destination_pitch: XB24 little-endian (0x34324258)
[01:50:48] [PASSED] destination_pitch: XRA8 little-endian (0x38415258)
[01:50:48] [PASSED] destination_pitch: YU24 little-endian (0x34325559)
[01:50:48] =============== [PASSED] drm_test_fb_memcpy ================
[01:50:48] ============= [PASSED] drm_format_helper_test ==============
[01:50:48] ================= drm_format (18 subtests) =================
[01:50:48] [PASSED] drm_test_format_block_width_invalid
[01:50:48] [PASSED] drm_test_format_block_width_one_plane
[01:50:48] [PASSED] drm_test_format_block_width_two_plane
[01:50:48] [PASSED] drm_test_format_block_width_three_plane
[01:50:48] [PASSED] drm_test_format_block_width_tiled
[01:50:48] [PASSED] drm_test_format_block_height_invalid
[01:50:48] [PASSED] drm_test_format_block_height_one_plane
[01:50:48] [PASSED] drm_test_format_block_height_two_plane
[01:50:48] [PASSED] drm_test_format_block_height_three_plane
[01:50:48] [PASSED] drm_test_format_block_height_tiled
[01:50:48] [PASSED] drm_test_format_min_pitch_invalid
[01:50:48] [PASSED] drm_test_format_min_pitch_one_plane_8bpp
[01:50:48] [PASSED] drm_test_format_min_pitch_one_plane_16bpp
[01:50:48] [PASSED] drm_test_format_min_pitch_one_plane_24bpp
[01:50:48] [PASSED] drm_test_format_min_pitch_one_plane_32bpp
[01:50:48] [PASSED] drm_test_format_min_pitch_two_plane
[01:50:48] [PASSED] drm_test_format_min_pitch_three_plane_8bpp
[01:50:48] [PASSED] drm_test_format_min_pitch_tiled
[01:50:48] =================== [PASSED] drm_format ====================
[01:50:48] =============== drm_framebuffer (1 subtest) ================
[01:50:48] =============== drm_test_framebuffer_create  ===============
[01:50:48] [PASSED] ABGR8888 normal sizes
[01:50:48] [PASSED] ABGR8888 max sizes
[01:50:48] [PASSED] ABGR8888 pitch greater than min required
[01:50:48] [PASSED] ABGR8888 pitch less than min required
[01:50:48] [PASSED] ABGR8888 Invalid width
[01:50:48] [PASSED] ABGR8888 Invalid buffer handle
[01:50:48] [PASSED] No pixel format
[01:50:48] [PASSED] ABGR8888 Width 0
[01:50:48] [PASSED] ABGR8888 Height 0
[01:50:48] [PASSED] ABGR8888 Out of bound height * pitch combination
[01:50:48] [PASSED] ABGR8888 Large buffer offset
[01:50:48] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers
[01:50:48] [PASSED] ABGR8888 Valid buffer modifier
[01:50:48] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE)
[01:50:48] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS
[01:50:48] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS
[01:50:48] [PASSED] NV12 Normal sizes
[01:50:48] [PASSED] NV12 Max sizes
[01:50:48] [PASSED] NV12 Invalid pitch
[01:50:48] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag
[01:50:48] [PASSED] NV12 different  modifier per-plane
[01:50:48] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE
[01:50:48] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS
[01:50:48] [PASSED] NV12 Modifier for inexistent plane
[01:50:48] [PASSED] NV12 Handle for inexistent plane
[01:50:48] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS
[01:50:48] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier
[01:50:48] [PASSED] YVU420 Normal sizes
[01:50:48] [PASSED] YVU420 Max sizes
[01:50:48] [PASSED] YVU420 Invalid pitch
[01:50:48] [PASSED] YVU420 Different pitches
[01:50:48] [PASSED] YVU420 Different buffer offsets/pitches
[01:50:48] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS
[01:50:48] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS
[01:50:48] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS
[01:50:48] [PASSED] YVU420 Valid modifier
[01:50:48] [PASSED] YVU420 Different modifiers per plane
[01:50:48] [PASSED] YVU420 Modifier for inexistent plane
[01:50:48] [PASSED] X0L2 Normal sizes
[01:50:48] [PASSED] X0L2 Max sizes
[01:50:48] [PASSED] X0L2 Invalid pitch
[01:50:48] [PASSED] X0L2 Pitch greater than minimum required
[01:50:48] [PASSED] X0L2 Handle for inexistent plane
[01:50:48] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set
[01:50:48] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set
[01:50:48] [PASSED] X0L2 Valid modifier
[01:50:48] [PASSED] X0L2 Modifier for inexistent plane
[01:50:48] =========== [PASSED] drm_test_framebuffer_create ===========
[01:50:48] ================= [PASSED] drm_framebuffer =================
[01:50:48] ================ drm_gem_shmem (8 subtests) ================
[01:50:48] [PASSED] drm_gem_shmem_test_obj_create
[01:50:48] [PASSED] drm_gem_shmem_test_obj_create_private
[01:50:48] [PASSED] drm_gem_shmem_test_pin_pages
[01:50:48] [PASSED] drm_gem_shmem_test_vmap
[01:50:48] [PASSED] drm_gem_shmem_test_get_pages_sgt
[01:50:48] [PASSED] drm_gem_shmem_test_get_sg_table
[01:50:48] [PASSED] drm_gem_shmem_test_madvise
[01:50:48] [PASSED] drm_gem_shmem_test_purge
[01:50:48] ================== [PASSED] drm_gem_shmem ==================
[01:50:48] ================= drm_managed (2 subtests) =================
[01:50:48] [PASSED] drm_test_managed_release_action
[01:50:48] [PASSED] drm_test_managed_run_action
[01:50:48] =================== [PASSED] drm_managed ===================
[01:50:48] =================== drm_mm (6 subtests) ====================
[01:50:48] [PASSED] drm_test_mm_init
[01:50:48] [PASSED] drm_test_mm_debug
[01:50:48] [PASSED] drm_test_mm_align32
[01:50:48] [PASSED] drm_test_mm_align64
[01:50:48] [PASSED] drm_test_mm_lowest
[01:50:48] [PASSED] drm_test_mm_highest
[01:50:48] ===================== [PASSED] drm_mm ======================
[01:50:48] ============= drm_modes_analog_tv (4 subtests) =============
[01:50:48] [PASSED] drm_test_modes_analog_tv_ntsc_480i
[01:50:48] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined
[01:50:48] [PASSED] drm_test_modes_analog_tv_pal_576i
[01:50:48] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined
[01:50:48] =============== [PASSED] drm_modes_analog_tv ===============
[01:50:48] ============== drm_plane_helper (2 subtests) ===============
[01:50:48] =============== drm_test_check_plane_state  ================
[01:50:48] [PASSED] clipping_simple
[01:50:48] [PASSED] clipping_rotate_reflect
[01:50:48] [PASSED] positioning_simple
[01:50:48] [PASSED] upscaling
[01:50:48] [PASSED] downscaling
[01:50:48] [PASSED] rounding1
[01:50:48] [PASSED] rounding2
[01:50:48] [PASSED] rounding3
[01:50:48] [PASSED] rounding4
[01:50:48] =========== [PASSED] drm_test_check_plane_state ============
[01:50:48] =========== drm_test_check_invalid_plane_state  ============
[01:50:48] [PASSED] positioning_invalid
[01:50:48] [PASSED] upscaling_invalid
[01:50:48] [PASSED] downscaling_invalid
[01:50:48] ======= [PASSED] drm_test_check_invalid_plane_state ========
[01:50:48] ================ [PASSED] drm_plane_helper =================
[01:50:48] ====== drm_connector_helper_tv_get_modes (1 subtest) =======
[01:50:48] ====== drm_test_connector_helper_tv_get_modes_check  =======
[01:50:48] [PASSED] None
[01:50:48] [PASSED] PAL
[01:50:48] [PASSED] NTSC
[01:50:48] [PASSED] Both, NTSC Default
[01:50:48] [PASSED] Both, PAL Default
[01:50:48] [PASSED] Both, NTSC Default, with PAL on command-line
[01:50:48] [PASSED] Both, PAL Default, with NTSC on command-line
[01:50:48] == [PASSED] drm_test_connector_helper_tv_get_modes_check ===
[01:50:48] ======== [PASSED] drm_connector_helper_tv_get_modes ========
[01:50:48] ================== drm_rect (9 subtests) ===================
[01:50:48] [PASSED] drm_test_rect_clip_scaled_div_by_zero
[01:50:48] [PASSED] drm_test_rect_clip_scaled_not_clipped
[01:50:48] [PASSED] drm_test_rect_clip_scaled_clipped
stty: 'standard input': Inappropriate ioctl for device
[01:50:48] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned
[01:50:48] ================= drm_test_rect_intersect  =================
[01:50:48] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0
[01:50:48] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1
[01:50:48] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0
[01:50:48] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1
[01:50:48] [PASSED] right x left: 2x1+0+0 x 3x1+1+0
[01:50:48] [PASSED] left x right: 3x1+1+0 x 2x1+0+0
[01:50:48] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1
[01:50:48] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0
[01:50:48] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1
[01:50:48] [PASSED] touching side: 1x1+0+0 x 1x1+1+0
[01:50:48] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0
[01:50:48] [PASSED] inside another: 2x2+0+0 x 1x1+1+1
[01:50:48] [PASSED] far away: 1x1+0+0 x 1x1+3+6
[01:50:48] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10
[01:50:48] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10
[01:50:48] ============= [PASSED] drm_test_rect_intersect =============
[01:50:48] ================ drm_test_rect_calc_hscale  ================
[01:50:48] [PASSED] normal use
[01:50:48] [PASSED] out of max range
[01:50:48] [PASSED] out of min range
[01:50:48] [PASSED] zero dst
[01:50:48] [PASSED] negative src
[01:50:48] [PASSED] negative dst
[01:50:48] ============ [PASSED] drm_test_rect_calc_hscale ============
[01:50:48] ================ drm_test_rect_calc_vscale  ================
[01:50:48] [PASSED] normal use
[01:50:48] [PASSED] out of max range
[01:50:48] [PASSED] out of min range
[01:50:48] [PASSED] zero dst
[01:50:48] [PASSED] negative src
[01:50:48] [PASSED] negative dst
[01:50:48] ============ [PASSED] drm_test_rect_calc_vscale ============
[01:50:48] ================== drm_test_rect_rotate  ===================
[01:50:48] [PASSED] reflect-x
[01:50:48] [PASSED] reflect-y
[01:50:48] [PASSED] rotate-0
[01:50:48] [PASSED] rotate-90
[01:50:48] [PASSED] rotate-180
[01:50:48] [PASSED] rotate-270
[01:50:48] ============== [PASSED] drm_test_rect_rotate ===============
[01:50:48] ================ drm_test_rect_rotate_inv  =================
[01:50:48] [PASSED] reflect-x
[01:50:48] [PASSED] reflect-y
[01:50:48] [PASSED] rotate-0
[01:50:48] [PASSED] rotate-90
[01:50:48] [PASSED] rotate-180
[01:50:48] [PASSED] rotate-270
[01:50:48] ============ [PASSED] drm_test_rect_rotate_inv =============
[01:50:48] ==================== [PASSED] drm_rect =====================
[01:50:48] ============================================================
[01:50:48] Testing complete. Ran 417 tests: passed: 417
[01:50:48] Elapsed time: 23.275s total, 1.714s configuring, 21.391s building, 0.153s running

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



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

* ✓ CI.Build: success for Add OA functionality to Xe (rev15)
  2024-05-27  1:43 [PATCH v15 00/17] Add OA functionality to Xe Ashutosh Dixit
                   ` (19 preceding siblings ...)
  2024-05-27  1:50 ` ✓ CI.KUnit: success " Patchwork
@ 2024-05-27  2:02 ` Patchwork
  2024-05-27  2:04 ` ✓ CI.Hooks: " Patchwork
                   ` (4 subsequent siblings)
  25 siblings, 0 replies; 47+ messages in thread
From: Patchwork @ 2024-05-27  2:02 UTC (permalink / raw)
  To: Ashutosh Dixit; +Cc: intel-xe

== Series Details ==

Series: Add OA functionality to Xe (rev15)
URL   : https://patchwork.freedesktop.org/series/121084/
State : success

== Summary ==

lib/modules/6.9.0-xe/kernel/sound/pci/hda/snd-hda-intel.ko
lib/modules/6.9.0-xe/kernel/sound/core/
lib/modules/6.9.0-xe/kernel/sound/core/seq/
lib/modules/6.9.0-xe/kernel/sound/core/seq/snd-seq.ko
lib/modules/6.9.0-xe/kernel/sound/core/snd-seq-device.ko
lib/modules/6.9.0-xe/kernel/sound/core/snd-hwdep.ko
lib/modules/6.9.0-xe/kernel/sound/core/snd.ko
lib/modules/6.9.0-xe/kernel/sound/core/snd-pcm.ko
lib/modules/6.9.0-xe/kernel/sound/core/snd-compress.ko
lib/modules/6.9.0-xe/kernel/sound/core/snd-timer.ko
lib/modules/6.9.0-xe/kernel/sound/soundcore.ko
lib/modules/6.9.0-xe/kernel/sound/soc/
lib/modules/6.9.0-xe/kernel/sound/soc/intel/
lib/modules/6.9.0-xe/kernel/sound/soc/intel/atom/
lib/modules/6.9.0-xe/kernel/sound/soc/intel/atom/snd-soc-sst-atom-hifi2-platform.ko
lib/modules/6.9.0-xe/kernel/sound/soc/intel/atom/sst/
lib/modules/6.9.0-xe/kernel/sound/soc/intel/atom/sst/snd-intel-sst-acpi.ko
lib/modules/6.9.0-xe/kernel/sound/soc/intel/atom/sst/snd-intel-sst-core.ko
lib/modules/6.9.0-xe/kernel/sound/soc/intel/common/
lib/modules/6.9.0-xe/kernel/sound/soc/intel/common/snd-soc-acpi-intel-match.ko
lib/modules/6.9.0-xe/kernel/sound/soc/amd/
lib/modules/6.9.0-xe/kernel/sound/soc/amd/snd-acp-config.ko
lib/modules/6.9.0-xe/kernel/sound/soc/sof/
lib/modules/6.9.0-xe/kernel/sound/soc/sof/intel/
lib/modules/6.9.0-xe/kernel/sound/soc/sof/intel/snd-sof-pci-intel-tgl.ko
lib/modules/6.9.0-xe/kernel/sound/soc/sof/intel/snd-sof-intel-hda-mlink.ko
lib/modules/6.9.0-xe/kernel/sound/soc/sof/intel/snd-sof-pci-intel-lnl.ko
lib/modules/6.9.0-xe/kernel/sound/soc/sof/intel/snd-sof-intel-hda-common.ko
lib/modules/6.9.0-xe/kernel/sound/soc/sof/intel/snd-sof-intel-hda.ko
lib/modules/6.9.0-xe/kernel/sound/soc/sof/intel/snd-sof-pci-intel-mtl.ko
lib/modules/6.9.0-xe/kernel/sound/soc/sof/amd/
lib/modules/6.9.0-xe/kernel/sound/soc/sof/amd/snd-sof-amd-renoir.ko
lib/modules/6.9.0-xe/kernel/sound/soc/sof/amd/snd-sof-amd-acp.ko
lib/modules/6.9.0-xe/kernel/sound/soc/sof/snd-sof-utils.ko
lib/modules/6.9.0-xe/kernel/sound/soc/sof/snd-sof-pci.ko
lib/modules/6.9.0-xe/kernel/sound/soc/sof/snd-sof.ko
lib/modules/6.9.0-xe/kernel/sound/soc/sof/snd-sof-probes.ko
lib/modules/6.9.0-xe/kernel/sound/soc/sof/xtensa/
lib/modules/6.9.0-xe/kernel/sound/soc/sof/xtensa/snd-sof-xtensa-dsp.ko
lib/modules/6.9.0-xe/kernel/sound/soc/snd-soc-core.ko
lib/modules/6.9.0-xe/kernel/sound/soc/snd-soc-acpi.ko
lib/modules/6.9.0-xe/kernel/sound/soc/codecs/
lib/modules/6.9.0-xe/kernel/sound/soc/codecs/snd-soc-hdac-hda.ko
lib/modules/6.9.0-xe/kernel/sound/hda/
lib/modules/6.9.0-xe/kernel/sound/hda/snd-intel-sdw-acpi.ko
lib/modules/6.9.0-xe/kernel/sound/hda/ext/
lib/modules/6.9.0-xe/kernel/sound/hda/ext/snd-hda-ext-core.ko
lib/modules/6.9.0-xe/kernel/sound/hda/snd-intel-dspcfg.ko
lib/modules/6.9.0-xe/kernel/sound/hda/snd-hda-core.ko
lib/modules/6.9.0-xe/kernel/arch/
lib/modules/6.9.0-xe/kernel/arch/x86/
lib/modules/6.9.0-xe/kernel/arch/x86/kernel/
lib/modules/6.9.0-xe/kernel/arch/x86/kernel/msr.ko
lib/modules/6.9.0-xe/kernel/arch/x86/kernel/cpuid.ko
lib/modules/6.9.0-xe/kernel/arch/x86/crypto/
lib/modules/6.9.0-xe/kernel/arch/x86/crypto/sha512-ssse3.ko
lib/modules/6.9.0-xe/kernel/arch/x86/crypto/crct10dif-pclmul.ko
lib/modules/6.9.0-xe/kernel/arch/x86/crypto/ghash-clmulni-intel.ko
lib/modules/6.9.0-xe/kernel/arch/x86/crypto/sha1-ssse3.ko
lib/modules/6.9.0-xe/kernel/arch/x86/crypto/crc32-pclmul.ko
lib/modules/6.9.0-xe/kernel/arch/x86/crypto/sha256-ssse3.ko
lib/modules/6.9.0-xe/kernel/arch/x86/crypto/aesni-intel.ko
lib/modules/6.9.0-xe/kernel/arch/x86/crypto/polyval-clmulni.ko
lib/modules/6.9.0-xe/kernel/arch/x86/events/
lib/modules/6.9.0-xe/kernel/arch/x86/events/intel/
lib/modules/6.9.0-xe/kernel/arch/x86/events/intel/intel-cstate.ko
lib/modules/6.9.0-xe/kernel/arch/x86/events/rapl.ko
lib/modules/6.9.0-xe/kernel/arch/x86/kvm/
lib/modules/6.9.0-xe/kernel/arch/x86/kvm/kvm.ko
lib/modules/6.9.0-xe/kernel/arch/x86/kvm/kvm-intel.ko
lib/modules/6.9.0-xe/kernel/crypto/
lib/modules/6.9.0-xe/kernel/crypto/crypto_simd.ko
lib/modules/6.9.0-xe/kernel/crypto/cmac.ko
lib/modules/6.9.0-xe/kernel/crypto/ccm.ko
lib/modules/6.9.0-xe/kernel/crypto/cryptd.ko
lib/modules/6.9.0-xe/kernel/crypto/polyval-generic.ko
lib/modules/6.9.0-xe/kernel/crypto/async_tx/
lib/modules/6.9.0-xe/kernel/crypto/async_tx/async_xor.ko
lib/modules/6.9.0-xe/kernel/crypto/async_tx/async_tx.ko
lib/modules/6.9.0-xe/kernel/crypto/async_tx/async_memcpy.ko
lib/modules/6.9.0-xe/kernel/crypto/async_tx/async_pq.ko
lib/modules/6.9.0-xe/kernel/crypto/async_tx/async_raid6_recov.ko
lib/modules/6.9.0-xe/build
lib/modules/6.9.0-xe/modules.alias.bin
lib/modules/6.9.0-xe/modules.builtin
lib/modules/6.9.0-xe/modules.softdep
lib/modules/6.9.0-xe/modules.alias
lib/modules/6.9.0-xe/modules.order
lib/modules/6.9.0-xe/modules.symbols
lib/modules/6.9.0-xe/modules.dep.bin
+ mv kernel-nodebug.tar.gz ..
+ cd ..
+ rm -rf archive
++ date +%s
+ echo -e '\e[0Ksection_end:1716775328:package_x86_64_nodebug\r\e[0K'
+ sync
^[[0Ksection_end:1716775328:package_x86_64_nodebug
^[[0K
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel



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

* ✓ CI.Hooks: success for Add OA functionality to Xe (rev15)
  2024-05-27  1:43 [PATCH v15 00/17] Add OA functionality to Xe Ashutosh Dixit
                   ` (20 preceding siblings ...)
  2024-05-27  2:02 ` ✓ CI.Build: " Patchwork
@ 2024-05-27  2:04 ` Patchwork
  2024-05-27  2:06 ` ✓ CI.checksparse: " Patchwork
                   ` (3 subsequent siblings)
  25 siblings, 0 replies; 47+ messages in thread
From: Patchwork @ 2024-05-27  2:04 UTC (permalink / raw)
  To: Ashutosh Dixit; +Cc: intel-xe

== Series Details ==

Series: Add OA functionality to Xe (rev15)
URL   : https://patchwork.freedesktop.org/series/121084/
State : success

== Summary ==

run-parts: executing /workspace/ci/hooks/00-showenv
+ export
+ grep -Ei '(^|\W)CI_'
declare -x CI_KERNEL_BUILD_DIR="/workspace/kernel/build64-default"
declare -x CI_KERNEL_SRC_DIR="/workspace/kernel"
declare -x CI_TOOLS_SRC_DIR="/workspace/ci"
declare -x CI_WORKSPACE_DIR="/workspace"
run-parts: executing /workspace/ci/hooks/10-build-W1
+ SRC_DIR=/workspace/kernel
+ RESTORE_DISPLAY_CONFIG=0
+ '[' -n /workspace/kernel/build64-default ']'
+ BUILD_DIR=/workspace/kernel/build64-default
+ cd /workspace/kernel
++ nproc
+ make -j48 O=/workspace/kernel/build64-default modules_prepare
make[1]: Entering directory '/workspace/kernel/build64-default'
  GEN     Makefile
  UPD     include/generated/compile.h
  UPD     include/config/kernel.release
mkdir -p /workspace/kernel/build64-default/tools/objtool && make O=/workspace/kernel/build64-default subdir=tools/objtool --no-print-directory -C objtool 
  UPD     include/generated/utsrelease.h
  HOSTCC  /workspace/kernel/build64-default/tools/objtool/fixdep.o
  CALL    ../scripts/checksyscalls.sh
  HOSTLD  /workspace/kernel/build64-default/tools/objtool/fixdep-in.o
  LINK    /workspace/kernel/build64-default/tools/objtool/fixdep
  INSTALL libsubcmd_headers
  CC      /workspace/kernel/build64-default/tools/objtool/libsubcmd/exec-cmd.o
  CC      /workspace/kernel/build64-default/tools/objtool/libsubcmd/help.o
  CC      /workspace/kernel/build64-default/tools/objtool/libsubcmd/pager.o
  CC      /workspace/kernel/build64-default/tools/objtool/libsubcmd/parse-options.o
  CC      /workspace/kernel/build64-default/tools/objtool/libsubcmd/run-command.o
  CC      /workspace/kernel/build64-default/tools/objtool/libsubcmd/sigchain.o
  CC      /workspace/kernel/build64-default/tools/objtool/libsubcmd/subcmd-config.o
  LD      /workspace/kernel/build64-default/tools/objtool/libsubcmd/libsubcmd-in.o
  AR      /workspace/kernel/build64-default/tools/objtool/libsubcmd/libsubcmd.a
  CC      /workspace/kernel/build64-default/tools/objtool/weak.o
  CC      /workspace/kernel/build64-default/tools/objtool/check.o
  CC      /workspace/kernel/build64-default/tools/objtool/special.o
  CC      /workspace/kernel/build64-default/tools/objtool/builtin-check.o
  CC      /workspace/kernel/build64-default/tools/objtool/elf.o
  CC      /workspace/kernel/build64-default/tools/objtool/objtool.o
  CC      /workspace/kernel/build64-default/tools/objtool/orc_gen.o
  CC      /workspace/kernel/build64-default/tools/objtool/orc_dump.o
  CC      /workspace/kernel/build64-default/tools/objtool/libstring.o
  CC      /workspace/kernel/build64-default/tools/objtool/libctype.o
  CC      /workspace/kernel/build64-default/tools/objtool/str_error_r.o
  CC      /workspace/kernel/build64-default/tools/objtool/librbtree.o
  CC      /workspace/kernel/build64-default/tools/objtool/arch/x86/special.o
  CC      /workspace/kernel/build64-default/tools/objtool/arch/x86/decode.o
  CC      /workspace/kernel/build64-default/tools/objtool/arch/x86/orc.o
  LD      /workspace/kernel/build64-default/tools/objtool/arch/x86/objtool-in.o
  LD      /workspace/kernel/build64-default/tools/objtool/objtool-in.o
  LINK    /workspace/kernel/build64-default/tools/objtool/objtool
make[1]: Leaving directory '/workspace/kernel/build64-default'
++ nproc
+ make -j48 O=/workspace/kernel/build64-default M=drivers/gpu/drm/xe W=1
make[1]: Entering directory '/workspace/kernel/build64-default'
  CC [M]  drivers/gpu/drm/xe/xe_bb.o
  CC [M]  drivers/gpu/drm/xe/xe_bo.o
  CC [M]  drivers/gpu/drm/xe/xe_bo_evict.o
  CC [M]  drivers/gpu/drm/xe/xe_debugfs.o
  CC [M]  drivers/gpu/drm/xe/xe_devcoredump.o
  CC [M]  drivers/gpu/drm/xe/xe_device.o
  CC [M]  drivers/gpu/drm/xe/xe_device_sysfs.o
  CC [M]  drivers/gpu/drm/xe/xe_dma_buf.o
  CC [M]  drivers/gpu/drm/xe/xe_drm_client.o
  CC [M]  drivers/gpu/drm/xe/xe_exec.o
  CC [M]  drivers/gpu/drm/xe/xe_execlist.o
  CC [M]  drivers/gpu/drm/xe/xe_exec_queue.o
  CC [M]  drivers/gpu/drm/xe/xe_force_wake.o
  CC [M]  drivers/gpu/drm/xe/xe_ggtt.o
  CC [M]  drivers/gpu/drm/xe/xe_gpu_scheduler.o
  HOSTCC  drivers/gpu/drm/xe/xe_gen_wa_oob
  CC [M]  drivers/gpu/drm/xe/xe_gsc_proxy.o
  CC [M]  drivers/gpu/drm/xe/xe_gsc_submit.o
  CC [M]  drivers/gpu/drm/xe/xe_gt.o
  CC [M]  drivers/gpu/drm/xe/xe_gt_ccs_mode.o
  CC [M]  drivers/gpu/drm/xe/xe_gt_clock.o
  CC [M]  drivers/gpu/drm/xe/xe_gt_debugfs.o
  CC [M]  drivers/gpu/drm/xe/xe_gt_freq.o
  CC [M]  drivers/gpu/drm/xe/xe_gt_idle.o
  CC [M]  drivers/gpu/drm/xe/xe_gt_mcr.o
  CC [M]  drivers/gpu/drm/xe/xe_gt_pagefault.o
  CC [M]  drivers/gpu/drm/xe/xe_gt_sysfs.o
  CC [M]  drivers/gpu/drm/xe/xe_gt_throttle.o
  CC [M]  drivers/gpu/drm/xe/xe_gt_tlb_invalidation.o
  CC [M]  drivers/gpu/drm/xe/xe_gt_topology.o
  CC [M]  drivers/gpu/drm/xe/xe_guc_ct.o
  CC [M]  drivers/gpu/drm/xe/xe_guc_db_mgr.o
  CC [M]  drivers/gpu/drm/xe/xe_guc_debugfs.o
  CC [M]  drivers/gpu/drm/xe/xe_guc_hwconfig.o
  CC [M]  drivers/gpu/drm/xe/xe_guc_id_mgr.o
  CC [M]  drivers/gpu/drm/xe/xe_guc_klv_helpers.o
  CC [M]  drivers/gpu/drm/xe/xe_guc_log.o
  CC [M]  drivers/gpu/drm/xe/xe_guc_pc.o
  CC [M]  drivers/gpu/drm/xe/xe_guc_submit.o
  CC [M]  drivers/gpu/drm/xe/xe_heci_gsc.o
  CC [M]  drivers/gpu/drm/xe/xe_hw_engine.o
  CC [M]  drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.o
  CC [M]  drivers/gpu/drm/xe/xe_hw_fence.o
  CC [M]  drivers/gpu/drm/xe/xe_huc.o
  CC [M]  drivers/gpu/drm/xe/xe_huc_debugfs.o
  CC [M]  drivers/gpu/drm/xe/xe_irq.o
  CC [M]  drivers/gpu/drm/xe/xe_lrc.o
  CC [M]  drivers/gpu/drm/xe/xe_mmio.o
  CC [M]  drivers/gpu/drm/xe/xe_mocs.o
  CC [M]  drivers/gpu/drm/xe/xe_module.o
  CC [M]  drivers/gpu/drm/xe/xe_oa.o
  CC [M]  drivers/gpu/drm/xe/xe_pat.o
  CC [M]  drivers/gpu/drm/xe/xe_pci.o
  CC [M]  drivers/gpu/drm/xe/xe_pcode.o
  CC [M]  drivers/gpu/drm/xe/xe_perf.o
  CC [M]  drivers/gpu/drm/xe/xe_pm.o
  CC [M]  drivers/gpu/drm/xe/xe_preempt_fence.o
  CC [M]  drivers/gpu/drm/xe/xe_pt.o
  CC [M]  drivers/gpu/drm/xe/xe_pt_walk.o
  CC [M]  drivers/gpu/drm/xe/xe_query.o
  CC [M]  drivers/gpu/drm/xe/xe_range_fence.o
  CC [M]  drivers/gpu/drm/xe/xe_reg_sr.o
  CC [M]  drivers/gpu/drm/xe/xe_reg_whitelist.o
  CC [M]  drivers/gpu/drm/xe/xe_rtp.o
  GEN     xe_wa_oob.c xe_wa_oob.h
  CC [M]  drivers/gpu/drm/xe/xe_sa.o
  CC [M]  drivers/gpu/drm/xe/xe_sched_job.o
  CC [M]  drivers/gpu/drm/xe/xe_step.o
  CC [M]  drivers/gpu/drm/xe/xe_sync.o
  CC [M]  drivers/gpu/drm/xe/xe_tile.o
  CC [M]  drivers/gpu/drm/xe/xe_tile_sysfs.o
  CC [M]  drivers/gpu/drm/xe/xe_trace.o
  CC [M]  drivers/gpu/drm/xe/xe_ttm_sys_mgr.o
  CC [M]  drivers/gpu/drm/xe/xe_ttm_stolen_mgr.o
  CC [M]  drivers/gpu/drm/xe/xe_ttm_vram_mgr.o
  CC [M]  drivers/gpu/drm/xe/xe_tuning.o
  CC [M]  drivers/gpu/drm/xe/xe_uc.o
  CC [M]  drivers/gpu/drm/xe/xe_uc_debugfs.o
  CC [M]  drivers/gpu/drm/xe/xe_uc_fw.o
  CC [M]  drivers/gpu/drm/xe/xe_vm.o
  CC [M]  drivers/gpu/drm/xe/xe_vram_freq.o
  CC [M]  drivers/gpu/drm/xe/xe_wait_user_fence.o
  CC [M]  drivers/gpu/drm/xe/xe_wa.o
  CC [M]  drivers/gpu/drm/xe/xe_wopcm.o
  CC [M]  drivers/gpu/drm/xe/xe_hmm.o
  CC [M]  drivers/gpu/drm/xe/xe_hwmon.o
  CC [M]  drivers/gpu/drm/xe/xe_gt_sriov_vf.o
  CC [M]  drivers/gpu/drm/xe/xe_gt_sriov_vf_debugfs.o
  CC [M]  drivers/gpu/drm/xe/xe_guc_relay.o
  CC [M]  drivers/gpu/drm/xe/xe_memirq.o
  CC [M]  drivers/gpu/drm/xe/xe_sriov.o
  CC [M]  drivers/gpu/drm/xe/xe_gt_sriov_pf.o
  CC [M]  drivers/gpu/drm/xe/xe_gt_sriov_pf_config.o
  CC [M]  drivers/gpu/drm/xe/xe_gt_sriov_pf_control.o
  CC [M]  drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.o
  CC [M]  drivers/gpu/drm/xe/xe_gt_sriov_pf_monitor.o
  CC [M]  drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.o
  CC [M]  drivers/gpu/drm/xe/xe_gt_sriov_pf_service.o
  CC [M]  drivers/gpu/drm/xe/xe_lmtt.o
  CC [M]  drivers/gpu/drm/xe/xe_lmtt_2l.o
  CC [M]  drivers/gpu/drm/xe/xe_lmtt_ml.o
  CC [M]  drivers/gpu/drm/xe/xe_pci_sriov.o
  CC [M]  drivers/gpu/drm/xe/xe_sriov_pf.o
  CC [M]  drivers/gpu/drm/xe/tests/xe_kunit_helpers.o
  CC [M]  drivers/gpu/drm/xe/display/ext/i915_irq.o
  CC [M]  drivers/gpu/drm/xe/display/ext/i915_utils.o
  CC [M]  drivers/gpu/drm/xe/display/intel_fb_bo.o
  CC [M]  drivers/gpu/drm/xe/display/intel_fbdev_fb.o
  CC [M]  drivers/gpu/drm/xe/display/xe_display.o
  CC [M]  drivers/gpu/drm/xe/display/xe_display_misc.o
  CC [M]  drivers/gpu/drm/xe/display/xe_display_rps.o
  CC [M]  drivers/gpu/drm/xe/display/xe_dsb_buffer.o
  CC [M]  drivers/gpu/drm/xe/display/xe_fb_pin.o
  CC [M]  drivers/gpu/drm/xe/display/xe_hdcp_gsc.o
  CC [M]  drivers/gpu/drm/xe/display/xe_plane_initial.o
  CC [M]  drivers/gpu/drm/xe/display/xe_tdf.o
  CC [M]  drivers/gpu/drm/xe/i915-soc/intel_dram.o
  CC [M]  drivers/gpu/drm/xe/i915-soc/intel_pch.o
  CC [M]  drivers/gpu/drm/xe/i915-display/icl_dsi.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_atomic.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_atomic_plane.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_audio.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_backlight.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_bios.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_bw.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_cdclk.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_color.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_combo_phy.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_connector.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_crtc.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_crtc_state_dump.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_cursor.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_cx0_phy.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_ddi.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_ddi_buf_trans.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_display.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_display_device.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_display_driver.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_display_irq.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_display_params.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_display_power.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_display_power_map.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_display_power_well.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_display_trace.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_display_wa.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_dkl_phy.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_dmc.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_dp.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_dp_aux.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_dp_aux_backlight.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_dp_hdcp.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_dp_link_training.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_dp_mst.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_dpll.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_dpt_common.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_dpll_mgr.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_drrs.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_dsb.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_dsi.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_dsi_dcs_backlight.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_dsi_vbt.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_fb.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_fbc.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_fdi.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_fifo_underrun.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_frontbuffer.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_global_state.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_gmbus.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_hdcp.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_hdcp_gsc_message.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_hdmi.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_hotplug.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_hotplug_irq.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_hti.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_link_bw.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_lspcon.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_modeset_lock.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_modeset_setup.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_modeset_verify.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_panel.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_pmdemand.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_pps.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_psr.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_qp_tables.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_quirks.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_snps_phy.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_tc.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_vblank.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_vdsc.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_vga.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_vrr.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_dmc_wl.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_wm.o
  CC [M]  drivers/gpu/drm/xe/i915-display/skl_scaler.o
  CC [M]  drivers/gpu/drm/xe/i915-display/skl_universal_plane.o
  CC [M]  drivers/gpu/drm/xe/i915-display/skl_watermark.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_acpi.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_opregion.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_fbdev.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_display_debugfs.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_display_debugfs_params.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_pipe_crc.o
  HDRTEST drivers/gpu/drm/xe/abi/gsc_proxy_commands_abi.h
  HDRTEST drivers/gpu/drm/xe/abi/guc_klvs_abi.h
  HDRTEST drivers/gpu/drm/xe/abi/gsc_command_header_abi.h
  HDRTEST drivers/gpu/drm/xe/abi/guc_actions_sriov_abi.h
  HDRTEST drivers/gpu/drm/xe/abi/guc_errors_abi.h
  CC [M]  drivers/gpu/drm/xe/tests/xe_live_test_mod.o
  HDRTEST drivers/gpu/drm/xe/abi/guc_actions_slpc_abi.h
  CC [M]  drivers/gpu/drm/xe/tests/xe_bo_test.o
  HDRTEST drivers/gpu/drm/xe/abi/guc_relay_actions_abi.h
  CC [M]  drivers/gpu/drm/xe/tests/xe_dma_buf_test.o
  HDRTEST drivers/gpu/drm/xe/abi/gsc_mkhi_commands_abi.h
  HDRTEST drivers/gpu/drm/xe/abi/gsc_pxp_commands_abi.h
  HDRTEST drivers/gpu/drm/xe/abi/guc_relay_communication_abi.h
  HDRTEST drivers/gpu/drm/xe/abi/guc_communication_mmio_abi.h
  HDRTEST drivers/gpu/drm/xe/abi/guc_actions_abi.h
  HDRTEST drivers/gpu/drm/xe/abi/guc_communication_ctb_abi.h
  CC [M]  drivers/gpu/drm/xe/tests/xe_migrate_test.o
  HDRTEST drivers/gpu/drm/xe/abi/guc_messages_abi.h
  HDRTEST drivers/gpu/drm/xe/compat-i915-headers/i915_vma_types.h
  CC [M]  drivers/gpu/drm/xe/tests/xe_mocs_test.o
  HDRTEST drivers/gpu/drm/xe/compat-i915-headers/i915_irq.h
  HDRTEST drivers/gpu/drm/xe/compat-i915-headers/vlv_sideband_reg.h
  HDRTEST drivers/gpu/drm/xe/compat-i915-headers/intel_wakeref.h
  HDRTEST drivers/gpu/drm/xe/compat-i915-headers/intel_pcode.h
  HDRTEST drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h
  CC [M]  drivers/gpu/drm/xe/tests/xe_test_mod.o
  HDRTEST drivers/gpu/drm/xe/compat-i915-headers/i915_reg_defs.h
  HDRTEST drivers/gpu/drm/xe/compat-i915-headers/i915_trace.h
  HDRTEST drivers/gpu/drm/xe/compat-i915-headers/i915_reg.h
  CC [M]  drivers/gpu/drm/xe/tests/xe_args_test.o
  HDRTEST drivers/gpu/drm/xe/compat-i915-headers/i915_active_types.h
  HDRTEST drivers/gpu/drm/xe/compat-i915-headers/i915_utils.h
  HDRTEST drivers/gpu/drm/xe/compat-i915-headers/i915_config.h
  CC [M]  drivers/gpu/drm/xe/tests/xe_pci_test.o
  HDRTEST drivers/gpu/drm/xe/compat-i915-headers/i915_vma.h
  CC [M]  drivers/gpu/drm/xe/tests/xe_rtp_test.o
  HDRTEST drivers/gpu/drm/xe/compat-i915-headers/vlv_sideband.h
  HDRTEST drivers/gpu/drm/xe/compat-i915-headers/i915_gem_stolen.h
  HDRTEST drivers/gpu/drm/xe/compat-i915-headers/intel_mchbar_regs.h
  HDRTEST drivers/gpu/drm/xe/compat-i915-headers/i915_debugfs.h
  HDRTEST drivers/gpu/drm/xe/compat-i915-headers/i915_gpu_error.h
  CC [M]  drivers/gpu/drm/xe/tests/xe_wa_test.o
  HDRTEST drivers/gpu/drm/xe/compat-i915-headers/soc/intel_pch.h
  HDRTEST drivers/gpu/drm/xe/compat-i915-headers/soc/intel_dram.h
  HDRTEST drivers/gpu/drm/xe/compat-i915-headers/soc/intel_gmch.h
  HDRTEST drivers/gpu/drm/xe/compat-i915-headers/i915_vgpu.h
  HDRTEST drivers/gpu/drm/xe/compat-i915-headers/intel_runtime_pm.h
  HDRTEST drivers/gpu/drm/xe/compat-i915-headers/intel_uncore.h
  HDRTEST drivers/gpu/drm/xe/compat-i915-headers/intel_step.h
  HDRTEST drivers/gpu/drm/xe/compat-i915-headers/intel_pci_config.h
  HDRTEST drivers/gpu/drm/xe/compat-i915-headers/gem/i915_gem_lmem.h
  HDRTEST drivers/gpu/drm/xe/compat-i915-headers/gem/i915_gem_mman.h
  HDRTEST drivers/gpu/drm/xe/compat-i915-headers/gem/i915_gem_object.h
  HDRTEST drivers/gpu/drm/xe/compat-i915-headers/gem/i915_gem_object_frontbuffer.h
  HDRTEST drivers/gpu/drm/xe/compat-i915-headers/gt/intel_rps.h
  HDRTEST drivers/gpu/drm/xe/compat-i915-headers/intel_clock_gating.h
  HDRTEST drivers/gpu/drm/xe/compat-i915-headers/intel_gt_types.h
  HDRTEST drivers/gpu/drm/xe/compat-i915-headers/pxp/intel_pxp.h
  HDRTEST drivers/gpu/drm/xe/compat-i915-headers/i915_active.h
  HDRTEST drivers/gpu/drm/xe/display/xe_display.h
  HDRTEST drivers/gpu/drm/xe/display/intel_fb_bo.h
  HDRTEST drivers/gpu/drm/xe/instructions/xe_gfx_state_commands.h
  HDRTEST drivers/gpu/drm/xe/instructions/xe_instr_defs.h
  HDRTEST drivers/gpu/drm/xe/instructions/xe_gsc_commands.h
  HDRTEST drivers/gpu/drm/xe/instructions/xe_gpu_commands.h
  HDRTEST drivers/gpu/drm/xe/instructions/xe_gfxpipe_commands.h
  HDRTEST drivers/gpu/drm/xe/instructions/xe_mi_commands.h
  HDRTEST drivers/gpu/drm/xe/regs/xe_gsc_regs.h
  HDRTEST drivers/gpu/drm/xe/regs/xe_reg_defs.h
  HDRTEST drivers/gpu/drm/xe/regs/xe_oa_regs.h
  HDRTEST drivers/gpu/drm/xe/regs/xe_guc_regs.h
  HDRTEST drivers/gpu/drm/xe/regs/xe_gt_regs.h
  HDRTEST drivers/gpu/drm/xe/regs/xe_regs.h
  HDRTEST drivers/gpu/drm/xe/regs/xe_pcode_regs.h
  HDRTEST drivers/gpu/drm/xe/regs/xe_sriov_regs.h
  HDRTEST drivers/gpu/drm/xe/regs/xe_lrc_layout.h
  HDRTEST drivers/gpu/drm/xe/regs/xe_mchbar_regs.h
  HDRTEST drivers/gpu/drm/xe/regs/xe_gtt_defs.h
  HDRTEST drivers/gpu/drm/xe/regs/xe_engine_regs.h
  HDRTEST drivers/gpu/drm/xe/tests/xe_test.h
  HDRTEST drivers/gpu/drm/xe/tests/xe_kunit_helpers.h
  HDRTEST drivers/gpu/drm/xe/tests/xe_pci_test.h
  HDRTEST drivers/gpu/drm/xe/tests/xe_migrate_test.h
  LD [M]  drivers/gpu/drm/xe/tests/xe_live_test.o
  HDRTEST drivers/gpu/drm/xe/tests/xe_dma_buf_test.h
  HDRTEST drivers/gpu/drm/xe/tests/xe_mocs_test.h
  HDRTEST drivers/gpu/drm/xe/tests/xe_bo_test.h
  HDRTEST drivers/gpu/drm/xe/xe_args.h
  HDRTEST drivers/gpu/drm/xe/xe_assert.h
  HDRTEST drivers/gpu/drm/xe/xe_bb.h
  HDRTEST drivers/gpu/drm/xe/xe_bb_types.h
  HDRTEST drivers/gpu/drm/xe/xe_bo.h
  HDRTEST drivers/gpu/drm/xe/xe_bo_doc.h
  HDRTEST drivers/gpu/drm/xe/xe_bo_evict.h
  HDRTEST drivers/gpu/drm/xe/xe_bo_types.h
  HDRTEST drivers/gpu/drm/xe/xe_debugfs.h
  HDRTEST drivers/gpu/drm/xe/xe_devcoredump.h
  HDRTEST drivers/gpu/drm/xe/xe_devcoredump_types.h
  HDRTEST drivers/gpu/drm/xe/xe_device.h
  HDRTEST drivers/gpu/drm/xe/xe_device_sysfs.h
  HDRTEST drivers/gpu/drm/xe/xe_device_types.h
  HDRTEST drivers/gpu/drm/xe/xe_dma_buf.h
  HDRTEST drivers/gpu/drm/xe/xe_drm_client.h
  HDRTEST drivers/gpu/drm/xe/xe_drv.h
  HDRTEST drivers/gpu/drm/xe/xe_exec.h
  HDRTEST drivers/gpu/drm/xe/xe_exec_queue.h
  HDRTEST drivers/gpu/drm/xe/xe_exec_queue_types.h
  HDRTEST drivers/gpu/drm/xe/xe_execlist.h
  HDRTEST drivers/gpu/drm/xe/xe_execlist_types.h
  HDRTEST drivers/gpu/drm/xe/xe_force_wake.h
  HDRTEST drivers/gpu/drm/xe/xe_force_wake_types.h
  HDRTEST drivers/gpu/drm/xe/xe_ggtt.h
  HDRTEST drivers/gpu/drm/xe/xe_ggtt_types.h
  HDRTEST drivers/gpu/drm/xe/xe_gpu_scheduler.h
  HDRTEST drivers/gpu/drm/xe/xe_gpu_scheduler_types.h
  HDRTEST drivers/gpu/drm/xe/xe_gsc.h
  HDRTEST drivers/gpu/drm/xe/xe_gsc_proxy.h
  HDRTEST drivers/gpu/drm/xe/xe_gsc_submit.h
  HDRTEST drivers/gpu/drm/xe/xe_gsc_types.h
  HDRTEST drivers/gpu/drm/xe/xe_gt.h
  HDRTEST drivers/gpu/drm/xe/xe_gt_ccs_mode.h
  HDRTEST drivers/gpu/drm/xe/xe_gt_clock.h
  HDRTEST drivers/gpu/drm/xe/xe_gt_debugfs.h
  HDRTEST drivers/gpu/drm/xe/xe_gt_freq.h
  HDRTEST drivers/gpu/drm/xe/xe_gt_idle.h
  HDRTEST drivers/gpu/drm/xe/xe_gt_idle_types.h
  HDRTEST drivers/gpu/drm/xe/xe_gt_mcr.h
  HDRTEST drivers/gpu/drm/xe/xe_gt_pagefault.h
  HDRTEST drivers/gpu/drm/xe/xe_gt_printk.h
  HDRTEST drivers/gpu/drm/xe/xe_gt_sriov_pf.h
  HDRTEST drivers/gpu/drm/xe/xe_gt_sriov_pf_config.h
  HDRTEST drivers/gpu/drm/xe/xe_gt_sriov_pf_config_types.h
  HDRTEST drivers/gpu/drm/xe/xe_gt_sriov_pf_control.h
  HDRTEST drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.h
  HDRTEST drivers/gpu/drm/xe/xe_gt_sriov_pf_helpers.h
  HDRTEST drivers/gpu/drm/xe/xe_gt_sriov_pf_monitor.h
  HDRTEST drivers/gpu/drm/xe/xe_gt_sriov_pf_monitor_types.h
  HDRTEST drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.h
  HDRTEST drivers/gpu/drm/xe/xe_gt_sriov_pf_policy_types.h
  HDRTEST drivers/gpu/drm/xe/xe_gt_sriov_pf_service.h
  HDRTEST drivers/gpu/drm/xe/xe_gt_sriov_pf_service_types.h
  HDRTEST drivers/gpu/drm/xe/xe_gt_sriov_pf_types.h
  HDRTEST drivers/gpu/drm/xe/xe_gt_sriov_printk.h
  HDRTEST drivers/gpu/drm/xe/xe_gt_sriov_vf.h
  HDRTEST drivers/gpu/drm/xe/xe_gt_sriov_vf_debugfs.h
  HDRTEST drivers/gpu/drm/xe/xe_gt_sriov_vf_types.h
  HDRTEST drivers/gpu/drm/xe/xe_gt_sysfs.h
  HDRTEST drivers/gpu/drm/xe/xe_gt_sysfs_types.h
  HDRTEST drivers/gpu/drm/xe/xe_gt_throttle.h
  HDRTEST drivers/gpu/drm/xe/xe_gt_tlb_invalidation.h
  HDRTEST drivers/gpu/drm/xe/xe_gt_tlb_invalidation_types.h
  HDRTEST drivers/gpu/drm/xe/xe_gt_topology.h
  HDRTEST drivers/gpu/drm/xe/xe_gt_types.h
  HDRTEST drivers/gpu/drm/xe/xe_guc.h
  HDRTEST drivers/gpu/drm/xe/xe_guc_ads.h
  HDRTEST drivers/gpu/drm/xe/xe_guc_ads_types.h
  HDRTEST drivers/gpu/drm/xe/xe_guc_ct.h
  HDRTEST drivers/gpu/drm/xe/xe_guc_ct_types.h
  HDRTEST drivers/gpu/drm/xe/xe_guc_db_mgr.h
  HDRTEST drivers/gpu/drm/xe/xe_guc_debugfs.h
  HDRTEST drivers/gpu/drm/xe/xe_guc_exec_queue_types.h
  HDRTEST drivers/gpu/drm/xe/xe_guc_fwif.h
  HDRTEST drivers/gpu/drm/xe/xe_guc_hwconfig.h
  HDRTEST drivers/gpu/drm/xe/xe_guc_hxg_helpers.h
  HDRTEST drivers/gpu/drm/xe/xe_guc_id_mgr.h
  HDRTEST drivers/gpu/drm/xe/xe_guc_klv_helpers.h
  HDRTEST drivers/gpu/drm/xe/xe_guc_klv_thresholds_set.h
  HDRTEST drivers/gpu/drm/xe/xe_guc_klv_thresholds_set_types.h
  HDRTEST drivers/gpu/drm/xe/xe_guc_log.h
  HDRTEST drivers/gpu/drm/xe/xe_guc_log_types.h
  HDRTEST drivers/gpu/drm/xe/xe_guc_pc.h
  HDRTEST drivers/gpu/drm/xe/xe_guc_pc_types.h
  HDRTEST drivers/gpu/drm/xe/xe_guc_relay.h
  HDRTEST drivers/gpu/drm/xe/xe_guc_relay_types.h
  HDRTEST drivers/gpu/drm/xe/xe_guc_submit.h
  HDRTEST drivers/gpu/drm/xe/xe_guc_submit_types.h
  HDRTEST drivers/gpu/drm/xe/xe_guc_types.h
  HDRTEST drivers/gpu/drm/xe/xe_heci_gsc.h
  HDRTEST drivers/gpu/drm/xe/xe_hmm.h
  HDRTEST drivers/gpu/drm/xe/xe_huc.h
  HDRTEST drivers/gpu/drm/xe/xe_huc_debugfs.h
  HDRTEST drivers/gpu/drm/xe/xe_huc_types.h
  HDRTEST drivers/gpu/drm/xe/xe_hw_engine.h
  HDRTEST drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.h
  HDRTEST drivers/gpu/drm/xe/xe_hw_engine_types.h
  HDRTEST drivers/gpu/drm/xe/xe_hw_fence.h
  LD [M]  drivers/gpu/drm/xe/tests/xe_test.o
  HDRTEST drivers/gpu/drm/xe/xe_hw_fence_types.h
  HDRTEST drivers/gpu/drm/xe/xe_hwmon.h
  HDRTEST drivers/gpu/drm/xe/xe_irq.h
  HDRTEST drivers/gpu/drm/xe/xe_lmtt.h
  HDRTEST drivers/gpu/drm/xe/xe_lmtt_types.h
  HDRTEST drivers/gpu/drm/xe/xe_lrc.h
  HDRTEST drivers/gpu/drm/xe/xe_lrc_types.h
  HDRTEST drivers/gpu/drm/xe/xe_macros.h
  HDRTEST drivers/gpu/drm/xe/xe_map.h
  HDRTEST drivers/gpu/drm/xe/xe_memirq.h
  HDRTEST drivers/gpu/drm/xe/xe_memirq_types.h
  HDRTEST drivers/gpu/drm/xe/xe_migrate.h
  HDRTEST drivers/gpu/drm/xe/xe_migrate_doc.h
  HDRTEST drivers/gpu/drm/xe/xe_mmio.h
  HDRTEST drivers/gpu/drm/xe/xe_mocs.h
  HDRTEST drivers/gpu/drm/xe/xe_module.h
  HDRTEST drivers/gpu/drm/xe/xe_oa.h
  HDRTEST drivers/gpu/drm/xe/xe_oa_types.h
  HDRTEST drivers/gpu/drm/xe/xe_pat.h
  HDRTEST drivers/gpu/drm/xe/xe_pci.h
  HDRTEST drivers/gpu/drm/xe/xe_pci_sriov.h
  HDRTEST drivers/gpu/drm/xe/xe_pci_types.h
  HDRTEST drivers/gpu/drm/xe/xe_pcode.h
  HDRTEST drivers/gpu/drm/xe/xe_pcode_api.h
  HDRTEST drivers/gpu/drm/xe/xe_perf.h
  HDRTEST drivers/gpu/drm/xe/xe_platform_types.h
  HDRTEST drivers/gpu/drm/xe/xe_pm.h
  HDRTEST drivers/gpu/drm/xe/xe_preempt_fence.h
  HDRTEST drivers/gpu/drm/xe/xe_preempt_fence_types.h
  HDRTEST drivers/gpu/drm/xe/xe_pt.h
  HDRTEST drivers/gpu/drm/xe/xe_pt_types.h
  HDRTEST drivers/gpu/drm/xe/xe_pt_walk.h
  HDRTEST drivers/gpu/drm/xe/xe_query.h
  HDRTEST drivers/gpu/drm/xe/xe_range_fence.h
  HDRTEST drivers/gpu/drm/xe/xe_reg_sr.h
  HDRTEST drivers/gpu/drm/xe/xe_reg_sr_types.h
  HDRTEST drivers/gpu/drm/xe/xe_reg_whitelist.h
  HDRTEST drivers/gpu/drm/xe/xe_res_cursor.h
  HDRTEST drivers/gpu/drm/xe/xe_ring_ops.h
  HDRTEST drivers/gpu/drm/xe/xe_ring_ops_types.h
  HDRTEST drivers/gpu/drm/xe/xe_rtp.h
  HDRTEST drivers/gpu/drm/xe/xe_rtp_types.h
  HDRTEST drivers/gpu/drm/xe/xe_sa.h
  HDRTEST drivers/gpu/drm/xe/xe_sa_types.h
  HDRTEST drivers/gpu/drm/xe/xe_sched_job.h
  HDRTEST drivers/gpu/drm/xe/xe_sched_job_types.h
  HDRTEST drivers/gpu/drm/xe/xe_sriov.h
  HDRTEST drivers/gpu/drm/xe/xe_sriov_pf.h
  HDRTEST drivers/gpu/drm/xe/xe_sriov_pf_helpers.h
  HDRTEST drivers/gpu/drm/xe/xe_sriov_printk.h
  HDRTEST drivers/gpu/drm/xe/xe_sriov_types.h
  HDRTEST drivers/gpu/drm/xe/xe_step.h
  HDRTEST drivers/gpu/drm/xe/xe_step_types.h
  HDRTEST drivers/gpu/drm/xe/xe_sync.h
  HDRTEST drivers/gpu/drm/xe/xe_sync_types.h
  HDRTEST drivers/gpu/drm/xe/xe_tile.h
  HDRTEST drivers/gpu/drm/xe/xe_tile_sysfs.h
  HDRTEST drivers/gpu/drm/xe/xe_tile_sysfs_types.h
  HDRTEST drivers/gpu/drm/xe/xe_trace.h
  HDRTEST drivers/gpu/drm/xe/xe_ttm_stolen_mgr.h
  HDRTEST drivers/gpu/drm/xe/xe_ttm_sys_mgr.h
  HDRTEST drivers/gpu/drm/xe/xe_ttm_vram_mgr.h
  HDRTEST drivers/gpu/drm/xe/xe_ttm_vram_mgr_types.h
  HDRTEST drivers/gpu/drm/xe/xe_tuning.h
  HDRTEST drivers/gpu/drm/xe/xe_uc.h
  HDRTEST drivers/gpu/drm/xe/xe_uc_debugfs.h
  HDRTEST drivers/gpu/drm/xe/xe_uc_fw.h
  HDRTEST drivers/gpu/drm/xe/xe_uc_fw_abi.h
  HDRTEST drivers/gpu/drm/xe/xe_uc_fw_types.h
  HDRTEST drivers/gpu/drm/xe/xe_uc_types.h
  HDRTEST drivers/gpu/drm/xe/xe_vm.h
  HDRTEST drivers/gpu/drm/xe/xe_vm_doc.h
  HDRTEST drivers/gpu/drm/xe/xe_vm_types.h
  HDRTEST drivers/gpu/drm/xe/xe_vram_freq.h
  HDRTEST drivers/gpu/drm/xe/xe_wa.h
  HDRTEST drivers/gpu/drm/xe/xe_wait_user_fence.h
  HDRTEST drivers/gpu/drm/xe/xe_wopcm.h
  HDRTEST drivers/gpu/drm/xe/xe_wopcm_types.h
  CC [M]  drivers/gpu/drm/xe/xe_gsc.o
  CC [M]  drivers/gpu/drm/xe/xe_guc.o
  CC [M]  drivers/gpu/drm/xe/xe_guc_ads.o
  CC [M]  drivers/gpu/drm/xe/xe_migrate.o
  CC [M]  drivers/gpu/drm/xe/xe_ring_ops.o
  LD [M]  drivers/gpu/drm/xe/xe.o
  MODPOST drivers/gpu/drm/xe/Module.symvers
  CC [M]  drivers/gpu/drm/xe/xe.mod.o
  CC [M]  drivers/gpu/drm/xe/tests/xe_live_test.mod.o
  CC [M]  drivers/gpu/drm/xe/tests/xe_test.mod.o
  LD [M]  drivers/gpu/drm/xe/tests/xe_live_test.ko
  LD [M]  drivers/gpu/drm/xe/tests/xe_test.ko
  LD [M]  drivers/gpu/drm/xe/xe.ko
make[1]: Leaving directory '/workspace/kernel/build64-default'
run-parts: executing /workspace/ci/hooks/11-build-32b
+++ realpath /workspace/ci/hooks/11-build-32b
++ dirname /workspace/ci/hooks/11-build-32b
+ THIS_SCRIPT_DIR=/workspace/ci/hooks
+ SRC_DIR=/workspace/kernel
+ TOOLS_SRC_DIR=/workspace/ci
+ '[' -n /workspace/kernel/build64-default ']'
+ BUILD_DIR=/workspace/kernel/build64-default
+ BUILD_DIR=/workspace/kernel/build64-default/build32
+ cd /workspace/kernel
+ mkdir -p /workspace/kernel/build64-default/build32
++ nproc
+ make -j48 ARCH=i386 O=/workspace/kernel/build64-default/build32 defconfig
make[1]: Entering directory '/workspace/kernel/build64-default/build32'
  GEN     Makefile
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/confdata.o
  HOSTCC  scripts/kconfig/expr.o
  LEX     scripts/kconfig/lexer.lex.c
  YACC    scripts/kconfig/parser.tab.[ch]
  HOSTCC  scripts/kconfig/menu.o
  HOSTCC  scripts/kconfig/symbol.o
  HOSTCC  scripts/kconfig/preprocess.o
  HOSTCC  scripts/kconfig/util.o
  HOSTCC  scripts/kconfig/lexer.lex.o
  HOSTCC  scripts/kconfig/parser.tab.o
  HOSTLD  scripts/kconfig/conf
*** Default configuration is based on 'i386_defconfig'
#
# configuration written to .config
#
make[1]: Leaving directory '/workspace/kernel/build64-default/build32'
+ cd /workspace/kernel/build64-default/build32
+ /workspace/kernel/scripts/kconfig/merge_config.sh .config /workspace/ci/kernel/10-xe.fragment
Using .config as base
Merging /workspace/ci/kernel/10-xe.fragment
Value of CONFIG_DRM_XE is redefined by fragment /workspace/ci/kernel/10-xe.fragment:
Previous value: # CONFIG_DRM_XE is not set
New value: CONFIG_DRM_XE=m

Value of CONFIG_SND_DEBUG is redefined by fragment /workspace/ci/kernel/10-xe.fragment:
Previous value: # CONFIG_SND_DEBUG is not set
New value: CONFIG_SND_DEBUG=y

Value of CONFIG_SND_HDA_INTEL is redefined by fragment /workspace/ci/kernel/10-xe.fragment:
Previous value: CONFIG_SND_HDA_INTEL=y
New value: CONFIG_SND_HDA_INTEL=m

Value of CONFIG_SND_HDA_CODEC_HDMI is redefined by fragment /workspace/ci/kernel/10-xe.fragment:
Previous value: # CONFIG_SND_HDA_CODEC_HDMI is not set
New value: CONFIG_SND_HDA_CODEC_HDMI=m

  GEN     Makefile

WARNING: unmet direct dependencies detected for FB_IOMEM_HELPERS
  Depends on [n]: HAS_IOMEM [=y] && FB_CORE [=n]
  Selected by [m]:
  - DRM_XE_DISPLAY [=y] && HAS_IOMEM [=y] && DRM [=y] && DRM_XE [=m] && DRM_XE [=m]=m
#
# configuration written to .config
#
Value requested for CONFIG_HAVE_UID16 not in final .config
Requested value:  CONFIG_HAVE_UID16=y
Actual value:     

Value requested for CONFIG_UID16 not in final .config
Requested value:  CONFIG_UID16=y
Actual value:     

Value requested for CONFIG_X86_32 not in final .config
Requested value:  CONFIG_X86_32=y
Actual value:     

Value requested for CONFIG_OUTPUT_FORMAT not in final .config
Requested value:  CONFIG_OUTPUT_FORMAT="elf32-i386"
Actual value:     CONFIG_OUTPUT_FORMAT="elf64-x86-64"

Value requested for CONFIG_ARCH_MMAP_RND_BITS_MIN not in final .config
Requested value:  CONFIG_ARCH_MMAP_RND_BITS_MIN=8
Actual value:     CONFIG_ARCH_MMAP_RND_BITS_MIN=28

Value requested for CONFIG_ARCH_MMAP_RND_BITS_MAX not in final .config
Requested value:  CONFIG_ARCH_MMAP_RND_BITS_MAX=16
Actual value:     CONFIG_ARCH_MMAP_RND_BITS_MAX=32

Value requested for CONFIG_PGTABLE_LEVELS not in final .config
Requested value:  CONFIG_PGTABLE_LEVELS=2
Actual value:     CONFIG_PGTABLE_LEVELS=5

Value requested for CONFIG_X86_BIGSMP not in final .config
Requested value:  # CONFIG_X86_BIGSMP is not set
Actual value:     

Value requested for CONFIG_X86_INTEL_QUARK not in final .config
Requested value:  # CONFIG_X86_INTEL_QUARK is not set
Actual value:     

Value requested for CONFIG_X86_RDC321X not in final .config
Requested value:  # CONFIG_X86_RDC321X is not set
Actual value:     

Value requested for CONFIG_X86_32_NON_STANDARD not in final .config
Requested value:  # CONFIG_X86_32_NON_STANDARD is not set
Actual value:     

Value requested for CONFIG_X86_32_IRIS not in final .config
Requested value:  # CONFIG_X86_32_IRIS is not set
Actual value:     

Value requested for CONFIG_M486SX not in final .config
Requested value:  # CONFIG_M486SX is not set
Actual value:     

Value requested for CONFIG_M486 not in final .config
Requested value:  # CONFIG_M486 is not set
Actual value:     

Value requested for CONFIG_M586 not in final .config
Requested value:  # CONFIG_M586 is not set
Actual value:     

Value requested for CONFIG_M586TSC not in final .config
Requested value:  # CONFIG_M586TSC is not set
Actual value:     

Value requested for CONFIG_M586MMX not in final .config
Requested value:  # CONFIG_M586MMX is not set
Actual value:     

Value requested for CONFIG_M686 not in final .config
Requested value:  CONFIG_M686=y
Actual value:     

Value requested for CONFIG_MPENTIUMII not in final .config
Requested value:  # CONFIG_MPENTIUMII is not set
Actual value:     

Value requested for CONFIG_MPENTIUMIII not in final .config
Requested value:  # CONFIG_MPENTIUMIII is not set
Actual value:     

Value requested for CONFIG_MPENTIUMM not in final .config
Requested value:  # CONFIG_MPENTIUMM is not set
Actual value:     

Value requested for CONFIG_MPENTIUM4 not in final .config
Requested value:  # CONFIG_MPENTIUM4 is not set
Actual value:     

Value requested for CONFIG_MK6 not in final .config
Requested value:  # CONFIG_MK6 is not set
Actual value:     

Value requested for CONFIG_MK7 not in final .config
Requested value:  # CONFIG_MK7 is not set
Actual value:     

Value requested for CONFIG_MCRUSOE not in final .config
Requested value:  # CONFIG_MCRUSOE is not set
Actual value:     

Value requested for CONFIG_MEFFICEON not in final .config
Requested value:  # CONFIG_MEFFICEON is not set
Actual value:     

Value requested for CONFIG_MWINCHIPC6 not in final .config
Requested value:  # CONFIG_MWINCHIPC6 is not set
Actual value:     

Value requested for CONFIG_MWINCHIP3D not in final .config
Requested value:  # CONFIG_MWINCHIP3D is not set
Actual value:     

Value requested for CONFIG_MELAN not in final .config
Requested value:  # CONFIG_MELAN is not set
Actual value:     

Value requested for CONFIG_MGEODEGX1 not in final .config
Requested value:  # CONFIG_MGEODEGX1 is not set
Actual value:     

Value requested for CONFIG_MGEODE_LX not in final .config
Requested value:  # CONFIG_MGEODE_LX is not set
Actual value:     

Value requested for CONFIG_MCYRIXIII not in final .config
Requested value:  # CONFIG_MCYRIXIII is not set
Actual value:     

Value requested for CONFIG_MVIAC3_2 not in final .config
Requested value:  # CONFIG_MVIAC3_2 is not set
Actual value:     

Value requested for CONFIG_MVIAC7 not in final .config
Requested value:  # CONFIG_MVIAC7 is not set
Actual value:     

Value requested for CONFIG_X86_GENERIC not in final .config
Requested value:  # CONFIG_X86_GENERIC is not set
Actual value:     

Value requested for CONFIG_X86_INTERNODE_CACHE_SHIFT not in final .config
Requested value:  CONFIG_X86_INTERNODE_CACHE_SHIFT=5
Actual value:     CONFIG_X86_INTERNODE_CACHE_SHIFT=6

Value requested for CONFIG_X86_L1_CACHE_SHIFT not in final .config
Requested value:  CONFIG_X86_L1_CACHE_SHIFT=5
Actual value:     CONFIG_X86_L1_CACHE_SHIFT=6

Value requested for CONFIG_X86_USE_PPRO_CHECKSUM not in final .config
Requested value:  CONFIG_X86_USE_PPRO_CHECKSUM=y
Actual value:     

Value requested for CONFIG_X86_MINIMUM_CPU_FAMILY not in final .config
Requested value:  CONFIG_X86_MINIMUM_CPU_FAMILY=6
Actual value:     CONFIG_X86_MINIMUM_CPU_FAMILY=64

Value requested for CONFIG_CPU_SUP_TRANSMETA_32 not in final .config
Requested value:  CONFIG_CPU_SUP_TRANSMETA_32=y
Actual value:     

Value requested for CONFIG_CPU_SUP_VORTEX_32 not in final .config
Requested value:  CONFIG_CPU_SUP_VORTEX_32=y
Actual value:     

Value requested for CONFIG_HPET_TIMER not in final .config
Requested value:  # CONFIG_HPET_TIMER is not set
Actual value:     CONFIG_HPET_TIMER=y

Value requested for CONFIG_NR_CPUS_RANGE_END not in final .config
Requested value:  CONFIG_NR_CPUS_RANGE_END=8
Actual value:     CONFIG_NR_CPUS_RANGE_END=512

Value requested for CONFIG_NR_CPUS_DEFAULT not in final .config
Requested value:  CONFIG_NR_CPUS_DEFAULT=8
Actual value:     CONFIG_NR_CPUS_DEFAULT=64

Value requested for CONFIG_X86_ANCIENT_MCE not in final .config
Requested value:  # CONFIG_X86_ANCIENT_MCE is not set
Actual value:     

Value requested for CONFIG_X86_LEGACY_VM86 not in final .config
Requested value:  # CONFIG_X86_LEGACY_VM86 is not set
Actual value:     

Value requested for CONFIG_X86_ESPFIX32 not in final .config
Requested value:  CONFIG_X86_ESPFIX32=y
Actual value:     

Value requested for CONFIG_TOSHIBA not in final .config
Requested value:  # CONFIG_TOSHIBA is not set
Actual value:     

Value requested for CONFIG_X86_REBOOTFIXUPS not in final .config
Requested value:  # CONFIG_X86_REBOOTFIXUPS is not set
Actual value:     

Value requested for CONFIG_MICROCODE_INITRD32 not in final .config
Requested value:  CONFIG_MICROCODE_INITRD32=y
Actual value:     

Value requested for CONFIG_NOHIGHMEM not in final .config
Requested value:  # CONFIG_NOHIGHMEM is not set
Actual value:     

Value requested for CONFIG_HIGHMEM4G not in final .config
Requested value:  CONFIG_HIGHMEM4G=y
Actual value:     

Value requested for CONFIG_HIGHMEM64G not in final .config
Requested value:  # CONFIG_HIGHMEM64G is not set
Actual value:     

Value requested for CONFIG_PAGE_OFFSET not in final .config
Requested value:  CONFIG_PAGE_OFFSET=0xC0000000
Actual value:     

Value requested for CONFIG_HIGHMEM not in final .config
Requested value:  CONFIG_HIGHMEM=y
Actual value:     

Value requested for CONFIG_X86_PAE not in final .config
Requested value:  # CONFIG_X86_PAE is not set
Actual value:     

Value requested for CONFIG_ARCH_FLATMEM_ENABLE not in final .config
Requested value:  CONFIG_ARCH_FLATMEM_ENABLE=y
Actual value:     

Value requested for CONFIG_ARCH_SELECT_MEMORY_MODEL not in final .config
Requested value:  CONFIG_ARCH_SELECT_MEMORY_MODEL=y
Actual value:     

Value requested for CONFIG_ILLEGAL_POINTER_VALUE not in final .config
Requested value:  CONFIG_ILLEGAL_POINTER_VALUE=0
Actual value:     CONFIG_ILLEGAL_POINTER_VALUE=0xdead000000000000

Value requested for CONFIG_HIGHPTE not in final .config
Requested value:  # CONFIG_HIGHPTE is not set
Actual value:     

Value requested for CONFIG_COMPAT_VDSO not in final .config
Requested value:  # CONFIG_COMPAT_VDSO is not set
Actual value:     

Value requested for CONFIG_FUNCTION_PADDING_CFI not in final .config
Requested value:  CONFIG_FUNCTION_PADDING_CFI=0
Actual value:     CONFIG_FUNCTION_PADDING_CFI=11

Value requested for CONFIG_FUNCTION_PADDING_BYTES not in final .config
Requested value:  CONFIG_FUNCTION_PADDING_BYTES=4
Actual value:     CONFIG_FUNCTION_PADDING_BYTES=16

Value requested for CONFIG_APM not in final .config
Requested value:  # CONFIG_APM is not set
Actual value:     

Value requested for CONFIG_X86_POWERNOW_K6 not in final .config
Requested value:  # CONFIG_X86_POWERNOW_K6 is not set
Actual value:     

Value requested for CONFIG_X86_POWERNOW_K7 not in final .config
Requested value:  # CONFIG_X86_POWERNOW_K7 is not set
Actual value:     

Value requested for CONFIG_X86_GX_SUSPMOD not in final .config
Requested value:  # CONFIG_X86_GX_SUSPMOD is not set
Actual value:     

Value requested for CONFIG_X86_SPEEDSTEP_ICH not in final .config
Requested value:  # CONFIG_X86_SPEEDSTEP_ICH is not set
Actual value:     

Value requested for CONFIG_X86_SPEEDSTEP_SMI not in final .config
Requested value:  # CONFIG_X86_SPEEDSTEP_SMI is not set
Actual value:     

Value requested for CONFIG_X86_CPUFREQ_NFORCE2 not in final .config
Requested value:  # CONFIG_X86_CPUFREQ_NFORCE2 is not set
Actual value:     

Value requested for CONFIG_X86_LONGRUN not in final .config
Requested value:  # CONFIG_X86_LONGRUN is not set
Actual value:     

Value requested for CONFIG_X86_LONGHAUL not in final .config
Requested value:  # CONFIG_X86_LONGHAUL is not set
Actual value:     

Value requested for CONFIG_X86_E_POWERSAVER not in final .config
Requested value:  # CONFIG_X86_E_POWERSAVER is not set
Actual value:     

Value requested for CONFIG_PCI_GOBIOS not in final .config
Requested value:  # CONFIG_PCI_GOBIOS is not set
Actual value:     

Value requested for CONFIG_PCI_GOMMCONFIG not in final .config
Requested value:  # CONFIG_PCI_GOMMCONFIG is not set
Actual value:     

Value requested for CONFIG_PCI_GODIRECT not in final .config
Requested value:  # CONFIG_PCI_GODIRECT is not set
Actual value:     

Value requested for CONFIG_PCI_GOANY not in final .config
Requested value:  CONFIG_PCI_GOANY=y
Actual value:     

Value requested for CONFIG_PCI_BIOS not in final .config
Requested value:  CONFIG_PCI_BIOS=y
Actual value:     

Value requested for CONFIG_ISA not in final .config
Requested value:  # CONFIG_ISA is not set
Actual value:     

Value requested for CONFIG_SCx200 not in final .config
Requested value:  # CONFIG_SCx200 is not set
Actual value:     

Value requested for CONFIG_OLPC not in final .config
Requested value:  # CONFIG_OLPC is not set
Actual value:     

Value requested for CONFIG_ALIX not in final .config
Requested value:  # CONFIG_ALIX is not set
Actual value:     

Value requested for CONFIG_NET5501 not in final .config
Requested value:  # CONFIG_NET5501 is not set
Actual value:     

Value requested for CONFIG_GEOS not in final .config
Requested value:  # CONFIG_GEOS is not set
Actual value:     

Value requested for CONFIG_COMPAT_32 not in final .config
Requested value:  CONFIG_COMPAT_32=y
Actual value:     

Value requested for CONFIG_HAVE_ATOMIC_IOMAP not in final .config
Requested value:  CONFIG_HAVE_ATOMIC_IOMAP=y
Actual value:     

Value requested for CONFIG_ARCH_32BIT_OFF_T not in final .config
Requested value:  CONFIG_ARCH_32BIT_OFF_T=y
Actual value:     

Value requested for CONFIG_ARCH_WANT_IPC_PARSE_VERSION not in final .config
Requested value:  CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y
Actual value:     

Value requested for CONFIG_MODULES_USE_ELF_REL not in final .config
Requested value:  CONFIG_MODULES_USE_ELF_REL=y
Actual value:     

Value requested for CONFIG_ARCH_MMAP_RND_BITS not in final .config
Requested value:  CONFIG_ARCH_MMAP_RND_BITS=8
Actual value:     CONFIG_ARCH_MMAP_RND_BITS=28

Value requested for CONFIG_CLONE_BACKWARDS not in final .config
Requested value:  CONFIG_CLONE_BACKWARDS=y
Actual value:     

Value requested for CONFIG_OLD_SIGSUSPEND3 not in final .config
Requested value:  CONFIG_OLD_SIGSUSPEND3=y
Actual value:     

Value requested for CONFIG_OLD_SIGACTION not in final .config
Requested value:  CONFIG_OLD_SIGACTION=y
Actual value:     

Value requested for CONFIG_ARCH_SPLIT_ARG64 not in final .config
Requested value:  CONFIG_ARCH_SPLIT_ARG64=y
Actual value:     

Value requested for CONFIG_FUNCTION_ALIGNMENT not in final .config
Requested value:  CONFIG_FUNCTION_ALIGNMENT=4
Actual value:     CONFIG_FUNCTION_ALIGNMENT=16

Value requested for CONFIG_SELECT_MEMORY_MODEL not in final .config
Requested value:  CONFIG_SELECT_MEMORY_MODEL=y
Actual value:     

Value requested for CONFIG_FLATMEM_MANUAL not in final .config
Requested value:  CONFIG_FLATMEM_MANUAL=y
Actual value:     

Value requested for CONFIG_SPARSEMEM_MANUAL not in final .config
Requested value:  # CONFIG_SPARSEMEM_MANUAL is not set
Actual value:     

Value requested for CONFIG_FLATMEM not in final .config
Requested value:  CONFIG_FLATMEM=y
Actual value:     

Value requested for CONFIG_SPARSEMEM_STATIC not in final .config
Requested value:  CONFIG_SPARSEMEM_STATIC=y
Actual value:     

Value requested for CONFIG_BOUNCE not in final .config
Requested value:  CONFIG_BOUNCE=y
Actual value:     

Value requested for CONFIG_KMAP_LOCAL not in final .config
Requested value:  CONFIG_KMAP_LOCAL=y
Actual value:     

Value requested for CONFIG_HOTPLUG_PCI_COMPAQ not in final .config
Requested value:  # CONFIG_HOTPLUG_PCI_COMPAQ is not set
Actual value:     

Value requested for CONFIG_HOTPLUG_PCI_IBM not in final .config
Requested value:  # CONFIG_HOTPLUG_PCI_IBM is not set
Actual value:     

Value requested for CONFIG_EFI_CAPSULE_QUIRK_QUARK_CSH not in final .config
Requested value:  CONFIG_EFI_CAPSULE_QUIRK_QUARK_CSH=y
Actual value:     

Value requested for CONFIG_PCH_PHUB not in final .config
Requested value:  # CONFIG_PCH_PHUB is not set
Actual value:     

Value requested for CONFIG_SCSI_NSP32 not in final .config
Requested value:  # CONFIG_SCSI_NSP32 is not set
Actual value:     

Value requested for CONFIG_PATA_CS5520 not in final .config
Requested value:  # CONFIG_PATA_CS5520 is not set
Actual value:     

Value requested for CONFIG_PATA_CS5530 not in final .config
Requested value:  # CONFIG_PATA_CS5530 is not set
Actual value:     

Value requested for CONFIG_PATA_CS5535 not in final .config
Requested value:  # CONFIG_PATA_CS5535 is not set
Actual value:     

Value requested for CONFIG_PATA_CS5536 not in final .config
Requested value:  # CONFIG_PATA_CS5536 is not set
Actual value:     

Value requested for CONFIG_PATA_SC1200 not in final .config
Requested value:  # CONFIG_PATA_SC1200 is not set
Actual value:     

Value requested for CONFIG_PCH_GBE not in final .config
Requested value:  # CONFIG_PCH_GBE is not set
Actual value:     

Value requested for CONFIG_INPUT_WISTRON_BTNS not in final .config
Requested value:  # CONFIG_INPUT_WISTRON_BTNS is not set
Actual value:     

Value requested for CONFIG_SERIAL_TIMBERDALE not in final .config
Requested value:  # CONFIG_SERIAL_TIMBERDALE is not set
Actual value:     

Value requested for CONFIG_SERIAL_PCH_UART not in final .config
Requested value:  # CONFIG_SERIAL_PCH_UART is not set
Actual value:     

Value requested for CONFIG_HW_RANDOM_GEODE not in final .config
Requested value:  CONFIG_HW_RANDOM_GEODE=y
Actual value:     

Value requested for CONFIG_SONYPI not in final .config
Requested value:  # CONFIG_SONYPI is not set
Actual value:     

Value requested for CONFIG_PC8736x_GPIO not in final .config
Requested value:  # CONFIG_PC8736x_GPIO is not set
Actual value:     

Value requested for CONFIG_NSC_GPIO not in final .config
Requested value:  # CONFIG_NSC_GPIO is not set
Actual value:     

Value requested for CONFIG_I2C_EG20T not in final .config
Requested value:  # CONFIG_I2C_EG20T is not set
Actual value:     

Value requested for CONFIG_SCx200_ACB not in final .config
Requested value:  # CONFIG_SCx200_ACB is not set
Actual value:     

Value requested for CONFIG_PTP_1588_CLOCK_PCH not in final .config
Requested value:  # CONFIG_PTP_1588_CLOCK_PCH is not set
Actual value:     

Value requested for CONFIG_SBC8360_WDT not in final .config
Requested value:  # CONFIG_SBC8360_WDT is not set
Actual value:     

Value requested for CONFIG_SBC7240_WDT not in final .config
Requested value:  # CONFIG_SBC7240_WDT is not set
Actual value:     

Value requested for CONFIG_MFD_CS5535 not in final .config
Requested value:  # CONFIG_MFD_CS5535 is not set
Actual value:     

Value requested for CONFIG_AGP_ALI not in final .config
Requested value:  # CONFIG_AGP_ALI is not set
Actual value:     

Value requested for CONFIG_AGP_ATI not in final .config
Requested value:  # CONFIG_AGP_ATI is not set
Actual value:     

Value requested for CONFIG_AGP_AMD not in final .config
Requested value:  # CONFIG_AGP_AMD is not set
Actual value:     

Value requested for CONFIG_AGP_NVIDIA not in final .config
Requested value:  # CONFIG_AGP_NVIDIA is not set
Actual value:     

Value requested for CONFIG_AGP_SWORKS not in final .config
Requested value:  # CONFIG_AGP_SWORKS is not set
Actual value:     

Value requested for CONFIG_AGP_EFFICEON not in final .config
Requested value:  # CONFIG_AGP_EFFICEON is not set
Actual value:     

Value requested for CONFIG_SND_PCM not in final .config
Requested value:  CONFIG_SND_PCM=y
Actual value:     CONFIG_SND_PCM=m

Value requested for CONFIG_SND_HWDEP not in final .config
Requested value:  CONFIG_SND_HWDEP=y
Actual value:     CONFIG_SND_HWDEP=m

Value requested for CONFIG_SND_DYNAMIC_MINORS not in final .config
Requested value:  # CONFIG_SND_DYNAMIC_MINORS is not set
Actual value:     CONFIG_SND_DYNAMIC_MINORS=y

Value requested for CONFIG_SND_CS5530 not in final .config
Requested value:  # CONFIG_SND_CS5530 is not set
Actual value:     

Value requested for CONFIG_SND_CS5535AUDIO not in final .config
Requested value:  # CONFIG_SND_CS5535AUDIO is not set
Actual value:     

Value requested for CONFIG_SND_SIS7019 not in final .config
Requested value:  # CONFIG_SND_SIS7019 is not set
Actual value:     

Value requested for CONFIG_SND_HDA not in final .config
Requested value:  CONFIG_SND_HDA=y
Actual value:     CONFIG_SND_HDA=m

Value requested for CONFIG_SND_HDA_CORE not in final .config
Requested value:  CONFIG_SND_HDA_CORE=y
Actual value:     CONFIG_SND_HDA_CORE=m

Value requested for CONFIG_SND_INTEL_DSP_CONFIG not in final .config
Requested value:  CONFIG_SND_INTEL_DSP_CONFIG=y
Actual value:     CONFIG_SND_INTEL_DSP_CONFIG=m

Value requested for CONFIG_SND_INTEL_SOUNDWIRE_ACPI not in final .config
Requested value:  CONFIG_SND_INTEL_SOUNDWIRE_ACPI=y
Actual value:     CONFIG_SND_INTEL_SOUNDWIRE_ACPI=m

Value requested for CONFIG_LEDS_OT200 not in final .config
Requested value:  # CONFIG_LEDS_OT200 is not set
Actual value:     

Value requested for CONFIG_PCH_DMA not in final .config
Requested value:  # CONFIG_PCH_DMA is not set
Actual value:     

Value requested for CONFIG_CLKSRC_I8253 not in final .config
Requested value:  CONFIG_CLKSRC_I8253=y
Actual value:     

Value requested for CONFIG_MAILBOX not in final .config
Requested value:  # CONFIG_MAILBOX is not set
Actual value:     CONFIG_MAILBOX=y

Value requested for CONFIG_CRYPTO_SERPENT_SSE2_586 not in final .config
Requested value:  # CONFIG_CRYPTO_SERPENT_SSE2_586 is not set
Actual value:     

Value requested for CONFIG_CRYPTO_TWOFISH_586 not in final .config
Requested value:  # CONFIG_CRYPTO_TWOFISH_586 is not set
Actual value:     

Value requested for CONFIG_CRYPTO_DEV_GEODE not in final .config
Requested value:  # CONFIG_CRYPTO_DEV_GEODE is not set
Actual value:     

Value requested for CONFIG_CRYPTO_DEV_HIFN_795X not in final .config
Requested value:  # CONFIG_CRYPTO_DEV_HIFN_795X is not set
Actual value:     

Value requested for CONFIG_CRYPTO_LIB_POLY1305_RSIZE not in final .config
Requested value:  CONFIG_CRYPTO_LIB_POLY1305_RSIZE=1
Actual value:     CONFIG_CRYPTO_LIB_POLY1305_RSIZE=11

Value requested for CONFIG_AUDIT_GENERIC not in final .config
Requested value:  CONFIG_AUDIT_GENERIC=y
Actual value:     

Value requested for CONFIG_GENERIC_VDSO_32 not in final .config
Requested value:  CONFIG_GENERIC_VDSO_32=y
Actual value:     

Value requested for CONFIG_DEBUG_KMAP_LOCAL not in final .config
Requested value:  # CONFIG_DEBUG_KMAP_LOCAL is not set
Actual value:     

Value requested for CONFIG_DEBUG_HIGHMEM not in final .config
Requested value:  # CONFIG_DEBUG_HIGHMEM is not set
Actual value:     

Value requested for CONFIG_HAVE_DEBUG_STACKOVERFLOW not in final .config
Requested value:  CONFIG_HAVE_DEBUG_STACKOVERFLOW=y
Actual value:     

Value requested for CONFIG_DEBUG_STACKOVERFLOW not in final .config
Requested value:  # CONFIG_DEBUG_STACKOVERFLOW is not set
Actual value:     

Value requested for CONFIG_HAVE_FUNCTION_GRAPH_TRACER not in final .config
Requested value:  CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y
Actual value:     

Value requested for CONFIG_HAVE_FUNCTION_GRAPH_RETVAL not in final .config
Requested value:  CONFIG_HAVE_FUNCTION_GRAPH_RETVAL=y
Actual value:     

Value requested for CONFIG_DRM_KUNIT_TEST not in final .config
Requested value:  CONFIG_DRM_KUNIT_TEST=m
Actual value:     

Value requested for CONFIG_DRM_XE_WERROR not in final .config
Requested value:  CONFIG_DRM_XE_WERROR=y
Actual value:     

Value requested for CONFIG_DRM_XE_DEBUG not in final .config
Requested value:  CONFIG_DRM_XE_DEBUG=y
Actual value:     

Value requested for CONFIG_DRM_XE_DEBUG_MEM not in final .config
Requested value:  CONFIG_DRM_XE_DEBUG_MEM=y
Actual value:     

Value requested for CONFIG_DRM_XE_KUNIT_TEST not in final .config
Requested value:  CONFIG_DRM_XE_KUNIT_TEST=m
Actual value:     

++ nproc
+ make -j48 ARCH=i386 olddefconfig
  GEN     Makefile

WARNING: unmet direct dependencies detected for FB_IOMEM_HELPERS
  Depends on [n]: HAS_IOMEM [=y] && FB_CORE [=n]
  Selected by [m]:
  - DRM_XE_DISPLAY [=y] && HAS_IOMEM [=y] && DRM [=y] && DRM_XE [=m] && DRM_XE [=m]=m
#
# configuration written to .config
#
++ nproc
+ make -j48 ARCH=i386
  SYNC    include/config/auto.conf.cmd
  GEN     Makefile

WARNING: unmet direct dependencies detected for FB_IOMEM_HELPERS
  Depends on [n]: HAS_IOMEM [=y] && FB_CORE [=n]
  Selected by [m]:
  - DRM_XE_DISPLAY [=y] && HAS_IOMEM [=y] && DRM [=y] && DRM_XE [=m] && DRM_XE [=m]=m

WARNING: unmet direct dependencies detected for FB_IOMEM_HELPERS
  Depends on [n]: HAS_IOMEM [=y] && FB_CORE [=n]
  Selected by [m]:
  - DRM_XE_DISPLAY [=y] && HAS_IOMEM [=y] && DRM [=y] && DRM_XE [=m] && DRM_XE [=m]=m

WARNING: unmet direct dependencies detected for FB_IOMEM_HELPERS
  Depends on [n]: HAS_IOMEM [=y] && FB_CORE [=n]
  Selected by [m]:
  - DRM_XE_DISPLAY [=y] && HAS_IOMEM [=y] && DRM [=y] && DRM_XE [=m] && DRM_XE [=m]=m
  GEN     Makefile
  WRAP    arch/x86/include/generated/uapi/asm/bpf_perf_event.h
  WRAP    arch/x86/include/generated/uapi/asm/errno.h
  WRAP    arch/x86/include/generated/uapi/asm/fcntl.h
  WRAP    arch/x86/include/generated/uapi/asm/ioctl.h
  WRAP    arch/x86/include/generated/uapi/asm/ioctls.h
  WRAP    arch/x86/include/generated/uapi/asm/ipcbuf.h
  WRAP    arch/x86/include/generated/uapi/asm/param.h
  UPD     include/generated/uapi/linux/version.h
  WRAP    arch/x86/include/generated/uapi/asm/poll.h
  WRAP    arch/x86/include/generated/uapi/asm/resource.h
  WRAP    arch/x86/include/generated/uapi/asm/socket.h
  WRAP    arch/x86/include/generated/uapi/asm/termbits.h
  WRAP    arch/x86/include/generated/uapi/asm/sockios.h
  WRAP    arch/x86/include/generated/uapi/asm/termios.h
  WRAP    arch/x86/include/generated/uapi/asm/types.h
  SYSHDR  arch/x86/include/generated/uapi/asm/unistd_32.h
  SYSHDR  arch/x86/include/generated/uapi/asm/unistd_64.h
  SYSHDR  arch/x86/include/generated/uapi/asm/unistd_x32.h
  SYSTBL  arch/x86/include/generated/asm/syscalls_32.h
  UPD     include/generated/compile.h
  WRAP    arch/x86/include/generated/asm/early_ioremap.h
  WRAP    arch/x86/include/generated/asm/mcs_spinlock.h
  WRAP    arch/x86/include/generated/asm/irq_regs.h
  WRAP    arch/x86/include/generated/asm/kmap_size.h
  WRAP    arch/x86/include/generated/asm/local64.h
  HOSTCC  arch/x86/tools/relocs_32.o
  WRAP    arch/x86/include/generated/asm/mmiowb.h
  HOSTCC  arch/x86/tools/relocs_64.o
  WRAP    arch/x86/include/generated/asm/module.lds.h
  WRAP    arch/x86/include/generated/asm/rwonce.h
  HOSTCC  arch/x86/tools/relocs_common.o
  WRAP    arch/x86/include/generated/asm/unaligned.h
  HOSTCC  scripts/kallsyms
  HOSTCC  scripts/sorttable
  HOSTCC  scripts/asn1_compiler
  HOSTCC  scripts/selinux/mdp/mdp
  HOSTCC  scripts/selinux/genheaders/genheaders
  HOSTLD  arch/x86/tools/relocs
  UPD     include/config/kernel.release
  UPD     include/generated/utsrelease.h
  CC      scripts/mod/empty.o
  HOSTCC  scripts/mod/mk_elfconfig
  CC      scripts/mod/devicetable-offsets.s
  UPD     scripts/mod/devicetable-offsets.h
  MKELF   scripts/mod/elfconfig.h
  HOSTCC  scripts/mod/modpost.o
  HOSTCC  scripts/mod/file2alias.o
  HOSTCC  scripts/mod/sumversion.o
  HOSTCC  scripts/mod/symsearch.o
  HOSTLD  scripts/mod/modpost
  CC      kernel/bounds.s
  CHKSHA1 /workspace/kernel/include/linux/atomic/atomic-arch-fallback.h
  CHKSHA1 /workspace/kernel/include/linux/atomic/atomic-instrumented.h
  CHKSHA1 /workspace/kernel/include/linux/atomic/atomic-long.h
  UPD     include/generated/timeconst.h
  UPD     include/generated/bounds.h
  CC      arch/x86/kernel/asm-offsets.s
  UPD     include/generated/asm-offsets.h
  CALL    /workspace/kernel/scripts/checksyscalls.sh
  LDS     scripts/module.lds
  HOSTCC  usr/gen_init_cpio
  CC      ipc/util.o
  CC      ipc/msgutil.o
  CC      ipc/msg.o
  CC      ipc/sem.o
  CC      ipc/shm.o
  CC      certs/system_keyring.o
  CC      ipc/syscall.o
  CC      init/main.o
  CC      ipc/ipc_sysctl.o
  AS      arch/x86/lib/atomic64_cx8_32.o
  CC      block/bdev.o
  CC      ipc/mqueue.o
  CC      io_uring/io_uring.o
  CC      mm/filemap.o
  CC      init/do_mounts.o
  CC      security/commoncap.o
  CC      block/fops.o
  AS      arch/x86/lib/checksum_32.o
  CC      arch/x86/power/cpu.o
  CC      ipc/namespace.o
  UPD     init/utsversion-tmp.h
  CC      arch/x86/pci/i386.o
  GEN     security/selinux/flask.h security/selinux/av_permissions.h
  AR      arch/x86/crypto/built-in.a
  CC      block/partitions/core.o
  CC      security/keys/gc.o
  AR      drivers/cache/built-in.a
  AR      arch/x86/net/built-in.a
  CC      arch/x86/realmode/init.o
  CC      security/keys/key.o
  CC      net/core/sock.o
  CC      net/ethernet/eth.o
  CC      security/integrity/iint.o
  CC      security/selinux/avc.o
  AR      sound/drivers/opl3/built-in.a
  AR      sound/i2c/other/built-in.a
  CC      arch/x86/events/amd/core.o
  CC      sound/core/seq/seq.o
  CC      arch/x86/mm/pat/set_memory.o
  AR      virt/lib/built-in.a
  AR      arch/x86/virt/svm/built-in.a
  AR      arch/x86/platform/atom/built-in.a
  AR      sound/isa/ad1816a/built-in.a
  CC      fs/notify/dnotify/dnotify.o
  CC      arch/x86/kernel/fpu/init.o
  CC      arch/x86/events/amd/lbr.o
  CC      arch/x86/events/amd/ibs.o
  AR      sound/i2c/built-in.a
  CC      security/integrity/integrity_audit.o
  AR      virt/built-in.a
  AR      drivers/irqchip/built-in.a
  AR      sound/drivers/opl4/built-in.a
  AR      sound/isa/ad1848/built-in.a
  CC      arch/x86/lib/cmdline.o
  AR      arch/x86/platform/ce4100/built-in.a
  AR      arch/x86/virt/vmx/built-in.a
  CC      lib/math/div64.o
  CC      arch/x86/entry/vdso/vma.o
  HOSTCC  certs/extract-cert
  AR      sound/drivers/mpu401/built-in.a
  AR      arch/x86/virt/built-in.a
  AR      sound/isa/cs423x/built-in.a
  CC      block/bio.o
  CC      arch/x86/platform/efi/memmap.o
  AR      drivers/bus/mhi/built-in.a
  AR      sound/isa/es1688/built-in.a
  AR      drivers/bus/built-in.a
  CC      block/elevator.o
  AR      sound/drivers/vx/built-in.a
  CC      kernel/sched/core.o
  AR      sound/drivers/pcsp/built-in.a
  AR      drivers/pwm/built-in.a
  AR      sound/isa/galaxy/built-in.a
  CC      crypto/asymmetric_keys/asymmetric_type.o
  AR      sound/drivers/built-in.a
  AR      sound/isa/gus/built-in.a
  AR      sound/isa/msnd/built-in.a
  CC      block/blk-core.o
  CC      drivers/pci/msi/pcidev_msi.o
  AS      arch/x86/lib/cmpxchg8b_emu.o
  AR      sound/isa/opti9xx/built-in.a
  CC      lib/math/gcd.o
  AR      sound/isa/sb/built-in.a
  CC      arch/x86/lib/cpu.o
  AR      sound/isa/wavefront/built-in.a
  AR      sound/isa/wss/built-in.a
  AR      sound/isa/built-in.a
  CC      lib/math/lcm.o
  CC      block/blk-sysfs.o
  CC      lib/math/int_log.o
  CC      security/lsm_syscalls.o
  GEN     usr/initramfs_data.cpio
  CERT    certs/x509_certificate_list
  COPY    usr/initramfs_inc_data
  CERT    certs/signing_key.x509
  AS      usr/initramfs_data.o
  AS      certs/system_certificates.o
  CC      arch/x86/kernel/fpu/bugs.o
  AR      usr/built-in.a
  AR      certs/built-in.a
  CC      drivers/pci/msi/api.o
  CC      lib/math/int_pow.o
  AR      arch/x86/platform/geode/built-in.a
  CC      drivers/pci/msi/msi.o
  CC      lib/math/int_sqrt.o
  CC      arch/x86/kernel/fpu/core.o
  AR      arch/x86/platform/iris/built-in.a
  CC      arch/x86/mm/init.o
  CC      lib/math/reciprocal_div.o
  CC      sound/core/seq/seq_lock.o
  CC      arch/x86/events/amd/uncore.o
  CC      arch/x86/lib/delay.o
  AS      arch/x86/realmode/rm/header.o
  AS      arch/x86/realmode/rm/trampoline_32.o
  AS      arch/x86/realmode/rm/stack.o
  CC      lib/math/rational.o
  CC      arch/x86/pci/init.o
  AS      arch/x86/realmode/rm/reboot.o
  CC      ipc/mq_sysctl.o
  CC      arch/x86/kernel/fpu/regset.o
  AS      arch/x86/realmode/rm/wakeup_asm.o
  CC      arch/x86/realmode/rm/wakemain.o
  CC      arch/x86/platform/intel/iosf_mbi.o
  CC      sound/core/seq/seq_clientmgr.o
  CC      security/keys/keyring.o
  AR      fs/notify/dnotify/built-in.a
  CC      crypto/asymmetric_keys/restrict.o
  AR      security/integrity/built-in.a
  CC      fs/notify/inotify/inotify_fsnotify.o
  CC      arch/x86/entry/vdso/extable.o
  CC      sound/core/seq/seq_memory.o
  CC      arch/x86/realmode/rm/video-mode.o
  CC      arch/x86/power/hibernate_32.o
  CC      arch/x86/platform/efi/quirks.o
  CC      arch/x86/mm/init_32.o
  AS      arch/x86/lib/getuser.o
  GEN     arch/x86/lib/inat-tables.c
  AS      arch/x86/realmode/rm/copy.o
  CC      block/partitions/msdos.o
  CC      fs/notify/inotify/inotify_user.o
  AS      arch/x86/realmode/rm/bioscall.o
  CC      arch/x86/lib/insn-eval.o
  CC      arch/x86/realmode/rm/regs.o
  CC      arch/x86/lib/insn.o
  AR      lib/math/built-in.a
  CC      arch/x86/realmode/rm/video-vga.o
  CC      security/keys/keyctl.o
  CC      lib/crypto/memneq.o
  CC      lib/crypto/mpi/generic_mpih-lshift.o
  AS      arch/x86/entry/entry.o
  CC      lib/crypto/mpi/generic_mpih-mul1.o
  AR      arch/x86/entry/vsyscall/built-in.a
  CC      security/min_addr.o
  CC      lib/crypto/mpi/generic_mpih-mul2.o
  AR      sound/ppc/built-in.a
  AR      sound/pci/ac97/built-in.a
  AR      sound/pci/ali5451/built-in.a
  AS      arch/x86/entry/entry_32.o
  AR      sound/pci/asihpi/built-in.a
  CC      arch/x86/realmode/rm/video-vesa.o
  AR      sound/arm/built-in.a
  CC      arch/x86/platform/efi/efi.o
  AR      sound/pci/au88x0/built-in.a
  AR      sound/pci/aw2/built-in.a
  CC      arch/x86/realmode/rm/video-bios.o
  AR      sound/pci/ctxfi/built-in.a
  CC      sound/core/sound.o
  CC      drivers/pci/pcie/portdrv.o
  CC      drivers/pci/hotplug/pci_hotplug_core.o
  AR      sound/pci/ca0106/built-in.a
  CC      crypto/asymmetric_keys/signature.o
  AR      sound/pci/cs46xx/built-in.a
  CC      drivers/pci/hotplug/acpi_pcihp.o
  AR      sound/pci/cs5535audio/built-in.a
  PASYMS  arch/x86/realmode/rm/pasyms.h
  AR      sound/pci/lola/built-in.a
  CC      arch/x86/pci/pcbios.o
  AR      sound/pci/lx6464es/built-in.a
  LDS     arch/x86/realmode/rm/realmode.lds
  CC      arch/x86/entry/syscall_32.o
  AR      net/ethernet/built-in.a
  AR      sound/pci/echoaudio/built-in.a
  CC      kernel/sched/fair.o
  LD      arch/x86/realmode/rm/realmode.elf
  CC      arch/x86/pci/mmconfig_32.o
  RELOCS  arch/x86/realmode/rm/realmode.relocs
  AR      sound/pci/emu10k1/built-in.a
  AR      arch/x86/platform/intel-mid/built-in.a
  OBJCOPY arch/x86/realmode/rm/realmode.bin
  AS      arch/x86/realmode/rmpiggy.o
  CC      arch/x86/mm/pat/memtype.o
  AR      sound/pci/hda/built-in.a
  CC      fs/nfs_common/nfsacl.o
  CC      fs/iomap/trace.o
  AR      arch/x86/realmode/built-in.a
  CC [M]  sound/pci/hda/hda_bind.o
  CC      fs/iomap/iter.o
  AR      arch/x86/platform/intel-quark/built-in.a
  CC      fs/iomap/buffered-io.o
  CC      drivers/pci/msi/irqdomain.o
  CC      fs/iomap/direct-io.o
  CC      init/do_mounts_initrd.o
  CC      arch/x86/mm/pat/memtype_interval.o
  CC      drivers/pci/pcie/rcec.o
  AR      arch/x86/platform/intel/built-in.a
  AS      arch/x86/power/hibernate_asm_32.o
  AR      arch/x86/platform/olpc/built-in.a
  CC      drivers/pci/pcie/aspm.o
  CC      arch/x86/mm/fault.o
  LDS     arch/x86/entry/vdso/vdso32/vdso32.lds
  CC      arch/x86/power/hibernate.o
  AS      arch/x86/entry/vdso/vdso32/note.o
  AS      arch/x86/entry/vdso/vdso32/system_call.o
  CC      arch/x86/mm/ioremap.o
  CC      security/selinux/hooks.o
  AS      arch/x86/entry/vdso/vdso32/sigreturn.o
  AR      ipc/built-in.a
  CC      arch/x86/mm/extable.o
  CC      drivers/pci/pcie/pme.o
  CC      arch/x86/entry/vdso/vdso32/vclock_gettime.o
  AR      arch/x86/events/amd/built-in.a
  CC      init/initramfs.o
  CC      arch/x86/events/intel/core.o
  CC      lib/crypto/mpi/generic_mpih-mul3.o
  CC      arch/x86/kernel/fpu/signal.o
  CC      crypto/asymmetric_keys/public_key.o
  CC      security/security.o
  CC      arch/x86/events/intel/bts.o
  CC      init/calibrate.o
  CC      arch/x86/lib/kaslr.o
  CC      drivers/video/console/dummycon.o
  CC      block/partitions/efi.o
  AR      fs/notify/inotify/built-in.a
  CC      fs/notify/fsnotify.o
  AR      fs/notify/fanotify/built-in.a
  CC      block/blk-flush.o
  CC      arch/x86/pci/direct.o
  CC      arch/x86/pci/mmconfig-shared.o
  CC      arch/x86/events/intel/ds.o
  CC      arch/x86/lib/memcpy_32.o
  CC      arch/x86/platform/efi/efi_32.o
  CC      fs/nfs_common/grace.o
  AS      arch/x86/lib/memmove_32.o
  CC      drivers/video/backlight/backlight.o
  CC      sound/core/seq/seq_queue.o
  CC      arch/x86/lib/misc.o
  AR      drivers/pci/hotplug/built-in.a
  CC      init/init_task.o
  CC      arch/x86/lib/pc-conf-reg.o
  AR      arch/x86/platform/scx200/built-in.a
  AS      arch/x86/lib/putuser.o
  CC      arch/x86/kernel/cpu/mce/core.o
  AS      arch/x86/lib/retpoline.o
  CC [M]  sound/pci/hda/hda_codec.o
  CC      arch/x86/kernel/acpi/boot.o
  CC [M]  sound/pci/hda/hda_jack.o
  CC      arch/x86/kernel/cpu/mtrr/mtrr.o
  AR      arch/x86/mm/pat/built-in.a
  CC      arch/x86/kernel/acpi/sleep.o
  CC [M]  sound/pci/hda/hda_auto_parser.o
  AR      arch/x86/power/built-in.a
  CC      arch/x86/lib/string_32.o
  CC      arch/x86/kernel/cpu/mtrr/if.o
  CC      arch/x86/lib/strstr_32.o
  CC      security/keys/permission.o
  AR      drivers/pci/msi/built-in.a
  CC      arch/x86/entry/vdso/vdso32/vgetcpu.o
  CC      init/version.o
  CC      arch/x86/lib/usercopy.o
  CC      lib/crypto/mpi/generic_mpih-rshift.o
  AS      arch/x86/platform/efi/efi_stub_32.o
  CC      arch/x86/kernel/cpu/mtrr/generic.o
  CC      arch/x86/kernel/cpu/mtrr/cleanup.o
  HOSTCC  arch/x86/entry/vdso/vdso2c
  ASN.1   crypto/asymmetric_keys/x509.asn1.[ch]
  ASN.1   crypto/asymmetric_keys/x509_akid.asn1.[ch]
  CC      crypto/asymmetric_keys/x509_loader.o
  CC      crypto/asymmetric_keys/x509_public_key.o
  CC      block/blk-settings.o
  CC      drivers/video/console/vgacon.o
  CC      arch/x86/events/intel/knc.o
  CC      arch/x86/events/intel/lbr.o
  CC      arch/x86/kernel/cpu/mtrr/amd.o
  CC      fs/iomap/fiemap.o
  CC      arch/x86/lib/usercopy_32.o
  AR      sound/pci/ice1712/built-in.a
  CC      fs/iomap/seek.o
  AR      drivers/pci/controller/dwc/built-in.a
  CC      arch/x86/kernel/fpu/xstate.o
  AR      drivers/pci/controller/mobiveil/built-in.a
  AR      drivers/pci/controller/built-in.a
  AR      sound/pci/korg1212/built-in.a
  AR      sound/pci/mixart/built-in.a
  AR      sound/pci/nm256/built-in.a
  CC      arch/x86/entry/vdso/vdso32-setup.o
  CC      io_uring/xattr.o
  CC      arch/x86/platform/efi/runtime-map.o
  CC      arch/x86/kernel/cpu/microcode/core.o
  CC      io_uring/nop.o
  AR      fs/nfs_common/built-in.a
  AR      sound/pci/oxygen/built-in.a
  CC      fs/notify/notification.o
  CC      fs/notify/group.o
  AR      drivers/pci/pcie/built-in.a
  CC      arch/x86/events/zhaoxin/core.o
  CC      arch/x86/mm/mmap.o
  AR      drivers/pci/switch/built-in.a
  AR      init/built-in.a
  CC      drivers/pci/access.o
  CC      fs/notify/mark.o
  AR      block/partitions/built-in.a
  CC      arch/x86/lib/msr-smp.o
  CC      lib/crypto/mpi/generic_mpih-sub1.o
  CC      sound/core/seq/seq_fifo.o
  CC      lib/crypto/mpi/generic_mpih-add1.o
  AR      drivers/video/backlight/built-in.a
  CC      arch/x86/events/core.o
  CC      arch/x86/kernel/cpu/mtrr/cyrix.o
  CC      arch/x86/pci/fixup.o
  AR      drivers/video/fbdev/core/built-in.a
  AR      drivers/video/fbdev/omap/built-in.a
  CC      arch/x86/lib/cache-smp.o
  CC      arch/x86/mm/pgtable.o
  AR      drivers/video/fbdev/omap2/omapfb/dss/built-in.a
  CC      security/keys/process_keys.o
  AR      drivers/video/fbdev/omap2/omapfb/displays/built-in.a
  ASN.1   crypto/asymmetric_keys/pkcs7.asn1.[ch]
  CC      crypto/asymmetric_keys/pkcs7_trust.o
  AR      drivers/video/fbdev/omap2/omapfb/built-in.a
  CC      mm/mempool.o
  AR      drivers/video/fbdev/omap2/built-in.a
  CC      net/core/request_sock.o
  VDSO    arch/x86/entry/vdso/vdso32.so.dbg
  AR      drivers/video/fbdev/built-in.a
  OBJCOPY arch/x86/entry/vdso/vdso32.so
  VDSO2C  arch/x86/entry/vdso/vdso-image-32.c
  CC      arch/x86/kernel/cpu/mtrr/centaur.o
  CC      arch/x86/entry/vdso/vdso-image-32.o
  CC      arch/x86/kernel/cpu/mtrr/legacy.o
  CC      arch/x86/lib/msr.o
  CC      net/core/skbuff.o
  AS      arch/x86/lib/msr-reg.o
  CC      arch/x86/lib/msr-reg-export.o
  CC      arch/x86/pci/acpi.o
  CC      block/blk-ioc.o
  CC      arch/x86/kernel/cpu/microcode/intel.o
  AR      arch/x86/entry/vdso/built-in.a
  CC      arch/x86/kernel/cpu/microcode/amd.o
  CC      arch/x86/entry/common.o
  AS      arch/x86/entry/thunk_32.o
  AS      arch/x86/kernel/acpi/wakeup_32.o
  CC      crypto/asymmetric_keys/pkcs7_verify.o
  CC      arch/x86/kernel/cpu/cacheinfo.o
  CC      arch/x86/events/intel/p4.o
  CC      arch/x86/kernel/cpu/scattered.o
  CC      arch/x86/kernel/acpi/cstate.o
  CC      fs/iomap/swapfile.o
  CC      arch/x86/events/probe.o
  CC      io_uring/fs.o
  CC      arch/x86/events/utils.o
  CC      crypto/api.o
  CC      crypto/cipher.o
  CC      crypto/compress.o
  AR      arch/x86/platform/ts5500/built-in.a
  AR      arch/x86/platform/efi/built-in.a
  CC      lib/crypto/mpi/ec.o
  CC      block/blk-map.o
  AR      arch/x86/platform/uv/built-in.a
  CC      sound/core/seq/seq_prioq.o
  AR      arch/x86/platform/built-in.a
  CC      block/blk-merge.o
  AR      drivers/video/console/built-in.a
  CC      drivers/video/aperture.o
  AR      sound/pci/pcxhr/built-in.a
  AR      arch/x86/kernel/cpu/mtrr/built-in.a
  CC      arch/x86/kernel/cpu/topology_common.o
  CC      net/core/datagram.o
  AS      arch/x86/lib/hweight.o
  CC      arch/x86/kernel/cpu/topology_ext.o
  CC      arch/x86/kernel/cpu/topology_amd.o
  AR      arch/x86/events/zhaoxin/built-in.a
  CC      io_uring/splice.o
  CC      arch/x86/pci/legacy.o
  CC      fs/notify/fdinfo.o
  CC      drivers/pci/bus.o
  CC      sound/core/seq/seq_timer.o
  CC      arch/x86/mm/physaddr.o
  CC      mm/oom_kill.o
  CC      mm/fadvise.o
  CC      mm/maccess.o
  CC      arch/x86/kernel/cpu/common.o
  CC      crypto/asymmetric_keys/x509.asn1.o
  AR      arch/x86/kernel/fpu/built-in.a
  CC      arch/x86/kernel/cpu/rdrand.o
  CC      crypto/asymmetric_keys/x509_akid.asn1.o
  CC      arch/x86/kernel/cpu/mce/severity.o
  CC      crypto/asymmetric_keys/x509_cert_parser.o
  CC [M]  sound/pci/hda/hda_sysfs.o
  CC      net/core/stream.o
  CC      security/selinux/selinuxfs.o
  AR      arch/x86/kernel/acpi/built-in.a
  CC      sound/core/seq/seq_system.o
  CC      security/keys/request_key.o
  CC      arch/x86/lib/iomem.o
  CC      mm/page-writeback.o
  CC      arch/x86/pci/irq.o
  CC      arch/x86/mm/tlb.o
  CC      arch/x86/kernel/cpu/match.o
  CC      block/blk-timeout.o
  AR      sound/pci/riptide/built-in.a
  CC      arch/x86/kernel/cpu/bugs.o
  CC      sound/core/seq/seq_ports.o
  CC      arch/x86/kernel/apic/apic.o
  AR      arch/x86/entry/built-in.a
  CC      mm/folio-compat.o
  AR      fs/iomap/built-in.a
  AR      arch/x86/kernel/cpu/microcode/built-in.a
  CC      arch/x86/lib/atomic64_32.o
  CC      arch/x86/kernel/kprobes/core.o
  CC      arch/x86/events/intel/p6.o
  CC      arch/x86/kernel/cpu/aperfmperf.o
  CC      lib/crypto/mpi/mpicoder.o
  CC      arch/x86/lib/inat.o
  CC      crypto/algapi.o
  AR      fs/notify/built-in.a
  CC      arch/x86/kernel/kprobes/opt.o
  CC      fs/quota/dquot.o
  CC      arch/x86/pci/common.o
  CC      arch/x86/events/rapl.o
  CC      fs/quota/quota_v2.o
  AR      drivers/idle/built-in.a
  CC      arch/x86/events/msr.o
  CC      arch/x86/pci/early.o
  CC      drivers/video/cmdline.o
  CC      crypto/asymmetric_keys/pkcs7.asn1.o
  AR      arch/x86/lib/lib.a
  AR      drivers/char/ipmi/built-in.a
  CC      crypto/asymmetric_keys/pkcs7_parser.o
  AR      arch/x86/lib/built-in.a
  CC      drivers/pci/probe.o
  CC      fs/quota/quota_tree.o
  CC      crypto/scatterwalk.o
  CC      net/core/scm.o
  CC      io_uring/sync.o
  CC      arch/x86/events/intel/pt.o
  CC      fs/quota/quota.o
  CC      net/core/gen_stats.o
  CC      arch/x86/kernel/cpu/cpuid-deps.o
  CC      io_uring/advise.o
  CC      arch/x86/mm/cpu_entry_area.o
  CC      arch/x86/kernel/cpu/umwait.o
  CC [M]  sound/pci/hda/hda_controller.o
  CC      arch/x86/kernel/cpu/mce/genpool.o
  CC      block/blk-lib.o
  CC      fs/quota/kqid.o
  CC      mm/readahead.o
  CC      sound/core/seq/seq_info.o
  CC      drivers/acpi/acpica/dsargs.o
  CC      mm/swap.o
  CC      security/keys/request_key_auth.o
  MKCAP   arch/x86/kernel/cpu/capflags.c
  AR      crypto/asymmetric_keys/built-in.a
  CC      fs/quota/netlink.o
  CC      lib/crypto/mpi/mpi-add.o
  CC      drivers/pnp/pnpacpi/core.o
  CC      drivers/pnp/pnpacpi/rsparser.o
  CC      lib/crypto/mpi/mpi-bit.o
  AR      drivers/amba/built-in.a
  CC      drivers/video/nomodeset.o
  CC      drivers/pnp/core.o
  CC      kernel/sched/build_policy.o
  AR      sound/sh/built-in.a
  AR      arch/x86/kernel/kprobes/built-in.a
  AR      drivers/clk/actions/built-in.a
  AR      sound/synth/emux/built-in.a
  CC [M]  sound/pci/hda/hda_proc.o
  CC      sound/core/init.o
  AR      drivers/clk/analogbits/built-in.a
  AR      sound/synth/built-in.a
  CC      drivers/video/hdmi.o
  CC      sound/core/memory.o
  AR      drivers/clk/bcm/built-in.a
  CC      lib/crypto/mpi/mpi-cmp.o
  CC      arch/x86/pci/bus_numa.o
  AR      drivers/clk/imgtec/built-in.a
  AR      drivers/clk/imx/built-in.a
  CC      sound/core/control.o
  CC      arch/x86/mm/maccess.o
  AR      drivers/clk/ingenic/built-in.a
  CC      arch/x86/mm/pgprot.o
  CC      arch/x86/mm/pgtable_32.o
  AR      drivers/clk/mediatek/built-in.a
  AR      drivers/clk/microchip/built-in.a
  CC      drivers/acpi/acpica/dscontrol.o
  CC      drivers/acpi/acpica/dsdebug.o
  AR      drivers/clk/mstar/built-in.a
  CC      net/core/gen_estimator.o
  AR      drivers/clk/mvebu/built-in.a
  CC      arch/x86/events/intel/uncore.o
  AR      drivers/clk/ralink/built-in.a
  AR      drivers/clk/renesas/built-in.a
  CC      arch/x86/kernel/cpu/mce/intel.o
  CC      drivers/acpi/acpica/dsfield.o
  AR      drivers/clk/socfpga/built-in.a
  CC      drivers/acpi/acpica/dsinit.o
  AR      drivers/clk/sprd/built-in.a
  AR      drivers/clk/starfive/built-in.a
  CC      crypto/proc.o
  CC      sound/core/seq/seq_dummy.o
  AR      drivers/clk/sunxi-ng/built-in.a
  CC      security/lsm_audit.o
  CC      io_uring/filetable.o
  AR      drivers/clk/ti/built-in.a
  CC      security/device_cgroup.o
  AR      drivers/clk/versatile/built-in.a
  AR      drivers/clk/xilinx/built-in.a
  AR      drivers/clk/built-in.a
  CC      arch/x86/mm/iomap_32.o
  CC      arch/x86/kernel/cpu/mce/amd.o
  CC      drivers/dma/dw/core.o
  CC      arch/x86/kernel/cpu/powerflags.o
  CC      arch/x86/kernel/cpu/topology.o
  CC      mm/truncate.o
  CC      block/blk-mq.o
  CC      security/keys/user_defined.o
  CC      drivers/dma/dw/dw.o
  CC      kernel/sched/build_utility.o
  CC      block/blk-mq-tag.o
  CC      arch/x86/kernel/cpu/mce/threshold.o
  CC [M]  sound/pci/hda/hda_hwdep.o
  CC      kernel/locking/mutex.o
  CC      security/selinux/netlink.o
  CC      drivers/pci/host-bridge.o
  CC      arch/x86/kernel/cpu/proc.o
  CC      drivers/pnp/card.o
  CC      drivers/acpi/acpica/dsmethod.o
  CC      drivers/acpi/acpica/dsmthdat.o
  CC      arch/x86/events/intel/uncore_nhmex.o
  CC      lib/crypto/mpi/mpi-sub-ui.o
  CC      sound/core/misc.o
  CC      security/selinux/nlmsgtab.o
  CC      arch/x86/pci/amd_bus.o
  AR      drivers/pnp/pnpacpi/built-in.a
  CC      security/selinux/netif.o
  CC      arch/x86/kernel/apic/apic_common.o
  CC      security/keys/proc.o
  AR      sound/pci/rme9652/built-in.a
  CC      arch/x86/kernel/apic/apic_noop.o
  AR      sound/pci/trident/built-in.a
  CC      mm/vmscan.o
  CC      arch/x86/events/intel/uncore_snb.o
  AR      drivers/video/built-in.a
  AR      sound/core/seq/built-in.a
  CC      mm/shrinker.o
  CC      lib/crypto/utils.o
  CC      lib/crypto/chacha.o
  CC      crypto/aead.o
  CC      drivers/pci/remove.o
  CC      arch/x86/mm/hugetlbpage.o
  CC      arch/x86/events/intel/uncore_snbep.o
  CC      sound/core/device.o
  CC      sound/core/info.o
  CC      lib/crypto/aes.o
  CC      drivers/acpi/acpica/dsobject.o
  AR      fs/quota/built-in.a
  CC      crypto/geniv.o
  CC      crypto/lskcipher.o
  CC      fs/proc/task_mmu.o
  CC      fs/proc/inode.o
  CC      fs/proc/root.o
  LDS     arch/x86/kernel/vmlinux.lds
  CC      arch/x86/mm/dump_pagetables.o
  CC      mm/shmem.o
  CC [M]  sound/pci/hda/patch_hdmi.o
  CC      io_uring/openclose.o
  CC      lib/crypto/mpi/mpi-div.o
  CC      arch/x86/kernel/apic/ipi.o
  CC      drivers/pci/pci.o
  CC      lib/crypto/arc4.o
  CC      sound/core/isadma.o
  CC      sound/core/vmaster.o
  CC      drivers/pnp/driver.o
  AR      drivers/acpi/pmic/built-in.a
  CC      sound/core/ctljack.o
  CC      net/core/net_namespace.o
  CC      security/keys/sysctl.o
  CC      security/keys/keyctl_pkey.o
  AR      arch/x86/pci/built-in.a
  CC      net/core/secure_seq.o
  CC      drivers/dma/dw/idma32.o
  CC      drivers/dma/dw/acpi.o
  CC      drivers/acpi/acpica/dsopcode.o
  CC      drivers/acpi/tables.o
  CC      drivers/acpi/dptf/int340x_thermal.o
  CC      drivers/acpi/acpica/dspkginit.o
  CC      security/selinux/netnode.o
  CC      sound/core/jack.o
  CC      drivers/acpi/blacklist.o
  CC      security/selinux/netport.o
  CC      drivers/pnp/resource.o
  CC      lib/crypto/mpi/mpi-inv.o
  CC      lib/crypto/gf128mul.o
  CC      arch/x86/events/intel/uncore_discovery.o
  CC      arch/x86/kernel/apic/vector.o
  CC      sound/core/timer.o
  CC      drivers/pci/pci-driver.o
  CC      net/core/flow_dissector.o
  CC      drivers/acpi/osi.o
  CC      kernel/locking/semaphore.o
  CC      arch/x86/events/intel/cstate.o
  CC      arch/x86/mm/highmem_32.o
  CC      drivers/pnp/manager.o
  CC      drivers/pnp/support.o
  CC      fs/kernfs/mount.o
  CC      fs/sysfs/file.o
  CC      lib/crypto/mpi/mpi-mod.o
  CC      io_uring/uring_cmd.o
  CC      sound/core/hrtimer.o
  CC      io_uring/epoll.o
  AR      arch/x86/kernel/cpu/mce/built-in.a
  CC      drivers/acpi/acpica/dsutils.o
  CC      drivers/acpi/acpica/dswexec.o
  CC      drivers/pci/search.o
  AR      drivers/acpi/dptf/built-in.a
  CC      crypto/skcipher.o
  AR      sound/pci/ymfpci/built-in.a
  CC      fs/sysfs/dir.o
  CC      fs/sysfs/symlink.o
  AR      security/keys/built-in.a
  AR      sound/pci/vx222/built-in.a
  CC      fs/sysfs/mount.o
  AS      arch/x86/kernel/head_32.o
  CC      drivers/acpi/osl.o
  AR      drivers/dma/dw/built-in.a
  CC      drivers/acpi/utils.o
  CC      drivers/dma/hsu/hsu.o
  CC      io_uring/statx.o
  CC      fs/devpts/inode.o
  CC      fs/netfs/buffered_read.o
  CC      drivers/acpi/reboot.o
  CC      fs/netfs/buffered_write.o
  CC      drivers/acpi/nvs.o
  CC [M]  sound/pci/hda/hda_eld.o
  CC      lib/crypto/blake2s.o
  CC      drivers/acpi/acpica/dswload.o
  AR      drivers/soc/apple/built-in.a
  AR      drivers/soc/aspeed/built-in.a
  AR      drivers/soc/bcm/built-in.a
  CC      drivers/pnp/interface.o
  AR      drivers/soc/fsl/built-in.a
  AR      arch/x86/mm/built-in.a
  CC      drivers/acpi/acpica/dswload2.o
  AR      drivers/soc/fujitsu/built-in.a
  CC      kernel/locking/rwsem.o
  AR      drivers/soc/hisilicon/built-in.a
  AR      drivers/soc/imx/built-in.a
  AR      drivers/soc/ixp4xx/built-in.a
  CC      kernel/locking/percpu-rwsem.o
  CC      fs/proc/base.o
  AR      drivers/soc/loongson/built-in.a
  CC      lib/crypto/mpi/mpi-mul.o
  AR      drivers/soc/mediatek/built-in.a
  AR      drivers/soc/microchip/built-in.a
  AR      drivers/soc/nuvoton/built-in.a
  AR      drivers/soc/pxa/built-in.a
  AR      drivers/soc/amlogic/built-in.a
  AR      drivers/soc/qcom/built-in.a
  CC      fs/kernfs/inode.o
  AR      drivers/soc/renesas/built-in.a
  CC      fs/kernfs/dir.o
  CC      arch/x86/kernel/head32.o
  CC      lib/crypto/mpi/mpih-cmp.o
  CC      arch/x86/kernel/ebda.o
  AR      drivers/soc/rockchip/built-in.a
  AR      drivers/soc/sunxi/built-in.a
  CC      arch/x86/kernel/platform-quirks.o
  AR      drivers/soc/ti/built-in.a
  CC      arch/x86/kernel/process_32.o
  CC      arch/x86/kernel/signal.o
  CC      arch/x86/kernel/signal_32.o
  AR      drivers/soc/xilinx/built-in.a
  CC      security/selinux/status.o
  AR      drivers/soc/built-in.a
  CC      lib/crypto/blake2s-generic.o
  CC      lib/crypto/sha1.o
  CC      lib/zlib_inflate/inffast.o
  CC      lib/zlib_deflate/deflate.o
  CC      net/core/sysctl_net_core.o
  CC      fs/sysfs/group.o
  CC      lib/crypto/sha256.o
  CC      lib/lzo/lzo1x_compress.o
  AR      drivers/dma/hsu/built-in.a
  CC      drivers/acpi/acpica/dswscope.o
  AR      drivers/dma/idxd/built-in.a
  CC      lib/lzo/lzo1x_decompress_safe.o
  AR      drivers/dma/mediatek/built-in.a
  CC      lib/zlib_inflate/inflate.o
  AR      drivers/dma/qcom/built-in.a
  CC      drivers/acpi/acpica/dswstate.o
  AR      drivers/dma/ti/built-in.a
  AR      arch/x86/events/intel/built-in.a
  AR      drivers/dma/xilinx/built-in.a
  AR      arch/x86/events/built-in.a
  CC      drivers/dma/dmaengine.o
  CC      lib/zlib_deflate/deftree.o
  CC      drivers/virtio/virtio.o
  AR      fs/devpts/built-in.a
  CC      drivers/pnp/quirks.o
  CC      drivers/pnp/system.o
  CC      mm/util.o
  CC      sound/core/seq_device.o
  CC      mm/mmzone.o
  CC      crypto/seqiv.o
  CC      drivers/virtio/virtio_ring.o
  CC      drivers/tty/vt/vt_ioctl.o
  CC      drivers/virtio/virtio_anchor.o
  CC      drivers/acpi/acpica/evevent.o
  CC      lib/crypto/mpi/mpih-div.o
  CC      arch/x86/kernel/apic/init.o
  CC      io_uring/net.o
  CC      fs/proc/generic.o
  CC [M]  sound/pci/hda/hda_intel.o
  CC      arch/x86/kernel/traps.o
  CC      kernel/locking/spinlock.o
  AR      net/802/built-in.a
  CC      drivers/char/hw_random/core.o
  AR      drivers/iommu/amd/built-in.a
  CC      drivers/char/agp/backend.o
  AR      drivers/iommu/intel/built-in.a
  AR      drivers/iommu/arm/arm-smmu/built-in.a
  AR      drivers/iommu/arm/arm-smmu-v3/built-in.a
  AR      drivers/iommu/arm/built-in.a
  CC      drivers/char/hw_random/intel-rng.o
  CC      drivers/char/hw_random/amd-rng.o
  CC [M]  sound/core/hwdep.o
  AR      drivers/iommu/iommufd/built-in.a
  AR      lib/lzo/built-in.a
  CC      drivers/iommu/iommu.o
  CC      arch/x86/kernel/idt.o
  CC      crypto/echainiv.o
  AR      fs/sysfs/built-in.a
  CC      fs/netfs/direct_read.o
  CC      mm/vmstat.o
  CC      lib/lz4/lz4_decompress.o
  CC      fs/ext4/balloc.o
  CC      drivers/iommu/iommu-traces.o
  CC      arch/x86/kernel/irq.o
  CC      drivers/acpi/acpica/evgpe.o
  CC      lib/zlib_inflate/infutil.o
  CC      block/blk-stat.o
  CC      fs/kernfs/file.o
  CC      fs/kernfs/symlink.o
  CC      lib/zlib_deflate/deflate_syms.o
  CC      net/sched/sch_generic.o
  CC      mm/backing-dev.o
  CC      kernel/locking/osq_lock.o
  CC      drivers/dma/virt-dma.o
  CC      fs/jbd2/transaction.o
  CC      arch/x86/kernel/apic/hw_nmi.o
  CC      drivers/pci/rom.o
  CC      fs/jbd2/commit.o
  CC      drivers/dma/acpi-dma.o
  CC      net/sched/sch_mq.o
  CC      net/sched/sch_frag.o
  CC      security/selinux/ss/ebitmap.o
  CC      fs/proc/array.o
  AR      drivers/pnp/built-in.a
  CC      drivers/char/agp/generic.o
  CC      net/netlink/af_netlink.o
  CC      kernel/locking/qspinlock.o
  CC      lib/zlib_inflate/inftrees.o
  AR      lib/zlib_deflate/built-in.a
  CC      net/netlink/genetlink.o
  CC      lib/crypto/mpi/mpih-mul.o
  CC      drivers/char/mem.o
  CC      drivers/acpi/acpica/evgpeblk.o
  CC      drivers/char/random.o
  CC      net/core/dev.o
  CC      crypto/ahash.o
  CC      lib/zlib_inflate/inflate_syms.o
  CC      net/core/dev_addr_lists.o
  AR      kernel/sched/built-in.a
  CC      lib/crypto/mpi/mpi-pow.o
  CC      drivers/char/hw_random/geode-rng.o
  CC      drivers/tty/vt/vc_screen.o
  AR      net/bpf/built-in.a
  CC      fs/proc/fd.o
  CC [M]  sound/core/pcm.o
  CC      drivers/acpi/wakeup.o
  CC      drivers/char/hw_random/via-rng.o
  CC      drivers/virtio/virtio_pci_modern_dev.o
  CC      fs/netfs/direct_write.o
  CC      arch/x86/kernel/apic/io_apic.o
  CC      arch/x86/kernel/irq_32.o
  CC      arch/x86/kernel/dumpstack_32.o
  CC      fs/netfs/io.o
  CC      drivers/tty/vt/selection.o
  CC      drivers/pci/setup-res.o
  CC      kernel/locking/rtmutex_api.o
  AR      lib/zlib_inflate/built-in.a
  CC      fs/proc/proc_tty.o
  CC      block/blk-mq-sysfs.o
  CC      drivers/acpi/acpica/evgpeinit.o
  AR      drivers/dma/built-in.a
  CC      drivers/acpi/acpica/evgpeutil.o
  AR      drivers/gpu/host1x/built-in.a
  AR      fs/kernfs/built-in.a
  CC      drivers/connector/cn_queue.o
  CC      lib/zstd/zstd_decompress_module.o
  CC      drivers/connector/connector.o
  CC      fs/proc/cmdline.o
  AR      lib/lz4/built-in.a
  CC      mm/mm_init.o
  AR      drivers/char/hw_random/built-in.a
  CC      drivers/char/misc.o
  AR      drivers/gpu/drm/tests/built-in.a
  AR      drivers/gpu/drm/arm/built-in.a
  CC      mm/percpu.o
  CC      drivers/gpu/drm/display/drm_display_helper_mod.o
  LD [M]  sound/pci/hda/snd-hda-codec.o
  LD [M]  sound/pci/hda/snd-hda-codec-hdmi.o
  LD [M]  sound/pci/hda/snd-hda-intel.o
  CC      drivers/connector/cn_proc.o
  CC      lib/crypto/mpi/mpiutil.o
  AR      sound/pci/built-in.a
  CC      drivers/gpu/drm/display/drm_dp_dual_mode_helper.o
  CC      fs/proc/consoles.o
  CC      drivers/char/agp/isoch.o
  CC      drivers/tty/vt/keyboard.o
  CC      drivers/acpi/sleep.o
  CC      drivers/acpi/acpica/evglock.o
  CC      drivers/tty/vt/vt.o
  CC      fs/ramfs/inode.o
  CC      security/selinux/ss/hashtab.o
  AR      sound/usb/misc/built-in.a
  CC      mm/slab_common.o
  CC      drivers/acpi/acpica/evhandler.o
  AR      sound/firewire/built-in.a
  CC      lib/zstd/decompress/huf_decompress.o
  AR      sound/usb/usx2y/built-in.a
  CC      lib/zstd/decompress/zstd_ddict.o
  CC      drivers/acpi/acpica/evmisc.o
  AR      sound/usb/caiaq/built-in.a
  CC [M]  sound/core/pcm_native.o
  AR      sound/usb/6fire/built-in.a
  AR      sound/usb/hiface/built-in.a
  CC      crypto/shash.o
  CC      io_uring/msg_ring.o
  CC      drivers/acpi/acpica/evregion.o
  CC      drivers/virtio/virtio_pci_legacy_dev.o
  AR      sound/usb/bcd2000/built-in.a
  AR      sound/usb/built-in.a
  CC      fs/proc/cpuinfo.o
  CC [M]  sound/core/pcm_lib.o
  CC      fs/hugetlbfs/inode.o
  CC      fs/proc/devices.o
  CC      drivers/acpi/acpica/evrgnini.o
  CC      fs/netfs/iterator.o
  CC      drivers/iommu/iommu-sysfs.o
  CC      drivers/pci/irq.o
  CC      drivers/char/virtio_console.o
  CC      block/blk-mq-cpumap.o
  CC      drivers/pci/vpd.o
  CC      fs/ramfs/file-mmu.o
  CC      arch/x86/kernel/cpu/feat_ctl.o
  CC      fs/jbd2/recovery.o
  CC      kernel/locking/qrwlock.o
  CC      security/selinux/ss/symtab.o
  CC      security/selinux/ss/sidtab.o
  CC      io_uring/timeout.o
  CC      fs/proc/interrupts.o
  CC      fs/jbd2/checkpoint.o
  CC      fs/netfs/locking.o
  AR      lib/crypto/mpi/built-in.a
  AR      lib/crypto/built-in.a
  CC      net/ethtool/ioctl.o
  CC      arch/x86/kernel/time.o
  CC      net/netfilter/core.o
  CC      net/netfilter/nf_log.o
  CC      net/sched/sch_api.o
  CC      drivers/acpi/acpica/evsci.o
  CC      drivers/char/agp/amd64-agp.o
  CC      drivers/char/agp/intel-agp.o
  CC      net/ipv4/netfilter/nf_defrag_ipv4.o
  CC      net/xfrm/xfrm_policy.o
  CC      drivers/gpu/drm/display/drm_dp_helper.o
  CC      drivers/gpu/drm/display/drm_dp_mst_topology.o
  CC      net/xfrm/xfrm_state.o
  CC      net/unix/af_unix.o
  CC      fs/ext4/bitmap.o
  CC      drivers/virtio/virtio_pci_modern.o
  CC      arch/x86/kernel/cpu/intel.o
  CC      net/ipv4/netfilter/nf_reject_ipv4.o
  CC      drivers/iommu/dma-iommu.o
  AR      kernel/locking/built-in.a
  CC      kernel/power/qos.o
  CC      net/ipv4/netfilter/ip_tables.o
  CC      kernel/power/main.o
  CC      fs/proc/loadavg.o
  AR      drivers/connector/built-in.a
  CC      kernel/printk/printk.o
  CC      crypto/akcipher.o
  CC      arch/x86/kernel/ioport.o
  CC      block/blk-mq-sched.o
  CC      drivers/acpi/acpica/evxface.o
  CC      arch/x86/kernel/apic/msi.o
  CC      arch/x86/kernel/dumpstack.o
  AR      fs/ramfs/built-in.a
  CC      crypto/sig.o
  CC      kernel/irq/irqdesc.o
  CC      drivers/pci/setup-bus.o
  CC      kernel/rcu/update.o
  CC      net/netlink/policy.o
  CC      fs/netfs/main.o
  CC      kernel/rcu/sync.o
  CC      drivers/iommu/iova.o
  CC      lib/zstd/decompress/zstd_decompress.o
  AR      fs/hugetlbfs/built-in.a
  CC      fs/ext4/block_validity.o
  CC      drivers/char/agp/intel-gtt.o
  CC      fs/fat/cache.o
  CC      drivers/char/hpet.o
  CC      net/sched/sch_blackhole.o
  CC      fs/proc/meminfo.o
  CC      fs/jbd2/revoke.o
  CC      io_uring/sqpoll.o
  CC      drivers/acpi/acpica/evxfevnt.o
  CC      arch/x86/kernel/nmi.o
  CC      drivers/virtio/virtio_pci_common.o
  CC      security/selinux/ss/avtab.o
  CC      kernel/rcu/srcutree.o
  CC      kernel/rcu/tree.o
  CC      kernel/rcu/rcu_segcblist.o
  CC      net/sched/cls_api.o
  CC      arch/x86/kernel/apic/probe_32.o
  CC      drivers/pci/vc.o
  AR      sound/sparc/built-in.a
  CC      kernel/irq/handle.o
  CC      arch/x86/kernel/ldt.o
  CC      net/sched/act_api.o
  CC      arch/x86/kernel/cpu/intel_pconfig.o
  CC      crypto/kpp.o
  CC      mm/compaction.o
  CC      drivers/acpi/acpica/evxfgpe.o
  CC      arch/x86/kernel/cpu/tsx.o
  CC      kernel/power/console.o
  CC      net/ipv4/netfilter/iptable_filter.o
  CC      net/netfilter/nf_queue.o
  CC      drivers/gpu/drm/ttm/ttm_tt.o
  AR      net/netlink/built-in.a
  CC      net/ipv6/netfilter/ip6_tables.o
  CC      lib/zstd/decompress/zstd_decompress_block.o
  CC      fs/proc/stat.o
  CC      net/packet/af_packet.o
  CC      block/ioctl.o
  CC      fs/fat/dir.o
  COPY    drivers/tty/vt/defkeymap.c
  CC      drivers/tty/vt/consolemap.o
  AR      arch/x86/kernel/apic/built-in.a
  AR      drivers/iommu/built-in.a
  CC      fs/fat/fatent.o
  CC      fs/fat/file.o
  CC      net/ipv6/netfilter/ip6table_filter.o
  CC      fs/ext4/dir.o
  ASN.1   crypto/rsapubkey.asn1.[ch]
  CC      net/sched/sch_fifo.o
  CC [M]  sound/core/pcm_misc.o
  CC      kernel/irq/manage.o
  CC      drivers/acpi/acpica/evxfregn.o
  CC      arch/x86/kernel/cpu/intel_epb.o
  CC      fs/jbd2/journal.o
  AR      drivers/char/agp/built-in.a
  ASN.1   crypto/rsaprivkey.asn1.[ch]
  CC      drivers/char/nvram.o
  CC      arch/x86/kernel/cpu/amd.o
  CC      drivers/virtio/virtio_pci_legacy.o
  CC      drivers/gpu/drm/ttm/ttm_bo.o
  CC      fs/proc/uptime.o
  CC      drivers/acpi/acpica/exconcat.o
  CC      kernel/irq/spurious.o
  CC      drivers/pci/mmap.o
  CC      fs/netfs/misc.o
  CC      kernel/irq/resend.o
  CC      crypto/rsa.o
  CC      kernel/power/process.o
  CC      mm/show_mem.o
  CC      drivers/acpi/acpica/exconfig.o
  CC      net/ethtool/common.o
  CC      mm/shmem_quota.o
  CC      kernel/power/suspend.o
  CC      security/selinux/ss/policydb.o
  CC      fs/proc/util.o
  CC      kernel/printk/printk_safe.o
  HOSTCC  drivers/tty/vt/conmakehash
  AR      net/dsa/built-in.a
  CC      net/ipv4/netfilter/iptable_mangle.o
  CC      lib/xz/xz_dec_syms.o
  CC      net/unix/garbage.o
  CC      lib/dim/dim.o
  CC [M]  sound/core/pcm_memory.o
  CC      lib/fonts/fonts.o
  CC      lib/dim/net_dim.o
  CC      kernel/irq/chip.o
  CC      drivers/tty/vt/defkeymap.o
  CC      block/genhd.o
  CC      drivers/virtio/virtio_pci_admin_legacy_io.o
  CC      io_uring/fdinfo.o
  CC      drivers/pci/devres.o
  CC      drivers/acpi/acpica/exconvrt.o
  AR      drivers/char/built-in.a
  CC      lib/xz/xz_dec_stream.o
  CC      fs/ext4/ext4_jbd2.o
  CC      mm/interval_tree.o
  CC      crypto/rsa_helper.o
  CC      fs/ext4/extents.o
  CC      net/netfilter/nf_sockopt.o
  CONMK   drivers/tty/vt/consolemap_deftbl.c
  CC      drivers/tty/vt/consolemap_deftbl.o
  AR      drivers/gpu/vga/built-in.a
  CC      arch/x86/kernel/cpu/hygon.o
  CC      fs/ext4/extents_status.o
  CC      kernel/irq/dummychip.o
  CC      net/sched/cls_cgroup.o
  CC      fs/proc/version.o
  AR      drivers/tty/vt/built-in.a
  CC      drivers/tty/hvc/hvc_console.o
  CC      crypto/rsa-pkcs1pad.o
  CC      drivers/gpu/drm/display/drm_dsc_helper.o
  CC      net/xfrm/xfrm_hash.o
  CC      kernel/printk/nbcon.o
  CC      lib/fonts/font_8x16.o
  CC      fs/fat/inode.o
  CC      drivers/gpu/drm/ttm/ttm_bo_util.o
  CC      drivers/gpu/drm/display/drm_hdcp_helper.o
  CC      lib/dim/rdma_dim.o
  CC      kernel/printk/printk_ringbuffer.o
  CC      drivers/gpu/drm/display/drm_hdmi_helper.o
  CC      fs/netfs/objects.o
  CC      block/ioprio.o
  AR      sound/spi/built-in.a
  CC      drivers/acpi/acpica/excreate.o
  CC      fs/isofs/namei.o
  CC      block/badblocks.o
  CC      lib/xz/xz_dec_lzma2.o
  CC      net/ipv6/netfilter/ip6table_mangle.o
  AR      lib/fonts/built-in.a
  CC      lib/argv_split.o
  CC [M]  sound/core/memalloc.o
  CC      kernel/irq/devres.o
  CC      drivers/tty/serial/8250/8250_core.o
  CC      fs/proc/softirqs.o
  CC      net/ethtool/netlink.o
  CC      drivers/virtio/virtio_input.o
  CC      fs/proc/namespaces.o
  CC      arch/x86/kernel/cpu/centaur.o
  AR      lib/dim/built-in.a
  CC      drivers/tty/serial/serial_core.o
  CC      kernel/printk/sysctl.o
  CC      drivers/pci/proc.o
  CC      net/xfrm/xfrm_input.o
  CC      drivers/acpi/acpica/exdebug.o
  CC      net/ipv4/netfilter/ipt_REJECT.o
  CC      kernel/power/hibernate.o
  CC      block/blk-rq-qos.o
  CC      net/unix/sysctl_net_unix.o
  CC      fs/isofs/inode.o
  CC      drivers/virtio/virtio_dma_buf.o
  CC      io_uring/tctx.o
  CC      kernel/power/snapshot.o
  CC      crypto/acompress.o
  AR      kernel/printk/built-in.a
  CC      crypto/scompress.o
  CC      drivers/gpu/drm/display/drm_scdc_helper.o
  CC      lib/zstd/zstd_common_module.o
  CC      mm/list_lru.o
  CC      arch/x86/kernel/setup.o
  CC      net/netfilter/utils.o
  CC      kernel/irq/autoprobe.o
  CC      kernel/irq/irqdomain.o
  AR      drivers/tty/hvc/built-in.a
  CC      drivers/gpu/drm/ttm/ttm_bo_vm.o
  CC      kernel/irq/proc.o
  CC      drivers/gpu/drm/ttm/ttm_module.o
  CC      arch/x86/kernel/cpu/transmeta.o
  CC      fs/proc/self.o
  CC      lib/xz/xz_dec_bcj.o
  CC      net/ipv6/af_inet6.o
  CC      drivers/acpi/acpica/exdump.o
  CC      net/sched/ematch.o
  CC      fs/proc/thread_self.o
  CC      fs/netfs/output.o
  CC      lib/zstd/common/debug.o
  CC      lib/zstd/common/entropy_common.o
  CC      fs/proc/proc_sysctl.o
  CC      mm/workingset.o
  CC      block/disk-events.o
  CC [M]  sound/core/pcm_timer.o
  AR      drivers/virtio/built-in.a
  CC      lib/zstd/common/error_private.o
  CC      drivers/base/power/sysfs.o
  LD [M]  sound/core/snd-hwdep.o
  CC      kernel/irq/migration.o
  CC      lib/zstd/common/fse_decompress.o
  CC      drivers/pci/pci-sysfs.o
  CC      drivers/acpi/acpica/exfield.o
  CC      fs/fat/misc.o
  CC      fs/fat/nfs.o
  CC      io_uring/poll.o
  CC      drivers/tty/serial/8250/8250_pnp.o
  AR      lib/xz/built-in.a
  CC      fs/proc/proc_net.o
  CC      net/sunrpc/auth_gss/auth_gss.o
  AR      fs/jbd2/built-in.a
  CC      arch/x86/kernel/cpu/zhaoxin.o
  CC      net/sunrpc/clnt.o
  CC      net/sunrpc/xprt.o
  CC      kernel/irq/cpuhotplug.o
  AR      drivers/gpu/drm/display/built-in.a
  CC      kernel/irq/pm.o
  CC      net/ipv6/netfilter/nf_defrag_ipv6_hooks.o
  CC      kernel/power/swap.o
  AR      net/unix/built-in.a
  AR      kernel/livepatch/built-in.a
  CC      kernel/irq/msi.o
  CC      crypto/algboss.o
  CC      kernel/irq/affinity.o
  CC      crypto/testmgr.o
  CC [M]  net/ipv4/netfilter/iptable_nat.o
  CC      drivers/gpu/drm/ttm/ttm_execbuf_util.o
  CC      drivers/tty/serial/serial_base_bus.o
  AR      net/packet/built-in.a
  CC      net/ethtool/bitset.o
  AR      net/wireless/tests/built-in.a
  CC      fs/ext4/file.o
  CC      net/wireless/core.o
  CC      drivers/acpi/acpica/exfldio.o
  CC      net/wireless/sysfs.o
  CC      security/selinux/ss/services.o
  AR      sound/core/built-in.a
  CC      fs/isofs/dir.o
  LD [M]  sound/core/snd-pcm.o
  AR      sound/parisc/built-in.a
  CC      lib/zstd/common/zstd_common.o
  CC      net/core/dst.o
  AR      sound/mips/built-in.a
  AR      sound/pcmcia/vx/built-in.a
  CC      arch/x86/kernel/cpu/vortex.o
  CC      arch/x86/kernel/x86_init.o
  AR      sound/pcmcia/pdaudiocf/built-in.a
  CC      drivers/base/power/generic_ops.o
  AR      sound/pcmcia/built-in.a
  AR      sound/soc/built-in.a
  CC      kernel/irq/matrix.o
  AR      lib/zstd/built-in.a
  AR      sound/atmel/built-in.a
  CC      lib/bug.o
  AR      sound/hda/built-in.a
  CC      mm/debug.o
  CC      lib/buildid.o
  CC [M]  sound/hda/hda_bus_type.o
  CC      block/blk-ia-ranges.o
  CC      net/netfilter/nfnetlink.o
  AR      net/sched/built-in.a
  CC      net/netfilter/nfnetlink_log.o
  AR      fs/netfs/built-in.a
  CC      net/netfilter/nf_conntrack_core.o
  CC      block/early-lookup.o
  AR      kernel/rcu/built-in.a
  CC      net/xfrm/xfrm_output.o
  CC      block/bounce.o
  CC      net/wireless/radiotap.o
  CC      fs/fat/namei_vfat.o
  CC      drivers/tty/serial/8250/8250_port.o
  CC      mm/gup.o
  AR      sound/x86/built-in.a
  AR      sound/xen/built-in.a
  CC      net/ipv6/anycast.o
  CC      crypto/cmac.o
  CC      fs/nfs/client.o
  CC      arch/x86/kernel/cpu/perfctr-watchdog.o
  CC      fs/nfs/dir.o
  CC      drivers/gpu/drm/ttm/ttm_range_manager.o
  CC      drivers/acpi/acpica/exmisc.o
  CC      fs/nfs/file.o
  CC      kernel/power/user.o
  CC      fs/ext4/fsmap.o
  CC      drivers/base/power/common.o
  CC      block/bsg.o
  CC      drivers/pci/slot.o
  CC      fs/isofs/util.o
  CC      net/ipv6/ip6_output.o
  CC      fs/proc/kcore.o
  CC      fs/exportfs/expfs.o
  CC      arch/x86/kernel/i8259.o
  CC      lib/clz_tab.o
  CC [M]  sound/hda/hdac_bus.o
  CC      lib/cmdline.o
  AR      net/ipv4/netfilter/built-in.a
  CC      drivers/acpi/acpica/exmutex.o
  CC      net/core/netevent.o
  CC      net/ipv4/route.o
  CC      crypto/hmac.o
  CC      net/ipv6/netfilter/nf_conntrack_reasm.o
  CC      net/ethtool/strset.o
  CC      drivers/pci/pci-acpi.o
  CC      drivers/base/power/qos.o
  CC      lib/cpumask.o
  CC      fs/lockd/clntlock.o
  CC      fs/proc/vmcore.o
  CC      arch/x86/kernel/cpu/vmware.o
  CC      fs/lockd/clntproc.o
  CC      drivers/gpu/drm/ttm/ttm_resource.o
  CC      drivers/gpu/drm/ttm/ttm_pool.o
  CC      io_uring/cancel.o
  CC      net/wireless/util.o
  CC      kernel/power/poweroff.o
  CC      fs/ext4/fsync.o
  CC      drivers/acpi/acpica/exnames.o
  CC      fs/isofs/rock.o
  CC      net/core/neighbour.o
  CC      mm/mmap_lock.o
  AR      kernel/irq/built-in.a
  CC      crypto/crypto_null.o
  CC      fs/fat/namei_msdos.o
  CC      crypto/md5.o
  AR      fs/exportfs/built-in.a
  CC      drivers/pci/iomap.o
  CC      net/ipv4/inetpeer.o
  AR      kernel/power/built-in.a
  CC      kernel/dma/mapping.o
  CC      block/blk-cgroup.o
  CC [M]  sound/hda/hdac_device.o
  CC      net/xfrm/xfrm_sysctl.o
  CC      lib/ctype.o
  CC      net/netfilter/nf_conntrack_standalone.o
  CC      net/ipv6/ip6_input.o
  CC      lib/dec_and_lock.o
  CC      block/blk-ioprio.o
  CC      arch/x86/kernel/cpu/hypervisor.o
  CC      kernel/entry/common.o
  CC      drivers/acpi/acpica/exoparg1.o
  CC      net/netfilter/nf_conntrack_expect.o
  CC      net/sunrpc/auth_gss/gss_generic_token.o
  CC      lib/decompress.o
  CC      drivers/tty/serial/8250/8250_dma.o
  CC      lib/decompress_bunzip2.o
  CC      kernel/entry/syscall_user_dispatch.o
  CC      arch/x86/kernel/cpu/mshyperv.o
  CC      fs/ext4/hash.o
  CC      fs/proc/kmsg.o
  CC      crypto/sha256_generic.o
  CC      drivers/gpu/drm/ttm/ttm_device.o
  CC      net/ethtool/linkinfo.o
  CC      crypto/sha512_generic.o
  CC      drivers/pci/quirks.o
  CC      drivers/pci/pci-label.o
  CC      lib/decompress_inflate.o
  CC [M]  sound/hda/hdac_sysfs.o
  CC      fs/isofs/export.o
  CC      drivers/acpi/acpica/exoparg2.o
  CC      fs/proc/page.o
  CC      drivers/base/power/runtime.o
  CC      io_uring/kbuf.o
  AR      fs/fat/built-in.a
  CC      io_uring/rsrc.o
  CC      mm/highmem.o
  CC      net/ipv6/netfilter/nf_reject_ipv6.o
  CC      net/netfilter/nf_conntrack_helper.o
  CC      security/selinux/ss/conditional.o
  CC      fs/lockd/clntxdr.o
  CC      net/ipv6/netfilter/ip6t_ipv6header.o
  CC      block/blk-iolatency.o
  CC      kernel/dma/direct.o
  CC      net/sunrpc/auth_gss/gss_mech_switch.o
  CC      net/netfilter/nf_conntrack_proto.o
  CC [M]  sound/hda/hdac_regmap.o
  CC [M]  sound/hda/hdac_controller.o
  CC      crypto/sha3_generic.o
  CC      net/xfrm/xfrm_replay.o
  CC      drivers/tty/serial/8250/8250_dwlib.o
  CC      net/ipv6/netfilter/ip6t_REJECT.o
  CC      mm/memory.o
  CC      drivers/acpi/acpica/exoparg3.o
  CC      mm/mincore.o
  AR      drivers/tty/ipwireless/built-in.a
  CC      lib/decompress_unlz4.o
  CC      fs/ext4/ialloc.o
  CC      fs/nfs/getroot.o
  AR      kernel/entry/built-in.a
  CC      mm/mlock.o
  CC      drivers/gpu/drm/ttm/ttm_sys_manager.o
  CC      kernel/module/main.o
  CC      drivers/tty/tty_io.o
  CC      fs/isofs/joliet.o
  CC      arch/x86/kernel/irqinit.o
  CC      arch/x86/kernel/cpu/debugfs.o
  CC      lib/decompress_unlzma.o
  AR      fs/proc/built-in.a
  CC      net/ethtool/linkmodes.o
  CC      fs/nls/nls_base.o
  CC [M]  sound/hda/hdac_stream.o
  AR      fs/unicode/built-in.a
  CC      block/blk-iocost.o
  CC      fs/ext4/indirect.o
  CC      drivers/acpi/acpica/exoparg6.o
  CC      crypto/ecb.o
  CC      block/mq-deadline.o
  CC      net/ipv4/protocol.o
  CC      kernel/module/strict_rwx.o
  CC      drivers/pci/vgaarb.o
  CC      drivers/gpu/drm/ttm/ttm_agp_backend.o
  CC      drivers/base/power/wakeirq.o
  CC      net/wireless/reg.o
  CC      net/wireless/scan.o
  CC [M]  sound/hda/array.o
  CC      io_uring/rw.o
  CC      drivers/tty/serial/8250/8250_pcilib.o
  CC      arch/x86/kernel/jump_label.o
  CC      kernel/dma/ops_helpers.o
  CC      drivers/acpi/acpica/exprep.o
  CC      fs/isofs/compress.o
  CC      drivers/gpu/drm/i915/i915_config.o
  CC      arch/x86/kernel/cpu/capflags.o
  CC      fs/nls/nls_cp437.o
  AR      arch/x86/kernel/cpu/built-in.a
  CC      fs/lockd/host.o
  CC      drivers/acpi/acpica/exregion.o
  CC      crypto/cbc.o
  CC      arch/x86/kernel/irq_work.o
  CC      mm/mmap.o
  CC      security/selinux/ss/mls.o
  CC      net/sunrpc/socklib.o
  CC      net/ipv6/addrconf.o
  CC      io_uring/opdef.o
  CC      lib/decompress_unlzo.o
  CC      io_uring/notif.o
  CC      io_uring/waitid.o
  CC      drivers/gpu/drm/i915/i915_driver.o
  CC      fs/nfs/inode.o
  AR      net/ipv6/netfilter/built-in.a
  CC      drivers/tty/serial/serial_ctrl.o
  CC      net/xfrm/xfrm_device.o
  CC      net/sunrpc/auth_gss/svcauth_gss.o
  CC      drivers/base/power/main.o
  CC      io_uring/register.o
  CC      security/selinux/ss/context.o
  CC      block/kyber-iosched.o
  CC      fs/nls/nls_ascii.o
  AR      drivers/gpu/drm/ttm/built-in.a
  CC      drivers/tty/serial/8250/8250_early.o
  CC      drivers/base/power/wakeup.o
  CC      security/selinux/netlabel.o
  CC      drivers/acpi/acpica/exresnte.o
  CC      net/netfilter/nf_conntrack_proto_generic.o
  AR      drivers/gpu/drm/renesas/rcar-du/built-in.a
  CC [M]  sound/hda/hdmi_chmap.o
  CC      crypto/ctr.o
  AR      drivers/gpu/drm/renesas/rz-du/built-in.a
  CC      kernel/dma/dummy.o
  CC      net/core/rtnetlink.o
  AR      drivers/gpu/drm/renesas/built-in.a
  CC      net/ethtool/rss.o
  AR      drivers/gpu/drm/omapdrm/built-in.a
  CC      block/blk-mq-pci.o
  CC      drivers/block/loop.o
  AR      drivers/misc/eeprom/built-in.a
  CC      kernel/dma/remap.o
  AR      drivers/misc/cb710/built-in.a
  AR      drivers/misc/ti-st/built-in.a
  AR      drivers/misc/lis3lv02d/built-in.a
  CC      net/ipv4/ip_input.o
  AR      drivers/misc/cardreader/built-in.a
  AR      drivers/misc/built-in.a
  CC      drivers/block/virtio_blk.o
  CC      lib/decompress_unxz.o
  CC      fs/nls/nls_iso8859-1.o
  AR      fs/isofs/built-in.a
  AR      drivers/pci/built-in.a
  CC      fs/autofs/init.o
  CC      drivers/acpi/acpica/exresolv.o
  CC      fs/autofs/inode.o
  CC      fs/9p/vfs_super.o
  AR      fs/hostfs/built-in.a
  CC      drivers/tty/n_tty.o
  CC      crypto/gcm.o
  CC      fs/9p/vfs_inode.o
  CC      io_uring/truncate.o
  CC      drivers/tty/serial/8250/8250_exar.o
  CC      arch/x86/kernel/probe_roms.o
  CC      lib/decompress_unzstd.o
  CC      fs/nls/nls_utf8.o
  CC      fs/9p/vfs_inode_dotl.o
  CC      arch/x86/kernel/sys_ia32.o
  AR      kernel/dma/built-in.a
  CC      net/netfilter/nf_conntrack_proto_tcp.o
  AR      drivers/gpu/drm/tilcdc/built-in.a
  CC      fs/lockd/svc.o
  CC      fs/lockd/svclock.o
  AR      sound/virtio/built-in.a
  CC      drivers/acpi/acpica/exresop.o
  CC      drivers/gpu/drm/virtio/virtgpu_drv.o
  CC      drivers/gpu/drm/virtio/virtgpu_kms.o
  AR      drivers/gpu/drm/imx/built-in.a
  CC      io_uring/io-wq.o
  CC      drivers/gpu/drm/virtio/virtgpu_gem.o
  CC      kernel/module/kmod.o
  CC      block/blk-mq-virtio.o
  CC      net/xfrm/xfrm_algo.o
  CC [M]  sound/hda/trace.o
  CC      drivers/gpu/drm/virtio/virtgpu_vram.o
  CC      net/sunrpc/xprtsock.o
  CC      net/ethtool/linkstate.o
  AR      fs/nls/built-in.a
  CC      fs/debugfs/inode.o
  CC      drivers/gpu/drm/virtio/virtgpu_display.o
  CC      fs/autofs/root.o
  CC      net/sunrpc/sched.o
  CC      lib/dump_stack.o
  AR      security/selinux/built-in.a
  AR      security/built-in.a
  CC      drivers/base/power/wakeup_stats.o
  CC      drivers/acpi/acpica/exserial.o
  CC      fs/tracefs/inode.o
  CC      drivers/acpi/acpica/exstore.o
  CC      fs/tracefs/event_inode.o
  CC      fs/ext4/inline.o
  CC      drivers/tty/serial/8250/8250_lpss.o
  AR      net/mac80211/tests/built-in.a
  CC      net/mac80211/main.o
  CC      drivers/gpu/drm/i915/i915_drm_client.o
  CC      arch/x86/kernel/ksysfs.o
  CC      crypto/ccm.o
  CC      crypto/aes_generic.o
  CC      drivers/gpu/drm/i915/i915_getparam.o
  CC      arch/x86/kernel/bootflag.o
  CC      net/netlabel/netlabel_user.o
  CC      net/ethtool/debug.o
  CC      net/ipv4/ip_fragment.o
  CC      fs/debugfs/file.o
  CC      fs/ext4/inode.o
  CC      net/ipv6/addrlabel.o
  CC      fs/9p/vfs_addr.o
  CC      fs/ext4/ioctl.o
  AR      drivers/block/built-in.a
  CC      net/ethtool/wol.o
  CC      kernel/module/tree_lookup.o
  AR      drivers/mfd/built-in.a
  CC      net/ethtool/features.o
  CC      drivers/acpi/acpica/exstoren.o
  CC      net/sunrpc/auth_gss/gss_rpc_upcall.o
  CC      drivers/base/power/trace.o
  CC      block/blk-mq-debugfs.o
  CC      lib/earlycpio.o
  CC      drivers/gpu/drm/virtio/virtgpu_vq.o
  CC      net/sunrpc/auth.o
  CC      net/ipv6/route.o
  CC      net/mac80211/status.o
  CC      mm/mmu_gather.o
  CC      lib/extable.o
  CC      drivers/tty/serial/8250/8250_mid.o
  CC [M]  sound/hda/hdac_component.o
  CC      sound/sound_core.o
  CC      net/xfrm/xfrm_user.o
  CC      fs/autofs/symlink.o
  CC      fs/ext4/mballoc.o
  CC      fs/lockd/svcshare.o
  CC      drivers/acpi/acpica/exstorob.o
  CC      net/ipv6/ip6_fib.o
  CC      arch/x86/kernel/e820.o
  CC      drivers/tty/serial/8250/8250_pci.o
  CC      drivers/acpi/acpica/exsystem.o
  CC      io_uring/futex.o
  CC      kernel/module/kallsyms.o
  AR      fs/tracefs/built-in.a
  CC      crypto/crc32c_generic.o
  CC [M]  fs/efivarfs/inode.o
  CC      lib/flex_proportions.o
  CC      net/netfilter/nf_conntrack_proto_udp.o
  CC      crypto/authenc.o
  CC      kernel/module/procfs.o
  CC      fs/9p/vfs_file.o
  CC      arch/x86/kernel/pci-dma.o
  CC      net/netlabel/netlabel_kapi.o
  AR      drivers/base/power/built-in.a
  CC      net/netlabel/netlabel_domainhash.o
  CC      fs/autofs/waitq.o
  CC      drivers/base/firmware_loader/builtin/main.o
  CC      drivers/acpi/acpica/extrace.o
  CC      drivers/base/firmware_loader/main.o
  CC      fs/nfs/super.o
  AR      fs/debugfs/built-in.a
  CC      drivers/gpu/drm/i915/i915_ioctl.o
  CC      crypto/authencesn.o
  CC      arch/x86/kernel/quirks.o
  CC      net/netlabel/netlabel_addrlist.o
  CC      block/blk-pm.o
  CC [M]  sound/hda/hdac_i915.o
  CC      net/ethtool/privflags.o
  CC      fs/9p/vfs_dir.o
  CC      lib/idr.o
  CC      mm/mprotect.o
  CC      fs/9p/vfs_dentry.o
  CC      net/sunrpc/auth_gss/gss_rpc_xdr.o
  AR      drivers/base/firmware_loader/builtin/built-in.a
  CC      net/sunrpc/auth_null.o
  CC [M]  fs/efivarfs/file.o
  CC      net/ipv4/ip_forward.o
  CC      drivers/acpi/acpica/exutils.o
  CC [M]  fs/efivarfs/super.o
  CC      kernel/module/sysfs.o
  CC      mm/mremap.o
  CC      drivers/gpu/drm/virtio/virtgpu_fence.o
  CC      fs/lockd/svcproc.o
  CC      arch/x86/kernel/topology.o
  CC      drivers/gpu/drm/i915/i915_irq.o
  CC      io_uring/napi.o
  CC      block/holder.o
  CC      lib/irq_regs.o
  CC      fs/open.o
  CC      drivers/acpi/acpica/hwacpi.o
  CC      net/ethtool/rings.o
  CC      fs/autofs/expire.o
  CC [M]  sound/hda/intel-dsp-config.o
  CC      net/wireless/nl80211.o
  CC      drivers/tty/serial/8250/8250_pericom.o
  CC      fs/autofs/dev-ioctl.o
  CC      net/netlabel/netlabel_mgmt.o
  CC      fs/9p/v9fs.o
  CC [M]  sound/hda/intel-nhlt.o
  CC      lib/is_single_threaded.o
  CC      net/ipv6/ipv6_sockglue.o
  CC      fs/nfs/io.o
  AR      drivers/base/firmware_loader/built-in.a
  CC      arch/x86/kernel/kdebugfs.o
  CC      net/netfilter/nf_conntrack_proto_icmp.o
  CC      drivers/base/regmap/regmap.o
  CC      net/core/utils.o
  CC      arch/x86/kernel/alternative.o
  CC      crypto/lzo.o
  CC      drivers/acpi/acpica/hwesleep.o
  CC [M]  fs/efivarfs/vars.o
  CC      net/ethtool/channels.o
  CC      net/netlabel/netlabel_unlabeled.o
  AR      kernel/module/built-in.a
  CC      kernel/time/time.o
  CC      net/netlabel/netlabel_cipso_v4.o
  CC      kernel/time/timer.o
  CC      net/ethtool/coalesce.o
  CC      lib/klist.o
  CC      drivers/gpu/drm/virtio/virtgpu_object.o
  CC      kernel/futex/core.o
  CC      drivers/base/regmap/regcache.o
  AR      block/built-in.a
  CC      net/sunrpc/auth_gss/trace.o
  CC      net/sunrpc/auth_tls.o
  CC [M]  sound/hda/intel-sdw-acpi.o
  CC      lib/kobject.o
  CC      drivers/acpi/acpica/hwgpe.o
  CC      drivers/gpu/drm/i915/i915_mitigations.o
  CC      mm/msync.o
  AR      drivers/tty/serial/8250/built-in.a
  CC      drivers/tty/serial/serial_port.o
  CC      drivers/gpu/drm/i915/i915_module.o
  CC      net/ipv4/ip_options.o
  CC      arch/x86/kernel/i8253.o
  CC      fs/9p/fid.o
  CC      fs/9p/xattr.o
  CC      arch/x86/kernel/hw_breakpoint.o
  CC      fs/lockd/svcsubs.o
  AR      fs/autofs/built-in.a
  CC      crypto/lzo-rle.o
  CC      lib/kobject_uevent.o
  CC      net/ethtool/pause.o
  CC      sound/last.o
  AR      net/xfrm/built-in.a
  CC      net/core/link_watch.o
  CC      drivers/gpu/drm/virtio/virtgpu_debugfs.o
  LD [M]  fs/efivarfs/efivarfs.o
  CC      fs/read_write.o
  LD [M]  sound/hda/snd-hda-core.o
  CC      drivers/acpi/acpica/hwregs.o
  LD [M]  sound/hda/snd-intel-dspcfg.o
  LD [M]  sound/hda/snd-intel-sdw-acpi.o
  CC      net/core/filter.o
  CC      fs/nfs/direct.o
  CC      net/mac80211/driver-ops.o
  AR      drivers/nfc/built-in.a
  CC      drivers/gpu/drm/virtio/virtgpu_plane.o
  CC      arch/x86/kernel/tsc.o
  AR      io_uring/built-in.a
  CC      drivers/gpu/drm/i915/i915_params.o
  CC      lib/logic_pio.o
  CC      arch/x86/kernel/tsc_msr.o
  CC      net/mac80211/sta_info.o
  CC      fs/nfs/pagelist.o
  CC      arch/x86/kernel/io_delay.o
  CC      fs/file_table.o
  CC      kernel/futex/syscalls.o
  CC      fs/super.o
  AR      sound/built-in.a
  CC      net/netfilter/nf_conntrack_extend.o
  CC      net/core/sock_diag.o
  CC      mm/page_vma_mapped.o
  CC      lib/maple_tree.o
  CC      drivers/tty/serial/earlycon.o
  CC      crypto/rng.o
  CC      fs/char_dev.o
  CC      net/wireless/mlme.o
  CC      fs/nfs/read.o
  AR      fs/9p/built-in.a
  CC      arch/x86/kernel/rtc.o
  CC      drivers/gpu/drm/i915/i915_pci.o
  CC      drivers/gpu/drm/i915/i915_scatterlist.o
  CC      drivers/acpi/acpica/hwsleep.o
  CC      kernel/futex/pi.o
  CC      kernel/cgroup/cgroup.o
  CC      drivers/gpu/drm/i915/i915_suspend.o
  CC      arch/x86/kernel/resource.o
  CC      net/netlabel/netlabel_calipso.o
  CC      kernel/cgroup/rstat.o
  CC      net/wireless/ibss.o
  CC      drivers/gpu/drm/i915/i915_switcheroo.o
  CC      fs/stat.o
  CC      kernel/futex/requeue.o
  CC      crypto/drbg.o
  CC      fs/lockd/mon.o
  CC      net/ethtool/eee.o
  CC      crypto/jitterentropy.o
  CC      drivers/acpi/acpica/hwvalid.o
  CC      drivers/gpu/drm/virtio/virtgpu_ioctl.o
  CC      net/ipv4/ip_output.o
  CC      net/core/dev_ioctl.o
  CC      net/core/tso.o
  CC      mm/pagewalk.o
  AR      drivers/tty/serial/built-in.a
  CC      mm/pgtable-generic.o
  CC      net/core/sock_reuseport.o
  CC      drivers/tty/tty_ioctl.o
  CC      net/wireless/sme.o
  CC      drivers/acpi/acpica/hwxface.o
  AS      arch/x86/kernel/irqflags.o
  CC      mm/rmap.o
  CC      net/core/fib_notifier.o
  CC      net/ipv6/ndisc.o
  CC      arch/x86/kernel/static_call.o
  CC      drivers/gpu/drm/virtio/virtgpu_prime.o
  CC      arch/x86/kernel/process.o
  CC      kernel/time/hrtimer.o
  CC      drivers/acpi/acpica/hwxfsleep.o
  CC      net/netfilter/nf_conntrack_acct.o
  AR      drivers/base/test/built-in.a
  CC      drivers/base/component.o
  CC      kernel/futex/waitwake.o
  CC      drivers/acpi/device_sysfs.o
  CC      kernel/cgroup/namespace.o
  CC      net/ipv4/ip_sockglue.o
  CC      mm/vmalloc.o
  CC      lib/memcat_p.o
  CC      arch/x86/kernel/ptrace.o
  CC      net/ipv6/udp.o
  AR      net/netlabel/built-in.a
  CC      drivers/gpu/drm/virtio/virtgpu_trace_points.o
  CC      drivers/acpi/acpica/hwpci.o
  CC      crypto/jitterentropy-kcapi.o
  CC      drivers/base/regmap/regcache-rbtree.o
  CC      net/sunrpc/auth_gss/gss_krb5_mech.o
  CC      drivers/gpu/drm/i915/i915_sysfs.o
  CC      lib/nmi_backtrace.o
  CC      arch/x86/kernel/tls.o
  CC      fs/ext4/migrate.o
  CC      net/rfkill/core.o
  CC      net/9p/mod.o
  CC      net/ethtool/tsinfo.o
  CC      lib/objpool.o
  CC      drivers/tty/tty_ldisc.o
  CC      net/dns_resolver/dns_key.o
  CC      fs/lockd/trace.o
  CC      net/dns_resolver/dns_query.o
  CC      net/9p/client.o
  CC      lib/plist.o
  CC      drivers/acpi/acpica/nsaccess.o
  CC      net/ipv4/inet_hashtables.o
  CC      drivers/acpi/device_pm.o
  CC      drivers/base/regmap/regcache-flat.o
  AR      kernel/futex/built-in.a
  CC      crypto/ghash-generic.o
  CC      net/core/xdp.o
  CC      kernel/cgroup/cgroup-v1.o
  CC      drivers/base/core.o
  CC      net/netfilter/nf_conntrack_seqadj.o
  CC      fs/nfs/symlink.o
  CC      drivers/acpi/proc.o
  CC      lib/radix-tree.o
  CC      kernel/cgroup/freezer.o
  CC      kernel/cgroup/legacy_freezer.o
  CC      fs/ext4/mmp.o
  CC      drivers/gpu/drm/virtio/virtgpu_submit.o
  CC      drivers/tty/tty_buffer.o
  CC      net/sunrpc/auth_gss/gss_krb5_seal.o
  CC      drivers/acpi/acpica/nsalloc.o
  CC      arch/x86/kernel/step.o
  CC      fs/nfs/unlink.o
  CC      fs/nfs/write.o
  CC      crypto/hash_info.o
  CC      drivers/tty/tty_port.o
  CC      kernel/time/timekeeping.o
  CC      net/netfilter/nf_conntrack_proto_icmpv6.o
  CC      drivers/gpu/drm/i915/i915_utils.o
  CC      crypto/rsapubkey.asn1.o
  AR      net/dns_resolver/built-in.a
  CC      crypto/rsaprivkey.asn1.o
  CC      drivers/base/regmap/regcache-maple.o
  CC      net/rfkill/input.o
  CC      net/mac80211/wep.o
  CC      net/ethtool/cabletest.o
  CC      net/mac80211/aead_api.o
  AR      crypto/built-in.a
  CC      net/mac80211/wpa.o
  CC      net/mac80211/scan.o
  CC      drivers/acpi/acpica/nsarguments.o
  CC      drivers/tty/tty_mutex.o
  CC      mm/process_vm_access.o
  CC      mm/page_alloc.o
  CC      kernel/cgroup/pids.o
  CC      fs/lockd/xdr.o
  CC      drivers/acpi/bus.o
  CC      arch/x86/kernel/i8237.o
  CC      net/sunrpc/auth_gss/gss_krb5_unseal.o
  CC      net/ipv6/udplite.o
  CC      drivers/base/regmap/regmap-debugfs.o
  CC      net/sunrpc/auth_unix.o
  CC      drivers/acpi/acpica/nsconvert.o
  AR      drivers/gpu/drm/virtio/built-in.a
  CC      net/sunrpc/svc.o
  CC      fs/ext4/move_extent.o
  CC      net/ipv6/raw.o
  CC      lib/ratelimit.o
  CC      arch/x86/kernel/stacktrace.o
  CC      drivers/gpu/drm/i915/intel_clock_gating.o
  AR      net/rfkill/built-in.a
  CC      lib/rbtree.o
  CC      net/handshake/alert.o
  CC      lib/seq_buf.o
  CC      net/9p/error.o
  CC      net/devres.o
  CC      net/9p/protocol.o
  CC      drivers/tty/tty_ldsem.o
  CC      kernel/cgroup/rdma.o
  CC      fs/lockd/clnt4xdr.o
  CC      drivers/base/bus.o
  AR      drivers/gpu/drm/i2c/built-in.a
  AR      drivers/gpu/drm/panel/built-in.a
  CC      fs/nfs/namespace.o
  AR      drivers/gpu/drm/bridge/analogix/built-in.a
  CC      drivers/acpi/acpica/nsdump.o
  CC      net/sunrpc/svcsock.o
  CC      kernel/cgroup/cpuset.o
  AR      drivers/gpu/drm/bridge/cadence/built-in.a
  AR      drivers/gpu/drm/bridge/imx/built-in.a
  CC      kernel/cgroup/misc.o
  AR      drivers/gpu/drm/bridge/synopsys/built-in.a
  CC      net/9p/trans_common.o
  AR      drivers/gpu/drm/bridge/built-in.a
  CC      net/sunrpc/svcauth.o
  AR      drivers/dax/hmem/built-in.a
  CC      net/handshake/genl.o
  AR      drivers/dax/built-in.a
  CC      fs/lockd/xdr4.o
  CC      net/ethtool/tunnels.o
  CC      net/handshake/netlink.o
  CC      net/sunrpc/auth_gss/gss_krb5_wrap.o
  CC      net/handshake/request.o
  CC      drivers/acpi/acpica/nseval.o
  CC      arch/x86/kernel/reboot.o
  CC      net/netfilter/nf_conntrack_netlink.o
  AR      drivers/base/regmap/built-in.a
  CC      drivers/base/dd.o
  CC      lib/siphash.o
  CC      net/ipv4/inet_timewait_sock.o
  CC      net/ipv4/inet_connection_sock.o
  CC      kernel/time/ntp.o
  CC      drivers/acpi/glue.o
  CC      net/mac80211/offchannel.o
  CC      drivers/tty/tty_baudrate.o
  AR      drivers/gpu/drm/mxsfb/built-in.a
  AR      drivers/gpu/drm/hisilicon/built-in.a
  CC      drivers/tty/tty_jobctrl.o
  CC      lib/string.o
  CC      drivers/tty/n_null.o
  CC      net/sunrpc/svcauth_unix.o
  CC      net/sunrpc/addr.o
  CC      fs/ext4/namei.o
  CC      net/handshake/tlshd.o
  CC      net/sunrpc/auth_gss/gss_krb5_crypto.o
  CC      net/sunrpc/rpcb_clnt.o
  CC      mm/init-mm.o
  CC      net/ethtool/fec.o
  CC      fs/lockd/svc4proc.o
  CC      drivers/acpi/acpica/nsinit.o
  CC      net/9p/trans_fd.o
  CC      lib/timerqueue.o
  CC      drivers/tty/pty.o
  CC      drivers/dma-buf/dma-buf.o
  CC      fs/nfs/mount_clnt.o
  CC      drivers/dma-buf/dma-fence.o
  CC      drivers/base/syscore.o
  CC      drivers/tty/tty_audit.o
  CC      net/wireless/chan.o
  CC      lib/vsprintf.o
  CC      drivers/dma-buf/dma-fence-array.o
  CC      arch/x86/kernel/msr.o
  CC      drivers/acpi/acpica/nsload.o
  CC      drivers/acpi/scan.o
  CC      net/ipv4/tcp.o
  CC      kernel/time/clocksource.o
  CC      fs/ext4/page-io.o
  AR      drivers/gpu/drm/tiny/built-in.a
  CC      drivers/dma-buf/dma-fence-chain.o
  CC      drivers/acpi/mipi-disco-img.o
  CC      drivers/acpi/acpica/nsnames.o
  CC      drivers/tty/sysrq.o
  CC      fs/lockd/procfs.o
  CC      fs/exec.o
  CC      lib/win_minmax.o
  CC      drivers/gpu/drm/i915/intel_device_info.o
  CC      kernel/time/jiffies.o
  CC      net/ipv6/icmp.o
  CC      net/ipv4/tcp_input.o
  CC      drivers/dma-buf/dma-fence-unwrap.o
  CC      lib/xarray.o
  AR      drivers/gpu/drm/xlnx/built-in.a
  CC      fs/nfs/nfstrace.o
  AR      drivers/gpu/drm/gud/built-in.a
  CC      drivers/base/driver.o
  CC      net/sunrpc/auth_gss/gss_krb5_keys.o
  CC      drivers/gpu/drm/i915/intel_memory_region.o
  CC      drivers/dma-buf/dma-resv.o
  CC      net/handshake/trace.o
  CC      net/ethtool/eeprom.o
  CC      drivers/acpi/resource.o
  CC      drivers/acpi/acpica/nsobject.o
  CC      drivers/acpi/acpi_processor.o
  CC      kernel/cgroup/debug.o
  CC      arch/x86/kernel/cpuid.o
  CC      drivers/dma-buf/sync_file.o
  CC      drivers/acpi/acpica/nsparse.o
  CC      net/9p/trans_virtio.o
  AR      drivers/gpu/drm/solomon/built-in.a
  CC      drivers/acpi/acpica/nspredef.o
  CC      fs/nfs/export.o
  CC [M]  drivers/gpu/drm/scheduler/sched_main.o
  CC      drivers/acpi/processor_core.o
  CC [M]  drivers/gpu/drm/scheduler/sched_fence.o
  AR      fs/lockd/built-in.a
  CC      fs/pipe.o
  CC      drivers/base/class.o
  CC      kernel/time/timer_list.o
  CC      arch/x86/kernel/early-quirks.o
  CC      lib/lockref.o
  CC      net/netfilter/nf_conntrack_ftp.o
  CC      net/ipv4/tcp_output.o
  CC      drivers/acpi/processor_pdc.o
  AR      drivers/tty/built-in.a
  CC      net/ipv4/tcp_timer.o
  CC      drivers/acpi/acpica/nsprepkg.o
  CC      drivers/acpi/ec.o
  CC      arch/x86/kernel/smp.o
  CC      drivers/acpi/dock.o
  CC      net/ethtool/stats.o
  CC      net/ipv4/tcp_ipv4.o
  CC      drivers/gpu/drm/i915/intel_pcode.o
  CC [M]  drivers/gpu/drm/xe/xe_bb.o
  AR      net/sunrpc/auth_gss/built-in.a
  AR      drivers/dma-buf/built-in.a
  CC      kernel/time/timeconv.o
  AR      drivers/cxl/core/built-in.a
  CC      kernel/time/timecounter.o
  AR      drivers/cxl/built-in.a
  CC [M]  drivers/gpu/drm/scheduler/sched_entity.o
  CC      lib/bcd.o
  CC      drivers/macintosh/mac_hid.o
  CC      drivers/acpi/acpica/nsrepair.o
  CC      net/ipv4/tcp_minisocks.o
  CC      mm/memblock.o
  AR      kernel/cgroup/built-in.a
  CC [M]  drivers/gpu/drm/xe/xe_bo.o
  CC      net/netfilter/nf_conntrack_irc.o
  CC      drivers/gpu/drm/i915/intel_region_ttm.o
  CC      drivers/acpi/acpica/nsrepair2.o
  CC      net/ethtool/phc_vclocks.o
  CC      fs/nfs/sysfs.o
  CC      net/sunrpc/timer.o
  CC      net/ipv4/tcp_cong.o
  CC      drivers/acpi/pci_root.o
  CC      drivers/acpi/acpica/nssearch.o
  CC      net/core/flow_offload.o
  CC      net/core/gro.o
  CC      drivers/base/platform.o
  CC      kernel/time/alarmtimer.o
  CC      drivers/acpi/acpica/nsutils.o
  CC      net/mac80211/ht.o
  CC      net/netfilter/nf_conntrack_sip.o
  CC      net/ipv6/mcast.o
  CC      net/ipv6/reassembly.o
  CC      fs/nfs/fs_context.o
  CC      drivers/gpu/drm/drm_aperture.o
  AR      drivers/macintosh/built-in.a
  AR      net/handshake/built-in.a
  CC      net/socket.o
  AR      drivers/scsi/pcmcia/built-in.a
  CC      drivers/scsi/scsi.o
  CC      net/sysctl_net.o
  AR      net/9p/built-in.a
  CC      fs/nfs/nfsroot.o
  CC      fs/nfs/sysctl.o
  AR      drivers/nvme/common/built-in.a
  CC      fs/nfs/nfs2super.o
  AR      drivers/nvme/host/built-in.a
  CC      net/sunrpc/xdr.o
  CC      drivers/acpi/pci_link.o
  AR      drivers/nvme/target/built-in.a
  CC      lib/sort.o
  AR      drivers/nvme/built-in.a
  CC      fs/nfs/proc.o
  CC      net/ipv6/tcp_ipv6.o
  LD [M]  drivers/gpu/drm/scheduler/gpu-sched.o
  CC      drivers/gpu/drm/drm_atomic.o
  CC      lib/parser.o
  CC      drivers/acpi/acpica/nswalk.o
  CC      arch/x86/kernel/smpboot.o
  CC      net/netfilter/nf_nat_core.o
  CC      drivers/acpi/pci_irq.o
  CC      drivers/gpu/drm/i915/intel_runtime_pm.o
  CC      drivers/gpu/drm/drm_atomic_uapi.o
  CC      net/ethtool/mm.o
  CC      drivers/acpi/acpi_lpss.o
  CC      arch/x86/kernel/tsc_sync.o
  CC      net/ipv6/ping.o
  CC      kernel/trace/trace_clock.o
  CC      lib/debug_locks.o
  CC      kernel/trace/ring_buffer.o
  CC      net/netfilter/nf_nat_proto.o
  CC      kernel/trace/trace.o
  CC      drivers/acpi/acpica/nsxfeval.o
  CC      kernel/trace/trace_output.o
  CC      mm/slub.o
  CC      drivers/base/cpu.o
  CC      lib/random32.o
  CC      mm/madvise.o
  CC      net/ipv4/tcp_metrics.o
  CC      fs/ext4/readpage.o
  CC      mm/page_io.o
  CC      kernel/time/posix-timers.o
  CC      fs/namei.o
  CC      kernel/trace/trace_seq.o
  CC      drivers/acpi/acpica/nsxfname.o
  CC      drivers/base/firmware.o
  CC      net/wireless/ethtool.o
  CC      fs/nfs/nfs2xdr.o
  CC      net/ethtool/module.o
  CC      net/core/netdev-genl.o
  CC      kernel/trace/trace_stat.o
  CC      arch/x86/kernel/setup_percpu.o
  CC      lib/bust_spinlocks.o
  CC      drivers/gpu/drm/drm_auth.o
  CC      drivers/acpi/acpi_apd.o
  CC      net/core/netdev-genl-gen.o
  CC      net/ethtool/pse-pd.o
  CC      drivers/scsi/hosts.o
  CC [M]  drivers/gpu/drm/xe/xe_bo_evict.o
  CC      kernel/time/posix-cpu-timers.o
  CC      arch/x86/kernel/mpparse.o
  CC      arch/x86/kernel/trace_clock.o
  CC      net/core/gso.o
  CC      drivers/gpu/drm/drm_blend.o
  CC      drivers/acpi/acpica/nsxfobj.o
  CC      kernel/bpf/core.o
  CC      drivers/gpu/drm/i915/intel_sbi.o
  CC      drivers/base/init.o
  CC      arch/x86/kernel/trace.o
  CC      drivers/gpu/drm/i915/intel_step.o
  CC      net/ipv6/exthdrs.o
  CC      net/netfilter/nf_nat_helper.o
  CC      net/core/net-sysfs.o
  CC      lib/kasprintf.o
  CC      arch/x86/kernel/rethook.o
  CC      fs/ext4/resize.o
  CC      drivers/acpi/acpica/psargs.o
  CC      arch/x86/kernel/vmcore_info_32.o
  CC      mm/swap_state.o
  CC      net/ipv6/datagram.o
  CC      fs/nfs/nfs3super.o
  CC      net/ethtool/plca.o
  CC      drivers/acpi/acpi_platform.o
  CC      net/ipv4/tcp_fastopen.o
  CC      lib/bitmap.o
  CC      drivers/acpi/acpica/psloop.o
  CC      net/ipv4/tcp_rate.o
  CC      net/ipv6/ip6_flowlabel.o
  CC      kernel/trace/trace_printk.o
  CC      drivers/gpu/drm/drm_bridge.o
  CC      fs/nfs/nfs3client.o
  CC      drivers/base/map.o
  CC [M]  drivers/gpu/drm/xe/xe_debugfs.o
  CC      kernel/time/posix-clock.o
  CC      drivers/scsi/scsi_ioctl.o
  CC      kernel/trace/pid_list.o
  CC      kernel/trace/trace_sched_switch.o
  CC      fs/ext4/super.o
  CC      fs/nfs/nfs3proc.o
  CC      net/ipv6/inet6_connection_sock.o
  CC      net/mac80211/agg-tx.o
  CC      fs/ext4/symlink.o
  CC      arch/x86/kernel/machine_kexec_32.o
  CC      fs/nfs/nfs3xdr.o
  CC      drivers/gpu/drm/drm_cache.o
  CC      drivers/gpu/drm/drm_client.o
  CC      net/ipv6/udp_offload.o
  CC      drivers/acpi/acpica/psobject.o
  CC      kernel/time/itimer.o
  CC      drivers/acpi/acpica/psopcode.o
  CC      kernel/time/clockevents.o
  CC      drivers/gpu/drm/i915/intel_uncore.o
  CC      drivers/base/devres.o
  CC      mm/swapfile.o
  CC      drivers/acpi/acpi_pnp.o
  CC      kernel/trace/trace_nop.o
  CC      lib/scatterlist.o
  CC      fs/nfs/nfs3acl.o
  AS      arch/x86/kernel/relocate_kernel_32.o
  CC      net/netfilter/nf_nat_masquerade.o
  CC      arch/x86/kernel/crash_dump_32.o
  CC      drivers/acpi/acpica/psopinfo.o
  CC      net/ipv4/tcp_recovery.o
  CC      fs/nfs/nfs4proc.o
  CC      kernel/time/tick-common.o
  AR      net/ethtool/built-in.a
  CC      drivers/acpi/power.o
  CC      arch/x86/kernel/crash.o
  CC      lib/list_sort.o
  CC      net/netfilter/nf_nat_ftp.o
  CC      kernel/trace/blktrace.o
  CC [M]  drivers/gpu/drm/xe/xe_devcoredump.o
  CC      drivers/gpu/drm/drm_client_modeset.o
  CC      arch/x86/kernel/module.o
  CC      fs/ext4/sysfs.o
  CC      lib/uuid.o
  CC      lib/iov_iter.o
  CC      fs/ext4/xattr.o
  CC      drivers/scsi/scsicam.o
  CC [M]  drivers/gpu/drm/xe/xe_device.o
  CC      drivers/gpu/drm/drm_color_mgmt.o
  CC      net/sunrpc/sunrpc_syms.o
  CC      lib/clz_ctz.o
  CC [M]  drivers/gpu/drm/xe/xe_device_sysfs.o
  CC      drivers/acpi/acpica/psparse.o
  CC      drivers/base/attribute_container.o
  CC      net/ipv4/tcp_ulp.o
  CC      fs/nfs/nfs4xdr.o
  CC      drivers/acpi/event.o
  CC      fs/ext4/xattr_hurd.o
  CC      lib/bsearch.o
  CC      arch/x86/kernel/doublefault_32.o
  CC      net/core/hotdata.o
  CC      fs/fcntl.o
  CC      kernel/trace/trace_events.o
  CC      kernel/trace/trace_export.o
  CC      fs/ext4/xattr_trusted.o
  CC      net/ipv6/seg6.o
  CC      drivers/scsi/scsi_error.o
  CC      drivers/base/transport_class.o
  CC      fs/ioctl.o
  CC      drivers/acpi/evged.o
  CC      kernel/trace/trace_event_perf.o
  CC      fs/ext4/xattr_user.o
  CC      kernel/trace/trace_events_filter.o
  CC      drivers/acpi/acpica/psscope.o
  CC      lib/find_bit.o
  CC      net/sunrpc/cache.o
  CC      net/mac80211/agg-rx.o
  CC      drivers/scsi/scsi_lib.o
  CC [M]  drivers/gpu/drm/xe/xe_dma_buf.o
  CC      net/ipv6/fib6_notifier.o
  CC      net/wireless/mesh.o
  CC      drivers/acpi/sysfs.o
  CC [M]  drivers/gpu/drm/xe/xe_drm_client.o
  CC [M]  drivers/gpu/drm/xe/xe_exec.o
  CC      kernel/trace/trace_events_trigger.o
  CC      drivers/base/topology.o
  CC      net/ipv4/tcp_offload.o
  CC      mm/swap_slots.o
  AR      kernel/bpf/built-in.a
  CC      drivers/acpi/acpica/pstree.o
  CC      kernel/time/tick-broadcast.o
  CC      drivers/acpi/acpica/psutils.o
  CC      mm/dmapool.o
  CC      net/netfilter/nf_nat_irc.o
  CC      drivers/ata/libata-core.o
  CC      drivers/firewire/init_ohci1394_dma.o
  AR      drivers/net/phy/qcom/built-in.a
  CC      drivers/net/phy/mdio-boardinfo.o
  CC      drivers/ata/libata-scsi.o
  CC [M]  drivers/gpu/drm/xe/xe_execlist.o
  CC      drivers/net/phy/stubs.o
  CC      drivers/cdrom/cdrom.o
  CC      arch/x86/kernel/early_printk.o
  CC      drivers/gpu/drm/drm_connector.o
  CC      net/core/net-procfs.o
  CC      mm/hugetlb.o
  CC      fs/readdir.o
  CC [M]  drivers/gpu/drm/xe/xe_exec_queue.o
  CC      drivers/acpi/property.o
  CC      net/ipv4/tcp_plb.o
  CC      drivers/acpi/acpica/pswalk.o
  CC      kernel/events/core.o
  CC      kernel/fork.o
  CC      kernel/events/ring_buffer.o
  CC      net/core/netpoll.o
  CC      drivers/base/container.o
  CC      drivers/base/property.o
  CC      net/core/fib_rules.o
  CC      lib/llist.o
  CC      net/core/net-traces.o
  CC      arch/x86/kernel/hpet.o
  CC      kernel/time/tick-broadcast-hrtimer.o
  CC      net/mac80211/vht.o
  CC      arch/x86/kernel/amd_nb.o
  CC      drivers/gpu/drm/i915/intel_wakeref.o
  CC      drivers/acpi/acpica/psxface.o
  CC      drivers/gpu/drm/i915/vlv_sideband.o
  CC      lib/lwq.o
  AR      drivers/firewire/built-in.a
  AR      drivers/auxdisplay/built-in.a
  CC      net/ipv6/rpl.o
  CC      drivers/pcmcia/cs.o
  CC      drivers/pcmcia/socket_sysfs.o
  CC      lib/memweight.o
  CC      drivers/net/phy/mdio_devres.o
  CC      drivers/gpu/drm/i915/vlv_suspend.o
  CC [M]  drivers/gpu/drm/xe/xe_force_wake.o
  CC      lib/kfifo.o
  CC      drivers/usb/common/common.o
  CC      lib/percpu-refcount.o
  CC      drivers/usb/common/debug.o
  CC      drivers/usb/core/usb.o
  CC      net/netfilter/nf_nat_sip.o
  CC      kernel/trace/trace_eprobe.o
  CC      kernel/time/tick-oneshot.o
  CC      drivers/usb/core/hub.o
  CC      drivers/acpi/acpica/rsaddr.o
  CC      drivers/usb/core/hcd.o
  CC      net/mac80211/he.o
  CC      drivers/acpi/acpi_cmos_rtc.o
  CC      fs/nfs/nfs4state.o
  CC      drivers/ata/libata-eh.o
  CC      net/wireless/ap.o
  CC      arch/x86/kernel/kvm.o
  CC      kernel/time/tick-sched.o
  CC      net/ipv4/datagram.o
  CC      net/ipv6/ioam6.o
  CC      drivers/scsi/constants.o
  CC      drivers/acpi/acpica/rscalc.o
  CC      net/mac80211/s1g.o
  CC      kernel/trace/trace_kprobe.o
  CC      arch/x86/kernel/kvmclock.o
  CC      kernel/time/timer_migration.o
  CC      drivers/base/cacheinfo.o
  CC      drivers/pcmcia/cardbus.o
  CC      drivers/base/swnode.o
  AR      drivers/usb/common/built-in.a
  CC      lib/rhashtable.o
  CC      kernel/time/vsyscall.o
  CC      drivers/ata/libata-transport.o
  CC [M]  drivers/gpu/drm/xe/xe_ggtt.o
  CC      drivers/net/phy/phy.o
  AR      drivers/usb/phy/built-in.a
  AR      drivers/cdrom/built-in.a
  CC      drivers/gpu/drm/drm_crtc.o
  CC      drivers/usb/mon/mon_main.o
  CC      drivers/input/serio/serio.o
  CC [M]  drivers/gpu/drm/xe/xe_gpu_scheduler.o
  CC      drivers/pcmcia/ds.o
  CC      drivers/acpi/acpica/rscreate.o
  CC      drivers/input/serio/i8042.o
  CC      net/ipv6/sysctl_net_ipv6.o
  CC      net/core/selftests.o
  CC      drivers/gpu/drm/i915/soc/intel_dram.o
  CC      drivers/net/phy/phy-c45.o
  CC      kernel/trace/error_report-traces.o
  CC      drivers/base/auxiliary.o
  CC      drivers/acpi/x86/apple.o
  CC      drivers/input/serio/serport.o
  CC      kernel/trace/power-traces.o
  CC      drivers/scsi/scsi_lib_dma.o
  HOSTCC  drivers/gpu/drm/xe/xe_gen_wa_oob
  CC      net/core/ptp_classifier.o
  CC      net/netfilter/x_tables.o
  CC      kernel/events/callchain.o
  CC      drivers/acpi/acpica/rsdumpinfo.o
  CC      drivers/usb/mon/mon_stat.o
  CC      kernel/exec_domain.o
  CC      net/ipv6/xfrm6_policy.o
  CC      drivers/input/serio/libps2.o
  CC      net/ipv4/raw.o
  CC      net/core/netprio_cgroup.o
  CC      drivers/usb/core/urb.o
  CC [M]  drivers/gpu/drm/xe/xe_gsc_proxy.o
  CC      net/sunrpc/rpc_pipe.o
  CC      drivers/ata/libata-trace.o
  CC      arch/x86/kernel/paravirt.o
  CC      drivers/gpu/drm/drm_displayid.o
  CC      drivers/base/devtmpfs.o
  CC      net/ipv6/xfrm6_state.o
  CC      lib/base64.o
  CC      net/ipv6/xfrm6_input.o
  CC [M]  drivers/gpu/drm/xe/xe_gsc_submit.o
  CC      drivers/acpi/acpica/rsinfo.o
  CC      arch/x86/kernel/pvclock.o
  CC      lib/once.o
  CC      drivers/pcmcia/pcmcia_resource.o
  CC      kernel/trace/rpm-traces.o
  CC      kernel/trace/trace_dynevent.o
  CC      drivers/usb/mon/mon_text.o
  CC      drivers/scsi/scsi_scan.o
  CC      fs/select.o
  CC      fs/nfs/nfs4renewd.o
  CC      net/ipv6/xfrm6_output.o
  CC      kernel/panic.o
  CC      drivers/acpi/acpica/rsio.o
  CC      lib/refcount.o
  CC      drivers/gpu/drm/drm_drv.o
  CC      fs/dcache.o
  CC      net/core/netclassid_cgroup.o
  CC      drivers/net/phy/phy-core.o
  AR      drivers/input/serio/built-in.a
  GEN     drivers/scsi/scsi_devinfo_tbl.c
  CC      drivers/input/keyboard/atkbd.o
  CC      kernel/time/timekeeping_debug.o
  CC      drivers/gpu/drm/i915/soc/intel_gmch.o
  CC      lib/rcuref.o
  CC      fs/inode.o
  CC      arch/x86/kernel/pcspeaker.o
  CC      mm/mmu_notifier.o
  CC      net/ipv6/xfrm6_protocol.o
  CC      drivers/gpu/drm/i915/soc/intel_pch.o
  CC      kernel/trace/trace_probe.o
  CC      kernel/trace/trace_uprobe.o
  CC      drivers/input/mouse/psmouse-base.o
  CC      drivers/gpu/drm/i915/i915_memcpy.o
  AR      drivers/input/joystick/built-in.a
  CC      lib/usercopy.o
  CC      net/netfilter/xt_tcpudp.o
  CC      drivers/acpi/acpica/rsirq.o
  CC      arch/x86/kernel/check.o
  CC [M]  drivers/gpu/drm/xe/xe_gt.o
  CC      drivers/usb/core/message.o
  CC [M]  drivers/gpu/drm/xe/xe_gt_ccs_mode.o
  CC      drivers/net/phy/phy_device.o
  CC      drivers/base/module.o
  CC      net/sunrpc/sysfs.o
  CC      drivers/gpu/drm/drm_dumb_buffers.o
  CC      drivers/ata/libata-sata.o
  CC      lib/errseq.o
  CC [M]  drivers/gpu/drm/xe/xe_gt_clock.o
  CC      drivers/usb/mon/mon_bin.o
  CC      net/ipv6/netfilter.o
  CC      drivers/acpi/acpica/rslist.o
  CC      drivers/ata/libata-sff.o
  CC      net/netfilter/xt_CONNSECMARK.o
  CC      lib/bucket_locks.o
  CC      kernel/time/namespace.o
  CC      net/netfilter/xt_NFLOG.o
  CC      drivers/pcmcia/cistpl.o
  CC      mm/migrate.o
  CC      net/wireless/trace.o
  CC      drivers/base/devcoredump.o
  CC      net/sunrpc/svc_xprt.o
  CC      drivers/scsi/scsi_devinfo.o
  CC      kernel/trace/rethook.o
  CC      fs/nfs/nfs4super.o
  CC      drivers/base/platform-msi.o
  CC      net/ipv4/udp.o
  CC      net/ipv4/udplite.o
  CC      net/ipv4/udp_offload.o
  CC      arch/x86/kernel/uprobes.o
  CC      drivers/gpu/drm/i915/i915_mm.o
  CC      drivers/acpi/acpica/rsmemory.o
  CC      lib/generic-radix-tree.o
  CC      drivers/base/physical_location.o
  AR      drivers/input/keyboard/built-in.a
  CC      net/mac80211/ibss.o
  CC      net/ipv6/proc.o
  CC      mm/page_counter.o
  CC      fs/attr.o
  CC      net/core/dst_cache.o
  CC      net/netfilter/xt_SECMARK.o
  CC      drivers/ata/libata-pmp.o
  CC      drivers/usb/core/driver.o
  CC      drivers/acpi/acpica/rsmisc.o
  CC      drivers/input/mouse/synaptics.o
  AR      drivers/input/tablet/built-in.a
  CC      mm/hugetlb_cgroup.o
  AR      drivers/input/touchscreen/built-in.a
  CC      mm/early_ioremap.o
  CC      net/mac80211/iface.o
  CC      drivers/base/trace.o
  CC      drivers/ata/libata-acpi.o
  CC [M]  drivers/gpu/drm/xe/xe_gt_debugfs.o
  AR      kernel/time/built-in.a
  CC      fs/bad_inode.o
  AR      drivers/input/misc/built-in.a
  CC      drivers/input/input.o
  CC      lib/bitmap-str.o
  CC      fs/file.o
  CC      fs/filesystems.o
  CC      drivers/acpi/acpica/rsserial.o
  CC      net/ipv6/syncookies.o
  CC      drivers/input/input-compat.o
  CC      drivers/usb/core/config.o
  CC [M]  drivers/gpu/drm/xe/xe_gt_freq.o
  AR      drivers/usb/mon/built-in.a
  CC      drivers/ata/libata-pata-timings.o
  CC      mm/secretmem.o
  CC      drivers/ata/ahci.o
  CC      arch/x86/kernel/perf_regs.o
  CC      arch/x86/kernel/tracepoint.o
  CC      lib/string_helpers.o
  CC      drivers/scsi/scsi_sysctl.o
  CC      drivers/usb/host/pci-quirks.o
  CC      drivers/acpi/acpica/rsutils.o
  AR      kernel/trace/built-in.a
  CC      drivers/acpi/acpica/rsxface.o
  CC      drivers/gpu/drm/i915/i915_sw_fence.o
  CC      net/mac80211/link.o
  CC      net/core/gro_cells.o
  CC      drivers/gpu/drm/drm_edid.o
  CC      drivers/usb/host/ehci-hcd.o
  CC      drivers/usb/class/usblp.o
  CC      fs/nfs/nfs4file.o
  CC      net/netfilter/xt_TCPMSS.o
  CC      drivers/pcmcia/pcmcia_cis.o
  CC      drivers/gpu/drm/i915/i915_sw_fence_work.o
  CC      drivers/usb/host/ehci-pci.o
  AR      drivers/base/built-in.a
  CC      drivers/gpu/drm/i915/i915_syncmap.o
  CC      drivers/rtc/lib.o
  CC      drivers/rtc/class.o
  CC      drivers/i2c/algos/i2c-algo-bit.o
  CC      drivers/net/phy/linkmode.o
  CC      drivers/usb/storage/scsiglue.o
  CC      drivers/rtc/interface.o
  CC      net/ipv6/calipso.o
  AR      drivers/usb/misc/built-in.a
  CC      kernel/events/hw_breakpoint.o
  CC      drivers/ata/libahci.o
  CC      drivers/acpi/acpica/tbdata.o
  CC      drivers/ata/ata_piix.o
  CC      drivers/i2c/busses/i2c-i801.o
  CC [M]  drivers/gpu/drm/xe/xe_gt_idle.o
  CC      drivers/usb/storage/protocol.o
  CC      drivers/rtc/nvmem.o
  CC      arch/x86/kernel/itmt.o
  CC      net/ipv6/ah6.o
  CC      drivers/scsi/scsi_proc.o
  AR      drivers/i2c/muxes/built-in.a
  CC      drivers/input/mouse/focaltech.o
  CC      drivers/input/mouse/alps.o
  CC      mm/hmm.o
  CC [M]  drivers/gpu/drm/xe/xe_gt_mcr.o
  CC      drivers/usb/core/file.o
  CC      lib/hexdump.o
  CC      drivers/gpu/drm/i915/i915_user_extensions.o
  CC      net/core/failover.o
  CC      drivers/usb/core/buffer.o
  CC      drivers/usb/host/ohci-hcd.o
  CC      drivers/usb/host/ohci-pci.o
  CC      lib/kstrtox.o
  CC [M]  drivers/gpu/drm/xe/xe_gt_pagefault.o
  AR      drivers/i3c/built-in.a
  CC      drivers/usb/core/sysfs.o
  CC      drivers/usb/core/endpoint.o
  AR      drivers/media/i2c/built-in.a
  CC      drivers/acpi/acpica/tbfadt.o
  AR      drivers/media/tuners/built-in.a
  AR      drivers/media/rc/keymaps/built-in.a
  AR      drivers/media/rc/built-in.a
  AR      drivers/usb/class/built-in.a
  CC      drivers/usb/core/devio.o
  AR      drivers/media/common/b2c2/built-in.a
  CC      drivers/usb/early/ehci-dbgp.o
  AR      drivers/media/common/saa7146/built-in.a
  CC      drivers/net/phy/mdio_bus.o
  AR      drivers/media/common/siano/built-in.a
  CC      drivers/rtc/dev.o
  AR      drivers/media/common/v4l2-tpg/built-in.a
  CC      drivers/rtc/proc.o
  CC      drivers/pcmcia/rsrc_mgr.o
  AR      drivers/media/common/videobuf2/built-in.a
  CC      lib/iomap.o
  CC      drivers/rtc/sysfs.o
  CC      drivers/gpu/drm/i915/i915_debugfs.o
  AR      drivers/media/common/built-in.a
  CC      fs/ext4/fast_commit.o
  CC      arch/x86/kernel/umip.o
  CC      drivers/gpu/drm/i915/i915_debugfs_params.o
  CC      arch/x86/kernel/unwind_frame.o
  AR      drivers/i2c/algos/built-in.a
  CC      drivers/i2c/i2c-boardinfo.o
  AR      drivers/media/platform/allegro-dvt/built-in.a
  CC      drivers/input/mouse/byd.o
  CC      drivers/input/mouse/logips2pp.o
  AR      drivers/media/platform/amlogic/meson-ge2d/built-in.a
  CC      lib/iomap_copy.o
  CC      drivers/usb/storage/transport.o
  AR      drivers/media/platform/amlogic/built-in.a
  CC      drivers/acpi/acpica/tbfind.o
  AR      drivers/media/platform/amphion/built-in.a
  CC      net/netfilter/xt_conntrack.o
  AR      drivers/media/platform/aspeed/built-in.a
  AR      drivers/media/platform/atmel/built-in.a
  AR      drivers/media/platform/cadence/built-in.a
  CC      drivers/scsi/scsi_debugfs.o
  CC      drivers/usb/storage/usb.o
  CC      mm/memfd.o
  CC      drivers/scsi/scsi_trace.o
  AR      drivers/media/platform/chips-media/coda/built-in.a
  CC      drivers/gpu/drm/i915/i915_pmu.o
  AR      drivers/media/platform/chips-media/wave5/built-in.a
  AR      drivers/media/platform/chips-media/built-in.a
  AR      drivers/media/platform/intel/built-in.a
  AR      drivers/media/platform/marvell/built-in.a
  CC      net/ipv4/arp.o
  AR      drivers/media/platform/mediatek/jpeg/built-in.a
  CC      kernel/events/uprobes.o
  AR      drivers/media/platform/mediatek/mdp/built-in.a
  AR      drivers/pps/clients/built-in.a
  AR      drivers/media/platform/mediatek/vcodec/common/built-in.a
  AR      drivers/pps/generators/built-in.a
  AR      drivers/media/platform/mediatek/vcodec/encoder/built-in.a
  AR      drivers/i2c/busses/built-in.a
  CC      drivers/pps/pps.o
  CC      drivers/rtc/rtc-mc146818-lib.o
  AR      drivers/media/platform/mediatek/vpu/built-in.a
  AR      drivers/media/platform/mediatek/vcodec/decoder/built-in.a
  CC      drivers/rtc/rtc-cmos.o
  AR      drivers/media/platform/mediatek/vcodec/built-in.a
  AR      drivers/media/platform/mediatek/mdp3/built-in.a
  AR      drivers/media/platform/mediatek/built-in.a
  AR      net/core/built-in.a
  AR      drivers/media/platform/microchip/built-in.a
  AR      drivers/media/platform/nuvoton/built-in.a
  CC      drivers/usb/host/uhci-hcd.o
  AR      drivers/media/platform/nvidia/tegra-vde/built-in.a
  CC      mm/ptdump.o
  AR      drivers/media/platform/nvidia/built-in.a
  CC      drivers/pcmcia/rsrc_nonstatic.o
  CC      drivers/acpi/acpica/tbinstal.o
  CC      drivers/pcmcia/yenta_socket.o
  AR      drivers/media/platform/nxp/dw100/built-in.a
  AR      drivers/media/platform/nxp/imx-jpeg/built-in.a
  CC      fs/namespace.o
  AR      drivers/media/platform/nxp/imx8-isi/built-in.a
  CC      net/sunrpc/xprtmultipath.o
  AR      drivers/media/platform/nxp/built-in.a
  AR      drivers/media/platform/qcom/camss/built-in.a
  CC      drivers/gpu/drm/i915/gt/gen2_engine_cs.o
  CC      lib/devres.o
  CC      lib/check_signature.o
  AR      drivers/media/platform/qcom/venus/built-in.a
  AR      drivers/media/platform/qcom/built-in.a
  CC      lib/interval_tree.o
  CC      fs/nfs/delegation.o
  AR      drivers/usb/early/built-in.a
  CC      fs/nfs/nfs4idmap.o
  AR      drivers/media/platform/renesas/rcar-vin/built-in.a
  CC      fs/nfs/callback.o
  AR      drivers/media/platform/renesas/rzg2l-cru/built-in.a
  AR      drivers/media/platform/renesas/vsp1/built-in.a
  CC      lib/assoc_array.o
  AR      drivers/media/platform/renesas/built-in.a
  CC      lib/bitrev.o
  CC      drivers/i2c/i2c-core-base.o
  AR      arch/x86/kernel/built-in.a
  CC      net/ipv6/esp6.o
  AR      drivers/media/platform/rockchip/rga/built-in.a
  AR      arch/x86/built-in.a
  AR      drivers/media/platform/rockchip/rkisp1/built-in.a
  CC      fs/seq_file.o
  AR      drivers/media/platform/rockchip/built-in.a
  AR      drivers/media/platform/samsung/exynos-gsc/built-in.a
  CC      fs/xattr.o
  AR      drivers/media/platform/samsung/exynos4-is/built-in.a
  CC      drivers/acpi/acpica/tbprint.o
  AR      drivers/media/platform/samsung/s3c-camif/built-in.a
  CC      drivers/ata/pata_amd.o
  AR      drivers/media/platform/samsung/s5p-g2d/built-in.a
  CC      drivers/input/mouse/lifebook.o
  CC      drivers/usb/host/xhci.o
  AR      drivers/media/platform/samsung/s5p-jpeg/built-in.a
  CC      kernel/cpu.o
  AR      drivers/media/platform/samsung/s5p-mfc/built-in.a
  AR      drivers/media/platform/samsung/built-in.a
  CC      drivers/ata/pata_oldpiix.o
  CC      net/ipv6/sit.o
  AR      drivers/media/platform/st/sti/bdisp/built-in.a
  CC      drivers/ata/pata_sch.o
  AR      drivers/media/platform/st/sti/c8sectpfe/built-in.a
  AR      drivers/media/platform/st/sti/delta/built-in.a
  AR      drivers/media/platform/st/sti/hva/built-in.a
  CC      drivers/pps/kapi.o
  AR      drivers/media/platform/st/stm32/built-in.a
  AR      drivers/media/platform/st/built-in.a
  CC      drivers/input/input-mt.o
  CC      drivers/scsi/scsi_logging.o
  AR      drivers/media/platform/sunxi/sun4i-csi/built-in.a
  CC      drivers/net/phy/mdio_device.o
  AR      drivers/media/platform/sunxi/sun6i-csi/built-in.a
  AR      drivers/media/platform/ti/am437x/built-in.a
  AR      drivers/media/platform/sunxi/sun6i-mipi-csi2/built-in.a
  AR      drivers/media/platform/sunxi/sun8i-a83t-mipi-csi2/built-in.a
  AR      drivers/media/platform/ti/cal/built-in.a
  AR      drivers/media/platform/sunxi/sun8i-di/built-in.a
  CC      lib/crc-ccitt.o
  AR      drivers/media/platform/ti/vpe/built-in.a
  AR      drivers/media/platform/ti/davinci/built-in.a
  AR      drivers/media/platform/sunxi/sun8i-rotate/built-in.a
  CC      drivers/input/input-poller.o
  CC      drivers/net/phy/swphy.o
  AR      drivers/media/platform/sunxi/built-in.a
  CC [M]  drivers/gpu/drm/xe/xe_gt_sysfs.o
  AR      drivers/media/platform/ti/j721e-csi2rx/built-in.a
  AR      mm/built-in.a
  AR      drivers/media/platform/ti/omap/built-in.a
  CC      drivers/net/phy/fixed_phy.o
  AR      drivers/media/platform/verisilicon/built-in.a
  AR      drivers/media/platform/ti/omap3isp/built-in.a
  CC      drivers/input/ff-core.o
  AR      drivers/media/platform/ti/built-in.a
  CC      drivers/acpi/acpica/tbutils.o
  CC      drivers/usb/storage/initializers.o
  AR      drivers/media/platform/via/built-in.a
  AR      drivers/media/platform/xilinx/built-in.a
  AR      drivers/media/platform/built-in.a
  AR      drivers/media/pci/ttpci/built-in.a
  AR      drivers/media/pci/b2c2/built-in.a
  AR      drivers/media/pci/pluto2/built-in.a
  CC      net/netfilter/xt_policy.o
  AR      drivers/media/pci/dm1105/built-in.a
  AR      drivers/media/pci/pt1/built-in.a
  CC      drivers/input/touchscreen.o
  AR      drivers/media/pci/pt3/built-in.a
  AR      drivers/media/pci/mantis/built-in.a
  AR      drivers/rtc/built-in.a
  AR      drivers/media/pci/ngene/built-in.a
  CC      drivers/input/ff-memless.o
  AR      drivers/media/pci/ddbridge/built-in.a
  AR      drivers/media/pci/saa7146/built-in.a
  AR      drivers/media/usb/b2c2/built-in.a
  AR      drivers/media/pci/smipcie/built-in.a
  AR      drivers/media/usb/dvb-usb/built-in.a
  CC      drivers/ata/pata_mpiix.o
  AR      drivers/media/pci/netup_unidvb/built-in.a
  AR      drivers/media/mmc/siano/built-in.a
  CC      lib/crc16.o
  AR      drivers/media/usb/dvb-usb-v2/built-in.a
  AR      drivers/media/mmc/built-in.a
  AR      drivers/media/pci/intel/ipu3/built-in.a
  AR      drivers/media/usb/s2255/built-in.a
  AR      drivers/media/pci/intel/ivsc/built-in.a
  CC      drivers/net/phy/realtek.o
  CC      drivers/input/mouse/trackpoint.o
  AR      drivers/media/pci/intel/built-in.a
  CC      drivers/usb/storage/sierra_ms.o
  AR      drivers/media/usb/siano/built-in.a
  AR      drivers/media/pci/built-in.a
  AR      drivers/media/usb/ttusb-budget/built-in.a
  AR      drivers/media/usb/ttusb-dec/built-in.a
  AR      drivers/media/usb/built-in.a
  CC      drivers/scsi/scsi_pm.o
  CC      net/netfilter/xt_state.o
  CC      drivers/input/sparse-keymap.o
  AR      drivers/media/firewire/built-in.a
  CC      drivers/pps/sysfs.o
  AR      drivers/media/spi/built-in.a
  AR      drivers/media/test-drivers/built-in.a
  CC      drivers/usb/core/notify.o
  AR      drivers/media/built-in.a
  CC      drivers/usb/host/xhci-mem.o
  CC      drivers/gpu/drm/i915/gt/gen6_engine_cs.o
  CC      drivers/acpi/acpica/tbxface.o
  CC      drivers/input/vivaldi-fmap.o
  CC      net/mac80211/rate.o
  CC      drivers/input/input-leds.o
  CC      fs/libfs.o
  CC      drivers/ata/ata_generic.o
  CC      net/sunrpc/stats.o
  CC      drivers/gpu/drm/drm_eld.o
  AR      drivers/pcmcia/built-in.a
  CC      drivers/input/evdev.o
  CC      drivers/ptp/ptp_clock.o
  CC      drivers/ptp/ptp_chardev.o
  CC      fs/nfs/callback_xdr.o
  HOSTCC  lib/gen_crc32table
  CC      drivers/gpu/drm/drm_encoder.o
  CC      lib/xxhash.o
  CC [M]  drivers/gpu/drm/xe/xe_gt_throttle.o
  CC      drivers/ptp/ptp_sysfs.o
  AR      kernel/events/built-in.a
  CC      drivers/acpi/x86/utils.o
  CC      lib/genalloc.o
  CC      drivers/gpu/drm/drm_file.o
  CC      kernel/exit.o
  CC [M]  net/netfilter/nf_log_syslog.o
  CC      drivers/scsi/scsi_bsg.o
  AR      drivers/pps/built-in.a
  CC [M]  drivers/gpu/drm/xe/xe_gt_tlb_invalidation.o
  CC      drivers/gpu/drm/i915/gt/gen6_ppgtt.o
  CC      drivers/power/supply/power_supply_core.o
  CC      drivers/acpi/acpica/tbxfload.o
  CC      drivers/ptp/ptp_vclock.o
  CC      fs/fs-writeback.o
  CC      net/ipv4/icmp.o
  CC      drivers/power/supply/power_supply_sysfs.o
  CC      kernel/softirq.o
  CC      drivers/usb/core/generic.o
  CC      drivers/input/mouse/cypress_ps2.o
  CC      drivers/usb/storage/option_ms.o
  CC      drivers/gpu/drm/drm_fourcc.o
  CC      net/sunrpc/sysctl.o
  CC [M]  net/netfilter/xt_mark.o
  CC      fs/nfs/callback_proc.o
  CC      net/mac80211/michael.o
  CC      drivers/hwmon/hwmon.o
  CC      net/ipv6/addrconf_core.o
  CC      net/ipv4/devinet.o
  AR      drivers/net/phy/built-in.a
  CC      drivers/acpi/acpica/tbxfroot.o
  CC      drivers/i2c/i2c-core-smbus.o
  AR      drivers/net/pse-pd/built-in.a
  CC      lib/percpu_counter.o
  CC      drivers/net/mdio/acpi_mdio.o
  CC      lib/audit.o
  CC      drivers/gpu/drm/i915/gt/gen7_renderclear.o
  AR      drivers/ata/built-in.a
  CC      net/ipv4/af_inet.o
  CC      lib/syscall.o
  CC      fs/ext4/orphan.o
  CC      drivers/net/mdio/fwnode_mdio.o
  CC [M]  drivers/gpu/drm/xe/xe_gt_topology.o
  GEN     xe_wa_oob.c xe_wa_oob.h
  CC [M]  drivers/gpu/drm/xe/xe_guc_ct.o
  CC      drivers/gpu/drm/drm_framebuffer.o
  CC      drivers/scsi/scsi_common.o
  CC      net/ipv6/exthdrs_core.o
  CC      drivers/scsi/scsi_transport_spi.o
  CC      drivers/ptp/ptp_kvm_x86.o
  CC      net/ipv6/ip6_checksum.o
  CC [M]  drivers/gpu/drm/xe/xe_guc_db_mgr.o
  CC      drivers/power/supply/power_supply_leds.o
  CC      net/mac80211/tkip.o
  CC      net/ipv4/igmp.o
  CC      drivers/usb/core/quirks.o
  CC      drivers/acpi/acpica/utaddress.o
  CC      drivers/input/mouse/psmouse-smbus.o
  CC      drivers/usb/storage/usual-tables.o
  CC      net/mac80211/aes_cmac.o
  CC      kernel/resource.o
  CC      lib/errname.o
  CC      lib/nlattr.o
  CC      drivers/scsi/virtio_scsi.o
  CC      lib/cpu_rmap.o
  CC      drivers/scsi/sd.o
  AR      drivers/thermal/broadcom/built-in.a
  CC [M]  drivers/gpu/drm/xe/xe_guc_debugfs.o
  AR      drivers/thermal/samsung/built-in.a
  CC      drivers/power/supply/power_supply_hwmon.o
  CC      drivers/thermal/intel/intel_tcc.o
  CC [M]  drivers/gpu/drm/xe/xe_guc_hwconfig.o
  CC      drivers/acpi/acpica/utalloc.o
  AR      drivers/thermal/st/built-in.a
  CC [M]  net/netfilter/xt_nat.o
  AR      drivers/watchdog/built-in.a
  CC      drivers/acpi/acpica/utascii.o
  CC      net/mac80211/aes_gmac.o
  CC      drivers/gpu/drm/i915/gt/gen8_engine_cs.o
  CC      lib/dynamic_queue_limits.o
  AR      drivers/net/mdio/built-in.a
  CC      drivers/thermal/intel/therm_throt.o
  CC      drivers/ptp/ptp_kvm_common.o
  CC      lib/glob.o
  AR      drivers/net/pcs/built-in.a
  CC [M]  drivers/gpu/drm/xe/xe_guc_id_mgr.o
  CC      drivers/md/md.o
  AR      drivers/net/ethernet/3com/built-in.a
  AR      drivers/usb/storage/built-in.a
  AR      drivers/net/wireless/admtek/built-in.a
  CC      drivers/net/ethernet/8390/ne2k-pci.o
  CC      net/ipv6/ip6_icmp.o
  AR      drivers/net/wireless/ath/built-in.a
  CC      drivers/md/md-bitmap.o
  CC      fs/nfs/nfs4namespace.o
  AR      drivers/net/wireless/atmel/built-in.a
  CC      drivers/usb/core/devices.o
  AR      drivers/net/wireless/broadcom/built-in.a
  CC      fs/ext4/acl.o
  AR      drivers/net/wireless/intersil/built-in.a
  AR      drivers/net/wireless/intel/built-in.a
  CC      drivers/scsi/sr.o
  AR      drivers/net/wireless/marvell/built-in.a
  AR      drivers/net/wireless/mediatek/built-in.a
  CC      drivers/usb/core/phy.o
  AR      drivers/hwmon/built-in.a
  AR      drivers/net/wireless/microchip/built-in.a
  CC      fs/nfs/nfs4getroot.o
  AR      drivers/input/mouse/built-in.a
  AR      drivers/input/built-in.a
  AR      drivers/net/wireless/purelifi/built-in.a
  AR      drivers/power/supply/built-in.a
  AR      drivers/power/built-in.a
  AR      drivers/net/wireless/quantenna/built-in.a
  AR      drivers/net/ethernet/adaptec/built-in.a
  CC      fs/ext4/xattr_security.o
  CC [M]  drivers/thermal/intel/x86_pkg_temp_thermal.o
  AR      drivers/net/wireless/ralink/built-in.a
  CC      fs/pnode.o
  CC      drivers/acpi/acpica/utbuffer.o
  AR      drivers/net/wireless/realtek/built-in.a
  CC      net/wireless/ocb.o
  AR      drivers/net/wireless/rsi/built-in.a
  CC      drivers/usb/host/xhci-ext-caps.o
  CC      net/mac80211/fils_aead.o
  AR      drivers/net/wireless/silabs/built-in.a
  CC      drivers/gpu/drm/drm_gem.o
  AR      drivers/net/wireless/st/built-in.a
  AR      drivers/net/wireless/ti/built-in.a
  CC      drivers/usb/host/xhci-ring.o
  AR      drivers/net/wireless/zydas/built-in.a
  AR      drivers/net/wireless/virtual/built-in.a
  CC      drivers/usb/host/xhci-hub.o
  CC      drivers/i2c/i2c-core-acpi.o
  AR      drivers/net/wireless/built-in.a
  CC      fs/splice.o
  CC      drivers/i2c/i2c-smbus.o
  CC [M]  drivers/gpu/drm/xe/xe_guc_klv_helpers.o
  CC      net/ipv6/output_core.o
  CC      drivers/acpi/acpica/utcksum.o
  CC      fs/nfs/nfs4client.o
  CC      kernel/sysctl.o
  CC [M]  drivers/gpu/drm/xe/xe_guc_log.o
  CC      drivers/scsi/sr_ioctl.o
  AR      drivers/ptp/built-in.a
  CC      fs/nfs/nfs4session.o
  CC      drivers/usb/host/xhci-dbg.o
  AR      net/sunrpc/built-in.a
  CC      drivers/usb/host/xhci-trace.o
  CC      lib/strncpy_from_user.o
  CC      drivers/net/ethernet/8390/8390.o
  CC      drivers/gpu/drm/drm_ioctl.o
  CC [M]  drivers/gpu/drm/xe/xe_guc_pc.o
  CC      drivers/acpi/acpica/utcopy.o
  CC [M]  drivers/gpu/drm/xe/xe_guc_submit.o
  CC [M]  drivers/gpu/drm/xe/xe_heci_gsc.o
  AR      drivers/thermal/qcom/built-in.a
  CC      drivers/acpi/x86/s2idle.o
  CC      drivers/usb/core/port.o
  CC      kernel/capability.o
  AR      drivers/net/usb/built-in.a
  CC      drivers/net/mii.o
  CC      net/ipv4/fib_frontend.o
  CC [M]  net/netfilter/xt_LOG.o
  CC      fs/sync.o
  CC      kernel/ptrace.o
  CC      drivers/net/loopback.o
  AR      drivers/thermal/intel/built-in.a
  AR      drivers/thermal/tegra/built-in.a
  AR      fs/ext4/built-in.a
  CC      drivers/acpi/debugfs.o
  CC      drivers/scsi/sr_vendor.o
  AR      drivers/thermal/mediatek/built-in.a
  CC      drivers/thermal/thermal_core.o
  CC      drivers/acpi/acpi_lpat.o
  CC [M]  net/netfilter/xt_MASQUERADE.o
  CC      drivers/acpi/acpi_pcc.o
  CC      fs/utimes.o
  CC      drivers/cpufreq/cpufreq.o
  CC [M]  drivers/gpu/drm/xe/xe_hw_engine.o
  CC      drivers/gpu/drm/i915/gt/gen8_ppgtt.o
  CC      drivers/gpu/drm/i915/gt/intel_breadcrumbs.o
  CC      drivers/usb/host/xhci-debugfs.o
  AR      drivers/i2c/built-in.a
  CC      lib/strnlen_user.o
  CC      fs/nfs/dns_resolve.o
  CC      drivers/acpi/acpica/utexcep.o
  CC      drivers/usb/core/hcd-pci.o
  CC      net/mac80211/cfg.o
  CC      drivers/gpu/drm/drm_lease.o
  CC      net/ipv6/protocol.o
  CC      drivers/acpi/ac.o
  CC      drivers/acpi/button.o
  CC      drivers/thermal/thermal_sysfs.o
  CC      drivers/acpi/fan_core.o
  CC      drivers/cpuidle/governors/menu.o
  CC      kernel/user.o
  CC      drivers/gpu/drm/drm_managed.o
  CC      drivers/acpi/acpica/utdebug.o
  CC      fs/nfs/nfs4trace.o
  AR      drivers/mmc/built-in.a
  CC      drivers/scsi/sg.o
  AR      drivers/ufs/built-in.a
  CC      fs/d_path.o
  CC      drivers/usb/core/usb-acpi.o
  AR      drivers/leds/trigger/built-in.a
  CC      fs/nfs/nfs4sysctl.o
  AR      drivers/leds/blink/built-in.a
  AR      drivers/leds/simple/built-in.a
  CC      drivers/leds/led-core.o
  CC      lib/net_utils.o
  CC      drivers/leds/led-class.o
  AR      drivers/firmware/arm_ffa/built-in.a
  CC [M]  drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.o
  AR      drivers/net/ethernet/8390/built-in.a
  CC [M]  drivers/gpu/drm/xe/xe_hw_fence.o
  AR      drivers/firmware/arm_scmi/built-in.a
  AR      drivers/firmware/broadcom/built-in.a
  CC      drivers/acpi/acpica/utdecode.o
  AR      drivers/net/ethernet/agere/built-in.a
  AR      drivers/firmware/cirrus/built-in.a
  CC      drivers/cpuidle/cpuidle.o
  AR      drivers/net/ethernet/alacritech/built-in.a
  AR      drivers/firmware/meson/built-in.a
  AR      drivers/firmware/microchip/built-in.a
  AR      drivers/net/ethernet/alteon/built-in.a
  CC      drivers/net/netconsole.o
  AR      drivers/net/ethernet/amazon/built-in.a
  AR      drivers/net/ethernet/amd/built-in.a
  CC      net/ipv4/fib_semantics.o
  AR      drivers/net/ethernet/aquantia/built-in.a
  AR      drivers/net/ethernet/arc/built-in.a
  CC      drivers/firmware/efi/libstub/efi-stub-helper.o
  CC      drivers/acpi/fan_attr.o
  AR      drivers/net/ethernet/asix/built-in.a
  CC      drivers/net/virtio_net.o
  CC      drivers/firmware/efi/libstub/gop.o
  AR      drivers/net/ethernet/atheros/built-in.a
  CC      drivers/gpu/drm/drm_mm.o
  AR      drivers/net/ethernet/cadence/built-in.a
  CC      drivers/net/ethernet/broadcom/bnx2.o
  AR      drivers/firmware/imx/built-in.a
  CC      drivers/cpuidle/governors/haltpoll.o
  CC [M]  net/netfilter/xt_addrtype.o
  CC      lib/sg_pool.o
  CC      drivers/acpi/acpica/utdelete.o
  CC      lib/stackdepot.o
  CC      kernel/signal.o
  AR      drivers/crypto/stm32/built-in.a
  CC      drivers/gpu/drm/drm_mode_config.o
  CC      drivers/clocksource/acpi_pm.o
  CC      drivers/hid/usbhid/hid-core.o
  AR      drivers/crypto/xilinx/built-in.a
  CC      drivers/hid/hid-core.o
  CC      drivers/clocksource/i8253.o
  AR      drivers/crypto/hisilicon/built-in.a
  AR      drivers/crypto/intel/keembay/built-in.a
  CC      drivers/gpu/drm/drm_mode_object.o
  AR      drivers/crypto/intel/ixp4xx/built-in.a
  AR      drivers/crypto/intel/built-in.a
  AR      drivers/crypto/starfive/built-in.a
  CC      drivers/hid/hid-input.o
  AR      drivers/crypto/built-in.a
  CC [M]  drivers/gpu/drm/xe/xe_huc.o
  CC      drivers/gpu/drm/drm_modes.o
  AR      drivers/platform/x86/amd/built-in.a
  CC      drivers/thermal/thermal_trip.o
  CC      drivers/net/ethernet/broadcom/tg3.o
  AR      drivers/platform/x86/intel/built-in.a
  CC      drivers/leds/led-triggers.o
  CC      drivers/platform/x86/wmi.o
  CC      net/ipv6/ip6_offload.o
  CC      drivers/usb/host/xhci-pci.o
  AR      drivers/usb/core/built-in.a
  CC      lib/asn1_decoder.o
  GEN     lib/oid_registry_data.c
  CC      drivers/acpi/acpi_video.o
  CC      drivers/acpi/acpica/uterror.o
  CC      net/ipv4/fib_trie.o
  AR      drivers/firmware/psci/built-in.a
  CC      drivers/cpuidle/driver.o
  CC      drivers/cpuidle/governor.o
  CC      drivers/thermal/thermal_helpers.o
  CC      drivers/gpu/drm/drm_modeset_lock.o
  CC      net/ipv4/fib_notifier.o
  CC      drivers/gpu/drm/i915/gt/intel_context.o
  CC      drivers/cpufreq/freq_table.o
  CC      drivers/acpi/acpica/uteval.o
  CC      net/ipv6/tcpv6_offload.o
  CC      drivers/firmware/efi/libstub/secureboot.o
  CC      drivers/thermal/thermal_hwmon.o
  CC      fs/stack.o
  CC      net/wireless/pmsr.o
  AR      drivers/clocksource/built-in.a
  CC      drivers/thermal/gov_step_wise.o
  CC      drivers/net/net_failover.o
  CC [M]  drivers/gpu/drm/xe/xe_huc_debugfs.o
  CC      drivers/md/md-autodetect.o
  CC      kernel/sys.o
  CC      drivers/cpuidle/sysfs.o
  CC      lib/ucs2_string.o
  CC      net/mac80211/ethtool.o
  CC      drivers/gpu/drm/drm_plane.o
  CC      drivers/md/dm.o
  CC      drivers/md/dm-table.o
  AR      drivers/cpuidle/governors/built-in.a
  CC      net/ipv6/exthdrs_offload.o
  CC      kernel/umh.o
  CC      net/ipv6/inet6_hashtables.o
  CC      net/ipv6/mcast_snoop.o
  AR      drivers/leds/built-in.a
  CC [M]  drivers/gpu/drm/xe/xe_irq.o
  CC      drivers/platform/x86/wmi-bmof.o
  CC      drivers/firmware/efi/libstub/tpm.o
  CC      drivers/acpi/acpica/utglobal.o
  CC      drivers/scsi/scsi_sysfs.o
  CC      drivers/platform/x86/eeepc-laptop.o
  CC      drivers/cpufreq/cpufreq_performance.o
  CC      drivers/cpufreq/cpufreq_userspace.o
  CC      fs/fs_struct.o
  AR      net/netfilter/built-in.a
  CC      drivers/thermal/gov_user_space.o
  CC      kernel/workqueue.o
  CC      fs/statfs.o
  CC      lib/sbitmap.o
  CC      drivers/firmware/efi/libstub/file.o
  CC      drivers/hid/usbhid/hiddev.o
  CC      drivers/cpuidle/poll_state.o
  CC      drivers/acpi/acpica/uthex.o
  CC [M]  drivers/gpu/drm/xe/xe_lrc.o
  CC      net/ipv4/inet_fragment.o
  CC      fs/fs_pin.o
  CC      drivers/gpu/drm/drm_prime.o
  CC      drivers/platform/x86/p2sb.o
  CC      drivers/cpufreq/cpufreq_ondemand.o
  CC      drivers/cpuidle/cpuidle-haltpoll.o
  AR      drivers/thermal/built-in.a
  CC      drivers/acpi/video_detect.o
  CC      drivers/firmware/efi/efi-bgrt.o
  CC      drivers/firmware/efi/efi.o
  CC [M]  drivers/gpu/drm/xe/xe_migrate.o
  CC      fs/nsfs.o
  CC      drivers/firmware/efi/libstub/mem.o
  CC      net/ipv4/ping.o
  CC      drivers/acpi/acpica/utids.o
  CC      drivers/md/dm-target.o
  AR      drivers/usb/host/built-in.a
  AR      drivers/usb/built-in.a
  CC      net/mac80211/rx.o
  GEN     net/wireless/shipped-certs.c
  CC      net/wireless/shipped-certs.o
  CC      drivers/mailbox/mailbox.o
  CC      drivers/md/dm-linear.o
  CC      drivers/mailbox/pcc.o
  CC      drivers/acpi/processor_driver.o
  CC      drivers/cpufreq/cpufreq_governor.o
  CC      drivers/gpu/drm/i915/gt/intel_context_sseu.o
  CC      drivers/gpu/drm/i915/gt/intel_engine_cs.o
  CC      net/ipv4/ip_tunnel_core.o
  CC      lib/group_cpus.o
  AR      drivers/cpuidle/built-in.a
  CC      drivers/firmware/efi/vars.o
  CC [M]  drivers/gpu/drm/xe/xe_mmio.o
  CC      drivers/acpi/processor_thermal.o
  CC      drivers/firmware/efi/reboot.o
  CC      kernel/pid.o
  CC      drivers/acpi/acpica/utinit.o
  CC      drivers/acpi/acpica/utlock.o
  CC      drivers/firmware/efi/libstub/random.o
  AR      drivers/platform/x86/built-in.a
  AR      drivers/platform/surface/built-in.a
  AR      drivers/platform/built-in.a
  AR      net/ipv6/built-in.a
  AR      drivers/perf/built-in.a
  CC      drivers/firmware/efi/memattr.o
  AR      drivers/hwtracing/intel_th/built-in.a
  CC      drivers/cpufreq/cpufreq_governor_attr_set.o
  CC      drivers/gpu/drm/drm_print.o
  AR      drivers/scsi/built-in.a
  CC      drivers/firmware/efi/libstub/randomalloc.o
  CC      drivers/hid/usbhid/hid-pidff.o
  AR      drivers/firmware/qcom/built-in.a
  AR      drivers/firmware/smccc/built-in.a
  CC      drivers/acpi/processor_idle.o
  CC      drivers/firmware/efi/libstub/pci.o
  CC      fs/fs_types.o
  CC      drivers/hid/hid-quirks.o
  CC      kernel/task_work.o
  CC      drivers/firmware/efi/libstub/skip_spaces.o
  CC      net/mac80211/spectmgmt.o
  CC      drivers/firmware/efi/libstub/lib-cmdline.o
  CC      drivers/gpu/drm/drm_property.o
  CC      drivers/cpufreq/acpi-cpufreq.o
  AR      drivers/mailbox/built-in.a
  CC      net/ipv4/gre_offload.o
  CC      lib/fw_table.o
  CC      drivers/acpi/acpica/utmath.o
  CC      net/ipv4/metrics.o
  CC      drivers/firmware/efi/tpm.o
  CC      drivers/firmware/efi/memmap.o
  AR      lib/lib.a
  CC      drivers/gpu/drm/drm_syncobj.o
  AR      drivers/firmware/tegra/built-in.a
  CC      drivers/firmware/efi/capsule.o
  CC      drivers/acpi/processor_throttling.o
  CC      drivers/firmware/efi/esrt.o
  AR      drivers/firmware/xilinx/built-in.a
  CC      drivers/acpi/processor_perflib.o
  CC      net/ipv4/netlink.o
  CC      drivers/gpu/drm/i915/gt/intel_engine_heartbeat.o
  AR      fs/nfs/built-in.a
  CC [M]  drivers/gpu/drm/xe/xe_mocs.o
  CC      drivers/gpu/drm/drm_sysfs.o
  CC      drivers/acpi/container.o
  CC      drivers/md/dm-stripe.o
  CC      drivers/firmware/dmi_scan.o
  CC      fs/fs_context.o
  CC      drivers/acpi/thermal_lib.o
  CC      drivers/firmware/efi/runtime-wrappers.o
  CC      drivers/acpi/acpica/utmisc.o
  CC      drivers/firmware/efi/libstub/lib-ctype.o
  CC      net/ipv4/nexthop.o
  GEN     lib/crc32table.h
  CC      drivers/cpufreq/amd-pstate.o
  CC      drivers/firmware/efi/libstub/alignedmem.o
  CC      lib/oid_registry.o
  CC      drivers/firmware/efi/libstub/relocate.o
  CC      kernel/extable.o
  CC      fs/fs_parser.o
  CC      drivers/gpu/drm/i915/gt/intel_engine_pm.o
  CC      drivers/hid/hid-debug.o
  CC      net/ipv4/udp_tunnel_stub.o
  CC      net/ipv4/ip_tunnel.o
  CC      drivers/firmware/dmi-id.o
  CC      drivers/acpi/thermal.o
  CC      drivers/cpufreq/amd-pstate-trace.o
  CC      drivers/acpi/acpica/utmutex.o
  CC      drivers/cpufreq/intel_pstate.o
  CC [M]  drivers/gpu/drm/xe/xe_module.o
  CC      drivers/gpu/drm/drm_trace_points.o
  CC      net/ipv4/sysctl_net_ipv4.o
  CC      drivers/acpi/acpica/utnonansi.o
  AR      drivers/android/built-in.a
  CC      kernel/params.o
  AR      drivers/hid/usbhid/built-in.a
  CC      net/mac80211/tx.o
  CC      lib/crc32.o
  AR      drivers/nvmem/layouts/built-in.a
  CC      net/ipv4/proc.o
  CC      net/ipv4/fib_rules.o
  CC      drivers/nvmem/core.o
  CC      drivers/hid/hidraw.o
  CC      drivers/acpi/acpi_memhotplug.o
  CC      drivers/acpi/acpica/utobject.o
  CC      net/mac80211/key.o
  CC      drivers/md/dm-ioctl.o
  CC      drivers/md/dm-io.o
  CC      drivers/gpu/drm/drm_vblank.o
  CC      drivers/firmware/efi/libstub/printk.o
  CC      net/mac80211/util.o
  CC      drivers/acpi/acpica/utosi.o
  CC [M]  drivers/gpu/drm/xe/xe_oa.o
  CC      net/mac80211/parse.o
  CC      drivers/acpi/acpica/utownerid.o
  CC      drivers/firmware/memmap.o
  AR      net/wireless/built-in.a
  CC      drivers/hid/hid-generic.o
  CC      fs/fsopen.o
  CC      drivers/acpi/ioapic.o
  CC      drivers/hid/hid-a4tech.o
  CC      drivers/gpu/drm/i915/gt/intel_engine_user.o
  CC [M]  drivers/gpu/drm/xe/xe_pat.o
  CC      fs/init.o
  CC      fs/kernel_read_file.o
  AR      drivers/net/ethernet/brocade/built-in.a
  AR      drivers/net/ethernet/cavium/common/built-in.a
  AR      drivers/net/ethernet/cavium/thunder/built-in.a
  AR      drivers/net/ethernet/cavium/liquidio/built-in.a
  CC      drivers/gpu/drm/drm_vblank_work.o
  AR      drivers/net/ethernet/cavium/octeon/built-in.a
  CC      drivers/gpu/drm/drm_vma_manager.o
  CC      drivers/acpi/acpica/utpredef.o
  AR      drivers/net/ethernet/cavium/built-in.a
  AR      lib/built-in.a
  CC      drivers/acpi/acpica/utresdecode.o
  CC      fs/mnt_idmapping.o
  CC      drivers/hid/hid-apple.o
  CC      drivers/acpi/battery.o
  CC      drivers/gpu/drm/i915/gt/intel_execlists_submission.o
  CC      drivers/gpu/drm/i915/gt/intel_ggtt.o
  AR      drivers/net/ethernet/chelsio/built-in.a
  CC [M]  drivers/gpu/drm/xe/xe_pci.o
  CC      drivers/acpi/acpica/utresrc.o
  CC      net/mac80211/wme.o
  CC      kernel/kthread.o
  CC      drivers/gpu/drm/drm_writeback.o
  CC      kernel/sys_ni.o
  CC      kernel/nsproxy.o
  CC      drivers/gpu/drm/i915/gt/intel_ggtt_fencing.o
  CC      drivers/gpu/drm/i915/gt/intel_gt.o
  CC      drivers/acpi/acpica/utstate.o
  CC      net/mac80211/chan.o
  CC [M]  drivers/gpu/drm/xe/xe_pcode.o
  CC      kernel/notifier.o
  CC      drivers/firmware/efi/libstub/vsprintf.o
  CC      drivers/hid/hid-belkin.o
  AR      drivers/net/ethernet/cisco/built-in.a
  AR      drivers/net/ethernet/cortina/built-in.a
  CC      drivers/gpu/drm/i915/gt/intel_gt_buffer_pool.o
  AR      drivers/net/ethernet/dec/tulip/built-in.a
  CC      drivers/gpu/drm/i915/gt/intel_gt_ccs_mode.o
  AR      drivers/net/ethernet/dec/built-in.a
  AR      drivers/nvmem/built-in.a
  CC      drivers/acpi/acpica/utstring.o
  CC      kernel/ksysfs.o
  CC [M]  drivers/gpu/drm/xe/xe_perf.o
  CC      drivers/gpu/drm/i915/gt/intel_gt_clock_utils.o
  CC      drivers/gpu/drm/i915/gt/intel_gt_debugfs.o
  CC      drivers/gpu/drm/drm_panel.o
  CC      drivers/gpu/drm/drm_pci.o
  CC      drivers/firmware/efi/libstub/x86-stub.o
  AR      drivers/net/ethernet/dlink/built-in.a
  STUBCPY drivers/firmware/efi/libstub/alignedmem.stub.o
  CC      fs/remap_range.o
  CC      net/ipv4/ipmr.o
  CC      net/ipv4/ipmr_base.o
  CC      drivers/acpi/acpica/utstrsuppt.o
  CC      drivers/firmware/efi/capsule-loader.o
  CC      drivers/acpi/acpica/utstrtoul64.o
  CC      net/ipv4/syncookies.o
  CC      drivers/gpu/drm/i915/gt/intel_gt_engines_debugfs.o
  STUBCPY drivers/firmware/efi/libstub/efi-stub-helper.stub.o
  CC      drivers/gpu/drm/i915/gt/intel_gt_irq.o
  AR      drivers/net/ethernet/emulex/built-in.a
  CC      drivers/gpu/drm/i915/gt/intel_gt_mcr.o
  CC      drivers/gpu/drm/drm_debugfs.o
  CC      drivers/acpi/acpica/utxface.o
  CC      net/mac80211/trace.o
  CC [M]  drivers/gpu/drm/xe/xe_pm.o
  CC      drivers/gpu/drm/drm_debugfs_crc.o
  CC      drivers/firmware/efi/earlycon.o
  CC [M]  drivers/gpu/drm/xe/xe_preempt_fence.o
  CC      drivers/gpu/drm/drm_panel_orientation_quirks.o
  CC      net/ipv4/tunnel4.o
  CC      fs/pidfs.o
  CC      drivers/hid/hid-cherry.o
  CC [M]  drivers/gpu/drm/xe/xe_pt.o
  CC      kernel/cred.o
  STUBCPY drivers/firmware/efi/libstub/file.stub.o
  CC      drivers/hid/hid-chicony.o
  STUBCPY drivers/firmware/efi/libstub/gop.stub.o
  STUBCPY drivers/firmware/efi/libstub/lib-cmdline.stub.o
  STUBCPY drivers/firmware/efi/libstub/lib-ctype.stub.o
  STUBCPY drivers/firmware/efi/libstub/mem.stub.o
  STUBCPY drivers/firmware/efi/libstub/pci.stub.o
  STUBCPY drivers/firmware/efi/libstub/printk.stub.o
  STUBCPY drivers/firmware/efi/libstub/random.stub.o
  CC      drivers/md/dm-kcopyd.o
  STUBCPY drivers/firmware/efi/libstub/randomalloc.stub.o
  STUBCPY drivers/firmware/efi/libstub/relocate.stub.o
  CC      drivers/acpi/acpica/utxfinit.o
  CC      net/mac80211/mlme.o
  CC [M]  drivers/gpu/drm/xe/xe_pt_walk.o
  AR      drivers/cpufreq/built-in.a
  CC [M]  drivers/gpu/drm/xe/xe_query.o
  CC      drivers/gpu/drm/drm_buddy.o
  CC      drivers/acpi/bgrt.o
  CC      fs/buffer.o
  AR      drivers/net/ethernet/engleder/built-in.a
  CC      drivers/gpu/drm/i915/gt/intel_gt_pm.o
  CC      drivers/acpi/spcr.o
  CC      drivers/gpu/drm/drm_gem_shmem_helper.o
  CC      kernel/reboot.o
  CC      drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.o
  CC      drivers/gpu/drm/i915/gt/intel_gt_pm_irq.o
  CC [M]  drivers/gpu/drm/xe/xe_range_fence.o
  STUBCPY drivers/firmware/efi/libstub/secureboot.stub.o
  CC      drivers/gpu/drm/i915/gt/intel_gt_requests.o
  STUBCPY drivers/firmware/efi/libstub/skip_spaces.stub.o
  STUBCPY drivers/firmware/efi/libstub/tpm.stub.o
  CC      drivers/gpu/drm/i915/gt/intel_gt_sysfs.o
  STUBCPY drivers/firmware/efi/libstub/vsprintf.stub.o
  STUBCPY drivers/firmware/efi/libstub/x86-stub.stub.o
  AR      drivers/firmware/efi/libstub/lib.a
  CC      drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.o
  CC      net/mac80211/tdls.o
  CC      fs/mpage.o
  CC      drivers/acpi/acpica/utxferror.o
  CC      drivers/acpi/acpica/utxfmutex.o
  CC      drivers/gpu/drm/drm_atomic_helper.o
  AR      drivers/firmware/efi/built-in.a
  AR      drivers/firmware/built-in.a
  CC      drivers/gpu/drm/drm_atomic_state_helper.o
  CC      drivers/hid/hid-cypress.o
  CC [M]  drivers/gpu/drm/xe/xe_reg_sr.o
  CC      drivers/gpu/drm/i915/gt/intel_gtt.o
  CC      kernel/async.o
  CC      fs/proc_namespace.o
  CC      drivers/gpu/drm/i915/gt/intel_llc.o
  CC      drivers/gpu/drm/i915/gt/intel_lrc.o
  CC      net/ipv4/ipconfig.o
  CC      drivers/gpu/drm/i915/gt/intel_migrate.o
  CC      drivers/gpu/drm/drm_bridge_connector.o
  CC      drivers/hid/hid-ezkey.o
  CC      drivers/gpu/drm/i915/gt/intel_mocs.o
  CC [M]  drivers/gpu/drm/xe/xe_reg_whitelist.o
  CC      drivers/gpu/drm/i915/gt/intel_ppgtt.o
  CC      net/mac80211/ocb.o
  CC      fs/direct-io.o
  AR      drivers/acpi/acpica/built-in.a
  CC      drivers/gpu/drm/i915/gt/intel_rc6.o
  CC      drivers/gpu/drm/drm_crtc_helper.o
  AR      drivers/net/ethernet/ezchip/built-in.a
  CC      drivers/md/dm-sysfs.o
  AR      drivers/acpi/built-in.a
  CC      drivers/md/dm-stats.o
  CC      drivers/gpu/drm/drm_damage_helper.o
  CC      kernel/range.o
  CC      drivers/gpu/drm/drm_encoder_slave.o
  CC      net/mac80211/airtime.o
  CC      kernel/smpboot.o
  CC [M]  drivers/gpu/drm/xe/xe_rtp.o
  CC      drivers/md/dm-rq.o
  CC      drivers/md/dm-io-rewind.o
  CC      kernel/ucount.o
  CC      drivers/md/dm-builtin.o
  CC      drivers/gpu/drm/i915/gt/intel_region_lmem.o
  CC      kernel/regset.o
  CC      net/ipv4/netfilter.o
  CC      net/mac80211/eht.o
  CC [M]  drivers/gpu/drm/xe/xe_ring_ops.o
  CC      fs/eventpoll.o
  CC      drivers/hid/hid-gyration.o
  CC      drivers/hid/hid-ite.o
  CC      drivers/gpu/drm/drm_flip_work.o
  CC [M]  drivers/gpu/drm/xe/xe_sa.o
  CC      drivers/gpu/drm/drm_format_helper.o
  CC      fs/anon_inodes.o
  CC      drivers/gpu/drm/i915/gt/intel_renderstate.o
  CC      drivers/gpu/drm/drm_gem_atomic_helper.o
  CC      drivers/gpu/drm/i915/gt/intel_reset.o
  CC      drivers/gpu/drm/i915/gt/intel_ring.o
  CC      kernel/ksyms_common.o
  CC      kernel/groups.o
  AR      drivers/net/ethernet/fujitsu/built-in.a
  AR      drivers/net/ethernet/fungible/built-in.a
  CC      drivers/gpu/drm/drm_gem_framebuffer_helper.o
  AR      drivers/net/ethernet/google/built-in.a
  CC      net/mac80211/led.o
  CC      drivers/gpu/drm/drm_kms_helper_common.o
  CC      drivers/hid/hid-kensington.o
  CC      net/ipv4/tcp_cubic.o
  CC      drivers/md/dm-raid1.o
  CC      drivers/gpu/drm/drm_modeset_helper.o
  CC      drivers/gpu/drm/drm_plane_helper.o
  CC      drivers/gpu/drm/drm_probe_helper.o
  CC      kernel/kcmp.o
  CC      drivers/hid/hid-lg.o
  CC      drivers/md/dm-log.o
  CC      drivers/gpu/drm/drm_rect.o
  CC      drivers/hid/hid-lgff.o
  CC      net/ipv4/tcp_sigpool.o
  CC      drivers/md/dm-region-hash.o
  CC      net/mac80211/pm.o
  CC      drivers/md/dm-zero.o
  CC      drivers/gpu/drm/i915/gt/intel_ring_submission.o
  CC      fs/signalfd.o
  CC      drivers/gpu/drm/drm_self_refresh_helper.o
  CC      kernel/freezer.o
  CC      drivers/gpu/drm/i915/gt/intel_rps.o
  CC      fs/timerfd.o
  CC      net/ipv4/cipso_ipv4.o
  CC      net/mac80211/rc80211_minstrel_ht.o
  CC      drivers/hid/hid-lg4ff.o
  CC [M]  drivers/gpu/drm/xe/xe_sched_job.o
  CC      drivers/hid/hid-lg-g15.o
  CC [M]  drivers/gpu/drm/xe/xe_step.o
  AR      drivers/net/ethernet/huawei/built-in.a
  CC      drivers/net/ethernet/intel/e1000/e1000_main.o
  CC      net/ipv4/xfrm4_policy.o
  CC      drivers/net/ethernet/intel/e1000/e1000_hw.o
  CC      drivers/net/ethernet/intel/e1000e/82571.o
  CC      drivers/net/ethernet/intel/e1000/e1000_ethtool.o
  CC      net/ipv4/xfrm4_state.o
  CC      drivers/net/ethernet/intel/e1000e/ich8lan.o
  CC      drivers/gpu/drm/drm_simple_kms_helper.o
  CC      drivers/gpu/drm/bridge/panel.o
  CC      fs/eventfd.o
  CC      drivers/gpu/drm/i915/gt/intel_sa_media.o
  CC      drivers/gpu/drm/i915/gt/intel_sseu.o
  CC      drivers/gpu/drm/i915/gt/intel_sseu_debugfs.o
  CC      drivers/gpu/drm/drm_mipi_dsi.o
  CC      net/ipv4/xfrm4_input.o
  CC      drivers/net/ethernet/intel/e1000/e1000_param.o
  CC      drivers/hid/hid-microsoft.o
  CC      drivers/hid/hid-monterey.o
  CC      net/mac80211/wbrf.o
  CC      fs/aio.o
  CC      fs/locks.o
  CC [M]  drivers/gpu/drm/drm_exec.o
  CC      kernel/profile.o
  CC [M]  drivers/gpu/drm/xe/xe_sync.o
  CC      fs/binfmt_misc.o
  CC [M]  drivers/gpu/drm/xe/xe_tile.o
  CC      fs/binfmt_script.o
  CC      net/ipv4/xfrm4_output.o
  CC      fs/binfmt_elf.o
  CC      fs/mbcache.o
  CC      drivers/net/ethernet/intel/e100.o
  AR      drivers/md/built-in.a
  CC      fs/posix_acl.o
  CC      fs/coredump.o
  CC      drivers/hid/hid-ntrig.o
  CC [M]  drivers/gpu/drm/drm_gpuvm.o
  CC      drivers/hid/hid-pl.o
  AR      drivers/net/ethernet/i825xx/built-in.a
  CC      drivers/gpu/drm/i915/gt/intel_timeline.o
  AR      drivers/net/ethernet/microsoft/built-in.a
  CC [M]  drivers/gpu/drm/drm_suballoc.o
  CC      drivers/gpu/drm/i915/gt/intel_tlb.o
  CC      net/ipv4/xfrm4_protocol.o
  AR      drivers/net/ethernet/broadcom/built-in.a
  AR      drivers/net/ethernet/litex/built-in.a
  CC      drivers/gpu/drm/i915/gt/intel_wopcm.o
  CC      drivers/gpu/drm/i915/gt/intel_workarounds.o
  CC      drivers/gpu/drm/i915/gt/shmem_utils.o
  AR      drivers/net/ethernet/marvell/octeon_ep/built-in.a
  CC      drivers/gpu/drm/i915/gt/sysfs_engines.o
  CC [M]  drivers/gpu/drm/drm_gem_ttm_helper.o
  AR      drivers/net/ethernet/marvell/octeon_ep_vf/built-in.a
  AR      drivers/net/ethernet/marvell/octeontx2/built-in.a
  CC      drivers/gpu/drm/i915/gt/intel_ggtt_gmch.o
  CC [M]  drivers/gpu/drm/xe/xe_tile_sysfs.o
  CC      drivers/hid/hid-petalynx.o
  AR      drivers/net/ethernet/marvell/prestera/built-in.a
  CC      drivers/gpu/drm/i915/gt/gen6_renderstate.o
  CC      kernel/stacktrace.o
  CC      drivers/net/ethernet/marvell/sky2.o
  CC      fs/drop_caches.o
  CC      drivers/net/ethernet/intel/e1000e/80003es2lan.o
  CC      drivers/gpu/drm/i915/gt/gen7_renderstate.o
  CC [M]  drivers/gpu/drm/xe/xe_trace.o
  CC      fs/sysctls.o
  CC      drivers/gpu/drm/i915/gt/gen8_renderstate.o
  CC      drivers/gpu/drm/i915/gt/gen9_renderstate.o
  CC      drivers/gpu/drm/i915/gem/i915_gem_busy.o
  CC [M]  drivers/gpu/drm/xe/xe_ttm_sys_mgr.o
  CC [M]  drivers/gpu/drm/xe/xe_ttm_stolen_mgr.o
  CC      drivers/hid/hid-redragon.o
  CC      drivers/net/ethernet/intel/e1000e/mac.o
  LD [M]  drivers/gpu/drm/drm_suballoc_helper.o
  CC      drivers/net/ethernet/intel/e1000e/manage.o
  CC      fs/fhandle.o
  CC      drivers/gpu/drm/i915/gem/i915_gem_clflush.o
  CC      drivers/net/ethernet/intel/e1000e/nvm.o
  CC      drivers/gpu/drm/i915/gem/i915_gem_context.o
  AR      drivers/net/ethernet/mellanox/built-in.a
  AR      drivers/net/ethernet/micrel/built-in.a
  AR      drivers/net/ethernet/microchip/built-in.a
  CC      drivers/gpu/drm/i915/gem/i915_gem_create.o
  AR      drivers/net/ethernet/mscc/built-in.a
  AR      drivers/net/ethernet/myricom/built-in.a
  AR      drivers/net/ethernet/natsemi/built-in.a
  CC      drivers/gpu/drm/i915/gem/i915_gem_dmabuf.o
  CC      drivers/gpu/drm/i915/gem/i915_gem_domain.o
  CC      kernel/dma.o
  AR      drivers/net/ethernet/neterion/built-in.a
  CC      drivers/hid/hid-samsung.o
  AR      drivers/net/ethernet/netronome/built-in.a
  AR      drivers/net/ethernet/ni/built-in.a
  CC      drivers/hid/hid-sony.o
  CC      drivers/net/ethernet/nvidia/forcedeth.o
  AR      drivers/net/ethernet/oki-semi/built-in.a
  CC      kernel/smp.o
  AR      drivers/net/ethernet/packetengines/built-in.a
  CC      kernel/uid16.o
  CC      drivers/net/ethernet/intel/e1000e/phy.o
  CC [M]  drivers/gpu/drm/xe/xe_ttm_vram_mgr.o
  LD [M]  drivers/gpu/drm/drm_ttm_helper.o
  CC      drivers/hid/hid-sunplus.o
  CC      drivers/hid/hid-topseed.o
  CC [M]  drivers/gpu/drm/xe/xe_tuning.o
  CC      drivers/gpu/drm/i915/gem/i915_gem_execbuffer.o
  CC      drivers/gpu/drm/i915/gem/i915_gem_internal.o
  CC      drivers/gpu/drm/i915/gem/i915_gem_lmem.o
  CC      drivers/gpu/drm/i915/gem/i915_gem_mman.o
  CC      drivers/gpu/drm/i915/gem/i915_gem_object.o
  CC      drivers/gpu/drm/i915/gem/i915_gem_pages.o
  CC      drivers/gpu/drm/i915/gem/i915_gem_phys.o
  CC      drivers/gpu/drm/i915/gem/i915_gem_pm.o
  AR      net/ipv4/built-in.a
  CC      drivers/gpu/drm/i915/gem/i915_gem_region.o
  CC      drivers/gpu/drm/i915/gem/i915_gem_shmem.o
  CC      kernel/kallsyms.o
  CC      kernel/acct.o
  CC [M]  drivers/gpu/drm/xe/xe_uc.o
  CC      kernel/vmcore_info.o
  CC [M]  drivers/gpu/drm/xe/xe_uc_debugfs.o
  CC      drivers/net/ethernet/intel/e1000e/param.o
  CC      drivers/net/ethernet/intel/e1000e/ethtool.o
  CC [M]  drivers/gpu/drm/xe/xe_uc_fw.o
  CC [M]  drivers/gpu/drm/xe/xe_vm.o
  CC [M]  drivers/gpu/drm/xe/xe_vram_freq.o
  CC      drivers/gpu/drm/i915/gem/i915_gem_shrinker.o
  CC      drivers/gpu/drm/i915/gem/i915_gem_stolen.o
  CC      drivers/gpu/drm/i915/gem/i915_gem_throttle.o
  CC      drivers/gpu/drm/i915/gem/i915_gem_tiling.o
  CC      drivers/net/ethernet/intel/e1000e/netdev.o
  AR      fs/built-in.a
  CC      kernel/elfcorehdr.o
  CC      drivers/net/ethernet/intel/e1000e/ptp.o
  CC      kernel/crash_reserve.o
  CC      drivers/gpu/drm/i915/gem/i915_gem_ttm.o
  CC      drivers/gpu/drm/i915/gem/i915_gem_ttm_move.o
  CC      drivers/gpu/drm/i915/gem/i915_gem_ttm_pm.o
  CC      drivers/gpu/drm/i915/gem/i915_gem_userptr.o
  CC [M]  drivers/gpu/drm/xe/xe_wait_user_fence.o
  AR      drivers/net/ethernet/intel/e1000/built-in.a
  CC      drivers/gpu/drm/i915/gem/i915_gem_wait.o
  AR      drivers/net/ethernet/qlogic/built-in.a
  AR      drivers/net/ethernet/qualcomm/emac/built-in.a
  AR      drivers/net/ethernet/qualcomm/built-in.a
  CC      kernel/kexec_core.o
  CC      drivers/net/ethernet/realtek/8139too.o
  CC [M]  drivers/gpu/drm/xe/xe_wa.o
  CC [M]  drivers/gpu/drm/xe/xe_wopcm.o
  CC      drivers/net/ethernet/realtek/r8169_main.o
  CC      kernel/crash_core.o
  CC [M]  drivers/gpu/drm/xe/xe_hmm.o
  AR      drivers/hid/built-in.a
  CC      drivers/gpu/drm/i915/gem/i915_gemfs.o
  CC      kernel/kexec.o
  CC      drivers/gpu/drm/i915/i915_active.o
  CC      drivers/gpu/drm/i915/i915_cmd_parser.o
  CC      drivers/gpu/drm/i915/i915_deps.o
  CC [M]  drivers/gpu/drm/xe/xe_hwmon.o
  CC      drivers/gpu/drm/i915/i915_gem.o
  CC      kernel/utsname.o
  CC      drivers/gpu/drm/i915/i915_gem_evict.o
  CC      kernel/pid_namespace.o
  CC      drivers/gpu/drm/i915/i915_gem_gtt.o
  CC      kernel/stop_machine.o
  CC      drivers/gpu/drm/i915/i915_gem_ww.o
  CC      drivers/gpu/drm/i915/i915_query.o
  CC      kernel/audit.o
  CC [M]  drivers/gpu/drm/xe/xe_gt_sriov_vf.o
  CC [M]  drivers/gpu/drm/xe/xe_gt_sriov_vf_debugfs.o
  CC [M]  drivers/gpu/drm/xe/xe_guc_relay.o
  CC      drivers/gpu/drm/i915/i915_request.o
  CC      kernel/auditfilter.o
  CC      drivers/gpu/drm/i915/i915_scheduler.o
  CC [M]  drivers/gpu/drm/xe/xe_memirq.o
  CC      drivers/gpu/drm/i915/i915_trace_points.o
  CC      drivers/gpu/drm/i915/i915_ttm_buddy_manager.o
  CC [M]  drivers/gpu/drm/xe/xe_sriov.o
  CC      drivers/gpu/drm/i915/i915_vma.o
  CC [M]  drivers/gpu/drm/xe/display/ext/i915_irq.o
  CC      drivers/gpu/drm/i915/i915_vma_resource.o
  CC      kernel/auditsc.o
  CC      drivers/gpu/drm/i915/gt/uc/intel_gsc_fw.o
  CC [M]  drivers/gpu/drm/xe/display/ext/i915_utils.o
  AR      drivers/net/ethernet/renesas/built-in.a
  AR      drivers/net/ethernet/rdc/built-in.a
  CC      drivers/net/ethernet/realtek/r8169_firmware.o
  CC      kernel/audit_watch.o
  AR      drivers/net/ethernet/rocker/built-in.a
  CC      kernel/audit_fsnotify.o
  CC      drivers/gpu/drm/i915/gt/uc/intel_gsc_proxy.o
  CC      kernel/audit_tree.o
  CC      drivers/gpu/drm/i915/gt/uc/intel_gsc_uc.o
  CC      drivers/gpu/drm/i915/gt/uc/intel_gsc_uc_debugfs.o
  CC      drivers/gpu/drm/i915/gt/uc/intel_gsc_uc_heci_cmd_submit.o
  CC      drivers/gpu/drm/i915/gt/uc/intel_guc.o
  CC      kernel/kprobes.o
  CC      drivers/gpu/drm/i915/gt/uc/intel_guc_ads.o
  AR      drivers/net/ethernet/marvell/built-in.a
  AR      drivers/net/ethernet/samsung/built-in.a
  AR      drivers/net/ethernet/seeq/built-in.a
  CC      drivers/gpu/drm/i915/gt/uc/intel_guc_capture.o
  CC [M]  drivers/gpu/drm/xe/display/intel_fb_bo.o
  CC      kernel/seccomp.o
  AR      drivers/net/ethernet/silan/built-in.a
  CC      kernel/relay.o
  CC [M]  drivers/gpu/drm/xe/display/intel_fbdev_fb.o
  CC [M]  drivers/gpu/drm/xe/display/xe_display.o
  CC      drivers/gpu/drm/i915/gt/uc/intel_guc_ct.o
  CC      drivers/net/ethernet/realtek/r8169_phy_config.o
  CC      drivers/gpu/drm/i915/gt/uc/intel_guc_debugfs.o
  CC      drivers/gpu/drm/i915/gt/uc/intel_guc_fw.o
  CC      drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.o
  CC [M]  drivers/gpu/drm/xe/display/xe_display_misc.o
  CC      drivers/gpu/drm/i915/gt/uc/intel_guc_log.o
  CC [M]  drivers/gpu/drm/xe/display/xe_display_rps.o
  CC [M]  drivers/gpu/drm/xe/display/xe_dsb_buffer.o
  CC [M]  drivers/gpu/drm/xe/display/xe_fb_pin.o
  CC [M]  drivers/gpu/drm/xe/display/xe_hdcp_gsc.o
  CC      drivers/gpu/drm/i915/gt/uc/intel_guc_log_debugfs.o
  CC      drivers/gpu/drm/i915/gt/uc/intel_guc_rc.o
  CC [M]  drivers/gpu/drm/xe/display/xe_plane_initial.o
  CC      drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.o
  CC      drivers/gpu/drm/i915/gt/uc/intel_guc_submission.o
  CC      kernel/utsname_sysctl.o
  CC      drivers/gpu/drm/i915/gt/uc/intel_huc.o
  AR      drivers/net/ethernet/nvidia/built-in.a
  AR      drivers/net/ethernet/sis/built-in.a
  CC      drivers/gpu/drm/i915/gt/uc/intel_huc_debugfs.o
  AR      drivers/net/ethernet/sfc/built-in.a
  CC      kernel/delayacct.o
  AR      drivers/net/ethernet/smsc/built-in.a
  AR      drivers/net/ethernet/socionext/built-in.a
  AR      drivers/net/ethernet/stmicro/built-in.a
  AR      drivers/net/ethernet/sun/built-in.a
  CC      drivers/gpu/drm/i915/gt/uc/intel_huc_fw.o
  CC      kernel/taskstats.o
  CC      drivers/gpu/drm/i915/gt/uc/intel_uc.o
  CC      drivers/gpu/drm/i915/gt/uc/intel_uc_debugfs.o
  CC      kernel/tsacct.o
  CC      drivers/gpu/drm/i915/gt/uc/intel_uc_fw.o
  CC      kernel/tracepoint.o
  CC      drivers/gpu/drm/i915/gt/intel_gsc.o
  CC      drivers/gpu/drm/i915/i915_hwmon.o
  CC      kernel/irq_work.o
  CC      kernel/static_call.o
  CC      kernel/padata.o
  CC [M]  drivers/gpu/drm/xe/display/xe_tdf.o
  CC [M]  drivers/gpu/drm/xe/i915-soc/intel_dram.o
  AR      drivers/net/ethernet/tehuti/built-in.a
  AR      drivers/net/ethernet/ti/built-in.a
  CC      drivers/gpu/drm/i915/display/hsw_ips.o
  CC      drivers/gpu/drm/i915/display/i9xx_plane.o
  CC      drivers/gpu/drm/i915/display/i9xx_wm.o
  CC [M]  drivers/gpu/drm/xe/i915-soc/intel_pch.o
  CC      kernel/jump_label.o
  AR      drivers/net/ethernet/vertexcom/built-in.a
  AR      drivers/net/ethernet/via/built-in.a
  CC [M]  drivers/gpu/drm/xe/i915-display/icl_dsi.o
  AR      drivers/net/ethernet/wangxun/built-in.a
  CC      drivers/gpu/drm/i915/display/intel_atomic.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_atomic.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_atomic_plane.o
  CC      drivers/gpu/drm/i915/display/intel_atomic_plane.o
  CC      drivers/gpu/drm/i915/display/intel_audio.o
  CC      drivers/gpu/drm/i915/display/intel_bios.o
  CC      kernel/context_tracking.o
  AR      net/mac80211/built-in.a
  AR      net/built-in.a
  CC      drivers/gpu/drm/i915/display/intel_bw.o
  CC      drivers/gpu/drm/i915/display/intel_cdclk.o
  CC      kernel/iomem.o
  CC      drivers/gpu/drm/i915/display/intel_color.o
  CC      kernel/rseq.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_audio.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_backlight.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_bios.o
  AR      drivers/net/ethernet/wiznet/built-in.a
  AR      drivers/net/ethernet/xilinx/built-in.a
  AR      drivers/net/ethernet/xircom/built-in.a
  AR      drivers/net/ethernet/synopsys/built-in.a
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_bw.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_cdclk.o
  AR      drivers/net/ethernet/pensando/built-in.a
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_color.o
  CC      drivers/gpu/drm/i915/display/intel_combo_phy.o
  CC      drivers/gpu/drm/i915/display/intel_connector.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_combo_phy.o
  CC      drivers/gpu/drm/i915/display/intel_crtc.o
  CC      drivers/gpu/drm/i915/display/intel_crtc_state_dump.o
  CC      drivers/gpu/drm/i915/display/intel_cursor.o
  AR      drivers/net/ethernet/realtek/built-in.a
  CC      drivers/gpu/drm/i915/display/intel_display.o
  CC      drivers/gpu/drm/i915/display/intel_display_driver.o
  CC      drivers/gpu/drm/i915/display/intel_display_irq.o
  CC      drivers/gpu/drm/i915/display/intel_display_params.o
  CC      drivers/gpu/drm/i915/display/intel_display_power.o
  CC      drivers/gpu/drm/i915/display/intel_display_power_map.o
  CC      drivers/gpu/drm/i915/display/intel_display_power_well.o
  CC      drivers/gpu/drm/i915/display/intel_display_reset.o
  CC      drivers/gpu/drm/i915/display/intel_display_rps.o
  CC      drivers/gpu/drm/i915/display/intel_display_wa.o
  CC      drivers/gpu/drm/i915/display/intel_dmc.o
  CC      drivers/gpu/drm/i915/display/intel_dmc_wl.o
  CC      drivers/gpu/drm/i915/display/intel_dpio_phy.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_connector.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_crtc.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_crtc_state_dump.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_cursor.o
  CC      drivers/gpu/drm/i915/display/intel_dpll.o
  CC      drivers/gpu/drm/i915/display/intel_dpll_mgr.o
  CC      drivers/gpu/drm/i915/display/intel_dpt.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_cx0_phy.o
  AR      kernel/built-in.a
  CC      drivers/gpu/drm/i915/display/intel_dpt_common.o
  AR      drivers/net/ethernet/intel/e1000e/built-in.a
  AR      drivers/net/ethernet/intel/built-in.a
  CC      drivers/gpu/drm/i915/display/intel_drrs.o
  AR      drivers/net/ethernet/built-in.a
  AR      drivers/net/built-in.a
  CC      drivers/gpu/drm/i915/display/intel_dsb.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_ddi.o
  CC      drivers/gpu/drm/i915/display/intel_dsb_buffer.o
  CC      drivers/gpu/drm/i915/display/intel_fb.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_ddi_buf_trans.o
  CC      drivers/gpu/drm/i915/display/intel_fb_bo.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_display.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_display_device.o
  CC      drivers/gpu/drm/i915/display/intel_fb_pin.o
  CC      drivers/gpu/drm/i915/display/intel_fbc.o
  CC      drivers/gpu/drm/i915/display/intel_fdi.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_display_driver.o
  CC      drivers/gpu/drm/i915/display/intel_fifo_underrun.o
  CC      drivers/gpu/drm/i915/display/intel_frontbuffer.o
  CC      drivers/gpu/drm/i915/display/intel_global_state.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_display_irq.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_display_params.o
  CC      drivers/gpu/drm/i915/display/intel_hdcp.o
  CC      drivers/gpu/drm/i915/display/intel_hdcp_gsc.o
  CC      drivers/gpu/drm/i915/display/intel_hdcp_gsc_message.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_display_power.o
  CC      drivers/gpu/drm/i915/display/intel_hotplug.o
  CC      drivers/gpu/drm/i915/display/intel_hotplug_irq.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_display_power_map.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_display_power_well.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_display_trace.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_display_wa.o
  CC      drivers/gpu/drm/i915/display/intel_hti.o
  CC      drivers/gpu/drm/i915/display/intel_link_bw.o
  CC      drivers/gpu/drm/i915/display/intel_load_detect.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_dkl_phy.o
  CC      drivers/gpu/drm/i915/display/intel_lpe_audio.o
  CC      drivers/gpu/drm/i915/display/intel_modeset_lock.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_dmc.o
  CC      drivers/gpu/drm/i915/display/intel_modeset_setup.o
  CC      drivers/gpu/drm/i915/display/intel_modeset_verify.o
  CC      drivers/gpu/drm/i915/display/intel_overlay.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_dp.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_dp_aux.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_dp_aux_backlight.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_dp_hdcp.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_dp_link_training.o
  CC      drivers/gpu/drm/i915/display/intel_pch_display.o
  CC      drivers/gpu/drm/i915/display/intel_pch_refclk.o
  CC      drivers/gpu/drm/i915/display/intel_plane_initial.o
  CC      drivers/gpu/drm/i915/display/intel_pmdemand.o
  CC      drivers/gpu/drm/i915/display/intel_psr.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_dp_mst.o
  CC      drivers/gpu/drm/i915/display/intel_quirks.o
  CC      drivers/gpu/drm/i915/display/intel_sprite.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_dpll.o
  CC      drivers/gpu/drm/i915/display/intel_sprite_uapi.o
  CC      drivers/gpu/drm/i915/display/intel_tc.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_dpll_mgr.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_dpt_common.o
  CC      drivers/gpu/drm/i915/display/intel_vblank.o
  CC      drivers/gpu/drm/i915/display/intel_vga.o
  CC      drivers/gpu/drm/i915/display/intel_wm.o
  CC      drivers/gpu/drm/i915/display/skl_scaler.o
  CC      drivers/gpu/drm/i915/display/skl_universal_plane.o
  CC      drivers/gpu/drm/i915/display/skl_watermark.o
  CC      drivers/gpu/drm/i915/display/intel_acpi.o
  CC      drivers/gpu/drm/i915/display/intel_opregion.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_drrs.o
  CC      drivers/gpu/drm/i915/display/intel_display_debugfs.o
  CC      drivers/gpu/drm/i915/display/intel_display_debugfs_params.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_dsb.o
  CC      drivers/gpu/drm/i915/display/intel_pipe_crc.o
  CC      drivers/gpu/drm/i915/display/dvo_ch7017.o
  CC      drivers/gpu/drm/i915/display/dvo_ch7xxx.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_dsi.o
  CC      drivers/gpu/drm/i915/display/dvo_ivch.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_dsi_dcs_backlight.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_dsi_vbt.o
  CC      drivers/gpu/drm/i915/display/dvo_ns2501.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_fb.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_fbc.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_fdi.o
  CC      drivers/gpu/drm/i915/display/dvo_sil164.o
  CC      drivers/gpu/drm/i915/display/dvo_tfp410.o
  CC      drivers/gpu/drm/i915/display/g4x_dp.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_fifo_underrun.o
  CC      drivers/gpu/drm/i915/display/g4x_hdmi.o
  CC      drivers/gpu/drm/i915/display/icl_dsi.o
  CC      drivers/gpu/drm/i915/display/intel_backlight.o
  CC      drivers/gpu/drm/i915/display/intel_crt.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_frontbuffer.o
  CC      drivers/gpu/drm/i915/display/intel_cx0_phy.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_global_state.o
  CC      drivers/gpu/drm/i915/display/intel_ddi.o
  CC      drivers/gpu/drm/i915/display/intel_ddi_buf_trans.o
  CC      drivers/gpu/drm/i915/display/intel_display_device.o
  CC      drivers/gpu/drm/i915/display/intel_display_trace.o
  CC      drivers/gpu/drm/i915/display/intel_dkl_phy.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_gmbus.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_hdcp.o
  CC      drivers/gpu/drm/i915/display/intel_dp.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_hdcp_gsc_message.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_hdmi.o
  CC      drivers/gpu/drm/i915/display/intel_dp_aux.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_hotplug.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_hotplug_irq.o
  CC      drivers/gpu/drm/i915/display/intel_dp_aux_backlight.o
  CC      drivers/gpu/drm/i915/display/intel_dp_hdcp.o
  CC      drivers/gpu/drm/i915/display/intel_dp_link_training.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_hti.o
  CC      drivers/gpu/drm/i915/display/intel_dp_mst.o
  CC      drivers/gpu/drm/i915/display/intel_dsi.o
  CC      drivers/gpu/drm/i915/display/intel_dsi_dcs_backlight.o
  CC      drivers/gpu/drm/i915/display/intel_dsi_vbt.o
  CC      drivers/gpu/drm/i915/display/intel_dvo.o
  CC      drivers/gpu/drm/i915/display/intel_gmbus.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_link_bw.o
  CC      drivers/gpu/drm/i915/display/intel_hdmi.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_lspcon.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_modeset_lock.o
  CC      drivers/gpu/drm/i915/display/intel_lspcon.o
  CC      drivers/gpu/drm/i915/display/intel_lvds.o
  CC      drivers/gpu/drm/i915/display/intel_panel.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_modeset_setup.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_modeset_verify.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_panel.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_pmdemand.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_pps.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_psr.o
  CC      drivers/gpu/drm/i915/display/intel_pps.o
  CC      drivers/gpu/drm/i915/display/intel_qp_tables.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_qp_tables.o
  CC      drivers/gpu/drm/i915/display/intel_sdvo.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_quirks.o
  CC      drivers/gpu/drm/i915/display/intel_snps_phy.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_snps_phy.o
  CC      drivers/gpu/drm/i915/display/intel_tv.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_tc.o
  CC      drivers/gpu/drm/i915/display/intel_vdsc.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_vblank.o
  CC      drivers/gpu/drm/i915/display/intel_vrr.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_vdsc.o
  CC      drivers/gpu/drm/i915/display/vlv_dsi.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_vga.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_vrr.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_dmc_wl.o
  CC      drivers/gpu/drm/i915/display/vlv_dsi_pll.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_wm.o
  CC      drivers/gpu/drm/i915/i915_perf.o
  CC      drivers/gpu/drm/i915/pxp/intel_pxp.o
  CC      drivers/gpu/drm/i915/pxp/intel_pxp_huc.o
  CC      drivers/gpu/drm/i915/pxp/intel_pxp_tee.o
  CC      drivers/gpu/drm/i915/i915_gpu_error.o
  CC [M]  drivers/gpu/drm/xe/i915-display/skl_scaler.o
  CC      drivers/gpu/drm/i915/i915_vgpu.o
  CC [M]  drivers/gpu/drm/xe/i915-display/skl_universal_plane.o
  CC [M]  drivers/gpu/drm/xe/i915-display/skl_watermark.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_acpi.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_opregion.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_display_debugfs.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_display_debugfs_params.o
  CC [M]  drivers/gpu/drm/xe/i915-display/intel_pipe_crc.o
  CC [M]  drivers/gpu/drm/xe/xe_gsc.o
  CC [M]  drivers/gpu/drm/xe/xe_guc.o
  CC [M]  drivers/gpu/drm/xe/xe_guc_ads.o
  LD [M]  drivers/gpu/drm/xe/xe.o
  AR      drivers/gpu/drm/i915/built-in.a
  AR      drivers/gpu/drm/built-in.a
  AR      drivers/gpu/built-in.a
  AR      drivers/built-in.a
  AR      built-in.a
  AR      vmlinux.a
  LD      vmlinux.o
  OBJCOPY modules.builtin.modinfo
  GEN     modules.builtin
  MODPOST Module.symvers
  CC      .vmlinux.export.o
  CC [M]  fs/efivarfs/efivarfs.mod.o
  CC [M]  drivers/gpu/drm/drm_exec.mod.o
  CC [M]  drivers/gpu/drm/drm_gpuvm.mod.o
  CC [M]  drivers/gpu/drm/drm_suballoc_helper.mod.o
  CC [M]  drivers/gpu/drm/drm_ttm_helper.mod.o
  CC [M]  drivers/gpu/drm/scheduler/gpu-sched.mod.o
  CC [M]  drivers/gpu/drm/xe/xe.mod.o
  CC [M]  drivers/thermal/intel/x86_pkg_temp_thermal.mod.o
  CC [M]  sound/core/snd-hwdep.mod.o
  CC [M]  sound/core/snd-pcm.mod.o
  CC [M]  sound/pci/hda/snd-hda-codec.mod.o
  CC [M]  sound/pci/hda/snd-hda-codec-hdmi.mod.o
  CC [M]  sound/pci/hda/snd-hda-intel.mod.o
  CC [M]  sound/hda/snd-hda-core.mod.o
  CC [M]  sound/hda/snd-intel-dspcfg.mod.o
  CC [M]  sound/hda/snd-intel-sdw-acpi.mod.o
  CC [M]  net/netfilter/nf_log_syslog.mod.o
  CC [M]  net/netfilter/xt_mark.mod.o
  CC [M]  net/netfilter/xt_nat.mod.o
  CC [M]  net/netfilter/xt_LOG.mod.o
  CC [M]  net/netfilter/xt_MASQUERADE.mod.o
  CC [M]  net/netfilter/xt_addrtype.mod.o
  CC [M]  net/ipv4/netfilter/iptable_nat.mod.o
  LD [M]  fs/efivarfs/efivarfs.ko
  LD [M]  drivers/gpu/drm/drm_ttm_helper.ko
  LD [M]  sound/core/snd-pcm.ko
  LD [M]  sound/pci/hda/snd-hda-codec.ko
  LD [M]  sound/pci/hda/snd-hda-intel.ko
  LD [M]  net/netfilter/xt_nat.ko
  LD [M]  drivers/gpu/drm/drm_suballoc_helper.ko
  LD [M]  drivers/gpu/drm/xe/xe.ko
  LD [M]  net/netfilter/xt_mark.ko
  LD [M]  drivers/gpu/drm/drm_gpuvm.ko
  LD [M]  net/netfilter/xt_MASQUERADE.ko
  LD [M]  net/netfilter/xt_addrtype.ko
  LD [M]  net/netfilter/xt_LOG.ko
  LD [M]  sound/hda/snd-hda-core.ko
  LD [M]  drivers/thermal/intel/x86_pkg_temp_thermal.ko
  LD [M]  net/ipv4/netfilter/iptable_nat.ko
  LD [M]  sound/hda/snd-intel-sdw-acpi.ko
  LD [M]  drivers/gpu/drm/drm_exec.ko
  LD [M]  sound/core/snd-hwdep.ko
  LD [M]  drivers/gpu/drm/scheduler/gpu-sched.ko
  LD [M]  sound/pci/hda/snd-hda-codec-hdmi.ko
  LD [M]  sound/hda/snd-intel-dspcfg.ko
  LD [M]  net/netfilter/nf_log_syslog.ko
  UPD     include/generated/utsversion.h
  CC      init/version-timestamp.o
  LD      .tmp_vmlinux.kallsyms1
  NM      .tmp_vmlinux.kallsyms1.syms
  KSYMS   .tmp_vmlinux.kallsyms1.S
  AS      .tmp_vmlinux.kallsyms1.S
  LD      .tmp_vmlinux.kallsyms2
  NM      .tmp_vmlinux.kallsyms2.syms
  KSYMS   .tmp_vmlinux.kallsyms2.S
  AS      .tmp_vmlinux.kallsyms2.S
  LD      vmlinux
  NM      System.map
  SORTTAB vmlinux
  RELOCS  arch/x86/boot/compressed/vmlinux.relocs
  RSTRIP  vmlinux
  CC      arch/x86/boot/a20.o
  AS      arch/x86/boot/bioscall.o
  CC      arch/x86/boot/cmdline.o
  AS      arch/x86/boot/copy.o
  HOSTCC  arch/x86/boot/mkcpustr
  CC      arch/x86/boot/cpuflags.o
  CC      arch/x86/boot/cpucheck.o
  CC      arch/x86/boot/early_serial_console.o
  CC      arch/x86/boot/edd.o
  CC      arch/x86/boot/main.o
  CC      arch/x86/boot/memory.o
  CC      arch/x86/boot/pm.o
  AS      arch/x86/boot/pmjump.o
  CC      arch/x86/boot/printf.o
  CC      arch/x86/boot/regs.o
  CC      arch/x86/boot/string.o
  CC      arch/x86/boot/tty.o
  CC      arch/x86/boot/video.o
  CC      arch/x86/boot/video-mode.o
  CC      arch/x86/boot/version.o
  CC      arch/x86/boot/video-vga.o
  CC      arch/x86/boot/video-vesa.o
  CC      arch/x86/boot/video-bios.o
  HOSTCC  arch/x86/boot/tools/build
  CPUSTR  arch/x86/boot/cpustr.h
  CC      arch/x86/boot/cpu.o
  LDS     arch/x86/boot/compressed/vmlinux.lds
  AS      arch/x86/boot/compressed/kernel_info.o
  AS      arch/x86/boot/compressed/head_32.o
  VOFFSET arch/x86/boot/compressed/../voffset.h
  CC      arch/x86/boot/compressed/string.o
  CC      arch/x86/boot/compressed/cmdline.o
  CC      arch/x86/boot/compressed/error.o
  OBJCOPY arch/x86/boot/compressed/vmlinux.bin
  HOSTCC  arch/x86/boot/compressed/mkpiggy
  CC      arch/x86/boot/compressed/cpuflags.o
  CC      arch/x86/boot/compressed/early_serial_console.o
  CC      arch/x86/boot/compressed/kaslr.o
  CC      arch/x86/boot/compressed/acpi.o
  CC      arch/x86/boot/compressed/efi.o
  GZIP    arch/x86/boot/compressed/vmlinux.bin.gz
  CC      arch/x86/boot/compressed/misc.o
  MKPIGGY arch/x86/boot/compressed/piggy.S
  AS      arch/x86/boot/compressed/piggy.o
  LD      arch/x86/boot/compressed/vmlinux
  ZOFFSET arch/x86/boot/zoffset.h
  OBJCOPY arch/x86/boot/vmlinux.bin
  AS      arch/x86/boot/header.o
  LD      arch/x86/boot/setup.elf
  OBJCOPY arch/x86/boot/setup.bin
  BUILD   arch/x86/boot/bzImage
Kernel: arch/x86/boot/bzImage is ready  (#1)
run-parts: executing /workspace/ci/hooks/20-kernel-doc
+ SRC_DIR=/workspace/kernel
+ cd /workspace/kernel
+ find drivers/gpu/drm/xe/ -name '*.[ch]' -not -path 'drivers/gpu/drm/xe/display/*'
+ xargs ./scripts/kernel-doc -Werror -none include/uapi/drm/xe_drm.h
All hooks done



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

* ✓ CI.checksparse: success for Add OA functionality to Xe (rev15)
  2024-05-27  1:43 [PATCH v15 00/17] Add OA functionality to Xe Ashutosh Dixit
                   ` (21 preceding siblings ...)
  2024-05-27  2:04 ` ✓ CI.Hooks: " Patchwork
@ 2024-05-27  2:06 ` Patchwork
  2024-05-27  2:31 ` ✓ CI.BAT: " Patchwork
                   ` (2 subsequent siblings)
  25 siblings, 0 replies; 47+ messages in thread
From: Patchwork @ 2024-05-27  2:06 UTC (permalink / raw)
  To: Ashutosh Dixit; +Cc: intel-xe

== Series Details ==

Series: Add OA functionality to Xe (rev15)
URL   : https://patchwork.freedesktop.org/series/121084/
State : success

== 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 573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f
Sparse version: 0.6.1 (Ubuntu: 0.6.1-2build1)
Fast mode used, each commit won't be checked separately.
Okay!

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



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

* ✓ CI.BAT: success for Add OA functionality to Xe (rev15)
  2024-05-27  1:43 [PATCH v15 00/17] Add OA functionality to Xe Ashutosh Dixit
                   ` (22 preceding siblings ...)
  2024-05-27  2:06 ` ✓ CI.checksparse: " Patchwork
@ 2024-05-27  2:31 ` Patchwork
  2024-05-27 14:20 ` ✗ CI.FULL: failure " Patchwork
  2024-06-05 14:12 ` [PATCH v15 00/17] Add OA functionality to Xe Souza, Jose
  25 siblings, 0 replies; 47+ messages in thread
From: Patchwork @ 2024-05-27  2:31 UTC (permalink / raw)
  To: Ashutosh Dixit; +Cc: intel-xe

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

== Series Details ==

Series: Add OA functionality to Xe (rev15)
URL   : https://patchwork.freedesktop.org/series/121084/
State : success

== Summary ==

CI Bug Log - changes from xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f_BAT -> xe-pw-121084v15_BAT
====================================================

Summary
-------

  **SUCCESS**

  No regressions found.

  

Participating hosts (5 -> 5)
------------------------------

  No changes in participating hosts

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

  Here are the changes found in xe-pw-121084v15_BAT that come from known issues:

### IGT changes ###

#### Issues hit ####

  * igt@xe_evict@evict-beng-small-external:
    - bat-pvc-2:          NOTRUN -> [FAIL][1] ([Intel XE#1000]) +3 other tests fail
   [1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/bat-pvc-2/igt@xe_evict@evict-beng-small-external.html

  * igt@xe_evict@evict-small-cm:
    - bat-adlp-7:         NOTRUN -> [SKIP][2] ([Intel XE#261] / [Intel XE#688]) +15 other tests skip
   [2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/bat-adlp-7/igt@xe_evict@evict-small-cm.html

  * igt@xe_evict@evict-small-external-cm:
    - bat-pvc-2:          NOTRUN -> [DMESG-FAIL][3] ([Intel XE#482]) +3 other tests dmesg-fail
   [3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/bat-pvc-2/igt@xe_evict@evict-small-external-cm.html

  * igt@xe_exec_threads@threads-mixed-fd-basic:
    - bat-dg2-oem2:       [PASS][4] -> [ABORT][5] ([Intel XE#1908] / [Intel XE#1939])
   [4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/bat-dg2-oem2/igt@xe_exec_threads@threads-mixed-fd-basic.html
   [5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/bat-dg2-oem2/igt@xe_exec_threads@threads-mixed-fd-basic.html

  * igt@xe_gt_freq@freq_range_idle:
    - bat-pvc-2:          NOTRUN -> [SKIP][6] ([Intel XE#1021]) +1 other test skip
   [6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/bat-pvc-2/igt@xe_gt_freq@freq_range_idle.html

  * igt@xe_huc_copy@huc_copy:
    - bat-pvc-2:          NOTRUN -> [SKIP][7] ([Intel XE#255])
   [7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/bat-pvc-2/igt@xe_huc_copy@huc_copy.html

  * igt@xe_intel_bb@render:
    - bat-pvc-2:          NOTRUN -> [SKIP][8] ([Intel XE#532])
   [8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/bat-pvc-2/igt@xe_intel_bb@render.html

  * igt@xe_pat@pat-index-xe2:
    - bat-pvc-2:          NOTRUN -> [SKIP][9] ([Intel XE#977]) +1 other test skip
   [9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/bat-pvc-2/igt@xe_pat@pat-index-xe2.html

  * igt@xe_pat@pat-index-xehpc@render:
    - bat-pvc-2:          NOTRUN -> [SKIP][10] ([Intel XE#976])
   [10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/bat-pvc-2/igt@xe_pat@pat-index-xehpc@render.html

  * igt@xe_pat@pat-index-xelpg:
    - bat-pvc-2:          NOTRUN -> [SKIP][11] ([Intel XE#979])
   [11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/bat-pvc-2/igt@xe_pat@pat-index-xelpg.html

  * igt@xe_pm_residency@gt-c6-on-idle:
    - bat-pvc-2:          NOTRUN -> [SKIP][12] ([Intel XE#531])
   [12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/bat-pvc-2/igt@xe_pm_residency@gt-c6-on-idle.html

  
#### Possible fixes ####

  * igt@xe_exec_threads@threads-mixed-fd-basic:
    - bat-adlp-7:         [ABORT][13] ([Intel XE#1908] / [Intel XE#1939]) -> [PASS][14]
   [13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/bat-adlp-7/igt@xe_exec_threads@threads-mixed-fd-basic.html
   [14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/bat-adlp-7/igt@xe_exec_threads@threads-mixed-fd-basic.html

  
  [Intel XE#1000]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1000
  [Intel XE#1021]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1021
  [Intel XE#1908]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1908
  [Intel XE#1939]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1939
  [Intel XE#255]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/255
  [Intel XE#261]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/261
  [Intel XE#482]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/482
  [Intel XE#531]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/531
  [Intel XE#532]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/532
  [Intel XE#688]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/688
  [Intel XE#976]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/976
  [Intel XE#977]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/977
  [Intel XE#979]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/979


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

  * Linux: xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f -> xe-pw-121084v15

  IGT_7871: 1d7b961235e345db20933c057f265898e2e96fd2 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
  xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f: 573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f
  xe-pw-121084v15: 121084v15

== Logs ==

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

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

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

* Re: [PATCH 07/17] drm/xe/oa: OA stream initialization (OAG)
  2024-05-27  1:43 ` [PATCH 07/17] drm/xe/oa: OA stream initialization (OAG) Ashutosh Dixit
@ 2024-05-27  7:04   ` Lionel Landwerlin
  2024-05-28  5:27     ` Dixit, Ashutosh
  0 siblings, 1 reply; 47+ messages in thread
From: Lionel Landwerlin @ 2024-05-27  7:04 UTC (permalink / raw)
  To: Ashutosh Dixit, intel-xe

On 27/05/2024 04:43, Ashutosh Dixit wrote:
> Implement majority of OA stream initialization (as part of OA stream open)
> ioctl). OAG buffer is allocated for receiving perf counter samples from
> HW. OAG unit is initialized and the selected OA metric configuration is
> programmed into OAG unit HW using a command/batch buffer.
>
> Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
> Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
> ---
>   drivers/gpu/drm/xe/regs/xe_gt_regs.h |   3 +
>   drivers/gpu/drm/xe/xe_oa.c           | 393 +++++++++++++++++++++++++++
>   drivers/gpu/drm/xe/xe_oa_types.h     |  79 ++++++
>   3 files changed, 475 insertions(+)
>
> diff --git a/drivers/gpu/drm/xe/regs/xe_gt_regs.h b/drivers/gpu/drm/xe/regs/xe_gt_regs.h
> index 9cacdcfe27ff..f48ed5fe2200 100644
> --- a/drivers/gpu/drm/xe/regs/xe_gt_regs.h
> +++ b/drivers/gpu/drm/xe/regs/xe_gt_regs.h
> @@ -170,6 +170,8 @@
>   
>   #define SQCNT1					XE_REG_MCR(0x8718)
>   #define XELPMP_SQCNT1				XE_REG(0x8718)
> +#define   SQCNT1_PMON_ENABLE			REG_BIT(30)
> +#define   SQCNT1_OABPC				REG_BIT(29)
>   #define   ENFORCE_RAR				REG_BIT(23)
>   
>   #define XEHP_SQCM				XE_REG_MCR(0x8724)
> @@ -427,6 +429,7 @@
>   #define ROW_CHICKEN				XE_REG_MCR(0xe4f0, XE_REG_OPTION_MASKED)
>   #define   UGM_BACKUP_MODE			REG_BIT(13)
>   #define   MDQ_ARBITRATION_MODE			REG_BIT(12)
> +#define   STALL_DOP_GATING_DISABLE		REG_BIT(5)
>   #define   EARLY_EOT_DIS				REG_BIT(1)
>   
>   #define ROW_CHICKEN2				XE_REG_MCR(0xe4f4, XE_REG_OPTION_MASKED)
> diff --git a/drivers/gpu/drm/xe/xe_oa.c b/drivers/gpu/drm/xe/xe_oa.c
> index 9944a4a5ea15..87a00d38150a 100644
> --- a/drivers/gpu/drm/xe/xe_oa.c
> +++ b/drivers/gpu/drm/xe/xe_oa.c
> @@ -3,22 +3,32 @@
>    * Copyright © 2023 Intel Corporation
>    */
>   
> +#include <linux/delay.h>
>   #include <linux/nospec.h>
>   
> +#include <drm/drm_drv.h>
>   #include <drm/xe_drm.h>
>   
> +#include "instructions/xe_mi_commands.h"
>   #include "regs/xe_gt_regs.h"
>   #include "regs/xe_oa_regs.h"
>   #include "xe_assert.h"
> +#include "xe_bb.h"
> +#include "xe_bo.h"
>   #include "xe_device.h"
>   #include "xe_exec_queue.h"
> +#include "xe_force_wake.h"
>   #include "xe_gt.h"
> +#include "xe_gt_mcr.h"
>   #include "xe_macros.h"
>   #include "xe_mmio.h"
>   #include "xe_oa.h"
>   #include "xe_perf.h"
>   #include "xe_pm.h"
> +#include "xe_sched_job.h"
>   
> +#define DEFAULT_POLL_FREQUENCY_HZ 200
> +#define DEFAULT_POLL_PERIOD_NS (NSEC_PER_SEC / DEFAULT_POLL_FREQUENCY_HZ)
>   #define XE_OA_UNIT_INVALID U32_MAX
>   
>   struct xe_oa_reg {
> @@ -56,6 +66,13 @@ struct xe_oa_open_param {
>   	struct xe_hw_engine *hwe;
>   };
>   
> +struct xe_oa_config_bo {
> +	struct llist_node node;
> +
> +	struct xe_oa_config *oa_config;
> +	struct xe_bb *bb;
> +};
> +
>   #define DRM_FMT(x) DRM_XE_OA_FMT_TYPE_##x
>   
>   static const struct xe_oa_format oa_formats[] = {
> @@ -98,6 +115,378 @@ static void xe_oa_config_put(struct xe_oa_config *oa_config)
>   	kref_put(&oa_config->ref, xe_oa_config_release);
>   }
>   
> +static struct xe_oa_config *xe_oa_config_get(struct xe_oa_config *oa_config)
> +{
> +	return kref_get_unless_zero(&oa_config->ref) ? oa_config : NULL;
> +}
> +
> +static struct xe_oa_config *xe_oa_get_oa_config(struct xe_oa *oa, int metrics_set)
> +{
> +	struct xe_oa_config *oa_config;
> +
> +	rcu_read_lock();
> +	oa_config = idr_find(&oa->metrics_idr, metrics_set);
> +	if (oa_config)
> +		oa_config = xe_oa_config_get(oa_config);
> +	rcu_read_unlock();
> +
> +	return oa_config;
> +}
> +
> +static void free_oa_config_bo(struct xe_oa_config_bo *oa_bo)
> +{
> +	xe_oa_config_put(oa_bo->oa_config);
> +	xe_bb_free(oa_bo->bb, NULL);
> +	kfree(oa_bo);
> +}
> +
> +static const struct xe_oa_regs *__oa_regs(struct xe_oa_stream *stream)
> +{
> +	return &stream->hwe->oa_unit->regs;
> +}
> +
> +static int xe_oa_submit_bb(struct xe_oa_stream *stream, struct xe_bb *bb)
> +{
> +	struct xe_sched_job *job;
> +	struct dma_fence *fence;
> +	long timeout;
> +	int err = 0;
> +
> +	/* Kernel configuration is issued on stream->k_exec_q, not stream->exec_q */
> +	job = xe_bb_create_job(stream->k_exec_q, bb);
> +	if (IS_ERR(job)) {
> +		err = PTR_ERR(job);
> +		goto exit;
> +	}
> +
> +	xe_sched_job_arm(job);
> +	fence = dma_fence_get(&job->drm.s_fence->finished);
> +	xe_sched_job_push(job);
> +
> +	timeout = dma_fence_wait_timeout(fence, false, HZ);
> +	dma_fence_put(fence);
> +	if (timeout < 0)
> +		err = timeout;
> +	else if (!timeout)
> +		err = -ETIME;
> +exit:
> +	return err;
> +}
> +
> +static void write_cs_mi_lri(struct xe_bb *bb, const struct xe_oa_reg *reg_data, u32 n_regs)
> +{
> +	u32 i;
> +
> +#define MI_LOAD_REGISTER_IMM_MAX_REGS (126)
> +
> +	for (i = 0; i < n_regs; i++) {
> +		if ((i % MI_LOAD_REGISTER_IMM_MAX_REGS) == 0) {
> +			u32 n_lri = min_t(u32, n_regs - i,
> +					  MI_LOAD_REGISTER_IMM_MAX_REGS);
> +
> +			bb->cs[bb->len++] = MI_LOAD_REGISTER_IMM | MI_LRI_NUM_REGS(n_lri);
> +		}
> +		bb->cs[bb->len++] = reg_data[i].addr.addr;
> +		bb->cs[bb->len++] = reg_data[i].value;
> +	}
> +}
> +
> +static int num_lri_dwords(int num_regs)
> +{
> +	int count = 0;
> +
> +	if (num_regs > 0) {
> +		count += DIV_ROUND_UP(num_regs, MI_LOAD_REGISTER_IMM_MAX_REGS);
> +		count += num_regs * 2;
> +	}
> +
> +	return count;
> +}
> +
> +static void xe_oa_free_oa_buffer(struct xe_oa_stream *stream)
> +{
> +	xe_bo_unpin_map_no_vm(stream->oa_buffer.bo);
> +}
> +
> +static void xe_oa_free_configs(struct xe_oa_stream *stream)
> +{
> +	struct xe_oa_config_bo *oa_bo, *tmp;
> +
> +	xe_oa_config_put(stream->oa_config);
> +	llist_for_each_entry_safe(oa_bo, tmp, stream->oa_config_bos.first, node)
> +		free_oa_config_bo(oa_bo);
> +}
> +
> +#define HAS_OA_BPC_REPORTING(xe) (GRAPHICS_VERx100(xe) >= 1255)
> +
> +static void xe_oa_disable_metric_set(struct xe_oa_stream *stream)
> +{
> +	u32 sqcnt1;
> +
> +	/*
> +	 * Wa_1508761755:xehpsdv, dg2
> +	 * Enable thread stall DOP gating and EU DOP gating.
> +	 */
> +	if (stream->oa->xe->info.platform == XE_DG2) {
> +		xe_gt_mcr_multicast_write(stream->gt, ROW_CHICKEN,
> +					  _MASKED_BIT_DISABLE(STALL_DOP_GATING_DISABLE));
> +		xe_gt_mcr_multicast_write(stream->gt, ROW_CHICKEN2,
> +					  _MASKED_BIT_DISABLE(DISABLE_DOP_GATING));
> +	}
> +
> +	/* Make sure we disable noa to save power. */
> +	xe_mmio_rmw32(stream->gt, RPM_CONFIG1, GT_NOA_ENABLE, 0);
> +
> +	sqcnt1 = SQCNT1_PMON_ENABLE |
> +		 (HAS_OA_BPC_REPORTING(stream->oa->xe) ? SQCNT1_OABPC : 0);
> +
> +	/* Reset PMON Enable to save power. */
> +	xe_mmio_rmw32(stream->gt, XELPMP_SQCNT1, sqcnt1, 0);
> +}
> +
> +static int xe_oa_alloc_oa_buffer(struct xe_oa_stream *stream)
> +{
> +	struct xe_bo *bo;
> +
> +	BUILD_BUG_ON_NOT_POWER_OF_2(XE_OA_BUFFER_SIZE);
> +	BUILD_BUG_ON(XE_OA_BUFFER_SIZE < SZ_128K || XE_OA_BUFFER_SIZE > SZ_16M);
> +
> +	bo = xe_bo_create_pin_map(stream->oa->xe, stream->gt->tile, NULL,
> +				  XE_OA_BUFFER_SIZE, ttm_bo_type_kernel,
> +				  XE_BO_FLAG_SYSTEM | XE_BO_FLAG_GGTT);
> +	if (IS_ERR(bo))
> +		return PTR_ERR(bo);
> +
> +	stream->oa_buffer.bo = bo;
> +	stream->oa_buffer.vaddr = bo->vmap.vaddr;
> +	return 0;
> +}
> +
> +static struct xe_oa_config_bo *
> +__xe_oa_alloc_config_buffer(struct xe_oa_stream *stream, struct xe_oa_config *oa_config)
> +{
> +	struct xe_oa_config_bo *oa_bo;
> +	size_t config_length;
> +	struct xe_bb *bb;
> +
> +	oa_bo = kzalloc(sizeof(*oa_bo), GFP_KERNEL);
> +	if (!oa_bo)
> +		return ERR_PTR(-ENOMEM);
> +
> +	config_length = num_lri_dwords(oa_config->regs_len);
> +	config_length = ALIGN(sizeof(u32) * config_length, XE_PAGE_SIZE) / sizeof(u32);
> +
> +	bb = xe_bb_new(stream->gt, config_length, false);
> +	if (IS_ERR(bb))
> +		goto err_free;
> +
> +	write_cs_mi_lri(bb, oa_config->regs, oa_config->regs_len);
> +
> +	oa_bo->bb = bb;
> +	oa_bo->oa_config = xe_oa_config_get(oa_config);
> +	llist_add(&oa_bo->node, &stream->oa_config_bos);
> +
> +	return oa_bo;
> +err_free:
> +	kfree(oa_bo);
> +	return ERR_CAST(bb);
> +}
> +
> +static struct xe_oa_config_bo *xe_oa_alloc_config_buffer(struct xe_oa_stream *stream)
> +{
> +	struct xe_oa_config *oa_config = stream->oa_config;
> +	struct xe_oa_config_bo *oa_bo;
> +
> +	/* Look for the buffer in the already allocated BOs attached to the stream */
> +	llist_for_each_entry(oa_bo, stream->oa_config_bos.first, node) {
> +		if (oa_bo->oa_config == oa_config &&
> +		    memcmp(oa_bo->oa_config->uuid, oa_config->uuid,
> +			   sizeof(oa_config->uuid)) == 0)
> +			goto out;
> +	}
> +
> +	oa_bo = __xe_oa_alloc_config_buffer(stream, oa_config);
> +out:
> +	return oa_bo;
> +}
> +
> +static int xe_oa_emit_oa_config(struct xe_oa_stream *stream)
> +{
> +#define NOA_PROGRAM_ADDITIONAL_DELAY_US 500
> +	struct xe_oa_config_bo *oa_bo;
> +	int err, us = NOA_PROGRAM_ADDITIONAL_DELAY_US;
> +
> +	oa_bo = xe_oa_alloc_config_buffer(stream);
> +	if (IS_ERR(oa_bo)) {
> +		err = PTR_ERR(oa_bo);
> +		goto exit;
> +	}
> +
> +	err = xe_oa_submit_bb(stream, oa_bo->bb);
> +
> +	/* Additional empirical delay needed for NOA programming after registers are written */
> +	usleep_range(us, 2 * us);
> +exit:
> +	return err;
> +}
> +
> +static u32 oag_report_ctx_switches(const struct xe_oa_stream *stream)
> +{
> +	/* If user didn't require OA reports, ask HW not to emit ctx switch reports */
> +	return _MASKED_FIELD(OAG_OA_DEBUG_DISABLE_CTX_SWITCH_REPORTS,
> +			     stream->sample ?
> +			     0 : OAG_OA_DEBUG_DISABLE_CTX_SWITCH_REPORTS);
> +}
> +
> +static int xe_oa_enable_metric_set(struct xe_oa_stream *stream)
> +{
> +	u32 oa_debug, sqcnt1;
> +
> +	/*
> +	 * Wa_1508761755:xehpsdv, dg2
> +	 * EU NOA signals behave incorrectly if EU clock gating is enabled.
> +	 * Disable thread stall DOP gating and EU DOP gating.
> +	 */
> +	if (stream->oa->xe->info.platform == XE_DG2) {
> +		xe_gt_mcr_multicast_write(stream->gt, ROW_CHICKEN,
> +					  _MASKED_BIT_ENABLE(STALL_DOP_GATING_DISABLE));
> +		xe_gt_mcr_multicast_write(stream->gt, ROW_CHICKEN2,
> +					  _MASKED_BIT_ENABLE(DISABLE_DOP_GATING));
> +	}
> +
> +	/* Disable clk ratio reports */
> +	oa_debug = OAG_OA_DEBUG_DISABLE_CLK_RATIO_REPORTS |
> +		OAG_OA_DEBUG_INCLUDE_CLK_RATIO;
> +
> +	xe_mmio_write32(stream->gt, __oa_regs(stream)->oa_debug,
> +			_MASKED_BIT_ENABLE(oa_debug) |
> +			oag_report_ctx_switches(stream));
> +
> +	xe_mmio_write32(stream->gt, __oa_regs(stream)->oa_ctx_ctrl, stream->periodic ?
> +			(OAG_OAGLBCTXCTRL_COUNTER_RESUME |
> +			 OAG_OAGLBCTXCTRL_TIMER_ENABLE |
> +			 REG_FIELD_PREP(OAG_OAGLBCTXCTRL_TIMER_PERIOD_MASK,
> +					stream->period_exponent)) : 0);
> +
> +	/*
> +	 * Initialize Super Queue Internal Cnt Register
> +	 * Set PMON Enable in order to collect valid metrics
> +	 * Enable bytes per clock reporting
> +	 */
> +	sqcnt1 = SQCNT1_PMON_ENABLE |
> +		 (HAS_OA_BPC_REPORTING(stream->oa->xe) ? SQCNT1_OABPC : 0);
> +
> +	xe_mmio_rmw32(stream->gt, XELPMP_SQCNT1, 0, sqcnt1);
> +
> +	return xe_oa_emit_oa_config(stream);
> +}
> +
> +static int xe_oa_stream_init(struct xe_oa_stream *stream,
> +			     struct xe_oa_open_param *param)
> +{
> +	struct xe_oa_unit *u = param->hwe->oa_unit;
> +	struct xe_gt *gt = param->hwe->gt;
> +	int ret;
> +
> +	stream->exec_q = param->exec_q;
> +	stream->poll_period_ns = DEFAULT_POLL_PERIOD_NS;
> +	stream->hwe = param->hwe;
> +	stream->gt = stream->hwe->gt;
> +	stream->oa_buffer.format = &stream->oa->oa_formats[param->oa_format];
> +
> +	stream->sample = param->sample;
> +	stream->periodic = param->period_exponent > 0;
> +	stream->period_exponent = param->period_exponent;
> +
> +	stream->oa_config = xe_oa_get_oa_config(stream->oa, param->metric_set);
> +	if (!stream->oa_config) {
> +		drm_dbg(&stream->oa->xe->drm, "Invalid OA config id=%i\n", param->metric_set);
> +		ret = -EINVAL;
> +		goto exit;
> +	}
> +
> +	/* Take runtime pm ref and forcewake to disable RC6 */
> +	xe_pm_runtime_get(stream->oa->xe);
> +	XE_WARN_ON(xe_force_wake_get(gt_to_fw(gt), XE_FORCEWAKE_ALL));
> +
> +	ret = xe_oa_alloc_oa_buffer(stream);
> +	if (ret)
> +		goto err_fw_put;
> +
> +	stream->k_exec_q = xe_exec_queue_create(stream->oa->xe, NULL,
> +						BIT(stream->hwe->logical_instance), 1,
> +						stream->hwe, EXEC_QUEUE_FLAG_KERNEL, 0);


Hi Ashutosh,


On i915 the changes of configuration were pipelined in the application's 
execution just like any other submission.

Creating another queue completely unsynchronized from the application's 
submissions makes this non usable in my opinion.


-Lionel


> +	if (IS_ERR(stream->k_exec_q)) {
> +		ret = PTR_ERR(stream->k_exec_q);
> +		drm_err(&stream->oa->xe->drm, "gt%d, hwe %s, xe_exec_queue_create failed=%d",
> +			stream->gt->info.id, stream->hwe->name, ret);
> +		goto err_free_oa_buf;
> +	}
> +
> +	ret = xe_oa_enable_metric_set(stream);
> +	if (ret) {
> +		drm_dbg(&stream->oa->xe->drm, "Unable to enable metric set\n");
> +		goto err_put_k_exec_q;
> +	}
> +
> +	drm_dbg(&stream->oa->xe->drm, "opening stream oa config uuid=%s\n",
> +		stream->oa_config->uuid);
> +
> +	WRITE_ONCE(u->exclusive_stream, stream);
> +
> +	spin_lock_init(&stream->oa_buffer.ptr_lock);
> +	mutex_init(&stream->stream_lock);
> +
> +	return 0;
> +
> +err_put_k_exec_q:
> +	xe_oa_disable_metric_set(stream);
> +	xe_exec_queue_put(stream->k_exec_q);
> +err_free_oa_buf:
> +	xe_oa_free_oa_buffer(stream);
> +err_fw_put:
> +	XE_WARN_ON(xe_force_wake_put(gt_to_fw(gt), XE_FORCEWAKE_ALL));
> +	xe_pm_runtime_put(stream->oa->xe);
> +	xe_oa_free_configs(stream);
> +exit:
> +	return ret;
> +}
> +
> +static int xe_oa_stream_open_ioctl_locked(struct xe_oa *oa,
> +					  struct xe_oa_open_param *param)
> +{
> +	struct xe_oa_stream *stream;
> +	int stream_fd;
> +	int ret;
> +
> +	/* We currently only allow exclusive access */
> +	if (param->hwe->oa_unit->exclusive_stream) {
> +		drm_dbg(&oa->xe->drm, "OA unit already in use\n");
> +		ret = -EBUSY;
> +		goto exit;
> +	}
> +
> +	stream = kzalloc(sizeof(*stream), GFP_KERNEL);
> +	if (!stream) {
> +		ret = -ENOMEM;
> +		goto exit;
> +	}
> +
> +	stream->oa = oa;
> +	ret = xe_oa_stream_init(stream, param);
> +	if (ret)
> +		goto err_free;
> +
> +	/* Hold a reference on the drm device till stream_fd is released */
> +	drm_dev_get(&stream->oa->xe->drm);
> +
> +	return stream_fd;
> +err_free:
> +	kfree(stream);
> +exit:
> +	return ret;
> +}
> +
>   /*
>    * OA timestamp frequency = CS timestamp frequency in most platforms. On some
>    * platforms OA unit ignores the CTC_SHIFT and the 2 timestamps differ. In such
> @@ -419,6 +808,10 @@ int xe_oa_stream_open_ioctl(struct drm_device *dev, u64 data, struct drm_file *f
>   		oa_freq_hz = div64_u64(NSEC_PER_SEC, oa_period);
>   		drm_dbg(&oa->xe->drm, "Using periodic sampling freq %lld Hz\n", oa_freq_hz);
>   	}
> +
> +	mutex_lock(&param.hwe->gt->oa.gt_lock);
> +	ret = xe_oa_stream_open_ioctl_locked(oa, &param);
> +	mutex_unlock(&param.hwe->gt->oa.gt_lock);
>   err_exec_q:
>   	if (ret < 0 && param.exec_q)
>   		xe_exec_queue_put(param.exec_q);
> diff --git a/drivers/gpu/drm/xe/xe_oa_types.h b/drivers/gpu/drm/xe/xe_oa_types.h
> index b5c1a47c8988..91ecb1a0c7cc 100644
> --- a/drivers/gpu/drm/xe/xe_oa_types.h
> +++ b/drivers/gpu/drm/xe/xe_oa_types.h
> @@ -14,6 +14,8 @@
>   #include <drm/xe_drm.h>
>   #include "regs/xe_reg_defs.h"
>   
> +#define XE_OA_BUFFER_SIZE SZ_16M
> +
>   enum xe_oa_report_header {
>   	HDR_32_BIT = 0,
>   	HDR_64_BIT,
> @@ -137,4 +139,81 @@ struct xe_oa {
>   	/** @oa_unit_ids: tracks oa unit ids assigned across gt's */
>   	u16 oa_unit_ids;
>   };
> +
> +/** @xe_oa_buffer: State of the stream OA buffer */
> +struct xe_oa_buffer {
> +	/** @format: data format */
> +	const struct xe_oa_format *format;
> +
> +	/** @format: xe_bo backing the OA buffer */
> +	struct xe_bo *bo;
> +
> +	/** @vaddr: mapped vaddr of the OA buffer */
> +	u8 *vaddr;
> +
> +	/** @ptr_lock: Lock protecting reads/writes to head/tail pointers */
> +	spinlock_t ptr_lock;
> +
> +	/** @head: Cached head to read from */
> +	u32 head;
> +
> +	/** @tail: The last verified cached tail where HW has completed writing */
> +	u32 tail;
> +};
> +
> +/**
> + * struct xe_oa_stream - state for a single open stream FD
> + */
> +struct xe_oa_stream {
> +	/** @oa: xe_oa backpointer */
> +	struct xe_oa *oa;
> +
> +	/** @gt: gt associated with the oa stream */
> +	struct xe_gt *gt;
> +
> +	/** @hwe: hardware engine associated with this oa stream */
> +	struct xe_hw_engine *hwe;
> +
> +	/** @stream_lock: Lock serializing stream operations */
> +	struct mutex stream_lock;
> +
> +	/** @sample: true if DRM_XE_OA_PROP_SAMPLE_OA is provided */
> +	bool sample;
> +
> +	/** @exec_q: Exec queue corresponding to DRM_XE_OA_PROPERTY_EXEC_QUEUE_ID */
> +	struct xe_exec_queue *exec_q;
> +
> +	/** @k_exec_q: kernel exec_q used for OA programming batch submissions */
> +	struct xe_exec_queue *k_exec_q;
> +
> +	/** @enabled: Whether the stream is currently enabled */
> +	bool enabled;
> +
> +	/** @oa_config: OA configuration used by the stream */
> +	struct xe_oa_config *oa_config;
> +
> +	/** @oa_config_bos: List of struct @xe_oa_config_bo's */
> +	struct llist_head oa_config_bos;
> +
> +	/** @poll_check_timer: Timer to periodically check for data in the OA buffer */
> +	struct hrtimer poll_check_timer;
> +
> +	/** @poll_wq: Wait queue for waiting for OA data to be available */
> +	wait_queue_head_t poll_wq;
> +
> +	/** @pollin: Whether there is data available to read */
> +	bool pollin;
> +
> +	/** @periodic: Whether periodic sampling is currently enabled */
> +	bool periodic;
> +
> +	/** @period_exponent: OA unit sampling frequency is derived from this */
> +	int period_exponent;
> +
> +	/** @oa_buffer: OA buffer for the stream */
> +	struct xe_oa_buffer oa_buffer;
> +
> +	/** @poll_period_ns: hrtimer period for checking OA buffer for available data */
> +	u64 poll_period_ns;
> +};
>   #endif



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

* ✗ CI.FULL: failure for Add OA functionality to Xe (rev15)
  2024-05-27  1:43 [PATCH v15 00/17] Add OA functionality to Xe Ashutosh Dixit
                   ` (23 preceding siblings ...)
  2024-05-27  2:31 ` ✓ CI.BAT: " Patchwork
@ 2024-05-27 14:20 ` Patchwork
  2024-06-05 14:12 ` [PATCH v15 00/17] Add OA functionality to Xe Souza, Jose
  25 siblings, 0 replies; 47+ messages in thread
From: Patchwork @ 2024-05-27 14:20 UTC (permalink / raw)
  To: Ashutosh Dixit; +Cc: intel-xe

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

== Series Details ==

Series: Add OA functionality to Xe (rev15)
URL   : https://patchwork.freedesktop.org/series/121084/
State : failure

== Summary ==

CI Bug Log - changes from xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f_full -> xe-pw-121084v15_full
====================================================

Summary
-------

  **FAILURE**

  Serious unknown changes coming with xe-pw-121084v15_full absolutely need to be
  verified manually.
  
  If you think the reported changes have nothing to do with the changes
  introduced in xe-pw-121084v15_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 (3 -> 3)
------------------------------

  No changes in participating hosts

Possible new issues
-------------------

  Here are the unknown changes that may have been introduced in xe-pw-121084v15_full:

### IGT changes ###

#### Possible regressions ####

  * igt@runner@aborted:
    - shard-adlp:         NOTRUN -> [FAIL][1]
   [1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-6/igt@runner@aborted.html

  
#### Suppressed ####

  The following results come from untrusted machines, tests, or statuses.
  They do not affect the overall result.

  * igt@kms_big_fb@linear-64bpp-rotate-0:
    - {shard-lnl}:        [DMESG-WARN][2] ([Intel XE#1725]) -> [INCOMPLETE][3]
   [2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-lnl-4/igt@kms_big_fb@linear-64bpp-rotate-0.html
   [3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-lnl-8/igt@kms_big_fb@linear-64bpp-rotate-0.html

  * igt@kms_frontbuffer_tracking@fbc-2p-primscrn-spr-indfb-move:
    - {shard-lnl}:        [SKIP][4] ([Intel XE#656]) -> [INCOMPLETE][5]
   [4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-lnl-6/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-spr-indfb-move.html
   [5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-lnl-2/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-spr-indfb-move.html

  * igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-indfb-plflip-blt:
    - {shard-lnl}:        NOTRUN -> [INCOMPLETE][6]
   [6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-lnl-5/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-indfb-plflip-blt.html

  * igt@kms_pm_rpm@universal-planes@plane-59:
    - {shard-lnl}:        [ABORT][7] ([Intel XE#1939]) -> [DMESG-WARN][8]
   [7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-lnl-3/igt@kms_pm_rpm@universal-planes@plane-59.html
   [8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-lnl-6/igt@kms_pm_rpm@universal-planes@plane-59.html

  * igt@xe_pm@d3cold-mmap-vram:
    - {shard-lnl}:        NOTRUN -> [SKIP][9]
   [9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-lnl-7/igt@xe_pm@d3cold-mmap-vram.html

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

  Here are the changes found in xe-pw-121084v15_full that come from known issues:

### IGT changes ###

#### Issues hit ####

  * igt@kms_async_flips@async-flip-with-page-flip-events@pipe-c-hdmi-a-1-y:
    - shard-adlp:         [PASS][10] -> [DMESG-WARN][11] ([Intel XE#1033] / [Intel XE#1214])
   [10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-adlp-8/igt@kms_async_flips@async-flip-with-page-flip-events@pipe-c-hdmi-a-1-y.html
   [11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-6/igt@kms_async_flips@async-flip-with-page-flip-events@pipe-c-hdmi-a-1-y.html

  * igt@kms_atomic_transition@plane-toggle-modeset-transition@pipe-a-hdmi-a-6:
    - shard-dg2-set2:     [PASS][12] -> [FAIL][13] ([Intel XE#1388]) +1 other test fail
   [12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-432/igt@kms_atomic_transition@plane-toggle-modeset-transition@pipe-a-hdmi-a-6.html
   [13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-435/igt@kms_atomic_transition@plane-toggle-modeset-transition@pipe-a-hdmi-a-6.html

  * igt@kms_big_fb@4-tiled-64bpp-rotate-270:
    - shard-adlp:         NOTRUN -> [SKIP][14] ([Intel XE#1124] / [Intel XE#1201]) +11 other tests skip
   [14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-8/igt@kms_big_fb@4-tiled-64bpp-rotate-270.html

  * igt@kms_big_fb@x-tiled-8bpp-rotate-90:
    - shard-dg2-set2:     NOTRUN -> [SKIP][15] ([Intel XE#1201] / [Intel XE#316]) +1 other test skip
   [15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-466/igt@kms_big_fb@x-tiled-8bpp-rotate-90.html

  * igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-180-async-flip:
    - shard-adlp:         NOTRUN -> [FAIL][16] ([Intel XE#1204])
   [16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-6/igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-180-async-flip.html

  * igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-0-hflip-async-flip:
    - shard-adlp:         NOTRUN -> [FAIL][17] ([Intel XE#1231]) +2 other tests fail
   [17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-6/igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-0-hflip-async-flip.html

  * igt@kms_big_fb@y-tiled-32bpp-rotate-270:
    - shard-adlp:         NOTRUN -> [SKIP][18] ([Intel XE#1201] / [Intel XE#316]) +6 other tests skip
   [18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-8/igt@kms_big_fb@y-tiled-32bpp-rotate-270.html

  * igt@kms_big_fb@yf-tiled-max-hw-stride-64bpp-rotate-180-hflip-async-flip:
    - shard-dg2-set2:     NOTRUN -> [SKIP][19] ([Intel XE#1124] / [Intel XE#1201]) +5 other tests skip
   [19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-466/igt@kms_big_fb@yf-tiled-max-hw-stride-64bpp-rotate-180-hflip-async-flip.html

  * igt@kms_bw@linear-tiling-3-displays-1920x1080p:
    - shard-adlp:         NOTRUN -> [SKIP][20] ([Intel XE#1201] / [Intel XE#367]) +1 other test skip
   [20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-6/igt@kms_bw@linear-tiling-3-displays-1920x1080p.html

  * igt@kms_ccs@bad-aux-stride-4-tiled-mtl-mc-ccs@pipe-a-hdmi-a-6:
    - shard-dg2-set2:     NOTRUN -> [SKIP][21] ([Intel XE#1201] / [Intel XE#787]) +48 other tests skip
   [21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-466/igt@kms_ccs@bad-aux-stride-4-tiled-mtl-mc-ccs@pipe-a-hdmi-a-6.html

  * igt@kms_ccs@bad-aux-stride-y-tiled-gen12-mc-ccs@pipe-d-hdmi-a-1:
    - shard-adlp:         NOTRUN -> [SKIP][22] ([Intel XE#1201] / [Intel XE#455] / [Intel XE#787]) +15 other tests skip
   [22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-8/igt@kms_ccs@bad-aux-stride-y-tiled-gen12-mc-ccs@pipe-d-hdmi-a-1.html

  * igt@kms_ccs@bad-pixel-format-y-tiled-gen12-mc-ccs@pipe-d-dp-4:
    - shard-dg2-set2:     NOTRUN -> [SKIP][23] ([Intel XE#1201] / [Intel XE#455] / [Intel XE#787]) +13 other tests skip
   [23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-463/igt@kms_ccs@bad-pixel-format-y-tiled-gen12-mc-ccs@pipe-d-dp-4.html

  * igt@kms_ccs@crc-primary-basic-y-tiled-gen12-rc-ccs-cc@pipe-a-hdmi-a-1:
    - shard-adlp:         NOTRUN -> [SKIP][24] ([Intel XE#1201] / [Intel XE#787]) +23 other tests skip
   [24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-8/igt@kms_ccs@crc-primary-basic-y-tiled-gen12-rc-ccs-cc@pipe-a-hdmi-a-1.html

  * igt@kms_ccs@crc-primary-rotation-180-4-tiled-mtl-rc-ccs@pipe-a-dp-4:
    - shard-dg2-set2:     NOTRUN -> [SKIP][25] ([Intel XE#787]) +20 other tests skip
   [25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-432/igt@kms_ccs@crc-primary-rotation-180-4-tiled-mtl-rc-ccs@pipe-a-dp-4.html

  * igt@kms_ccs@crc-sprite-planes-basic-4-tiled-xe2-ccs:
    - shard-adlp:         NOTRUN -> [SKIP][26] ([Intel XE#1201] / [Intel XE#1252])
   [26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-6/igt@kms_ccs@crc-sprite-planes-basic-4-tiled-xe2-ccs.html

  * igt@kms_ccs@missing-ccs-buffer-4-tiled-mtl-rc-ccs-cc:
    - shard-dg2-set2:     NOTRUN -> [SKIP][27] ([Intel XE#455] / [Intel XE#787]) +5 other tests skip
   [27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-432/igt@kms_ccs@missing-ccs-buffer-4-tiled-mtl-rc-ccs-cc.html

  * igt@kms_cdclk@mode-transition@pipe-c-dp-4:
    - shard-dg2-set2:     NOTRUN -> [SKIP][28] ([Intel XE#1201] / [Intel XE#314]) +3 other tests skip
   [28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-436/igt@kms_cdclk@mode-transition@pipe-c-dp-4.html

  * igt@kms_cdclk@plane-scaling@pipe-b-dp-4:
    - shard-dg2-set2:     NOTRUN -> [SKIP][29] ([Intel XE#1152] / [Intel XE#1201]) +3 other tests skip
   [29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-466/igt@kms_cdclk@plane-scaling@pipe-b-dp-4.html

  * igt@kms_chamelium_audio@hdmi-audio-edid:
    - shard-adlp:         NOTRUN -> [SKIP][30] ([Intel XE#1201] / [Intel XE#373]) +5 other tests skip
   [30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-8/igt@kms_chamelium_audio@hdmi-audio-edid.html

  * igt@kms_chamelium_color@ctm-red-to-blue:
    - shard-dg2-set2:     NOTRUN -> [SKIP][31] ([Intel XE#1201] / [Intel XE#306])
   [31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-463/igt@kms_chamelium_color@ctm-red-to-blue.html

  * igt@kms_chamelium_color@degamma:
    - shard-dg2-set2:     NOTRUN -> [SKIP][32] ([Intel XE#306])
   [32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-432/igt@kms_chamelium_color@degamma.html

  * igt@kms_chamelium_edid@hdmi-mode-timings:
    - shard-dg2-set2:     NOTRUN -> [SKIP][33] ([Intel XE#1201] / [Intel XE#373]) +3 other tests skip
   [33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-466/igt@kms_chamelium_edid@hdmi-mode-timings.html

  * igt@kms_chamelium_frames@hdmi-crc-single:
    - shard-dg2-set2:     NOTRUN -> [SKIP][34] ([Intel XE#373])
   [34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-432/igt@kms_chamelium_frames@hdmi-crc-single.html

  * igt@kms_content_protection@dp-mst-type-0:
    - shard-adlp:         NOTRUN -> [SKIP][35] ([Intel XE#1201] / [Intel XE#307]) +1 other test skip
   [35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-8/igt@kms_content_protection@dp-mst-type-0.html

  * igt@kms_cursor_crc@cursor-onscreen-512x170:
    - shard-adlp:         NOTRUN -> [SKIP][36] ([Intel XE#1201] / [Intel XE#308]) +1 other test skip
   [36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-6/igt@kms_cursor_crc@cursor-onscreen-512x170.html

  * igt@kms_cursor_crc@cursor-rapid-movement-512x170:
    - shard-dg2-set2:     NOTRUN -> [SKIP][37] ([Intel XE#1201] / [Intel XE#308]) +1 other test skip
   [37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-466/igt@kms_cursor_crc@cursor-rapid-movement-512x170.html

  * igt@kms_cursor_crc@cursor-suspend@pipe-d-hdmi-a-1:
    - shard-adlp:         NOTRUN -> [DMESG-WARN][38] ([Intel XE#1162] / [Intel XE#1191] / [Intel XE#1214] / [Intel XE#1608])
   [38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-8/igt@kms_cursor_crc@cursor-suspend@pipe-d-hdmi-a-1.html

  * igt@kms_cursor_edge_walk@256x256-left-edge@pipe-a-hdmi-a-6:
    - shard-dg2-set2:     NOTRUN -> [DMESG-WARN][39] ([Intel XE#282]) +2 other tests dmesg-warn
   [39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-432/igt@kms_cursor_edge_walk@256x256-left-edge@pipe-a-hdmi-a-6.html

  * igt@kms_cursor_legacy@basic-busy-flip-before-cursor-varying-size:
    - shard-dg2-set2:     NOTRUN -> [SKIP][40] ([Intel XE#1201] / [Intel XE#323])
   [40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-466/igt@kms_cursor_legacy@basic-busy-flip-before-cursor-varying-size.html

  * igt@kms_cursor_legacy@cursor-vs-flip-atomic:
    - shard-dg2-set2:     NOTRUN -> [DMESG-WARN][41] ([Intel XE#1214] / [Intel XE#282])
   [41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-466/igt@kms_cursor_legacy@cursor-vs-flip-atomic.html

  * igt@kms_cursor_legacy@cursorb-vs-flipa-atomic-transitions-varying-size:
    - shard-adlp:         NOTRUN -> [SKIP][42] ([Intel XE#1201] / [Intel XE#309]) +5 other tests skip
   [42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-6/igt@kms_cursor_legacy@cursorb-vs-flipa-atomic-transitions-varying-size.html

  * igt@kms_cursor_legacy@forked-move@pipe-b:
    - shard-dg2-set2:     [PASS][43] -> [DMESG-WARN][44] ([Intel XE#1214] / [Intel XE#282]) +2 other tests dmesg-warn
   [43]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-434/igt@kms_cursor_legacy@forked-move@pipe-b.html
   [44]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-433/igt@kms_cursor_legacy@forked-move@pipe-b.html

  * igt@kms_cursor_legacy@short-busy-flip-before-cursor-atomic-transitions:
    - shard-adlp:         NOTRUN -> [SKIP][45] ([Intel XE#1201] / [Intel XE#323])
   [45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-8/igt@kms_cursor_legacy@short-busy-flip-before-cursor-atomic-transitions.html

  * igt@kms_cursor_legacy@torture-bo@pipe-a:
    - shard-adlp:         [PASS][46] -> [DMESG-WARN][47] ([Intel XE#1214] / [Intel XE#877]) +1 other test dmesg-warn
   [46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-adlp-6/igt@kms_cursor_legacy@torture-bo@pipe-a.html
   [47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-9/igt@kms_cursor_legacy@torture-bo@pipe-a.html

  * igt@kms_cursor_legacy@torture-move@pipe-a:
    - shard-dg2-set2:     [PASS][48] -> [DMESG-WARN][49] ([Intel XE#1214] / [Intel XE#877]) +1 other test dmesg-warn
   [48]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-433/igt@kms_cursor_legacy@torture-move@pipe-a.html
   [49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-463/igt@kms_cursor_legacy@torture-move@pipe-a.html

  * igt@kms_feature_discovery@display-3x:
    - shard-dg2-set2:     NOTRUN -> [SKIP][50] ([Intel XE#1201] / [Intel XE#703])
   [50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-466/igt@kms_feature_discovery@display-3x.html

  * igt@kms_feature_discovery@dp-mst:
    - shard-adlp:         NOTRUN -> [SKIP][51] ([Intel XE#1137] / [Intel XE#1201])
   [51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-6/igt@kms_feature_discovery@dp-mst.html

  * igt@kms_flip@2x-plain-flip-fb-recreate-interruptible:
    - shard-adlp:         NOTRUN -> [SKIP][52] ([Intel XE#1201] / [Intel XE#310]) +6 other tests skip
   [52]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-8/igt@kms_flip@2x-plain-flip-fb-recreate-interruptible.html

  * igt@kms_flip@flip-vs-suspend@a-hdmi-a6:
    - shard-dg2-set2:     NOTRUN -> [DMESG-WARN][53] ([Intel XE#1162] / [Intel XE#1214]) +4 other tests dmesg-warn
   [53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-436/igt@kms_flip@flip-vs-suspend@a-hdmi-a6.html

  * igt@kms_flip@plain-flip-fb-recreate@c-hdmi-a6:
    - shard-dg2-set2:     [PASS][54] -> [ABORT][55] ([Intel XE#1939])
   [54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-432/igt@kms_flip@plain-flip-fb-recreate@c-hdmi-a6.html
   [55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-464/igt@kms_flip@plain-flip-fb-recreate@c-hdmi-a6.html

  * igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytile-downscaling:
    - shard-adlp:         NOTRUN -> [DMESG-FAIL][56] ([Intel XE#324]) +1 other test dmesg-fail
   [56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-6/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytile-downscaling.html

  * igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilegen12rcccs-upscaling:
    - shard-dg2-set2:     NOTRUN -> [SKIP][57] ([Intel XE#1201] / [Intel XE#455]) +10 other tests skip
   [57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-466/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilegen12rcccs-upscaling.html

  * igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilegen12rcccs-upscaling@pipe-a-valid-mode:
    - shard-adlp:         NOTRUN -> [SKIP][58] ([Intel XE#1201] / [Intel XE#455]) +18 other tests skip
   [58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-8/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilegen12rcccs-upscaling@pipe-a-valid-mode.html

  * igt@kms_frontbuffer_tracking@drrs-suspend:
    - shard-dg2-set2:     NOTRUN -> [SKIP][59] ([Intel XE#651]) +1 other test skip
   [59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-432/igt@kms_frontbuffer_tracking@drrs-suspend.html

  * igt@kms_frontbuffer_tracking@fbcdrrs-1p-primscrn-pri-shrfb-draw-blt:
    - shard-adlp:         NOTRUN -> [SKIP][60] ([Intel XE#1201] / [Intel XE#651]) +11 other tests skip
   [60]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-6/igt@kms_frontbuffer_tracking@fbcdrrs-1p-primscrn-pri-shrfb-draw-blt.html

  * igt@kms_frontbuffer_tracking@fbcdrrs-tiling-linear:
    - shard-dg2-set2:     NOTRUN -> [SKIP][61] ([Intel XE#1201] / [Intel XE#651]) +17 other tests skip
   [61]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-466/igt@kms_frontbuffer_tracking@fbcdrrs-tiling-linear.html

  * igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-indfb-draw-mmap-wc:
    - shard-adlp:         NOTRUN -> [SKIP][62] ([Intel XE#1201] / [Intel XE#653]) +10 other tests skip
   [62]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-8/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-indfb-draw-mmap-wc.html

  * igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-shrfb-plflip-blt:
    - shard-dg2-set2:     NOTRUN -> [SKIP][63] ([Intel XE#653]) +2 other tests skip
   [63]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-432/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-shrfb-plflip-blt.html

  * igt@kms_frontbuffer_tracking@psr-2p-scndscrn-pri-shrfb-draw-blt:
    - shard-adlp:         NOTRUN -> [SKIP][64] ([Intel XE#1201] / [Intel XE#656]) +44 other tests skip
   [64]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-6/igt@kms_frontbuffer_tracking@psr-2p-scndscrn-pri-shrfb-draw-blt.html

  * igt@kms_frontbuffer_tracking@psr-slowdraw:
    - shard-dg2-set2:     NOTRUN -> [SKIP][65] ([Intel XE#1201] / [Intel XE#653]) +16 other tests skip
   [65]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-434/igt@kms_frontbuffer_tracking@psr-slowdraw.html

  * igt@kms_pipe_crc_basic@suspend-read-crc@pipe-a-hdmi-a-1:
    - shard-adlp:         NOTRUN -> [DMESG-WARN][66] ([Intel XE#1191] / [Intel XE#1214]) +3 other tests dmesg-warn
   [66]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-6/igt@kms_pipe_crc_basic@suspend-read-crc@pipe-a-hdmi-a-1.html

  * igt@kms_plane_cursor@viewport@pipe-a-hdmi-a-6-size-64:
    - shard-dg2-set2:     [PASS][67] -> [FAIL][68] ([Intel XE#616]) +1 other test fail
   [67]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-435/igt@kms_plane_cursor@viewport@pipe-a-hdmi-a-6-size-64.html
   [68]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-464/igt@kms_plane_cursor@viewport@pipe-a-hdmi-a-6-size-64.html

  * igt@kms_plane_scaling@intel-max-src-size@pipe-a-hdmi-a-1:
    - shard-adlp:         NOTRUN -> [FAIL][69] ([Intel XE#361]) +1 other test fail
   [69]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-8/igt@kms_plane_scaling@intel-max-src-size@pipe-a-hdmi-a-1.html

  * igt@kms_plane_scaling@plane-downscale-factor-0-25-with-pixel-format:
    - shard-adlp:         NOTRUN -> [SKIP][70] ([Intel XE#1201] / [Intel XE#455] / [Intel XE#498]) +1 other test skip
   [70]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-6/igt@kms_plane_scaling@plane-downscale-factor-0-25-with-pixel-format.html

  * igt@kms_plane_scaling@plane-downscale-factor-0-25-with-pixel-format@pipe-b-hdmi-a-1:
    - shard-adlp:         NOTRUN -> [SKIP][71] ([Intel XE#1201] / [Intel XE#498]) +2 other tests skip
   [71]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-6/igt@kms_plane_scaling@plane-downscale-factor-0-25-with-pixel-format@pipe-b-hdmi-a-1.html

  * igt@kms_pm_dc@dc5-psr:
    - shard-adlp:         NOTRUN -> [SKIP][72] ([Intel XE#1129] / [Intel XE#1201])
   [72]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-6/igt@kms_pm_dc@dc5-psr.html

  * igt@kms_pm_rpm@modeset-lpsp:
    - shard-adlp:         NOTRUN -> [SKIP][73] ([Intel XE#1201] / [Intel XE#1211])
   [73]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-6/igt@kms_pm_rpm@modeset-lpsp.html

  * igt@kms_psr2_sf@overlay-plane-move-continuous-exceed-sf:
    - shard-dg2-set2:     NOTRUN -> [SKIP][74] ([Intel XE#929]) +1 other test skip
   [74]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-432/igt@kms_psr2_sf@overlay-plane-move-continuous-exceed-sf.html

  * igt@kms_psr2_sf@primary-plane-update-sf-dmg-area:
    - shard-adlp:         NOTRUN -> [SKIP][75] ([Intel XE#1201]) +4 other tests skip
   [75]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-8/igt@kms_psr2_sf@primary-plane-update-sf-dmg-area.html

  * igt@kms_psr2_su@page_flip-p010:
    - shard-adlp:         NOTRUN -> [SKIP][76] ([Intel XE#1122] / [Intel XE#1201])
   [76]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-8/igt@kms_psr2_su@page_flip-p010.html

  * igt@kms_psr@fbc-psr-primary-render:
    - shard-adlp:         NOTRUN -> [SKIP][77] ([Intel XE#1201] / [Intel XE#929]) +10 other tests skip
   [77]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-6/igt@kms_psr@fbc-psr-primary-render.html

  * igt@kms_psr@fbc-psr2-primary-render:
    - shard-dg2-set2:     NOTRUN -> [SKIP][78] ([Intel XE#1201] / [Intel XE#929]) +9 other tests skip
   [78]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-434/igt@kms_psr@fbc-psr2-primary-render.html

  * igt@kms_rotation_crc@multiplane-rotation:
    - shard-adlp:         NOTRUN -> [FAIL][79] ([Intel XE#1874]) +13 other tests fail
   [79]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-6/igt@kms_rotation_crc@multiplane-rotation.html

  * igt@kms_rotation_crc@primary-y-tiled-reflect-x-0:
    - shard-dg2-set2:     NOTRUN -> [SKIP][80] ([Intel XE#1127] / [Intel XE#1201])
   [80]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-463/igt@kms_rotation_crc@primary-y-tiled-reflect-x-0.html

  * igt@kms_rotation_crc@primary-y-tiled-reflect-x-270:
    - shard-adlp:         NOTRUN -> [SKIP][81] ([Intel XE#1201] / [Intel XE#327])
   [81]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-6/igt@kms_rotation_crc@primary-y-tiled-reflect-x-270.html

  * igt@kms_tiled_display@basic-test-pattern-with-chamelium:
    - shard-dg2-set2:     NOTRUN -> [SKIP][82] ([Intel XE#1201] / [Intel XE#362])
   [82]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-463/igt@kms_tiled_display@basic-test-pattern-with-chamelium.html

  * igt@kms_universal_plane@cursor-fb-leak:
    - shard-adlp:         NOTRUN -> [FAIL][83] ([Intel XE#771] / [Intel XE#899])
   [83]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-6/igt@kms_universal_plane@cursor-fb-leak.html

  * igt@kms_universal_plane@cursor-fb-leak@pipe-c-hdmi-a-1:
    - shard-adlp:         NOTRUN -> [FAIL][84] ([Intel XE#899])
   [84]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-6/igt@kms_universal_plane@cursor-fb-leak@pipe-c-hdmi-a-1.html

  * igt@kms_vblank@query-forked-hang:
    - shard-dg2-set2:     NOTRUN -> [ABORT][85] ([Intel XE#1939]) +3 other tests abort
   [85]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-434/igt@kms_vblank@query-forked-hang.html

  * igt@kms_vblank@query-forked-hang@pipe-d-hdmi-a-1:
    - shard-adlp:         [PASS][86] -> [ABORT][87] ([Intel XE#1939])
   [86]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-adlp-4/igt@kms_vblank@query-forked-hang@pipe-d-hdmi-a-1.html
   [87]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-2/igt@kms_vblank@query-forked-hang@pipe-d-hdmi-a-1.html

  * igt@kms_vrr@flip-dpms:
    - shard-dg2-set2:     NOTRUN -> [SKIP][88] ([Intel XE#455]) +3 other tests skip
   [88]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-432/igt@kms_vrr@flip-dpms.html

  * igt@kms_vrr@flip-suspend:
    - shard-adlp:         NOTRUN -> [ABORT][89] ([Intel XE#1939])
   [89]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-8/igt@kms_vrr@flip-suspend.html

  * igt@kms_writeback@writeback-check-output-xrgb2101010:
    - shard-adlp:         NOTRUN -> [SKIP][90] ([Intel XE#1201] / [Intel XE#756])
   [90]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-8/igt@kms_writeback@writeback-check-output-xrgb2101010.html

  * igt@sriov_basic@enable-vfs-autoprobe-off:
    - shard-dg2-set2:     NOTRUN -> [SKIP][91] ([Intel XE#1091] / [Intel XE#1201])
   [91]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-463/igt@sriov_basic@enable-vfs-autoprobe-off.html

  * igt@xe_copy_basic@mem-copy-linear-0x3fff:
    - shard-adlp:         NOTRUN -> [SKIP][92] ([Intel XE#1123] / [Intel XE#1201])
   [92]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-6/igt@xe_copy_basic@mem-copy-linear-0x3fff.html

  * igt@xe_copy_basic@mem-copy-linear-0xfd:
    - shard-dg2-set2:     NOTRUN -> [SKIP][93] ([Intel XE#1123] / [Intel XE#1201])
   [93]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-466/igt@xe_copy_basic@mem-copy-linear-0xfd.html

  * igt@xe_copy_basic@mem-set-linear-0x369:
    - shard-adlp:         NOTRUN -> [SKIP][94] ([Intel XE#1126] / [Intel XE#1201])
   [94]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-8/igt@xe_copy_basic@mem-set-linear-0x369.html

  * igt@xe_evict@evict-beng-cm-threads-large:
    - shard-dg2-set2:     [PASS][95] -> [TIMEOUT][96] ([Intel XE#1473] / [Intel XE#392])
   [95]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-466/igt@xe_evict@evict-beng-cm-threads-large.html
   [96]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-432/igt@xe_evict@evict-beng-cm-threads-large.html

  * igt@xe_evict@evict-beng-mixed-threads-large:
    - shard-dg2-set2:     NOTRUN -> [TIMEOUT][97] ([Intel XE#1473] / [Intel XE#392])
   [97]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-466/igt@xe_evict@evict-beng-mixed-threads-large.html

  * igt@xe_evict@evict-cm-threads-large:
    - shard-dg2-set2:     NOTRUN -> [INCOMPLETE][98] ([Intel XE#1195] / [Intel XE#1473])
   [98]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-436/igt@xe_evict@evict-cm-threads-large.html

  * igt@xe_evict@evict-small-multi-vm-cm:
    - shard-adlp:         NOTRUN -> [SKIP][99] ([Intel XE#1201] / [Intel XE#261] / [Intel XE#688])
   [99]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-8/igt@xe_evict@evict-small-multi-vm-cm.html

  * igt@xe_evict@evict-threads-large-multi-vm:
    - shard-adlp:         NOTRUN -> [SKIP][100] ([Intel XE#1201] / [Intel XE#261]) +6 other tests skip
   [100]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-8/igt@xe_evict@evict-threads-large-multi-vm.html

  * igt@xe_exec_basic@multigpu-many-execqueues-many-vm-bindexecqueue-userptr-invalidate:
    - shard-adlp:         NOTRUN -> [SKIP][101] ([Intel XE#1201] / [Intel XE#1392]) +9 other tests skip
   [101]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-8/igt@xe_exec_basic@multigpu-many-execqueues-many-vm-bindexecqueue-userptr-invalidate.html

  * igt@xe_exec_fault_mode@many-execqueues-bindexecqueue-userptr-rebind-prefetch:
    - shard-adlp:         NOTRUN -> [SKIP][102] ([Intel XE#1201] / [Intel XE#288]) +25 other tests skip
   [102]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-8/igt@xe_exec_fault_mode@many-execqueues-bindexecqueue-userptr-rebind-prefetch.html

  * igt@xe_exec_fault_mode@once-bindexecqueue-imm:
    - shard-dg2-set2:     NOTRUN -> [SKIP][103] ([Intel XE#1201] / [Intel XE#288]) +18 other tests skip
   [103]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-466/igt@xe_exec_fault_mode@once-bindexecqueue-imm.html

  * igt@xe_exec_fault_mode@once-bindexecqueue-prefetch:
    - shard-dg2-set2:     NOTRUN -> [SKIP][104] ([Intel XE#288])
   [104]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-432/igt@xe_exec_fault_mode@once-bindexecqueue-prefetch.html

  * igt@xe_exec_reset@gt-reset-stress:
    - shard-dg2-set2:     NOTRUN -> [DMESG-WARN][105] ([Intel XE#1214] / [Intel XE#1638])
   [105]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-466/igt@xe_exec_reset@gt-reset-stress.html
    - shard-adlp:         NOTRUN -> [DMESG-WARN][106] ([Intel XE#1214] / [Intel XE#1638])
   [106]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-8/igt@xe_exec_reset@gt-reset-stress.html

  * igt@xe_live_ktest@xe_dma_buf:
    - shard-adlp:         NOTRUN -> [SKIP][107] ([Intel XE#1192] / [Intel XE#1201])
   [107]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-8/igt@xe_live_ktest@xe_dma_buf.html

  * igt@xe_mmap@vram:
    - shard-adlp:         NOTRUN -> [SKIP][108] ([Intel XE#1008] / [Intel XE#1201])
   [108]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-8/igt@xe_mmap@vram.html

  * igt@xe_pat@display-vs-wb-transient:
    - shard-dg2-set2:     NOTRUN -> [SKIP][109] ([Intel XE#1201] / [Intel XE#1337])
   [109]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-466/igt@xe_pat@display-vs-wb-transient.html

  * igt@xe_pm@d3cold-basic:
    - shard-adlp:         NOTRUN -> [SKIP][110] ([Intel XE#1201] / [Intel XE#366]) +1 other test skip
   [110]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-6/igt@xe_pm@d3cold-basic.html

  * igt@xe_pm@s2idle-d3hot-basic-exec:
    - shard-adlp:         NOTRUN -> [DMESG-WARN][111] ([Intel XE#1214] / [Intel XE#1608]) +1 other test dmesg-warn
   [111]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-8/igt@xe_pm@s2idle-d3hot-basic-exec.html

  * igt@xe_pm@s2idle-multiple-execs:
    - shard-adlp:         NOTRUN -> [DMESG-WARN][112] ([Intel XE#1191] / [Intel XE#1214] / [Intel XE#1608])
   [112]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-6/igt@xe_pm@s2idle-multiple-execs.html

  * igt@xe_pm@s4-vm-bind-unbind-all:
    - shard-adlp:         [PASS][113] -> [DMESG-WARN][114] ([Intel XE#1214])
   [113]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-adlp-1/igt@xe_pm@s4-vm-bind-unbind-all.html
   [114]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-8/igt@xe_pm@s4-vm-bind-unbind-all.html

  * igt@xe_query@multigpu-query-hwconfig:
    - shard-adlp:         NOTRUN -> [SKIP][115] ([Intel XE#1201] / [Intel XE#944]) +2 other tests skip
   [115]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-8/igt@xe_query@multigpu-query-hwconfig.html

  * igt@xe_query@multigpu-query-invalid-uc-fw-version-mbz:
    - shard-dg2-set2:     NOTRUN -> [SKIP][116] ([Intel XE#1201] / [Intel XE#944])
   [116]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-463/igt@xe_query@multigpu-query-invalid-uc-fw-version-mbz.html

  * igt@xe_query@multigpu-query-uc-fw-version-huc:
    - shard-dg2-set2:     NOTRUN -> [SKIP][117] ([Intel XE#944])
   [117]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-432/igt@xe_query@multigpu-query-uc-fw-version-huc.html

  
#### Possible fixes ####

  * igt@kms_async_flips@alternate-sync-async-flip@pipe-b-dp-4:
    - shard-dg2-set2:     [FAIL][118] ([Intel XE#827]) -> [PASS][119] +1 other test pass
   [118]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-434/igt@kms_async_flips@alternate-sync-async-flip@pipe-b-dp-4.html
   [119]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-464/igt@kms_async_flips@alternate-sync-async-flip@pipe-b-dp-4.html

  * igt@kms_async_flips@async-flip-with-page-flip-events@pipe-d-hdmi-a-1-y:
    - shard-adlp:         [DMESG-WARN][120] ([Intel XE#1033] / [Intel XE#1214]) -> [PASS][121]
   [120]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-adlp-8/igt@kms_async_flips@async-flip-with-page-flip-events@pipe-d-hdmi-a-1-y.html
   [121]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-6/igt@kms_async_flips@async-flip-with-page-flip-events@pipe-d-hdmi-a-1-y.html

  * igt@kms_cursor_crc@cursor-offscreen-64x64:
    - {shard-lnl}:        [ABORT][122] ([Intel XE#1908] / [Intel XE#1939]) -> [PASS][123]
   [122]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-lnl-6/igt@kms_cursor_crc@cursor-offscreen-64x64.html
   [123]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-lnl-8/igt@kms_cursor_crc@cursor-offscreen-64x64.html

  * igt@kms_cursor_legacy@cursorb-vs-flipa-atomic:
    - shard-dg2-set2:     [DMESG-WARN][124] ([Intel XE#1214] / [Intel XE#282]) -> [PASS][125] +1 other test pass
   [124]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-434/igt@kms_cursor_legacy@cursorb-vs-flipa-atomic.html
   [125]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-433/igt@kms_cursor_legacy@cursorb-vs-flipa-atomic.html

  * igt@kms_flip@flip-vs-absolute-wf_vblank-interruptible:
    - {shard-lnl}:        [FAIL][126] ([Intel XE#480] / [Intel XE#886]) -> [PASS][127]
   [126]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-lnl-3/igt@kms_flip@flip-vs-absolute-wf_vblank-interruptible.html
   [127]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-lnl-4/igt@kms_flip@flip-vs-absolute-wf_vblank-interruptible.html

  * igt@kms_flip@flip-vs-absolute-wf_vblank-interruptible@a-edp1:
    - {shard-lnl}:        [FAIL][128] ([Intel XE#886]) -> [PASS][129]
   [128]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-lnl-3/igt@kms_flip@flip-vs-absolute-wf_vblank-interruptible@a-edp1.html
   [129]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-lnl-4/igt@kms_flip@flip-vs-absolute-wf_vblank-interruptible@a-edp1.html

  * igt@kms_frontbuffer_tracking@fbcpsr-rgb101010-draw-mmap-wc:
    - {shard-lnl}:        [ABORT][130] ([Intel XE#1939]) -> [PASS][131] +5 other tests pass
   [130]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-lnl-6/igt@kms_frontbuffer_tracking@fbcpsr-rgb101010-draw-mmap-wc.html
   [131]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-lnl-5/igt@kms_frontbuffer_tracking@fbcpsr-rgb101010-draw-mmap-wc.html

  * igt@kms_pm_rpm@modeset-stress-extra-wait:
    - {shard-lnl}:        [INCOMPLETE][132] -> [PASS][133]
   [132]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-lnl-3/igt@kms_pm_rpm@modeset-stress-extra-wait.html
   [133]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-lnl-4/igt@kms_pm_rpm@modeset-stress-extra-wait.html

  * igt@kms_pm_rpm@universal-planes:
    - shard-dg2-set2:     [ABORT][134] ([Intel XE#1939]) -> [PASS][135] +3 other tests pass
   [134]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-464/igt@kms_pm_rpm@universal-planes.html
   [135]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-436/igt@kms_pm_rpm@universal-planes.html

  * igt@kms_pm_rpm@universal-planes@plane-59:
    - shard-dg2-set2:     [ABORT][136] -> [PASS][137]
   [136]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-464/igt@kms_pm_rpm@universal-planes@plane-59.html
   [137]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-436/igt@kms_pm_rpm@universal-planes@plane-59.html

  * igt@kms_pm_rpm@universal-planes@plane-68:
    - shard-dg2-set2:     [DMESG-WARN][138] ([Intel XE#1214]) -> [PASS][139]
   [138]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-464/igt@kms_pm_rpm@universal-planes@plane-68.html
   [139]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-436/igt@kms_pm_rpm@universal-planes@plane-68.html

  * igt@kms_vblank@query-forked-hang@pipe-a-hdmi-a-1:
    - shard-adlp:         [ABORT][140] ([Intel XE#1939]) -> [PASS][141] +1 other test pass
   [140]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-adlp-4/igt@kms_vblank@query-forked-hang@pipe-a-hdmi-a-1.html
   [141]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-2/igt@kms_vblank@query-forked-hang@pipe-a-hdmi-a-1.html

  * igt@xe_exec_basic@many-execqueues-many-vm-null-defer-bind:
    - shard-adlp:         [INCOMPLETE][142] ([Intel XE#1195] / [Intel XE#1939]) -> [PASS][143]
   [142]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-adlp-1/igt@xe_exec_basic@many-execqueues-many-vm-null-defer-bind.html
   [143]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-6/igt@xe_exec_basic@many-execqueues-many-vm-null-defer-bind.html

  * igt@xe_exec_threads@threads-bal-mixed-fd-basic:
    - shard-dg2-set2:     [ABORT][144] ([Intel XE#1908] / [Intel XE#1939]) -> [PASS][145]
   [144]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-436/igt@xe_exec_threads@threads-bal-mixed-fd-basic.html
   [145]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-432/igt@xe_exec_threads@threads-bal-mixed-fd-basic.html

  * igt@xe_exec_threads@threads-hang-fd-userptr-invalidate:
    - shard-dg2-set2:     [FAIL][146] ([Intel XE#1081]) -> [PASS][147]
   [146]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-434/igt@xe_exec_threads@threads-hang-fd-userptr-invalidate.html
   [147]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-433/igt@xe_exec_threads@threads-hang-fd-userptr-invalidate.html

  * igt@xe_live_ktest@xe_mocs:
    - {shard-lnl}:        [ABORT][148] ([Intel XE#1553]) -> [PASS][149]
   [148]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-lnl-3/igt@xe_live_ktest@xe_mocs.html
   [149]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-lnl-7/igt@xe_live_ktest@xe_mocs.html

  * igt@xe_live_ktest@xe_mocs@xe_live_mocs_kernel_kunit:
    - {shard-lnl}:        [ABORT][150] -> [PASS][151]
   [150]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-lnl-3/igt@xe_live_ktest@xe_mocs@xe_live_mocs_kernel_kunit.html
   [151]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-lnl-7/igt@xe_live_ktest@xe_mocs@xe_live_mocs_kernel_kunit.html

  * igt@xe_live_ktest@xe_mocs@xe_live_mocs_reset_kunit:
    - {shard-lnl}:        [DMESG-FAIL][152] -> [PASS][153]
   [152]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-lnl-3/igt@xe_live_ktest@xe_mocs@xe_live_mocs_reset_kunit.html
   [153]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-lnl-7/igt@xe_live_ktest@xe_mocs@xe_live_mocs_reset_kunit.html

  * igt@xe_pm@s4-d3hot-basic-exec:
    - shard-adlp:         [DMESG-WARN][154] ([Intel XE#1214]) -> [PASS][155] +2 other tests pass
   [154]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-adlp-6/igt@xe_pm@s4-d3hot-basic-exec.html
   [155]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-8/igt@xe_pm@s4-d3hot-basic-exec.html

  
#### Warnings ####

  * igt@kms_big_fb@4-tiled-64bpp-rotate-90:
    - shard-dg2-set2:     [SKIP][156] ([Intel XE#1201] / [Intel XE#316]) -> [SKIP][157] ([Intel XE#316])
   [156]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-436/igt@kms_big_fb@4-tiled-64bpp-rotate-90.html
   [157]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-432/igt@kms_big_fb@4-tiled-64bpp-rotate-90.html

  * igt@kms_big_fb@x-tiled-16bpp-rotate-270:
    - shard-dg2-set2:     [SKIP][158] ([Intel XE#316]) -> [SKIP][159] ([Intel XE#1201] / [Intel XE#316]) +1 other test skip
   [158]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-432/igt@kms_big_fb@x-tiled-16bpp-rotate-270.html
   [159]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-435/igt@kms_big_fb@x-tiled-16bpp-rotate-270.html

  * igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180-hflip:
    - shard-dg2-set2:     [SKIP][160] ([Intel XE#1124]) -> [SKIP][161] ([Intel XE#1124] / [Intel XE#1201]) +2 other tests skip
   [160]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-432/igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180-hflip.html
   [161]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-435/igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180-hflip.html

  * igt@kms_big_fb@y-tiled-max-hw-stride-64bpp-rotate-0-hflip-async-flip:
    - shard-dg2-set2:     [SKIP][162] ([Intel XE#1124] / [Intel XE#1201]) -> [SKIP][163] ([Intel XE#1124]) +3 other tests skip
   [162]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-466/igt@kms_big_fb@y-tiled-max-hw-stride-64bpp-rotate-0-hflip-async-flip.html
   [163]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-432/igt@kms_big_fb@y-tiled-max-hw-stride-64bpp-rotate-0-hflip-async-flip.html

  * igt@kms_big_fb@yf-tiled-addfb:
    - shard-dg2-set2:     [SKIP][164] ([Intel XE#619]) -> [SKIP][165] ([Intel XE#1201] / [Intel XE#619]) +1 other test skip
   [164]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-432/igt@kms_big_fb@yf-tiled-addfb.html
   [165]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-435/igt@kms_big_fb@yf-tiled-addfb.html

  * igt@kms_ccs@ccs-on-another-bo-4-tiled-mtl-rc-ccs-cc@pipe-b-hdmi-a-6:
    - shard-dg2-set2:     [SKIP][166] ([Intel XE#1201] / [Intel XE#787]) -> [SKIP][167] ([Intel XE#787]) +6 other tests skip
   [166]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-436/igt@kms_ccs@ccs-on-another-bo-4-tiled-mtl-rc-ccs-cc@pipe-b-hdmi-a-6.html
   [167]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-432/igt@kms_ccs@ccs-on-another-bo-4-tiled-mtl-rc-ccs-cc@pipe-b-hdmi-a-6.html

  * igt@kms_ccs@ccs-on-another-bo-4-tiled-mtl-rc-ccs-cc@pipe-d-dp-4:
    - shard-dg2-set2:     [SKIP][168] ([Intel XE#1201] / [Intel XE#455] / [Intel XE#787]) -> [SKIP][169] ([Intel XE#455] / [Intel XE#787]) +1 other test skip
   [168]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-436/igt@kms_ccs@ccs-on-another-bo-4-tiled-mtl-rc-ccs-cc@pipe-d-dp-4.html
   [169]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-432/igt@kms_ccs@ccs-on-another-bo-4-tiled-mtl-rc-ccs-cc@pipe-d-dp-4.html

  * igt@kms_ccs@crc-primary-rotation-180-4-tiled-dg2-mc-ccs@pipe-d-dp-4:
    - shard-dg2-set2:     [INCOMPLETE][170] -> [INCOMPLETE][171] ([Intel XE#1195]) +1 other test incomplete
   [170]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-432/igt@kms_ccs@crc-primary-rotation-180-4-tiled-dg2-mc-ccs@pipe-d-dp-4.html
   [171]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-435/igt@kms_ccs@crc-primary-rotation-180-4-tiled-dg2-mc-ccs@pipe-d-dp-4.html

  * igt@kms_ccs@crc-sprite-planes-basic-4-tiled-mtl-rc-ccs-cc@pipe-c-hdmi-a-6:
    - shard-dg2-set2:     [SKIP][172] ([Intel XE#787]) -> [SKIP][173] ([Intel XE#1201] / [Intel XE#787]) +34 other tests skip
   [172]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-432/igt@kms_ccs@crc-sprite-planes-basic-4-tiled-mtl-rc-ccs-cc@pipe-c-hdmi-a-6.html
   [173]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-435/igt@kms_ccs@crc-sprite-planes-basic-4-tiled-mtl-rc-ccs-cc@pipe-c-hdmi-a-6.html

  * igt@kms_ccs@random-ccs-data-4-tiled-mtl-rc-ccs:
    - shard-dg2-set2:     [SKIP][174] ([Intel XE#455] / [Intel XE#787]) -> [SKIP][175] ([Intel XE#1201] / [Intel XE#455] / [Intel XE#787]) +9 other tests skip
   [174]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-432/igt@kms_ccs@random-ccs-data-4-tiled-mtl-rc-ccs.html
   [175]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-435/igt@kms_ccs@random-ccs-data-4-tiled-mtl-rc-ccs.html

  * igt@kms_ccs@random-ccs-data-4-tiled-xe2-ccs:
    - shard-dg2-set2:     [SKIP][176] ([Intel XE#1201] / [Intel XE#1252]) -> [ABORT][177] ([Intel XE#1939])
   [176]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-464/igt@kms_ccs@random-ccs-data-4-tiled-xe2-ccs.html
   [177]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-464/igt@kms_ccs@random-ccs-data-4-tiled-xe2-ccs.html

  * igt@kms_chamelium_audio@dp-audio-edid:
    - shard-dg2-set2:     [SKIP][178] ([Intel XE#1201] / [Intel XE#373]) -> [SKIP][179] ([Intel XE#373]) +1 other test skip
   [178]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-436/igt@kms_chamelium_audio@dp-audio-edid.html
   [179]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-432/igt@kms_chamelium_audio@dp-audio-edid.html

  * igt@kms_chamelium_edid@dp-edid-stress-resolution-4k:
    - shard-dg2-set2:     [SKIP][180] ([Intel XE#373]) -> [SKIP][181] ([Intel XE#1201] / [Intel XE#373]) +4 other tests skip
   [180]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-432/igt@kms_chamelium_edid@dp-edid-stress-resolution-4k.html
   [181]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-435/igt@kms_chamelium_edid@dp-edid-stress-resolution-4k.html

  * igt@kms_cursor_crc@cursor-offscreen-512x170:
    - shard-dg2-set2:     [SKIP][182] ([Intel XE#1201] / [Intel XE#308]) -> [SKIP][183] ([Intel XE#308])
   [182]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-436/igt@kms_cursor_crc@cursor-offscreen-512x170.html
   [183]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-432/igt@kms_cursor_crc@cursor-offscreen-512x170.html

  * igt@kms_cursor_crc@cursor-suspend:
    - shard-adlp:         [INCOMPLETE][184] ([Intel XE#1195] / [Intel XE#927]) -> [DMESG-WARN][185] ([Intel XE#1162] / [Intel XE#1191] / [Intel XE#1214] / [Intel XE#1608])
   [184]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-adlp-1/igt@kms_cursor_crc@cursor-suspend.html
   [185]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-8/igt@kms_cursor_crc@cursor-suspend.html

  * igt@kms_cursor_crc@cursor-suspend@pipe-a-hdmi-a-1:
    - shard-adlp:         [INCOMPLETE][186] ([Intel XE#1195]) -> [DMESG-WARN][187] ([Intel XE#1191] / [Intel XE#1214] / [Intel XE#1608])
   [186]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-adlp-1/igt@kms_cursor_crc@cursor-suspend@pipe-a-hdmi-a-1.html
   [187]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-8/igt@kms_cursor_crc@cursor-suspend@pipe-a-hdmi-a-1.html

  * igt@kms_cursor_edge_walk@256x256-top-edge:
    - shard-dg2-set2:     [DMESG-WARN][188] ([Intel XE#282]) -> [DMESG-WARN][189] ([Intel XE#1214] / [Intel XE#282]) +2 other tests dmesg-warn
   [188]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-432/igt@kms_cursor_edge_walk@256x256-top-edge.html
   [189]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-464/igt@kms_cursor_edge_walk@256x256-top-edge.html

  * igt@kms_cursor_legacy@2x-long-cursor-vs-flip-atomic:
    - shard-dg2-set2:     [DMESG-WARN][190] ([Intel XE#1214] / [Intel XE#282]) -> [DMESG-WARN][191] ([Intel XE#1214] / [Intel XE#282] / [Intel XE#910])
   [190]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-463/igt@kms_cursor_legacy@2x-long-cursor-vs-flip-atomic.html
   [191]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-433/igt@kms_cursor_legacy@2x-long-cursor-vs-flip-atomic.html

  * igt@kms_cursor_legacy@cursorb-vs-flipa-atomic-transitions-varying-size:
    - shard-dg2-set2:     [DMESG-WARN][192] ([Intel XE#1214] / [Intel XE#282]) -> [DMESG-WARN][193] ([Intel XE#282])
   [192]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-466/igt@kms_cursor_legacy@cursorb-vs-flipa-atomic-transitions-varying-size.html
   [193]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-432/igt@kms_cursor_legacy@cursorb-vs-flipa-atomic-transitions-varying-size.html

  * igt@kms_display_modes@mst-extended-mode-negative:
    - shard-dg2-set2:     [SKIP][194] ([Intel XE#307]) -> [SKIP][195] ([Intel XE#1201] / [Intel XE#307])
   [194]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-432/igt@kms_display_modes@mst-extended-mode-negative.html
   [195]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-435/igt@kms_display_modes@mst-extended-mode-negative.html

  * igt@kms_dsc@dsc-with-bpc-formats:
    - shard-dg2-set2:     [SKIP][196] ([Intel XE#455]) -> [SKIP][197] ([Intel XE#1201] / [Intel XE#455]) +4 other tests skip
   [196]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-432/igt@kms_dsc@dsc-with-bpc-formats.html
   [197]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-435/igt@kms_dsc@dsc-with-bpc-formats.html

  * igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytile-downscaling:
    - shard-dg2-set2:     [SKIP][198] ([Intel XE#1201] / [Intel XE#455]) -> [SKIP][199] ([Intel XE#455]) +4 other tests skip
   [198]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-466/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytile-downscaling.html
   [199]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-432/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytile-downscaling.html

  * igt@kms_frontbuffer_tracking@drrs-1p-primscrn-cur-indfb-move:
    - shard-dg2-set2:     [SKIP][200] ([Intel XE#1201] / [Intel XE#651]) -> [SKIP][201] ([Intel XE#651]) +7 other tests skip
   [200]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-436/igt@kms_frontbuffer_tracking@drrs-1p-primscrn-cur-indfb-move.html
   [201]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-432/igt@kms_frontbuffer_tracking@drrs-1p-primscrn-cur-indfb-move.html

  * igt@kms_frontbuffer_tracking@fbcdrrs-1p-rte:
    - shard-dg2-set2:     [SKIP][202] ([Intel XE#651]) -> [SKIP][203] ([Intel XE#1201] / [Intel XE#651]) +12 other tests skip
   [202]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-432/igt@kms_frontbuffer_tracking@fbcdrrs-1p-rte.html
   [203]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-435/igt@kms_frontbuffer_tracking@fbcdrrs-1p-rte.html

  * igt@kms_frontbuffer_tracking@psr-1p-primscrn-shrfb-msflip-blt:
    - shard-dg2-set2:     [SKIP][204] ([Intel XE#653]) -> [SKIP][205] ([Intel XE#1201] / [Intel XE#653]) +12 other tests skip
   [204]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-432/igt@kms_frontbuffer_tracking@psr-1p-primscrn-shrfb-msflip-blt.html
   [205]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-435/igt@kms_frontbuffer_tracking@psr-1p-primscrn-shrfb-msflip-blt.html

  * igt@kms_frontbuffer_tracking@psr-2p-primscrn-cur-indfb-draw-render:
    - shard-dg2-set2:     [SKIP][206] ([Intel XE#1201] / [Intel XE#653]) -> [SKIP][207] ([Intel XE#653]) +4 other tests skip
   [206]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-466/igt@kms_frontbuffer_tracking@psr-2p-primscrn-cur-indfb-draw-render.html
   [207]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-432/igt@kms_frontbuffer_tracking@psr-2p-primscrn-cur-indfb-draw-render.html

  * igt@kms_plane_scaling@plane-downscale-factor-0-25-with-modifiers:
    - shard-dg2-set2:     [SKIP][208] ([Intel XE#455] / [Intel XE#498]) -> [SKIP][209] ([Intel XE#1201] / [Intel XE#455] / [Intel XE#498]) +1 other test skip
   [208]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-432/igt@kms_plane_scaling@plane-downscale-factor-0-25-with-modifiers.html
   [209]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-464/igt@kms_plane_scaling@plane-downscale-factor-0-25-with-modifiers.html

  * igt@kms_plane_scaling@plane-downscale-factor-0-25-with-modifiers@pipe-a-hdmi-a-6:
    - shard-dg2-set2:     [SKIP][210] ([Intel XE#498]) -> [SKIP][211] ([Intel XE#1201] / [Intel XE#498]) +2 other tests skip
   [210]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-432/igt@kms_plane_scaling@plane-downscale-factor-0-25-with-modifiers@pipe-a-hdmi-a-6.html
   [211]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-464/igt@kms_plane_scaling@plane-downscale-factor-0-25-with-modifiers@pipe-a-hdmi-a-6.html

  * igt@kms_plane_scaling@plane-downscale-factor-0-25-with-pixel-format:
    - shard-dg2-set2:     [SKIP][212] ([Intel XE#1201] / [Intel XE#455] / [Intel XE#498]) -> [SKIP][213] ([Intel XE#455] / [Intel XE#498]) +1 other test skip
   [212]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-466/igt@kms_plane_scaling@plane-downscale-factor-0-25-with-pixel-format.html
   [213]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-432/igt@kms_plane_scaling@plane-downscale-factor-0-25-with-pixel-format.html

  * igt@kms_plane_scaling@plane-downscale-factor-0-25-with-pixel-format@pipe-c-hdmi-a-6:
    - shard-dg2-set2:     [SKIP][214] ([Intel XE#1201] / [Intel XE#498]) -> [SKIP][215] ([Intel XE#498]) +2 other tests skip
   [214]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-466/igt@kms_plane_scaling@plane-downscale-factor-0-25-with-pixel-format@pipe-c-hdmi-a-6.html
   [215]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-432/igt@kms_plane_scaling@plane-downscale-factor-0-25-with-pixel-format@pipe-c-hdmi-a-6.html

  * igt@kms_pm_backlight@fade-with-dpms:
    - shard-dg2-set2:     [SKIP][216] ([Intel XE#1201] / [Intel XE#870]) -> [SKIP][217] ([Intel XE#870])
   [216]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-436/igt@kms_pm_backlight@fade-with-dpms.html
   [217]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-432/igt@kms_pm_backlight@fade-with-dpms.html

  * igt@kms_pm_dc@dc9-dpms:
    - shard-adlp:         [FAIL][218] ([Intel XE#1204]) -> [SKIP][219] ([Intel XE#1201] / [Intel XE#734])
   [218]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-adlp-8/igt@kms_pm_dc@dc9-dpms.html
   [219]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-9/igt@kms_pm_dc@dc9-dpms.html

  * igt@kms_psr2_sf@fbc-cursor-plane-move-continuous-exceed-sf:
    - shard-dg2-set2:     [SKIP][220] ([Intel XE#1201] / [Intel XE#929]) -> [SKIP][221] ([Intel XE#929]) +5 other tests skip
   [220]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-466/igt@kms_psr2_sf@fbc-cursor-plane-move-continuous-exceed-sf.html
   [221]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-432/igt@kms_psr2_sf@fbc-cursor-plane-move-continuous-exceed-sf.html

  * igt@kms_psr@psr-dpms:
    - shard-dg2-set2:     [SKIP][222] ([Intel XE#929]) -> [SKIP][223] ([Intel XE#1201] / [Intel XE#929]) +9 other tests skip
   [222]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-432/igt@kms_psr@psr-dpms.html
   [223]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-435/igt@kms_psr@psr-dpms.html

  * igt@kms_tiled_display@basic-test-pattern:
    - shard-dg2-set2:     [FAIL][224] ([Intel XE#1729]) -> [SKIP][225] ([Intel XE#1201] / [Intel XE#362])
   [224]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-433/igt@kms_tiled_display@basic-test-pattern.html
   [225]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-463/igt@kms_tiled_display@basic-test-pattern.html

  * igt@kms_vblank@ts-continuation-dpms-suspend:
    - shard-adlp:         [INCOMPLETE][226] ([Intel XE#1034] / [Intel XE#1195]) -> [DMESG-WARN][227] ([Intel XE#1191] / [Intel XE#1214] / [Intel XE#1608])
   [226]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-adlp-1/igt@kms_vblank@ts-continuation-dpms-suspend.html
   [227]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-8/igt@kms_vblank@ts-continuation-dpms-suspend.html

  * igt@kms_vblank@ts-continuation-dpms-suspend@pipe-a-hdmi-a-1:
    - shard-adlp:         [INCOMPLETE][228] ([Intel XE#1034] / [Intel XE#1195]) -> [DMESG-WARN][229] ([Intel XE#1191] / [Intel XE#1214])
   [228]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-adlp-1/igt@kms_vblank@ts-continuation-dpms-suspend@pipe-a-hdmi-a-1.html
   [229]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-8/igt@kms_vblank@ts-continuation-dpms-suspend@pipe-a-hdmi-a-1.html

  * igt@kms_writeback@writeback-check-output-xrgb2101010:
    - shard-dg2-set2:     [SKIP][230] ([Intel XE#756]) -> [SKIP][231] ([Intel XE#1201] / [Intel XE#756])
   [230]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-432/igt@kms_writeback@writeback-check-output-xrgb2101010.html
   [231]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-435/igt@kms_writeback@writeback-check-output-xrgb2101010.html

  * igt@kms_writeback@writeback-pixel-formats:
    - shard-dg2-set2:     [SKIP][232] ([Intel XE#1201] / [Intel XE#756]) -> [SKIP][233] ([Intel XE#756])
   [232]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-436/igt@kms_writeback@writeback-pixel-formats.html
   [233]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-432/igt@kms_writeback@writeback-pixel-formats.html

  * igt@xe_copy_basic@mem-set-linear-0x369:
    - shard-dg2-set2:     [SKIP][234] ([Intel XE#1126]) -> [SKIP][235] ([Intel XE#1126] / [Intel XE#1201])
   [234]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-432/igt@xe_copy_basic@mem-set-linear-0x369.html
   [235]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-435/igt@xe_copy_basic@mem-set-linear-0x369.html

  * igt@xe_exec_fault_mode@once-bindexecqueue-userptr-rebind-imm:
    - shard-dg2-set2:     [SKIP][236] ([Intel XE#1201] / [Intel XE#288]) -> [SKIP][237] ([Intel XE#288]) +7 other tests skip
   [236]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-466/igt@xe_exec_fault_mode@once-bindexecqueue-userptr-rebind-imm.html
   [237]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-432/igt@xe_exec_fault_mode@once-bindexecqueue-userptr-rebind-imm.html

  * igt@xe_exec_fault_mode@twice-userptr-invalidate-race:
    - shard-dg2-set2:     [SKIP][238] ([Intel XE#288]) -> [SKIP][239] ([Intel XE#1201] / [Intel XE#288]) +10 other tests skip
   [238]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-432/igt@xe_exec_fault_mode@twice-userptr-invalidate-race.html
   [239]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-435/igt@xe_exec_fault_mode@twice-userptr-invalidate-race.html

  * igt@xe_live_ktest@xe_dma_buf:
    - shard-dg2-set2:     [SKIP][240] ([Intel XE#1192]) -> [SKIP][241] ([Intel XE#1192] / [Intel XE#1201])
   [240]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-432/igt@xe_live_ktest@xe_dma_buf.html
   [241]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-435/igt@xe_live_ktest@xe_dma_buf.html

  * igt@xe_pat@pat-index-xe2:
    - shard-dg2-set2:     [SKIP][242] ([Intel XE#1201] / [Intel XE#977]) -> [SKIP][243] ([Intel XE#977])
   [242]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-436/igt@xe_pat@pat-index-xe2.html
   [243]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-432/igt@xe_pat@pat-index-xe2.html

  * igt@xe_pm@d3cold-mmap-system:
    - shard-dg2-set2:     [SKIP][244] ([Intel XE#1201] / [Intel XE#366]) -> [SKIP][245] ([Intel XE#366])
   [244]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-436/igt@xe_pm@d3cold-mmap-system.html
   [245]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-432/igt@xe_pm@d3cold-mmap-system.html
    - shard-adlp:         [SKIP][246] ([Intel XE#1201] / [Intel XE#366]) -> [SKIP][247] ([Intel XE#1201])
   [246]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-adlp-2/igt@xe_pm@d3cold-mmap-system.html
   [247]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-2/igt@xe_pm@d3cold-mmap-system.html

  * igt@xe_pm@d3hot-mmap-vram:
    - shard-adlp:         [SKIP][248] ([Intel XE#1201] / [Intel XE#1948]) -> [SKIP][249] ([Intel XE#1201])
   [248]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-adlp-8/igt@xe_pm@d3hot-mmap-vram.html
   [249]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-6/igt@xe_pm@d3hot-mmap-vram.html

  * igt@xe_pm@s2idle-exec-after:
    - shard-adlp:         [INCOMPLETE][250] ([Intel XE#1044] / [Intel XE#1195] / [Intel XE#1358]) -> [DMESG-WARN][251] ([Intel XE#1191] / [Intel XE#1214])
   [250]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-adlp-9/igt@xe_pm@s2idle-exec-after.html
   [251]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-6/igt@xe_pm@s2idle-exec-after.html

  * igt@xe_pm@s2idle-vm-bind-userptr:
    - shard-adlp:         [DMESG-WARN][252] ([Intel XE#1214] / [Intel XE#1608]) -> [INCOMPLETE][253] ([Intel XE#1195] / [Intel XE#1694])
   [252]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-adlp-6/igt@xe_pm@s2idle-vm-bind-userptr.html
   [253]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-9/igt@xe_pm@s2idle-vm-bind-userptr.html

  * igt@xe_pm@s3-basic-exec:
    - shard-adlp:         [ABORT][254] ([Intel XE#1191] / [Intel XE#1358] / [Intel XE#1939]) -> [INCOMPLETE][255] ([Intel XE#1044] / [Intel XE#1195] / [Intel XE#1358])
   [254]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-adlp-8/igt@xe_pm@s3-basic-exec.html
   [255]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-9/igt@xe_pm@s3-basic-exec.html

  * igt@xe_pm@s3-vm-bind-unbind-all:
    - shard-dg2-set2:     [DMESG-WARN][256] ([Intel XE#1162] / [Intel XE#1941]) -> [DMESG-WARN][257] ([Intel XE#1162] / [Intel XE#1214] / [Intel XE#1941])
   [256]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-432/igt@xe_pm@s3-vm-bind-unbind-all.html
   [257]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-435/igt@xe_pm@s3-vm-bind-unbind-all.html
    - shard-adlp:         [INCOMPLETE][258] ([Intel XE#1195]) -> [DMESG-WARN][259] ([Intel XE#1214] / [Intel XE#1941])
   [258]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-adlp-1/igt@xe_pm@s3-vm-bind-unbind-all.html
   [259]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-8/igt@xe_pm@s3-vm-bind-unbind-all.html

  * igt@xe_query@multigpu-query-hwconfig:
    - shard-dg2-set2:     [SKIP][260] ([Intel XE#944]) -> [SKIP][261] ([Intel XE#1201] / [Intel XE#944])
   [260]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-432/igt@xe_query@multigpu-query-hwconfig.html
   [261]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-435/igt@xe_query@multigpu-query-hwconfig.html

  * igt@xe_query@multigpu-query-topology-l3-bank-mask:
    - shard-adlp:         [SKIP][262] ([Intel XE#1201] / [Intel XE#944]) -> [SKIP][263] ([Intel XE#1201])
   [262]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-adlp-2/igt@xe_query@multigpu-query-topology-l3-bank-mask.html
   [263]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-4/igt@xe_query@multigpu-query-topology-l3-bank-mask.html
    - shard-dg2-set2:     [SKIP][264] ([Intel XE#1201] / [Intel XE#944]) -> [SKIP][265] ([Intel XE#1201])
   [264]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-dg2-463/igt@xe_query@multigpu-query-topology-l3-bank-mask.html
   [265]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-dg2-433/igt@xe_query@multigpu-query-topology-l3-bank-mask.html

  * igt@xe_wedged@wedged-at-any-timeout:
    - shard-adlp:         [DMESG-WARN][266] ([Intel XE#1214] / [Intel XE#1330] / [Intel XE#1760]) -> [DMESG-WARN][267] ([Intel XE#1214] / [Intel XE#1760])
   [266]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f/shard-adlp-9/igt@xe_wedged@wedged-at-any-timeout.html
   [267]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-121084v15/shard-adlp-1/igt@xe_wedged@wedged-at-any-timeout.html

  
  {name}: This element is suppressed. This means it is ignored when computing
          the status of the difference (SUCCESS, WARNING, or FAILURE).

  [Intel XE#1008]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1008
  [Intel XE#1033]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1033
  [Intel XE#1034]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1034
  [Intel XE#1044]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1044
  [Intel XE#1061]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1061
  [Intel XE#1062]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1062
  [Intel XE#1069]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1069
  [Intel XE#1081]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1081
  [Intel XE#1091]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1091
  [Intel XE#1122]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1122
  [Intel XE#1123]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1123
  [Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124
  [Intel XE#1126]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1126
  [Intel XE#1127]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1127
  [Intel XE#1128]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1128
  [Intel XE#1129]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1129
  [Intel XE#1137]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1137
  [Intel XE#1152]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1152
  [Intel XE#1162]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1162
  [Intel XE#1169]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1169
  [Intel XE#1191]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1191
  [Intel XE#1192]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1192
  [Intel XE#1195]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1195
  [Intel XE#1201]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1201
  [Intel XE#1204]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1204
  [Intel XE#1211]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1211
  [Intel XE#1214]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1214
  [Intel XE#1231]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1231
  [Intel XE#1252]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1252
  [Intel XE#1330]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1330
  [Intel XE#1337]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1337
  [Intel XE#1358]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1358
  [Intel XE#1388]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1388
  [Intel XE#1392]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1392
  [Intel XE#1397]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1397
  [Intel XE#1399]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1399
  [Intel XE#1401]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1401
  [Intel XE#1406]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1406
  [Intel XE#1407]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1407
  [Intel XE#1413]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1413
  [Intel XE#1416]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1416
  [Intel XE#1421]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1421
  [Intel XE#1424]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1424
  [Intel XE#1430]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1430
  [Intel XE#1435]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1435
  [Intel XE#1437]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1437
  [Intel XE#1446]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1446
  [Intel XE#1465]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1465
  [Intel XE#1473]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1473
  [Intel XE#1553]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1553
  [Intel XE#1608]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1608
  [Intel XE#1638]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1638
  [Intel XE#1694]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1694
  [Intel XE#1725]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1725
  [Intel XE#1729]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1729
  [Intel XE#1745]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1745
  [Intel XE#1760]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1760
  [Intel XE#1761]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1761
  [Intel XE#1830]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1830
  [Intel XE#1874]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1874
  [Intel XE#1899]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1899
  [Intel XE#1908]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1908
  [Intel XE#1939]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1939
  [Intel XE#1941]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1941
  [Intel XE#1948]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1948
  [Intel XE#261]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/261
  [Intel XE#282]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/282
  [Intel XE#288]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/288
  [Intel XE#305]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/305
  [Intel XE#306]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/306
  [Intel XE#307]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/307
  [Intel XE#308]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/308
  [Intel XE#309]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/309
  [Intel XE#310]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/310
  [Intel XE#314]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/314
  [Intel XE#316]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/316
  [Intel XE#323]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/323
  [Intel XE#324]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/324
  [Intel XE#327]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/327
  [Intel XE#352]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/352
  [Intel XE#361]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/361
  [Intel XE#362]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/362
  [Intel XE#366]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/366
  [Intel XE#367]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/367
  [Intel XE#373]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/373
  [Intel XE#392]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/392
  [Intel XE#455]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/455
  [Intel XE#480]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/480
  [Intel XE#498]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/498
  [Intel XE#599]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/599
  [Intel XE#616]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/616
  [Intel XE#619]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/619
  [Intel XE#651]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/651
  [Intel XE#653]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/653
  [Intel XE#656]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/656
  [Intel XE#660]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/660
  [Intel XE#688]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/688
  [Intel XE#703]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/703
  [Intel XE#718]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/718
  [Intel XE#734]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/734
  [Intel XE#756]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/756
  [Intel XE#771]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/771
  [Intel XE#787]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/787
  [Intel XE#827]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/827
  [Intel XE#870]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/870
  [Intel XE#877]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/877
  [Intel XE#886]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/886
  [Intel XE#899]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/899
  [Intel XE#910]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/910
  [Intel XE#927]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/927
  [Intel XE#929]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/929
  [Intel XE#944]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/944
  [Intel XE#958]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/958
  [Intel XE#977]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/977


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

  * Linux: xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f -> xe-pw-121084v15

  IGT_7871: 1d7b961235e345db20933c057f265898e2e96fd2 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
  xe-1341-573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f: 573842e9ab57ccd8d6bb68ad55ed2e012e3d5d2f
  xe-pw-121084v15: 121084v15

== Logs ==

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

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

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

* Re: [PATCH 07/17] drm/xe/oa: OA stream initialization (OAG)
  2024-05-27  7:04   ` Lionel Landwerlin
@ 2024-05-28  5:27     ` Dixit, Ashutosh
  2024-05-28  5:47       ` Lionel Landwerlin
  0 siblings, 1 reply; 47+ messages in thread
From: Dixit, Ashutosh @ 2024-05-28  5:27 UTC (permalink / raw)
  To: Lionel Landwerlin; +Cc: intel-xe

On Mon, 27 May 2024 00:04:21 -0700, Lionel Landwerlin wrote:
>

Hi Lionel,

> > +static int xe_oa_stream_init(struct xe_oa_stream *stream,
> > +			     struct xe_oa_open_param *param)
> > +{

/snip/

> > +	stream->k_exec_q = xe_exec_queue_create(stream->oa->xe, NULL,
> > +						BIT(stream->hwe->logical_instance), 1,
> > +						stream->hwe, EXEC_QUEUE_FLAG_KERNEL, 0);
>
>
> Hi Ashutosh,
>
> On i915 the changes of configuration were pipelined in the application's
> execution just like any other submission.
>
> Creating another queue completely unsynchronized from the application's
> submissions makes this non usable in my opinion.

As we discussed previously, the plan here is to provide a drm_xe_sync array,
through stream properties, which can use to synchronize OA programming with
workload submisson.

Would that not work? If not, we can do what was done in i915. But note that
i915 still has unresolved hangs, which I believe are due to the spinner
running on the application engine (iirc repeatedly opening/closing an OA
stream will hang in i915, though it could be due to other i915
complexity). That is why thought using drm_xe_sync array is both safer and
more standard way of doing what we want to achieve.

Basically the output sync object will be signalled after registers are
programmed and also any additional OA programming delay (which is
implemented in i915 using the spinner).

This would be done both for OA stream open and changing OA stream
configuration.

Thanks.
--
Ashutosh

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

* Re: [PATCH 07/17] drm/xe/oa: OA stream initialization (OAG)
  2024-05-28  5:27     ` Dixit, Ashutosh
@ 2024-05-28  5:47       ` Lionel Landwerlin
  2024-05-28  6:17         ` Dixit, Ashutosh
  0 siblings, 1 reply; 47+ messages in thread
From: Lionel Landwerlin @ 2024-05-28  5:47 UTC (permalink / raw)
  To: Dixit, Ashutosh; +Cc: intel-xe

On 28/05/2024 08:27, Dixit, Ashutosh wrote:
> On Mon, 27 May 2024 00:04:21 -0700, Lionel Landwerlin wrote:
> Hi Lionel,
>
>>> +static int xe_oa_stream_init(struct xe_oa_stream *stream,
>>> +			     struct xe_oa_open_param *param)
>>> +{
> /snip/
>
>>> +	stream->k_exec_q = xe_exec_queue_create(stream->oa->xe, NULL,
>>> +						BIT(stream->hwe->logical_instance), 1,
>>> +						stream->hwe, EXEC_QUEUE_FLAG_KERNEL, 0);
>>
>> Hi Ashutosh,
>>
>> On i915 the changes of configuration were pipelined in the application's
>> execution just like any other submission.
>>
>> Creating another queue completely unsynchronized from the application's
>> submissions makes this non usable in my opinion.
> As we discussed previously, the plan here is to provide a drm_xe_sync array,
> through stream properties, which can use to synchronize OA programming with
> workload submisson.
>
> Would that not work? If not, we can do what was done in i915. But note that
> i915 still has unresolved hangs, which I believe are due to the spinner
> running on the application engine (iirc repeatedly opening/closing an OA
> stream will hang in i915, though it could be due to other i915
> complexity). That is why thought using drm_xe_sync array is both safer and
> more standard way of doing what we want to achieve.
>
> Basically the output sync object will be signalled after registers are
> programmed and also any additional OA programming delay (which is
> implemented in i915 using the spinner).
>
> This would be done both for OA stream open and changing OA stream
> configuration.


Thanks for the details.

But it's not what is implemented here.

Just letting you know, because we cannot use the current ioctl because 
it doesn't behave as we expect


-Lionel


>
> Thanks.
> --
> Ashutosh



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

* Re: [PATCH 07/17] drm/xe/oa: OA stream initialization (OAG)
  2024-05-28  5:47       ` Lionel Landwerlin
@ 2024-05-28  6:17         ` Dixit, Ashutosh
  2024-05-28  6:39           ` Lionel Landwerlin
  0 siblings, 1 reply; 47+ messages in thread
From: Dixit, Ashutosh @ 2024-05-28  6:17 UTC (permalink / raw)
  To: Lionel Landwerlin; +Cc: intel-xe

On Mon, 27 May 2024 22:47:13 -0700, Lionel Landwerlin wrote:
>

Hi Lionel,

> On 28/05/2024 08:27, Dixit, Ashutosh wrote:
> > On Mon, 27 May 2024 00:04:21 -0700, Lionel Landwerlin wrote:
> >
> >>> +static int xe_oa_stream_init(struct xe_oa_stream *stream,
> >>> +			     struct xe_oa_open_param *param)
> >>> +{
> > /snip/
> >
> >>> +	stream->k_exec_q = xe_exec_queue_create(stream->oa->xe, NULL,
> >>> +						BIT(stream->hwe->logical_instance), 1,
> >>> +						stream->hwe, EXEC_QUEUE_FLAG_KERNEL, 0);
> >>
> >> Hi Ashutosh,
> >>
> >> On i915 the changes of configuration were pipelined in the application's
> >> execution just like any other submission.
> >>
> >> Creating another queue completely unsynchronized from the application's
> >> submissions makes this non usable in my opinion.
> > As we discussed previously, the plan here is to provide a drm_xe_sync array,
> > through stream properties, which can use to synchronize OA programming with
> > workload submisson.
> >
> > Would that not work? If not, we can do what was done in i915. But note that
> > i915 still has unresolved hangs, which I believe are due to the spinner
> > running on the application engine (iirc repeatedly opening/closing an OA
> > stream will hang in i915, though it could be due to other i915
> > complexity). That is why thought using drm_xe_sync array is both safer and
> > more standard way of doing what we want to achieve.
> >
> > Basically the output sync object will be signalled after registers are
> > programmed and also any additional OA programming delay (which is
> > implemented in i915 using the spinner).
> >
> > This would be done both for OA stream open and changing OA stream
> > configuration.

That is true. But now that I have other stuff like gpuvis wrapped up, I
plan to start looking these couple of missing uapi pieces (hold preemption
and synchronization, likely in that order).

Because synchronization is not implemented I add the delay below:

        static int xe_oa_emit_oa_config(struct xe_oa_stream *stream)
        {
        #define NOA_PROGRAM_ADDITIONAL_DELAY_US 500
                struct xe_oa_config_bo *oa_bo;
                int err, us = NOA_PROGRAM_ADDITIONAL_DELAY_US;

                oa_bo = xe_oa_alloc_config_buffer(stream);
                if (IS_ERR(oa_bo)) {
                        err = PTR_ERR(oa_bo);
                        goto exit;
                }

                err = xe_oa_submit_bb(stream, oa_bo->bb);

                /* Additional empirical delay needed for NOA programming after registers are written */
                usleep_range(us, 2 * us);
        exit:
                return err;
        }

I need understand this is temporaty band-aid, since it stalls the
submission pipeline and needs to be replaced by proper synchronization.

> Just letting you know, because we cannot use the current ioctl because it
> doesn't behave as we expect

You wouldn't be able to merge the Mesa PR as per the current uapi now and
then add additional Mesa patches, when we implement these couple of missing
uapi features in KMD?

Thanks.
--
Ashutosh

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

* Re: [PATCH 07/17] drm/xe/oa: OA stream initialization (OAG)
  2024-05-28  6:17         ` Dixit, Ashutosh
@ 2024-05-28  6:39           ` Lionel Landwerlin
  2024-05-28  7:16             ` Dixit, Ashutosh
  0 siblings, 1 reply; 47+ messages in thread
From: Lionel Landwerlin @ 2024-05-28  6:39 UTC (permalink / raw)
  To: Dixit, Ashutosh; +Cc: intel-xe

On 28/05/2024 09:17, Dixit, Ashutosh wrote:
> On Mon, 27 May 2024 22:47:13 -0700, Lionel Landwerlin wrote:
> Hi Lionel,
>
>> On 28/05/2024 08:27, Dixit, Ashutosh wrote:
>>> On Mon, 27 May 2024 00:04:21 -0700, Lionel Landwerlin wrote:
>>>
>>>>> +static int xe_oa_stream_init(struct xe_oa_stream *stream,
>>>>> +			     struct xe_oa_open_param *param)
>>>>> +{
>>> /snip/
>>>
>>>>> +	stream->k_exec_q = xe_exec_queue_create(stream->oa->xe, NULL,
>>>>> +						BIT(stream->hwe->logical_instance), 1,
>>>>> +						stream->hwe, EXEC_QUEUE_FLAG_KERNEL, 0);
>>>> Hi Ashutosh,
>>>>
>>>> On i915 the changes of configuration were pipelined in the application's
>>>> execution just like any other submission.
>>>>
>>>> Creating another queue completely unsynchronized from the application's
>>>> submissions makes this non usable in my opinion.
>>> As we discussed previously, the plan here is to provide a drm_xe_sync array,
>>> through stream properties, which can use to synchronize OA programming with
>>> workload submisson.
>>>
>>> Would that not work? If not, we can do what was done in i915. But note that
>>> i915 still has unresolved hangs, which I believe are due to the spinner
>>> running on the application engine (iirc repeatedly opening/closing an OA
>>> stream will hang in i915, though it could be due to other i915
>>> complexity). That is why thought using drm_xe_sync array is both safer and
>>> more standard way of doing what we want to achieve.
>>>
>>> Basically the output sync object will be signalled after registers are
>>> programmed and also any additional OA programming delay (which is
>>> implemented in i915 using the spinner).
>>>
>>> This would be done both for OA stream open and changing OA stream
>>> configuration.
> That is true. But now that I have other stuff like gpuvis wrapped up, I
> plan to start looking these couple of missing uapi pieces (hold preemption
> and synchronization, likely in that order).
>
> Because synchronization is not implemented I add the delay below:
>
>          static int xe_oa_emit_oa_config(struct xe_oa_stream *stream)
>          {
>          #define NOA_PROGRAM_ADDITIONAL_DELAY_US 500
>                  struct xe_oa_config_bo *oa_bo;
>                  int err, us = NOA_PROGRAM_ADDITIONAL_DELAY_US;
>
>                  oa_bo = xe_oa_alloc_config_buffer(stream);
>                  if (IS_ERR(oa_bo)) {
>                          err = PTR_ERR(oa_bo);
>                          goto exit;
>                  }
>
>                  err = xe_oa_submit_bb(stream, oa_bo->bb);
>
>                  /* Additional empirical delay needed for NOA programming after registers are written */
>                  usleep_range(us, 2 * us);
>          exit:
>                  return err;
>          }
>
> I need understand this is temporaty band-aid, since it stalls the
> submission pipeline and needs to be replaced by proper synchronization.
>
>> Just letting you know, because we cannot use the current ioctl because it
>> doesn't behave as we expect
> You wouldn't be able to merge the Mesa PR as per the current uapi now and
> then add additional Mesa patches, when we implement these couple of missing
> uapi features in KMD?


We could merge only the stuff that parse the reports, that's enough to 
have perfetto work.

But all of the VK_KHR_performance_query won't work as far as I can tell.


-Lionel


>
> Thanks.
> --
> Ashutosh



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

* Re: [PATCH 07/17] drm/xe/oa: OA stream initialization (OAG)
  2024-05-28  6:39           ` Lionel Landwerlin
@ 2024-05-28  7:16             ` Dixit, Ashutosh
  2024-05-28  7:43               ` Lionel Landwerlin
  0 siblings, 1 reply; 47+ messages in thread
From: Dixit, Ashutosh @ 2024-05-28  7:16 UTC (permalink / raw)
  To: Lionel Landwerlin; +Cc: intel-xe

On Mon, 27 May 2024 23:39:50 -0700, Lionel Landwerlin wrote:
>
> On 28/05/2024 09:17, Dixit, Ashutosh wrote:
> > On Mon, 27 May 2024 22:47:13 -0700, Lionel Landwerlin wrote:
> > Hi Lionel,
> >
> >> On 28/05/2024 08:27, Dixit, Ashutosh wrote:
> >>> On Mon, 27 May 2024 00:04:21 -0700, Lionel Landwerlin wrote:
> >>>
> >>>>> +static int xe_oa_stream_init(struct xe_oa_stream *stream,
> >>>>> +			     struct xe_oa_open_param *param)
> >>>>> +{
> >>> /snip/
> >>>
> >>>>> +	stream->k_exec_q = xe_exec_queue_create(stream->oa->xe, NULL,
> >>>>> +						BIT(stream->hwe->logical_instance), 1,
> >>>>> +						stream->hwe, EXEC_QUEUE_FLAG_KERNEL, 0);
> >>>> Hi Ashutosh,
> >>>>
> >>>> On i915 the changes of configuration were pipelined in the application's
> >>>> execution just like any other submission.
> >>>>
> >>>> Creating another queue completely unsynchronized from the application's
> >>>> submissions makes this non usable in my opinion.
> >>> As we discussed previously, the plan here is to provide a drm_xe_sync array,
> >>> through stream properties, which can use to synchronize OA programming with
> >>> workload submisson.
> >>>
> >>> Would that not work? If not, we can do what was done in i915. But note that
> >>> i915 still has unresolved hangs, which I believe are due to the spinner
> >>> running on the application engine (iirc repeatedly opening/closing an OA
> >>> stream will hang in i915, though it could be due to other i915
> >>> complexity). That is why thought using drm_xe_sync array is both safer and
> >>> more standard way of doing what we want to achieve.
> >>>
> >>> Basically the output sync object will be signalled after registers are
> >>> programmed and also any additional OA programming delay (which is
> >>> implemented in i915 using the spinner).
> >>>
> >>> This would be done both for OA stream open and changing OA stream
> >>> configuration.
> > That is true. But now that I have other stuff like gpuvis wrapped up, I
> > plan to start looking these couple of missing uapi pieces (hold preemption
> > and synchronization, likely in that order).
> >
> > Because synchronization is not implemented I add the delay below:
> >
> >          static int xe_oa_emit_oa_config(struct xe_oa_stream *stream)
> >          {
> >          #define NOA_PROGRAM_ADDITIONAL_DELAY_US 500
> >                  struct xe_oa_config_bo *oa_bo;
> >                  int err, us = NOA_PROGRAM_ADDITIONAL_DELAY_US;
> >
> >                  oa_bo = xe_oa_alloc_config_buffer(stream);
> >                  if (IS_ERR(oa_bo)) {
> >                          err = PTR_ERR(oa_bo);
> >                          goto exit;
> >                  }
> >
> >                  err = xe_oa_submit_bb(stream, oa_bo->bb);
> >
> >                  /* Additional empirical delay needed for NOA programming after registers are written */
> >                  usleep_range(us, 2 * us);
> >          exit:
> >                  return err;
> >          }
> >
> > I need understand this is temporaty band-aid, since it stalls the
> > submission pipeline and needs to be replaced by proper synchronization.
> >
> >> Just letting you know, because we cannot use the current ioctl because it
> >> doesn't behave as we expect
> > You wouldn't be able to merge the Mesa PR as per the current uapi now and
> > then add additional Mesa patches, when we implement these couple of missing
> > uapi features in KMD?
>
>
> We could merge only the stuff that parse the reports, that's enough to have
> perfetto work.

Hi Lionel, so this means the OAG buffer stuff, correct?

> But all of the VK_KHR_performance_query won't work as far as I can tell.

And this is the OAR stuff, synchronization and hold preemption?

Yes even if we can merge the OAG stuff first, that will get most of KMD OA
code merged and then we can merge the remaining stuff later. Since it's a
pain to maintain the code out of tree, that's why even if I can merge the
OAG stuff (together with Mesa) which is the majority of the OA KMD code
anyway, that would be a big relief.

Thanks.
--
Ashutosh

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

* Re: [PATCH 07/17] drm/xe/oa: OA stream initialization (OAG)
  2024-05-28  7:16             ` Dixit, Ashutosh
@ 2024-05-28  7:43               ` Lionel Landwerlin
  2024-05-29  4:55                 ` Dixit, Ashutosh
  0 siblings, 1 reply; 47+ messages in thread
From: Lionel Landwerlin @ 2024-05-28  7:43 UTC (permalink / raw)
  To: Dixit, Ashutosh; +Cc: intel-xe

On 28/05/2024 10:16, Dixit, Ashutosh wrote:
> On Mon, 27 May 2024 23:39:50 -0700, Lionel Landwerlin wrote:
>> On 28/05/2024 09:17, Dixit, Ashutosh wrote:
>>> On Mon, 27 May 2024 22:47:13 -0700, Lionel Landwerlin wrote:
>>> Hi Lionel,
>>>
>>>> On 28/05/2024 08:27, Dixit, Ashutosh wrote:
>>>>> On Mon, 27 May 2024 00:04:21 -0700, Lionel Landwerlin wrote:
>>>>>
>>>>>>> +static int xe_oa_stream_init(struct xe_oa_stream *stream,
>>>>>>> +			     struct xe_oa_open_param *param)
>>>>>>> +{
>>>>> /snip/
>>>>>
>>>>>>> +	stream->k_exec_q = xe_exec_queue_create(stream->oa->xe, NULL,
>>>>>>> +						BIT(stream->hwe->logical_instance), 1,
>>>>>>> +						stream->hwe, EXEC_QUEUE_FLAG_KERNEL, 0);
>>>>>> Hi Ashutosh,
>>>>>>
>>>>>> On i915 the changes of configuration were pipelined in the application's
>>>>>> execution just like any other submission.
>>>>>>
>>>>>> Creating another queue completely unsynchronized from the application's
>>>>>> submissions makes this non usable in my opinion.
>>>>> As we discussed previously, the plan here is to provide a drm_xe_sync array,
>>>>> through stream properties, which can use to synchronize OA programming with
>>>>> workload submisson.
>>>>>
>>>>> Would that not work? If not, we can do what was done in i915. But note that
>>>>> i915 still has unresolved hangs, which I believe are due to the spinner
>>>>> running on the application engine (iirc repeatedly opening/closing an OA
>>>>> stream will hang in i915, though it could be due to other i915
>>>>> complexity). That is why thought using drm_xe_sync array is both safer and
>>>>> more standard way of doing what we want to achieve.
>>>>>
>>>>> Basically the output sync object will be signalled after registers are
>>>>> programmed and also any additional OA programming delay (which is
>>>>> implemented in i915 using the spinner).
>>>>>
>>>>> This would be done both for OA stream open and changing OA stream
>>>>> configuration.
>>> That is true. But now that I have other stuff like gpuvis wrapped up, I
>>> plan to start looking these couple of missing uapi pieces (hold preemption
>>> and synchronization, likely in that order).
>>>
>>> Because synchronization is not implemented I add the delay below:
>>>
>>>           static int xe_oa_emit_oa_config(struct xe_oa_stream *stream)
>>>           {
>>>           #define NOA_PROGRAM_ADDITIONAL_DELAY_US 500
>>>                   struct xe_oa_config_bo *oa_bo;
>>>                   int err, us = NOA_PROGRAM_ADDITIONAL_DELAY_US;
>>>
>>>                   oa_bo = xe_oa_alloc_config_buffer(stream);
>>>                   if (IS_ERR(oa_bo)) {
>>>                           err = PTR_ERR(oa_bo);
>>>                           goto exit;
>>>                   }
>>>
>>>                   err = xe_oa_submit_bb(stream, oa_bo->bb);
>>>
>>>                   /* Additional empirical delay needed for NOA programming after registers are written */
>>>                   usleep_range(us, 2 * us);
>>>           exit:
>>>                   return err;
>>>           }
>>>
>>> I need understand this is temporaty band-aid, since it stalls the
>>> submission pipeline and needs to be replaced by proper synchronization.
>>>
>>>> Just letting you know, because we cannot use the current ioctl because it
>>>> doesn't behave as we expect
>>> You wouldn't be able to merge the Mesa PR as per the current uapi now and
>>> then add additional Mesa patches, when we implement these couple of missing
>>> uapi features in KMD?
>>
>> We could merge only the stuff that parse the reports, that's enough to have
>> perfetto work.
> Hi Lionel, so this means the OAG buffer stuff, correct?


Correct


>
>> But all of the VK_KHR_performance_query won't work as far as I can tell.
> And this is the OAR stuff, synchronization and hold preemption?
>
> Yes even if we can merge the OAG stuff first, that will get most of KMD OA
> code merged and then we can merge the remaining stuff later. Since it's a
> pain to maintain the code out of tree, that's why even if I can merge the
> OAG stuff (together with Mesa) which is the majority of the OA KMD code
> anyway, that would be a big relief.


This is actually a mix of OAG/OAR. We do read a couple of OAG registers 
that don't come as part of MI_REPORT_PERF_COUNT.


We will need a way to tell when you've added the feature we need for 
VK_KHR_performance_query.

I don't think we want to test this at runtime given some of the ioctl 
take time.


-Lionel


>
> Thanks.
> --
> Ashutosh



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

* Re: [PATCH 07/17] drm/xe/oa: OA stream initialization (OAG)
  2024-05-28  7:43               ` Lionel Landwerlin
@ 2024-05-29  4:55                 ` Dixit, Ashutosh
  2024-05-29  6:11                   ` Dixit, Ashutosh
  0 siblings, 1 reply; 47+ messages in thread
From: Dixit, Ashutosh @ 2024-05-29  4:55 UTC (permalink / raw)
  To: Lionel Landwerlin; +Cc: intel-xe, Jose Souza, Umesh Nerlige Ramappa

On Tue, 28 May 2024 00:43:42 -0700, Lionel Landwerlin wrote:
>

Hi Lionel/Jose,

> On 28/05/2024 10:16, Dixit, Ashutosh wrote:
> > On Mon, 27 May 2024 23:39:50 -0700, Lionel Landwerlin wrote:
> >> On 28/05/2024 09:17, Dixit, Ashutosh wrote:
> >>> On Mon, 27 May 2024 22:47:13 -0700, Lionel Landwerlin wrote:
> >>>
> >>>> On 28/05/2024 08:27, Dixit, Ashutosh wrote:
> >>>>> On Mon, 27 May 2024 00:04:21 -0700, Lionel Landwerlin wrote:
> >>>>>
> >>>>>>> +static int xe_oa_stream_init(struct xe_oa_stream *stream,
> >>>>>>> +			     struct xe_oa_open_param *param)
> >>>>>>> +{
> >>>>> /snip/
> >>>>>
> >>>>>>> +	stream->k_exec_q = xe_exec_queue_create(stream->oa->xe, NULL,
> >>>>>>> +						BIT(stream->hwe->logical_instance), 1,
> >>>>>>> +						stream->hwe, EXEC_QUEUE_FLAG_KERNEL, 0);
> >>>>>> Hi Ashutosh,
> >>>>>>
> >>>>>> On i915 the changes of configuration were pipelined in the application's
> >>>>>> execution just like any other submission.
> >>>>>>
> >>>>>> Creating another queue completely unsynchronized from the application's
> >>>>>> submissions makes this non usable in my opinion.
> >>>>> As we discussed previously, the plan here is to provide a drm_xe_sync array,
> >>>>> through stream properties, which can use to synchronize OA programming with
> >>>>> workload submisson.
> >>>>>
> >>>>> Would that not work? If not, we can do what was done in i915. But note that
> >>>>> i915 still has unresolved hangs, which I believe are due to the spinner
> >>>>> running on the application engine (iirc repeatedly opening/closing an OA
> >>>>> stream will hang in i915, though it could be due to other i915
> >>>>> complexity). That is why thought using drm_xe_sync array is both safer and
> >>>>> more standard way of doing what we want to achieve.
> >>>>>
> >>>>> Basically the output sync object will be signalled after registers are
> >>>>> programmed and also any additional OA programming delay (which is
> >>>>> implemented in i915 using the spinner).
> >>>>>
> >>>>> This would be done both for OA stream open and changing OA stream
> >>>>> configuration.
> >>> That is true. But now that I have other stuff like gpuvis wrapped up, I
> >>> plan to start looking these couple of missing uapi pieces (hold preemption
> >>> and synchronization, likely in that order).
> >>>
> >>> Because synchronization is not implemented I add the delay below:
> >>>
> >>>           static int xe_oa_emit_oa_config(struct xe_oa_stream *stream)
> >>>           {
> >>>           #define NOA_PROGRAM_ADDITIONAL_DELAY_US 500
> >>>                   struct xe_oa_config_bo *oa_bo;
> >>>                   int err, us = NOA_PROGRAM_ADDITIONAL_DELAY_US;
> >>>
> >>>                   oa_bo = xe_oa_alloc_config_buffer(stream);
> >>>                   if (IS_ERR(oa_bo)) {
> >>>                           err = PTR_ERR(oa_bo);
> >>>                           goto exit;
> >>>                   }
> >>>
> >>>                   err = xe_oa_submit_bb(stream, oa_bo->bb);
> >>>
> >>>                   /* Additional empirical delay needed for NOA programming after registers are written */
> >>>                   usleep_range(us, 2 * us);
> >>>           exit:
> >>>                   return err;
> >>>           }
> >>>
> >>> I need understand this is temporaty band-aid, since it stalls the
> >>> submission pipeline and needs to be replaced by proper synchronization.
> >>>
> >>>> Just letting you know, because we cannot use the current ioctl because it
> >>>> doesn't behave as we expect
> >>> You wouldn't be able to merge the Mesa PR as per the current uapi now and
> >>> then add additional Mesa patches, when we implement these couple of missing
> >>> uapi features in KMD?
> >>
> >> We could merge only the stuff that parse the reports, that's enough to have
> >> perfetto work.
> > Hi Lionel, so this means the OAG buffer stuff, correct?
>
> Correct
>
> >> But all of the VK_KHR_performance_query won't work as far as I can tell.
> > And this is the OAR stuff, synchronization and hold preemption?
> >
>
> This is actually a mix of OAG/OAR. We do read a couple of OAG registers
> that don't come as part of MI_REPORT_PERF_COUNT.
>
> We will need a way to tell when you've added the feature we need for
> VK_KHR_performance_query.
>
> I don't think we want to test this at runtime given some of the ioctl
> take time.

Hmm, you mean like a version? We have capability bits in Xe and could
potentially add a bit if needed. It is in the oa_unit query so like init
time, not runtime.


> > Yes even if we can merge the OAG stuff first, that will get most of KMD OA
> > code merged and then we can merge the remaining stuff later. Since it's a
> > pain to maintain the code out of tree, that's why even if I can merge the
> > OAG stuff (together with Mesa) which is the majority of the OA KMD code
> > anyway, that would be a big relief.

So, do you think you Mesa guys can give us an ack to merge the uapi we have
now? And add the missing uapi bits in the second round of OA uapi changes?
Or is there anything else you want us to do in this first round?

For the second round, here is the list I have:

* hold preemption (needs some investigation as to feasibility)
* xe_sync for OA stream configuration and reconfiguration
* Equivalent of DRM_I915_QUERY_PERF_CONFIG_DATA_FOR_UUID. I am still trying
  to figure out if this is really needed. See here:

  https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29312#note_2429650

  Since this seems to be using some MDAPI metrics in Mesa, I think it
  should be ok to do this in the second round too.

Thanks.
--
Ashutosh

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

* Re: [PATCH 07/17] drm/xe/oa: OA stream initialization (OAG)
  2024-05-29  4:55                 ` Dixit, Ashutosh
@ 2024-05-29  6:11                   ` Dixit, Ashutosh
  2024-05-29  6:29                     ` Lionel Landwerlin
  0 siblings, 1 reply; 47+ messages in thread
From: Dixit, Ashutosh @ 2024-05-29  6:11 UTC (permalink / raw)
  To: Lionel Landwerlin; +Cc: intel-xe, Jose Souza, Umesh Nerlige Ramappa

On Tue, 28 May 2024 21:55:00 -0700, Dixit, Ashutosh wrote:
>
> On Tue, 28 May 2024 00:43:42 -0700, Lionel Landwerlin wrote:
> >
>
> Hi Lionel/Jose,
>
> > On 28/05/2024 10:16, Dixit, Ashutosh wrote:
> > > On Mon, 27 May 2024 23:39:50 -0700, Lionel Landwerlin wrote:
> > >> On 28/05/2024 09:17, Dixit, Ashutosh wrote:
> > >>> On Mon, 27 May 2024 22:47:13 -0700, Lionel Landwerlin wrote:
> > >>>
> > >>>> On 28/05/2024 08:27, Dixit, Ashutosh wrote:
> > >>>>> On Mon, 27 May 2024 00:04:21 -0700, Lionel Landwerlin wrote:
> > >>>>>
> > >>>>>>> +static int xe_oa_stream_init(struct xe_oa_stream *stream,
> > >>>>>>> +			     struct xe_oa_open_param *param)
> > >>>>>>> +{
> > >>>>> /snip/
> > >>>>>
> > >>>>>>> +	stream->k_exec_q = xe_exec_queue_create(stream->oa->xe, NULL,
> > >>>>>>> +						BIT(stream->hwe->logical_instance), 1,
> > >>>>>>> +						stream->hwe, EXEC_QUEUE_FLAG_KERNEL, 0);
> > >>>>>> Hi Ashutosh,
> > >>>>>>
> > >>>>>> On i915 the changes of configuration were pipelined in the application's
> > >>>>>> execution just like any other submission.
> > >>>>>>
> > >>>>>> Creating another queue completely unsynchronized from the application's
> > >>>>>> submissions makes this non usable in my opinion.
> > >>>>> As we discussed previously, the plan here is to provide a drm_xe_sync array,
> > >>>>> through stream properties, which can use to synchronize OA programming with
> > >>>>> workload submisson.
> > >>>>>
> > >>>>> Would that not work? If not, we can do what was done in i915. But note that
> > >>>>> i915 still has unresolved hangs, which I believe are due to the spinner
> > >>>>> running on the application engine (iirc repeatedly opening/closing an OA
> > >>>>> stream will hang in i915, though it could be due to other i915
> > >>>>> complexity). That is why thought using drm_xe_sync array is both safer and
> > >>>>> more standard way of doing what we want to achieve.
> > >>>>>
> > >>>>> Basically the output sync object will be signalled after registers are
> > >>>>> programmed and also any additional OA programming delay (which is
> > >>>>> implemented in i915 using the spinner).
> > >>>>>
> > >>>>> This would be done both for OA stream open and changing OA stream
> > >>>>> configuration.
> > >>> That is true. But now that I have other stuff like gpuvis wrapped up, I
> > >>> plan to start looking these couple of missing uapi pieces (hold preemption
> > >>> and synchronization, likely in that order).
> > >>>
> > >>> Because synchronization is not implemented I add the delay below:
> > >>>
> > >>>           static int xe_oa_emit_oa_config(struct xe_oa_stream *stream)
> > >>>           {
> > >>>           #define NOA_PROGRAM_ADDITIONAL_DELAY_US 500
> > >>>                   struct xe_oa_config_bo *oa_bo;
> > >>>                   int err, us = NOA_PROGRAM_ADDITIONAL_DELAY_US;
> > >>>
> > >>>                   oa_bo = xe_oa_alloc_config_buffer(stream);
> > >>>                   if (IS_ERR(oa_bo)) {
> > >>>                           err = PTR_ERR(oa_bo);
> > >>>                           goto exit;
> > >>>                   }
> > >>>
> > >>>                   err = xe_oa_submit_bb(stream, oa_bo->bb);
> > >>>
> > >>>                   /* Additional empirical delay needed for NOA programming after registers are written */
> > >>>                   usleep_range(us, 2 * us);
> > >>>           exit:
> > >>>                   return err;
> > >>>           }
> > >>>
> > >>> I need understand this is temporaty band-aid, since it stalls the
> > >>> submission pipeline and needs to be replaced by proper synchronization.
> > >>>
> > >>>> Just letting you know, because we cannot use the current ioctl because it
> > >>>> doesn't behave as we expect
> > >>> You wouldn't be able to merge the Mesa PR as per the current uapi now and
> > >>> then add additional Mesa patches, when we implement these couple of missing
> > >>> uapi features in KMD?
> > >>
> > >> We could merge only the stuff that parse the reports, that's enough to have
> > >> perfetto work.
> > > Hi Lionel, so this means the OAG buffer stuff, correct?
> >
> > Correct
> >
> > >> But all of the VK_KHR_performance_query won't work as far as I can tell.
> > > And this is the OAR stuff, synchronization and hold preemption?
> > >
> >
> > This is actually a mix of OAG/OAR. We do read a couple of OAG registers
> > that don't come as part of MI_REPORT_PERF_COUNT.
> >
> > We will need a way to tell when you've added the feature we need for
> > VK_KHR_performance_query.
> >
> > I don't think we want to test this at runtime given some of the ioctl
> > take time.
>
> Hmm, you mean like a version? We have capability bits in Xe and could
> potentially add a bit if needed. It is in the oa_unit query so like init
> time, not runtime.

Though, maybe, just not implement in mesa yet and implement it only after
KMD exposes that property? Till then say VK_KHR_performance_query is not
supported?

>
>
> > > Yes even if we can merge the OAG stuff first, that will get most of KMD OA
> > > code merged and then we can merge the remaining stuff later. Since it's a
> > > pain to maintain the code out of tree, that's why even if I can merge the
> > > OAG stuff (together with Mesa) which is the majority of the OA KMD code
> > > anyway, that would be a big relief.
>
> So, do you think you Mesa guys can give us an ack to merge the uapi we have
> now? And add the missing uapi bits in the second round of OA uapi changes?
> Or is there anything else you want us to do in this first round?
>
> For the second round, here is the list I have:
>
> * hold preemption (needs some investigation as to feasibility)
> * xe_sync for OA stream configuration and reconfiguration
> * Equivalent of DRM_I915_QUERY_PERF_CONFIG_DATA_FOR_UUID. I am still trying
>   to figure out if this is really needed. See here:
>
>   https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29312#note_2429650
>
>   Since this seems to be using some MDAPI metrics in Mesa, I think it
>   should be ok to do this in the second round too.
>
> Thanks.
> --
> Ashutosh

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

* Re: [PATCH 07/17] drm/xe/oa: OA stream initialization (OAG)
  2024-05-29  6:11                   ` Dixit, Ashutosh
@ 2024-05-29  6:29                     ` Lionel Landwerlin
  0 siblings, 0 replies; 47+ messages in thread
From: Lionel Landwerlin @ 2024-05-29  6:29 UTC (permalink / raw)
  To: Dixit, Ashutosh; +Cc: intel-xe, Jose Souza, Umesh Nerlige Ramappa

On 29/05/2024 09:11, Dixit, Ashutosh wrote:
> On Tue, 28 May 2024 21:55:00 -0700, Dixit, Ashutosh wrote:
>> On Tue, 28 May 2024 00:43:42 -0700, Lionel Landwerlin wrote:
>> Hi Lionel/Jose,
>>
>>> On 28/05/2024 10:16, Dixit, Ashutosh wrote:
>>>> On Mon, 27 May 2024 23:39:50 -0700, Lionel Landwerlin wrote:
>>>>> On 28/05/2024 09:17, Dixit, Ashutosh wrote:
>>>>>> On Mon, 27 May 2024 22:47:13 -0700, Lionel Landwerlin wrote:
>>>>>>
>>>>>>> On 28/05/2024 08:27, Dixit, Ashutosh wrote:
>>>>>>>> On Mon, 27 May 2024 00:04:21 -0700, Lionel Landwerlin wrote:
>>>>>>>>
>>>>>>>>>> +static int xe_oa_stream_init(struct xe_oa_stream *stream,
>>>>>>>>>> +			     struct xe_oa_open_param *param)
>>>>>>>>>> +{
>>>>>>>> /snip/
>>>>>>>>
>>>>>>>>>> +	stream->k_exec_q = xe_exec_queue_create(stream->oa->xe, NULL,
>>>>>>>>>> +						BIT(stream->hwe->logical_instance), 1,
>>>>>>>>>> +						stream->hwe, EXEC_QUEUE_FLAG_KERNEL, 0);
>>>>>>>>> Hi Ashutosh,
>>>>>>>>>
>>>>>>>>> On i915 the changes of configuration were pipelined in the application's
>>>>>>>>> execution just like any other submission.
>>>>>>>>>
>>>>>>>>> Creating another queue completely unsynchronized from the application's
>>>>>>>>> submissions makes this non usable in my opinion.
>>>>>>>> As we discussed previously, the plan here is to provide a drm_xe_sync array,
>>>>>>>> through stream properties, which can use to synchronize OA programming with
>>>>>>>> workload submisson.
>>>>>>>>
>>>>>>>> Would that not work? If not, we can do what was done in i915. But note that
>>>>>>>> i915 still has unresolved hangs, which I believe are due to the spinner
>>>>>>>> running on the application engine (iirc repeatedly opening/closing an OA
>>>>>>>> stream will hang in i915, though it could be due to other i915
>>>>>>>> complexity). That is why thought using drm_xe_sync array is both safer and
>>>>>>>> more standard way of doing what we want to achieve.
>>>>>>>>
>>>>>>>> Basically the output sync object will be signalled after registers are
>>>>>>>> programmed and also any additional OA programming delay (which is
>>>>>>>> implemented in i915 using the spinner).
>>>>>>>>
>>>>>>>> This would be done both for OA stream open and changing OA stream
>>>>>>>> configuration.
>>>>>> That is true. But now that I have other stuff like gpuvis wrapped up, I
>>>>>> plan to start looking these couple of missing uapi pieces (hold preemption
>>>>>> and synchronization, likely in that order).
>>>>>>
>>>>>> Because synchronization is not implemented I add the delay below:
>>>>>>
>>>>>>            static int xe_oa_emit_oa_config(struct xe_oa_stream *stream)
>>>>>>            {
>>>>>>            #define NOA_PROGRAM_ADDITIONAL_DELAY_US 500
>>>>>>                    struct xe_oa_config_bo *oa_bo;
>>>>>>                    int err, us = NOA_PROGRAM_ADDITIONAL_DELAY_US;
>>>>>>
>>>>>>                    oa_bo = xe_oa_alloc_config_buffer(stream);
>>>>>>                    if (IS_ERR(oa_bo)) {
>>>>>>                            err = PTR_ERR(oa_bo);
>>>>>>                            goto exit;
>>>>>>                    }
>>>>>>
>>>>>>                    err = xe_oa_submit_bb(stream, oa_bo->bb);
>>>>>>
>>>>>>                    /* Additional empirical delay needed for NOA programming after registers are written */
>>>>>>                    usleep_range(us, 2 * us);
>>>>>>            exit:
>>>>>>                    return err;
>>>>>>            }
>>>>>>
>>>>>> I need understand this is temporaty band-aid, since it stalls the
>>>>>> submission pipeline and needs to be replaced by proper synchronization.
>>>>>>
>>>>>>> Just letting you know, because we cannot use the current ioctl because it
>>>>>>> doesn't behave as we expect
>>>>>> You wouldn't be able to merge the Mesa PR as per the current uapi now and
>>>>>> then add additional Mesa patches, when we implement these couple of missing
>>>>>> uapi features in KMD?
>>>>> We could merge only the stuff that parse the reports, that's enough to have
>>>>> perfetto work.
>>>> Hi Lionel, so this means the OAG buffer stuff, correct?
>>> Correct
>>>
>>>>> But all of the VK_KHR_performance_query won't work as far as I can tell.
>>>> And this is the OAR stuff, synchronization and hold preemption?
>>>>
>>> This is actually a mix of OAG/OAR. We do read a couple of OAG registers
>>> that don't come as part of MI_REPORT_PERF_COUNT.
>>>
>>> We will need a way to tell when you've added the feature we need for
>>> VK_KHR_performance_query.
>>>
>>> I don't think we want to test this at runtime given some of the ioctl
>>> take time.
>> Hmm, you mean like a version? We have capability bits in Xe and could
>> potentially add a bit if needed. It is in the oa_unit query so like init
>> time, not runtime.
> Though, maybe, just not implement in mesa yet and implement it only after
> KMD exposes that property? Till then say VK_KHR_performance_query is not
> supported?


Yeah but how do I know the kernel I'm running on supports this feature?

A version number could help or whatever query we can do on Xe.


Thanks,


-Lionel


>
>>
>>>> Yes even if we can merge the OAG stuff first, that will get most of KMD OA
>>>> code merged and then we can merge the remaining stuff later. Since it's a
>>>> pain to maintain the code out of tree, that's why even if I can merge the
>>>> OAG stuff (together with Mesa) which is the majority of the OA KMD code
>>>> anyway, that would be a big relief.
>> So, do you think you Mesa guys can give us an ack to merge the uapi we have
>> now? And add the missing uapi bits in the second round of OA uapi changes?
>> Or is there anything else you want us to do in this first round?
>>
>> For the second round, here is the list I have:
>>
>> * hold preemption (needs some investigation as to feasibility)
>> * xe_sync for OA stream configuration and reconfiguration
>> * Equivalent of DRM_I915_QUERY_PERF_CONFIG_DATA_FOR_UUID. I am still trying
>>    to figure out if this is really needed. See here:
>>
>>    https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29312#note_2429650
>>
>>    Since this seems to be using some MDAPI metrics in Mesa, I think it
>>    should be ok to do this in the second round too.
>>
>> Thanks.
>> --
>> Ashutosh



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

* Re: [PATCH v15 00/17] Add OA functionality to Xe
  2024-05-27  1:43 [PATCH v15 00/17] Add OA functionality to Xe Ashutosh Dixit
                   ` (24 preceding siblings ...)
  2024-05-27 14:20 ` ✗ CI.FULL: failure " Patchwork
@ 2024-06-05 14:12 ` Souza, Jose
  2024-06-06 19:56   ` Dixit, Ashutosh
  25 siblings, 1 reply; 47+ messages in thread
From: Souza, Jose @ 2024-06-05 14:12 UTC (permalink / raw)
  To: Dixit, Ashutosh, intel-xe@lists.freedesktop.org

On Sun, 2024-05-26 at 18:43 -0700, Ashutosh Dixit wrote:
> Please see cover letter for v7 here:
> https://patchwork.freedesktop.org/series/121084/#rev7
> 
> For changes in later versions see changelog below.
> 
> This series is also available at:
>         https://gitlab.freedesktop.org/adixit/kernel/-/tree/xe-oa
> 
> The series has been tested against this IGT series:
>         https://gitlab.freedesktop.org/adixit/igt-gpu-tools/-/tree/xe-oa
> 	or,
> 	https://patchwork.freedesktop.org/series/130033/
> 
> Opensource consumers using uapi in this series:
> 
> gpuvis:
> 	https://github.com/mikesart/gpuvis/pull/86
> 
> mesa:
> 	https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29312
> 
> Test-with: 20240524031439.106332-1-ashutosh.dixit@intel.com
> 

As first round this uAPI looks good for Mesa usage, second round after this ones is merged will add additional features and uAPIs need to support all
Mesa needs.

Acked-by: José Roberto de Souza <jose.souza@intel.com>

thank you

> v2: Fix build
> v3: Rebase, due to s/xe_engine/xe_exec_queue/
> v4: Re-run for testing
> v5: Address review comments, new patches 11 through 17
> v6: New patches 18 through 21
> v7: Patches are completely redone and don't start with i915 version of the uapi
> v8: See https://patchwork.freedesktop.org/patch/575214/?series=128993&rev=1
> v9: See https://patchwork.freedesktop.org/patch/577441/?series=128993&rev=2
> v10: See https://patchwork.freedesktop.org/patch/577943/?series=128993&rev=3
> v11: See https://patchwork.freedesktop.org/patch/581239/?series=130705&rev=1
> v12: Add last two new patches to enable Xe2+ overrun mode
> v13: Update last two patches after code review completion
> v14: https://patchwork.freedesktop.org/patch/595447/?series=134028&rev=1
> v15: https://patchwork.freedesktop.org/patch/595549/?series=134056&rev=1
> 
> Ashutosh Dixit (17):
>   drm/xe/perf/uapi: "Perf" layer to support multiple perf counter stream
>     types
>   drm/xe/perf/uapi: Add perf_stream_paranoid sysctl
>   drm/xe/oa/uapi: Add OA data formats
>   drm/xe/oa/uapi: Initialize OA units
>   drm/xe/oa/uapi: Add/remove OA config perf ops
>   drm/xe/oa/uapi: Define and parse OA stream properties
>   drm/xe/oa: OA stream initialization (OAG)
>   drm/xe/oa/uapi: Expose OA stream fd
>   drm/xe/oa/uapi: Read file_operation
>   drm/xe/oa: Add OAR support
>   drm/xe/oa: Add OAC support
>   drm/xe/oa/uapi: Query OA unit properties
>   drm/xe/oa/uapi: OA buffer mmap
>   drm/xe/oa: Add MMIO trigger support
>   drm/xe/oa: Override GuC RC with OA on PVC
>   drm/xe/oa: Changes to OA_TAKEN
>   drm/xe/oa: Enable Xe2+ overrun mode
> 
>  drivers/gpu/drm/xe/Makefile                   |    2 +
>  .../gpu/drm/xe/instructions/xe_mi_commands.h  |    3 +
>  drivers/gpu/drm/xe/regs/xe_engine_regs.h      |    2 +
>  drivers/gpu/drm/xe/regs/xe_gt_regs.h          |    3 +
>  drivers/gpu/drm/xe/regs/xe_oa_regs.h          |  103 +
>  drivers/gpu/drm/xe/xe_device.c                |   19 +-
>  drivers/gpu/drm/xe/xe_device_types.h          |    4 +
>  drivers/gpu/drm/xe/xe_gt_types.h              |    4 +
>  drivers/gpu/drm/xe/xe_guc_pc.c                |   57 +
>  drivers/gpu/drm/xe/xe_guc_pc.h                |    3 +
>  drivers/gpu/drm/xe/xe_hw_engine_types.h       |    2 +
>  drivers/gpu/drm/xe/xe_lrc.c                   |   11 +-
>  drivers/gpu/drm/xe/xe_lrc.h                   |    1 +
>  drivers/gpu/drm/xe/xe_module.c                |    6 +
>  drivers/gpu/drm/xe/xe_oa.c                    | 2370 +++++++++++++++++
>  drivers/gpu/drm/xe/xe_oa.h                    |   27 +
>  drivers/gpu/drm/xe/xe_oa_types.h              |  232 ++
>  drivers/gpu/drm/xe/xe_perf.c                  |   67 +
>  drivers/gpu/drm/xe/xe_perf.h                  |   20 +
>  drivers/gpu/drm/xe/xe_query.c                 |   77 +
>  drivers/gpu/drm/xe/xe_reg_whitelist.c         |   24 +-
>  include/uapi/drm/xe_drm.h                     |  291 ++
>  22 files changed, 3321 insertions(+), 7 deletions(-)
>  create mode 100644 drivers/gpu/drm/xe/regs/xe_oa_regs.h
>  create mode 100644 drivers/gpu/drm/xe/xe_oa.c
>  create mode 100644 drivers/gpu/drm/xe/xe_oa.h
>  create mode 100644 drivers/gpu/drm/xe/xe_oa_types.h
>  create mode 100644 drivers/gpu/drm/xe/xe_perf.c
>  create mode 100644 drivers/gpu/drm/xe/xe_perf.h
> 


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

* Re: [PATCH v15 00/17] Add OA functionality to Xe
  2024-06-05 14:12 ` [PATCH v15 00/17] Add OA functionality to Xe Souza, Jose
@ 2024-06-06 19:56   ` Dixit, Ashutosh
  2024-06-06 20:54     ` Dixit, Ashutosh
  0 siblings, 1 reply; 47+ messages in thread
From: Dixit, Ashutosh @ 2024-06-06 19:56 UTC (permalink / raw)
  To: Souza, Jose; +Cc: intel-xe@lists.freedesktop.org

On Wed, 05 Jun 2024 07:12:54 -0700, Souza, Jose wrote:
>

Hi Jose,

> On Sun, 2024-05-26 at 18:43 -0700, Ashutosh Dixit wrote:
> > Please see cover letter for v7 here:
> > https://patchwork.freedesktop.org/series/121084/#rev7
> >
> > For changes in later versions see changelog below.
> >
> > This series is also available at:
> >         https://gitlab.freedesktop.org/adixit/kernel/-/tree/xe-oa
> >
> > The series has been tested against this IGT series:
> >         https://gitlab.freedesktop.org/adixit/igt-gpu-tools/-/tree/xe-oa
> >	or,
> >	https://patchwork.freedesktop.org/series/130033/
> >
> > Opensource consumers using uapi in this series:
> >
> > gpuvis:
> >	https://github.com/mikesart/gpuvis/pull/86
> >
> > mesa:
> >	https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29312
> >
> > Test-with: 20240524031439.106332-1-ashutosh.dixit@intel.com
> >
>
> As first round this uAPI looks good for Mesa usage, second round after
> this ones is merged will add additional features and uAPIs need to
> support all Mesa needs.

Correct. Copy/paste from another email in this thread, this is what we are
looking at for the second round:

* hold preemption (needs some investigation as to feasibility)
* xe_sync for OA stream configuration and reconfiguration
* Equivalent of DRM_I915_QUERY_PERF_CONFIG_DATA_FOR_UUID. I am still trying
  to figure out if this is really needed. See here:
  https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29312#note_2429650
  Since this seems to be using some MDAPI metrics in Mesa, I think it
  should be ok to do this in the second round too.

> Acked-by: José Roberto de Souza <jose.souza@intel.com>

Thanks very much for the Mesa ack. I will start asking the Xe maintainers
if this (and gpuvis PR which is also merged) is sufficient to merge this
series now.

Thanks.
--
Ashutosh

> thank you
>
> > v2: Fix build
> > v3: Rebase, due to s/xe_engine/xe_exec_queue/
> > v4: Re-run for testing
> > v5: Address review comments, new patches 11 through 17
> > v6: New patches 18 through 21
> > v7: Patches are completely redone and don't start with i915 version of the uapi
> > v8: See https://patchwork.freedesktop.org/patch/575214/?series=128993&rev=1
> > v9: See https://patchwork.freedesktop.org/patch/577441/?series=128993&rev=2
> > v10: See https://patchwork.freedesktop.org/patch/577943/?series=128993&rev=3
> > v11: See https://patchwork.freedesktop.org/patch/581239/?series=130705&rev=1
> > v12: Add last two new patches to enable Xe2+ overrun mode
> > v13: Update last two patches after code review completion
> > v14: https://patchwork.freedesktop.org/patch/595447/?series=134028&rev=1
> > v15: https://patchwork.freedesktop.org/patch/595549/?series=134056&rev=1
> >
> > Ashutosh Dixit (17):
> >   drm/xe/perf/uapi: "Perf" layer to support multiple perf counter stream
> >     types
> >   drm/xe/perf/uapi: Add perf_stream_paranoid sysctl
> >   drm/xe/oa/uapi: Add OA data formats
> >   drm/xe/oa/uapi: Initialize OA units
> >   drm/xe/oa/uapi: Add/remove OA config perf ops
> >   drm/xe/oa/uapi: Define and parse OA stream properties
> >   drm/xe/oa: OA stream initialization (OAG)
> >   drm/xe/oa/uapi: Expose OA stream fd
> >   drm/xe/oa/uapi: Read file_operation
> >   drm/xe/oa: Add OAR support
> >   drm/xe/oa: Add OAC support
> >   drm/xe/oa/uapi: Query OA unit properties
> >   drm/xe/oa/uapi: OA buffer mmap
> >   drm/xe/oa: Add MMIO trigger support
> >   drm/xe/oa: Override GuC RC with OA on PVC
> >   drm/xe/oa: Changes to OA_TAKEN
> >   drm/xe/oa: Enable Xe2+ overrun mode
> >
> >  drivers/gpu/drm/xe/Makefile                   |    2 +
> >  .../gpu/drm/xe/instructions/xe_mi_commands.h  |    3 +
> >  drivers/gpu/drm/xe/regs/xe_engine_regs.h      |    2 +
> >  drivers/gpu/drm/xe/regs/xe_gt_regs.h          |    3 +
> >  drivers/gpu/drm/xe/regs/xe_oa_regs.h          |  103 +
> >  drivers/gpu/drm/xe/xe_device.c                |   19 +-
> >  drivers/gpu/drm/xe/xe_device_types.h          |    4 +
> >  drivers/gpu/drm/xe/xe_gt_types.h              |    4 +
> >  drivers/gpu/drm/xe/xe_guc_pc.c                |   57 +
> >  drivers/gpu/drm/xe/xe_guc_pc.h                |    3 +
> >  drivers/gpu/drm/xe/xe_hw_engine_types.h       |    2 +
> >  drivers/gpu/drm/xe/xe_lrc.c                   |   11 +-
> >  drivers/gpu/drm/xe/xe_lrc.h                   |    1 +
> >  drivers/gpu/drm/xe/xe_module.c                |    6 +
> >  drivers/gpu/drm/xe/xe_oa.c                    | 2370 +++++++++++++++++
> >  drivers/gpu/drm/xe/xe_oa.h                    |   27 +
> >  drivers/gpu/drm/xe/xe_oa_types.h              |  232 ++
> >  drivers/gpu/drm/xe/xe_perf.c                  |   67 +
> >  drivers/gpu/drm/xe/xe_perf.h                  |   20 +
> >  drivers/gpu/drm/xe/xe_query.c                 |   77 +
> >  drivers/gpu/drm/xe/xe_reg_whitelist.c         |   24 +-
> >  include/uapi/drm/xe_drm.h                     |  291 ++
> >  22 files changed, 3321 insertions(+), 7 deletions(-)
> >  create mode 100644 drivers/gpu/drm/xe/regs/xe_oa_regs.h
> >  create mode 100644 drivers/gpu/drm/xe/xe_oa.c
> >  create mode 100644 drivers/gpu/drm/xe/xe_oa.h
> >  create mode 100644 drivers/gpu/drm/xe/xe_oa_types.h
> >  create mode 100644 drivers/gpu/drm/xe/xe_perf.c
> >  create mode 100644 drivers/gpu/drm/xe/xe_perf.h
> >
>

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

* Re: [PATCH v15 00/17] Add OA functionality to Xe
  2024-06-06 19:56   ` Dixit, Ashutosh
@ 2024-06-06 20:54     ` Dixit, Ashutosh
  2024-06-14 15:12       ` Dixit, Ashutosh
  0 siblings, 1 reply; 47+ messages in thread
From: Dixit, Ashutosh @ 2024-06-06 20:54 UTC (permalink / raw)
  To: Lucas De Marchi, Rodrigo Vivi, Thomas Hellström
  Cc: intel-xe@lists.freedesktop.org, Umesh Nerlige Ramappa

On Thu, 06 Jun 2024 12:56:13 -0700, Dixit, Ashutosh wrote:
>

Hi Lucas / Rodrigo / Thomas,

> On Wed, 05 Jun 2024 07:12:54 -0700, Souza, Jose wrote:
> >
>
> Hi Jose,
>
> > On Sun, 2024-05-26 at 18:43 -0700, Ashutosh Dixit wrote:
> > > Please see cover letter for v7 here:
> > > https://patchwork.freedesktop.org/series/121084/#rev7
> > >
> > > For changes in later versions see changelog below.
> > >
> > > This series is also available at:
> > >         https://gitlab.freedesktop.org/adixit/kernel/-/tree/xe-oa
> > >
> > > The series has been tested against this IGT series:
> > >         https://gitlab.freedesktop.org/adixit/igt-gpu-tools/-/tree/xe-oa
> > >	or,
> > >	https://patchwork.freedesktop.org/series/130033/
> > >
> > > Opensource consumers using uapi in this series:
> > >
> > > gpuvis:
> > >	https://github.com/mikesart/gpuvis/pull/86
> > >
> > > mesa:
> > >	https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29312
> > >
> > > Test-with: 20240524031439.106332-1-ashutosh.dixit@intel.com
> > >
> >
> > As first round this uAPI looks good for Mesa usage, second round after
> > this ones is merged will add additional features and uAPIs need to
> > support all Mesa needs.
>
> Correct. Copy/paste from another email in this thread, this is what we are
> looking at for the second round:
>
> * hold preemption (needs some investigation as to feasibility)
> * xe_sync for OA stream configuration and reconfiguration
> * Equivalent of DRM_I915_QUERY_PERF_CONFIG_DATA_FOR_UUID. I am still trying
>   to figure out if this is really needed. See here:
>   https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29312#note_2429650
>   Since this seems to be using some MDAPI metrics in Mesa, I think it
>   should be ok to do this in the second round too.
>
> > Acked-by: José Roberto de Souza <jose.souza@intel.com>
>
> Thanks very much for the Mesa ack. I will start asking the Xe maintainers
> if this (and gpuvis PR which is also merged) is sufficient to merge this
> series now.

Mesa has now provided their ack for the Xe OA uapi. Also all Mesa Xe OA
patches now have R-b. The gpuvis PR mentioned above is also merged. The Xe
OA IGT series is also mentioned above.

So at this point I want to check with you if these things are sufficient to
merge these Xe OA patches?

Thanks.
--
Ashutosh

> > thank you
> >
> > > v2: Fix build
> > > v3: Rebase, due to s/xe_engine/xe_exec_queue/
> > > v4: Re-run for testing
> > > v5: Address review comments, new patches 11 through 17
> > > v6: New patches 18 through 21
> > > v7: Patches are completely redone and don't start with i915 version of the uapi
> > > v8: See https://patchwork.freedesktop.org/patch/575214/?series=128993&rev=1
> > > v9: See https://patchwork.freedesktop.org/patch/577441/?series=128993&rev=2
> > > v10: See https://patchwork.freedesktop.org/patch/577943/?series=128993&rev=3
> > > v11: See https://patchwork.freedesktop.org/patch/581239/?series=130705&rev=1
> > > v12: Add last two new patches to enable Xe2+ overrun mode
> > > v13: Update last two patches after code review completion
> > > v14: https://patchwork.freedesktop.org/patch/595447/?series=134028&rev=1
> > > v15: https://patchwork.freedesktop.org/patch/595549/?series=134056&rev=1
> > >
> > > Ashutosh Dixit (17):
> > >   drm/xe/perf/uapi: "Perf" layer to support multiple perf counter stream
> > >     types
> > >   drm/xe/perf/uapi: Add perf_stream_paranoid sysctl
> > >   drm/xe/oa/uapi: Add OA data formats
> > >   drm/xe/oa/uapi: Initialize OA units
> > >   drm/xe/oa/uapi: Add/remove OA config perf ops
> > >   drm/xe/oa/uapi: Define and parse OA stream properties
> > >   drm/xe/oa: OA stream initialization (OAG)
> > >   drm/xe/oa/uapi: Expose OA stream fd
> > >   drm/xe/oa/uapi: Read file_operation
> > >   drm/xe/oa: Add OAR support
> > >   drm/xe/oa: Add OAC support
> > >   drm/xe/oa/uapi: Query OA unit properties
> > >   drm/xe/oa/uapi: OA buffer mmap
> > >   drm/xe/oa: Add MMIO trigger support
> > >   drm/xe/oa: Override GuC RC with OA on PVC
> > >   drm/xe/oa: Changes to OA_TAKEN
> > >   drm/xe/oa: Enable Xe2+ overrun mode
> > >
> > >  drivers/gpu/drm/xe/Makefile                   |    2 +
> > >  .../gpu/drm/xe/instructions/xe_mi_commands.h  |    3 +
> > >  drivers/gpu/drm/xe/regs/xe_engine_regs.h      |    2 +
> > >  drivers/gpu/drm/xe/regs/xe_gt_regs.h          |    3 +
> > >  drivers/gpu/drm/xe/regs/xe_oa_regs.h          |  103 +
> > >  drivers/gpu/drm/xe/xe_device.c                |   19 +-
> > >  drivers/gpu/drm/xe/xe_device_types.h          |    4 +
> > >  drivers/gpu/drm/xe/xe_gt_types.h              |    4 +
> > >  drivers/gpu/drm/xe/xe_guc_pc.c                |   57 +
> > >  drivers/gpu/drm/xe/xe_guc_pc.h                |    3 +
> > >  drivers/gpu/drm/xe/xe_hw_engine_types.h       |    2 +
> > >  drivers/gpu/drm/xe/xe_lrc.c                   |   11 +-
> > >  drivers/gpu/drm/xe/xe_lrc.h                   |    1 +
> > >  drivers/gpu/drm/xe/xe_module.c                |    6 +
> > >  drivers/gpu/drm/xe/xe_oa.c                    | 2370 +++++++++++++++++
> > >  drivers/gpu/drm/xe/xe_oa.h                    |   27 +
> > >  drivers/gpu/drm/xe/xe_oa_types.h              |  232 ++
> > >  drivers/gpu/drm/xe/xe_perf.c                  |   67 +
> > >  drivers/gpu/drm/xe/xe_perf.h                  |   20 +
> > >  drivers/gpu/drm/xe/xe_query.c                 |   77 +
> > >  drivers/gpu/drm/xe/xe_reg_whitelist.c         |   24 +-
> > >  include/uapi/drm/xe_drm.h                     |  291 ++
> > >  22 files changed, 3321 insertions(+), 7 deletions(-)
> > >  create mode 100644 drivers/gpu/drm/xe/regs/xe_oa_regs.h
> > >  create mode 100644 drivers/gpu/drm/xe/xe_oa.c
> > >  create mode 100644 drivers/gpu/drm/xe/xe_oa.h
> > >  create mode 100644 drivers/gpu/drm/xe/xe_oa_types.h
> > >  create mode 100644 drivers/gpu/drm/xe/xe_perf.c
> > >  create mode 100644 drivers/gpu/drm/xe/xe_perf.h
> > >
> >

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

* Re: [PATCH v15 00/17] Add OA functionality to Xe
  2024-06-06 20:54     ` Dixit, Ashutosh
@ 2024-06-14 15:12       ` Dixit, Ashutosh
  2024-06-17 19:36         ` Rodrigo Vivi
  0 siblings, 1 reply; 47+ messages in thread
From: Dixit, Ashutosh @ 2024-06-14 15:12 UTC (permalink / raw)
  To: Lucas De Marchi, Rodrigo Vivi, Thomas Hellström,
	Michal Wajdeczko
  Cc: intel-xe@lists.freedesktop.org, Umesh Nerlige Ramappa

On Thu, 06 Jun 2024 13:54:18 -0700, Dixit, Ashutosh wrote:
>
> On Thu, 06 Jun 2024 12:56:13 -0700, Dixit, Ashutosh wrote:
> >
>
> Hi Lucas / Rodrigo / Thomas,
>
> > On Wed, 05 Jun 2024 07:12:54 -0700, Souza, Jose wrote:
> > >
> >
> > Hi Jose,
> >
> > > On Sun, 2024-05-26 at 18:43 -0700, Ashutosh Dixit wrote:
> > > > Please see cover letter for v7 here:
> > > > https://patchwork.freedesktop.org/series/121084/#rev7
> > > >
> > > > For changes in later versions see changelog below.
> > > >
> > > > This series is also available at:
> > > >         https://gitlab.freedesktop.org/adixit/kernel/-/tree/xe-oa
> > > >
> > > > The series has been tested against this IGT series:
> > > >         https://gitlab.freedesktop.org/adixit/igt-gpu-tools/-/tree/xe-oa
> > > >	or,
> > > >	https://patchwork.freedesktop.org/series/130033/
> > > >
> > > > Opensource consumers using uapi in this series:
> > > >
> > > > gpuvis:
> > > >	https://github.com/mikesart/gpuvis/pull/86
> > > >
> > > > mesa:
> > > >	https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29312
> > > >
> > > > Test-with: 20240524031439.106332-1-ashutosh.dixit@intel.com
> > > >
> > >
> > > As first round this uAPI looks good for Mesa usage, second round after
> > > this ones is merged will add additional features and uAPIs need to
> > > support all Mesa needs.
> >
> > Correct. Copy/paste from another email in this thread, this is what we are
> > looking at for the second round:
> >
> > * hold preemption (needs some investigation as to feasibility)
> > * xe_sync for OA stream configuration and reconfiguration
> > * Equivalent of DRM_I915_QUERY_PERF_CONFIG_DATA_FOR_UUID. I am still trying
> >   to figure out if this is really needed. See here:
> >   https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29312#note_2429650
> >   Since this seems to be using some MDAPI metrics in Mesa, I think it
> >   should be ok to do this in the second round too.
> >
> > > Acked-by: José Roberto de Souza <jose.souza@intel.com>
> >
> > Thanks very much for the Mesa ack. I will start asking the Xe maintainers
> > if this (and gpuvis PR which is also merged) is sufficient to merge this
> > series now.
>
> Mesa has now provided their ack for the Xe OA uapi. Also all Mesa Xe OA
> patches now have R-b. The gpuvis PR mentioned above is also merged. The Xe
> OA IGT series is also mentioned above.
>
> So at this point I want to check with you if these things are sufficient to
> merge these Xe OA patches?

Gentle ping about this :) Can we try to get this into 6.11?

>
> Thanks.
> --
> Ashutosh
>
> > > thank you
> > >
> > > > v2: Fix build
> > > > v3: Rebase, due to s/xe_engine/xe_exec_queue/
> > > > v4: Re-run for testing
> > > > v5: Address review comments, new patches 11 through 17
> > > > v6: New patches 18 through 21
> > > > v7: Patches are completely redone and don't start with i915 version of the uapi
> > > > v8: See https://patchwork.freedesktop.org/patch/575214/?series=128993&rev=1
> > > > v9: See https://patchwork.freedesktop.org/patch/577441/?series=128993&rev=2
> > > > v10: See https://patchwork.freedesktop.org/patch/577943/?series=128993&rev=3
> > > > v11: See https://patchwork.freedesktop.org/patch/581239/?series=130705&rev=1
> > > > v12: Add last two new patches to enable Xe2+ overrun mode
> > > > v13: Update last two patches after code review completion
> > > > v14: https://patchwork.freedesktop.org/patch/595447/?series=134028&rev=1
> > > > v15: https://patchwork.freedesktop.org/patch/595549/?series=134056&rev=1
> > > >
> > > > Ashutosh Dixit (17):
> > > >   drm/xe/perf/uapi: "Perf" layer to support multiple perf counter stream
> > > >     types
> > > >   drm/xe/perf/uapi: Add perf_stream_paranoid sysctl
> > > >   drm/xe/oa/uapi: Add OA data formats
> > > >   drm/xe/oa/uapi: Initialize OA units
> > > >   drm/xe/oa/uapi: Add/remove OA config perf ops
> > > >   drm/xe/oa/uapi: Define and parse OA stream properties
> > > >   drm/xe/oa: OA stream initialization (OAG)
> > > >   drm/xe/oa/uapi: Expose OA stream fd
> > > >   drm/xe/oa/uapi: Read file_operation
> > > >   drm/xe/oa: Add OAR support
> > > >   drm/xe/oa: Add OAC support
> > > >   drm/xe/oa/uapi: Query OA unit properties
> > > >   drm/xe/oa/uapi: OA buffer mmap
> > > >   drm/xe/oa: Add MMIO trigger support
> > > >   drm/xe/oa: Override GuC RC with OA on PVC
> > > >   drm/xe/oa: Changes to OA_TAKEN
> > > >   drm/xe/oa: Enable Xe2+ overrun mode
> > > >
> > > >  drivers/gpu/drm/xe/Makefile                   |    2 +
> > > >  .../gpu/drm/xe/instructions/xe_mi_commands.h  |    3 +
> > > >  drivers/gpu/drm/xe/regs/xe_engine_regs.h      |    2 +
> > > >  drivers/gpu/drm/xe/regs/xe_gt_regs.h          |    3 +
> > > >  drivers/gpu/drm/xe/regs/xe_oa_regs.h          |  103 +
> > > >  drivers/gpu/drm/xe/xe_device.c                |   19 +-
> > > >  drivers/gpu/drm/xe/xe_device_types.h          |    4 +
> > > >  drivers/gpu/drm/xe/xe_gt_types.h              |    4 +
> > > >  drivers/gpu/drm/xe/xe_guc_pc.c                |   57 +
> > > >  drivers/gpu/drm/xe/xe_guc_pc.h                |    3 +
> > > >  drivers/gpu/drm/xe/xe_hw_engine_types.h       |    2 +
> > > >  drivers/gpu/drm/xe/xe_lrc.c                   |   11 +-
> > > >  drivers/gpu/drm/xe/xe_lrc.h                   |    1 +
> > > >  drivers/gpu/drm/xe/xe_module.c                |    6 +
> > > >  drivers/gpu/drm/xe/xe_oa.c                    | 2370 +++++++++++++++++
> > > >  drivers/gpu/drm/xe/xe_oa.h                    |   27 +
> > > >  drivers/gpu/drm/xe/xe_oa_types.h              |  232 ++
> > > >  drivers/gpu/drm/xe/xe_perf.c                  |   67 +
> > > >  drivers/gpu/drm/xe/xe_perf.h                  |   20 +
> > > >  drivers/gpu/drm/xe/xe_query.c                 |   77 +
> > > >  drivers/gpu/drm/xe/xe_reg_whitelist.c         |   24 +-
> > > >  include/uapi/drm/xe_drm.h                     |  291 ++
> > > >  22 files changed, 3321 insertions(+), 7 deletions(-)
> > > >  create mode 100644 drivers/gpu/drm/xe/regs/xe_oa_regs.h
> > > >  create mode 100644 drivers/gpu/drm/xe/xe_oa.c
> > > >  create mode 100644 drivers/gpu/drm/xe/xe_oa.h
> > > >  create mode 100644 drivers/gpu/drm/xe/xe_oa_types.h
> > > >  create mode 100644 drivers/gpu/drm/xe/xe_perf.c
> > > >  create mode 100644 drivers/gpu/drm/xe/xe_perf.h
> > > >
> > >

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

* Re: [PATCH v15 00/17] Add OA functionality to Xe
  2024-06-14 15:12       ` Dixit, Ashutosh
@ 2024-06-17 19:36         ` Rodrigo Vivi
  2024-06-17 21:05           ` Dixit, Ashutosh
  0 siblings, 1 reply; 47+ messages in thread
From: Rodrigo Vivi @ 2024-06-17 19:36 UTC (permalink / raw)
  To: Dixit, Ashutosh
  Cc: Lucas De Marchi, Thomas Hellström, Michal Wajdeczko,
	intel-xe@lists.freedesktop.org, Umesh Nerlige Ramappa

On Fri, Jun 14, 2024 at 08:12:45AM -0700, Dixit, Ashutosh wrote:
> On Thu, 06 Jun 2024 13:54:18 -0700, Dixit, Ashutosh wrote:
> >
> > On Thu, 06 Jun 2024 12:56:13 -0700, Dixit, Ashutosh wrote:
> > >
> >
> > Hi Lucas / Rodrigo / Thomas,
> >
> > > On Wed, 05 Jun 2024 07:12:54 -0700, Souza, Jose wrote:
> > > >
> > >
> > > Hi Jose,
> > >
> > > > On Sun, 2024-05-26 at 18:43 -0700, Ashutosh Dixit wrote:
> > > > > Please see cover letter for v7 here:
> > > > > https://patchwork.freedesktop.org/series/121084/#rev7
> > > > >
> > > > > For changes in later versions see changelog below.
> > > > >
> > > > > This series is also available at:
> > > > >         https://gitlab.freedesktop.org/adixit/kernel/-/tree/xe-oa
> > > > >
> > > > > The series has been tested against this IGT series:
> > > > >         https://gitlab.freedesktop.org/adixit/igt-gpu-tools/-/tree/xe-oa
> > > > >	or,
> > > > >	https://patchwork.freedesktop.org/series/130033/
> > > > >
> > > > > Opensource consumers using uapi in this series:
> > > > >
> > > > > gpuvis:
> > > > >	https://github.com/mikesart/gpuvis/pull/86
> > > > >
> > > > > mesa:
> > > > >	https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29312
> > > > >
> > > > > Test-with: 20240524031439.106332-1-ashutosh.dixit@intel.com
> > > > >
> > > >
> > > > As first round this uAPI looks good for Mesa usage, second round after
> > > > this ones is merged will add additional features and uAPIs need to
> > > > support all Mesa needs.
> > >
> > > Correct. Copy/paste from another email in this thread, this is what we are
> > > looking at for the second round:
> > >
> > > * hold preemption (needs some investigation as to feasibility)
> > > * xe_sync for OA stream configuration and reconfiguration
> > > * Equivalent of DRM_I915_QUERY_PERF_CONFIG_DATA_FOR_UUID. I am still trying
> > >   to figure out if this is really needed. See here:
> > >   https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29312#note_2429650
> > >   Since this seems to be using some MDAPI metrics in Mesa, I think it
> > >   should be ok to do this in the second round too.
> > >
> > > > Acked-by: José Roberto de Souza <jose.souza@intel.com>
> > >
> > > Thanks very much for the Mesa ack. I will start asking the Xe maintainers
> > > if this (and gpuvis PR which is also merged) is sufficient to merge this
> > > series now.
> >
> > Mesa has now provided their ack for the Xe OA uapi. Also all Mesa Xe OA
> > patches now have R-b. The gpuvis PR mentioned above is also merged. The Xe
> > OA IGT series is also mentioned above.
> >
> > So at this point I want to check with you if these things are sufficient to
> > merge these Xe OA patches?
> 
> Gentle ping about this :) Can we try to get this into 6.11?

Sorry for taking so long to get to this one here.

Is the Mesa MR really ready to get merged right after we merge this kernel series?
Are all of the patches there really reviewed? I couldn't make a sense of the open
MR discussions and I noticed the MR is still marked as 'Draft:'.

But once we are sure that Mesa is ready and all Michal's concerns on the latest
version of the kernel series are solved, then we can definitely merge.

Deadline for 6.11 is Wednesday next week(Jun/26).

Thanks,
Rodrigo.

> 
> >
> > Thanks.
> > --
> > Ashutosh
> >
> > > > thank you
> > > >
> > > > > v2: Fix build
> > > > > v3: Rebase, due to s/xe_engine/xe_exec_queue/
> > > > > v4: Re-run for testing
> > > > > v5: Address review comments, new patches 11 through 17
> > > > > v6: New patches 18 through 21
> > > > > v7: Patches are completely redone and don't start with i915 version of the uapi
> > > > > v8: See https://patchwork.freedesktop.org/patch/575214/?series=128993&rev=1
> > > > > v9: See https://patchwork.freedesktop.org/patch/577441/?series=128993&rev=2
> > > > > v10: See https://patchwork.freedesktop.org/patch/577943/?series=128993&rev=3
> > > > > v11: See https://patchwork.freedesktop.org/patch/581239/?series=130705&rev=1
> > > > > v12: Add last two new patches to enable Xe2+ overrun mode
> > > > > v13: Update last two patches after code review completion
> > > > > v14: https://patchwork.freedesktop.org/patch/595447/?series=134028&rev=1
> > > > > v15: https://patchwork.freedesktop.org/patch/595549/?series=134056&rev=1
> > > > >
> > > > > Ashutosh Dixit (17):
> > > > >   drm/xe/perf/uapi: "Perf" layer to support multiple perf counter stream
> > > > >     types
> > > > >   drm/xe/perf/uapi: Add perf_stream_paranoid sysctl
> > > > >   drm/xe/oa/uapi: Add OA data formats
> > > > >   drm/xe/oa/uapi: Initialize OA units
> > > > >   drm/xe/oa/uapi: Add/remove OA config perf ops
> > > > >   drm/xe/oa/uapi: Define and parse OA stream properties
> > > > >   drm/xe/oa: OA stream initialization (OAG)
> > > > >   drm/xe/oa/uapi: Expose OA stream fd
> > > > >   drm/xe/oa/uapi: Read file_operation
> > > > >   drm/xe/oa: Add OAR support
> > > > >   drm/xe/oa: Add OAC support
> > > > >   drm/xe/oa/uapi: Query OA unit properties
> > > > >   drm/xe/oa/uapi: OA buffer mmap
> > > > >   drm/xe/oa: Add MMIO trigger support
> > > > >   drm/xe/oa: Override GuC RC with OA on PVC
> > > > >   drm/xe/oa: Changes to OA_TAKEN
> > > > >   drm/xe/oa: Enable Xe2+ overrun mode
> > > > >
> > > > >  drivers/gpu/drm/xe/Makefile                   |    2 +
> > > > >  .../gpu/drm/xe/instructions/xe_mi_commands.h  |    3 +
> > > > >  drivers/gpu/drm/xe/regs/xe_engine_regs.h      |    2 +
> > > > >  drivers/gpu/drm/xe/regs/xe_gt_regs.h          |    3 +
> > > > >  drivers/gpu/drm/xe/regs/xe_oa_regs.h          |  103 +
> > > > >  drivers/gpu/drm/xe/xe_device.c                |   19 +-
> > > > >  drivers/gpu/drm/xe/xe_device_types.h          |    4 +
> > > > >  drivers/gpu/drm/xe/xe_gt_types.h              |    4 +
> > > > >  drivers/gpu/drm/xe/xe_guc_pc.c                |   57 +
> > > > >  drivers/gpu/drm/xe/xe_guc_pc.h                |    3 +
> > > > >  drivers/gpu/drm/xe/xe_hw_engine_types.h       |    2 +
> > > > >  drivers/gpu/drm/xe/xe_lrc.c                   |   11 +-
> > > > >  drivers/gpu/drm/xe/xe_lrc.h                   |    1 +
> > > > >  drivers/gpu/drm/xe/xe_module.c                |    6 +
> > > > >  drivers/gpu/drm/xe/xe_oa.c                    | 2370 +++++++++++++++++
> > > > >  drivers/gpu/drm/xe/xe_oa.h                    |   27 +
> > > > >  drivers/gpu/drm/xe/xe_oa_types.h              |  232 ++
> > > > >  drivers/gpu/drm/xe/xe_perf.c                  |   67 +
> > > > >  drivers/gpu/drm/xe/xe_perf.h                  |   20 +
> > > > >  drivers/gpu/drm/xe/xe_query.c                 |   77 +
> > > > >  drivers/gpu/drm/xe/xe_reg_whitelist.c         |   24 +-
> > > > >  include/uapi/drm/xe_drm.h                     |  291 ++
> > > > >  22 files changed, 3321 insertions(+), 7 deletions(-)
> > > > >  create mode 100644 drivers/gpu/drm/xe/regs/xe_oa_regs.h
> > > > >  create mode 100644 drivers/gpu/drm/xe/xe_oa.c
> > > > >  create mode 100644 drivers/gpu/drm/xe/xe_oa.h
> > > > >  create mode 100644 drivers/gpu/drm/xe/xe_oa_types.h
> > > > >  create mode 100644 drivers/gpu/drm/xe/xe_perf.c
> > > > >  create mode 100644 drivers/gpu/drm/xe/xe_perf.h
> > > > >
> > > >

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

* Re: [PATCH v15 00/17] Add OA functionality to Xe
  2024-06-17 19:36         ` Rodrigo Vivi
@ 2024-06-17 21:05           ` Dixit, Ashutosh
  2024-06-17 21:14             ` Souza, Jose
  0 siblings, 1 reply; 47+ messages in thread
From: Dixit, Ashutosh @ 2024-06-17 21:05 UTC (permalink / raw)
  To: Rodrigo Vivi, Jose Souza
  Cc: Lucas De Marchi, Thomas Hellström, Michal Wajdeczko,
	intel-xe@lists.freedesktop.org, Umesh Nerlige Ramappa

On Mon, 17 Jun 2024 12:36:11 -0700, Rodrigo Vivi wrote:
>

Hi Rodrigo,

Thanks for responding :)

> On Fri, Jun 14, 2024 at 08:12:45AM -0700, Dixit, Ashutosh wrote:
> > On Thu, 06 Jun 2024 13:54:18 -0700, Dixit, Ashutosh wrote:
> > >
> > > On Thu, 06 Jun 2024 12:56:13 -0700, Dixit, Ashutosh wrote:
> > > >
> > >
> > > Hi Lucas / Rodrigo / Thomas,
> > >
> > > > On Wed, 05 Jun 2024 07:12:54 -0700, Souza, Jose wrote:
> > > > >
> > > >
> > > > Hi Jose,
> > > >
> > > > > On Sun, 2024-05-26 at 18:43 -0700, Ashutosh Dixit wrote:
> > > > > > Please see cover letter for v7 here:
> > > > > > https://patchwork.freedesktop.org/series/121084/#rev7
> > > > > >
> > > > > > For changes in later versions see changelog below.
> > > > > >
> > > > > > This series is also available at:
> > > > > >         https://gitlab.freedesktop.org/adixit/kernel/-/tree/xe-oa
> > > > > >
> > > > > > The series has been tested against this IGT series:
> > > > > >         https://gitlab.freedesktop.org/adixit/igt-gpu-tools/-/tree/xe-oa
> > > > > >	or,
> > > > > >	https://patchwork.freedesktop.org/series/130033/
> > > > > >
> > > > > > Opensource consumers using uapi in this series:
> > > > > >
> > > > > > gpuvis:
> > > > > >	https://github.com/mikesart/gpuvis/pull/86
> > > > > >
> > > > > > mesa:
> > > > > >	https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29312
> > > > > >
> > > > > > Test-with: 20240524031439.106332-1-ashutosh.dixit@intel.com
> > > > > >
> > > > >
> > > > > As first round this uAPI looks good for Mesa usage, second round after
> > > > > this ones is merged will add additional features and uAPIs need to
> > > > > support all Mesa needs.
> > > >
> > > > Correct. Copy/paste from another email in this thread, this is what we are
> > > > looking at for the second round:
> > > >
> > > > * hold preemption (needs some investigation as to feasibility)
> > > > * xe_sync for OA stream configuration and reconfiguration
> > > > * Equivalent of DRM_I915_QUERY_PERF_CONFIG_DATA_FOR_UUID. I am still trying
> > > >   to figure out if this is really needed. See here:
> > > >   https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29312#note_2429650
> > > >   Since this seems to be using some MDAPI metrics in Mesa, I think it
> > > >   should be ok to do this in the second round too.
> > > >
> > > > > Acked-by: José Roberto de Souza <jose.souza@intel.com>
> > > >
> > > > Thanks very much for the Mesa ack. I will start asking the Xe maintainers
> > > > if this (and gpuvis PR which is also merged) is sufficient to merge this
> > > > series now.
> > >
> > > Mesa has now provided their ack for the Xe OA uapi. Also all Mesa Xe OA
> > > patches now have R-b. The gpuvis PR mentioned above is also merged. The Xe
> > > OA IGT series is also mentioned above.
> > >
> > > So at this point I want to check with you if these things are sufficient to
> > > merge these Xe OA patches?
> >
> > Gentle ping about this :) Can we try to get this into 6.11?
>
> Sorry for taking so long to get to this one here.
>
> Is the Mesa MR really ready to get merged right after we merge this kernel series?
> Are all of the patches there really reviewed? I couldn't make a sense of the open
> MR discussions and I noticed the MR is still marked as 'Draft:'.

+Jose: Hi Jose could you please answer Rodrigo's questions above.

>
> But once we are sure that Mesa is ready and all Michal's concerns on the latest
> version of the kernel series are solved, then we can definitely merge.

I addressed Michal's concerns in v17. Except one, which you responded to
right now and which we are not considering a blocker for merging the
series.

>
> Deadline for 6.11 is Wednesday next week(Jun/26).
>
> Thanks,
> Rodrigo.

Let's wait to hear from Jose and then go from there.

Thanks.
--
Ashutosh


> > > > > thank you
> > > > >
> > > > > > v2: Fix build
> > > > > > v3: Rebase, due to s/xe_engine/xe_exec_queue/
> > > > > > v4: Re-run for testing
> > > > > > v5: Address review comments, new patches 11 through 17
> > > > > > v6: New patches 18 through 21
> > > > > > v7: Patches are completely redone and don't start with i915 version of the uapi
> > > > > > v8: See https://patchwork.freedesktop.org/patch/575214/?series=128993&rev=1
> > > > > > v9: See https://patchwork.freedesktop.org/patch/577441/?series=128993&rev=2
> > > > > > v10: See https://patchwork.freedesktop.org/patch/577943/?series=128993&rev=3
> > > > > > v11: See https://patchwork.freedesktop.org/patch/581239/?series=130705&rev=1
> > > > > > v12: Add last two new patches to enable Xe2+ overrun mode
> > > > > > v13: Update last two patches after code review completion
> > > > > > v14: https://patchwork.freedesktop.org/patch/595447/?series=134028&rev=1
> > > > > > v15: https://patchwork.freedesktop.org/patch/595549/?series=134056&rev=1
> > > > > >
> > > > > > Ashutosh Dixit (17):
> > > > > >   drm/xe/perf/uapi: "Perf" layer to support multiple perf counter stream
> > > > > >     types
> > > > > >   drm/xe/perf/uapi: Add perf_stream_paranoid sysctl
> > > > > >   drm/xe/oa/uapi: Add OA data formats
> > > > > >   drm/xe/oa/uapi: Initialize OA units
> > > > > >   drm/xe/oa/uapi: Add/remove OA config perf ops
> > > > > >   drm/xe/oa/uapi: Define and parse OA stream properties
> > > > > >   drm/xe/oa: OA stream initialization (OAG)
> > > > > >   drm/xe/oa/uapi: Expose OA stream fd
> > > > > >   drm/xe/oa/uapi: Read file_operation
> > > > > >   drm/xe/oa: Add OAR support
> > > > > >   drm/xe/oa: Add OAC support
> > > > > >   drm/xe/oa/uapi: Query OA unit properties
> > > > > >   drm/xe/oa/uapi: OA buffer mmap
> > > > > >   drm/xe/oa: Add MMIO trigger support
> > > > > >   drm/xe/oa: Override GuC RC with OA on PVC
> > > > > >   drm/xe/oa: Changes to OA_TAKEN
> > > > > >   drm/xe/oa: Enable Xe2+ overrun mode
> > > > > >
> > > > > >  drivers/gpu/drm/xe/Makefile                   |    2 +
> > > > > >  .../gpu/drm/xe/instructions/xe_mi_commands.h  |    3 +
> > > > > >  drivers/gpu/drm/xe/regs/xe_engine_regs.h      |    2 +
> > > > > >  drivers/gpu/drm/xe/regs/xe_gt_regs.h          |    3 +
> > > > > >  drivers/gpu/drm/xe/regs/xe_oa_regs.h          |  103 +
> > > > > >  drivers/gpu/drm/xe/xe_device.c                |   19 +-
> > > > > >  drivers/gpu/drm/xe/xe_device_types.h          |    4 +
> > > > > >  drivers/gpu/drm/xe/xe_gt_types.h              |    4 +
> > > > > >  drivers/gpu/drm/xe/xe_guc_pc.c                |   57 +
> > > > > >  drivers/gpu/drm/xe/xe_guc_pc.h                |    3 +
> > > > > >  drivers/gpu/drm/xe/xe_hw_engine_types.h       |    2 +
> > > > > >  drivers/gpu/drm/xe/xe_lrc.c                   |   11 +-
> > > > > >  drivers/gpu/drm/xe/xe_lrc.h                   |    1 +
> > > > > >  drivers/gpu/drm/xe/xe_module.c                |    6 +
> > > > > >  drivers/gpu/drm/xe/xe_oa.c                    | 2370 +++++++++++++++++
> > > > > >  drivers/gpu/drm/xe/xe_oa.h                    |   27 +
> > > > > >  drivers/gpu/drm/xe/xe_oa_types.h              |  232 ++
> > > > > >  drivers/gpu/drm/xe/xe_perf.c                  |   67 +
> > > > > >  drivers/gpu/drm/xe/xe_perf.h                  |   20 +
> > > > > >  drivers/gpu/drm/xe/xe_query.c                 |   77 +
> > > > > >  drivers/gpu/drm/xe/xe_reg_whitelist.c         |   24 +-
> > > > > >  include/uapi/drm/xe_drm.h                     |  291 ++
> > > > > >  22 files changed, 3321 insertions(+), 7 deletions(-)
> > > > > >  create mode 100644 drivers/gpu/drm/xe/regs/xe_oa_regs.h
> > > > > >  create mode 100644 drivers/gpu/drm/xe/xe_oa.c
> > > > > >  create mode 100644 drivers/gpu/drm/xe/xe_oa.h
> > > > > >  create mode 100644 drivers/gpu/drm/xe/xe_oa_types.h
> > > > > >  create mode 100644 drivers/gpu/drm/xe/xe_perf.c
> > > > > >  create mode 100644 drivers/gpu/drm/xe/xe_perf.h
> > > > > >
> > > > >

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

* Re: [PATCH v15 00/17] Add OA functionality to Xe
  2024-06-17 21:05           ` Dixit, Ashutosh
@ 2024-06-17 21:14             ` Souza, Jose
  2024-06-17 21:31               ` Rodrigo Vivi
  0 siblings, 1 reply; 47+ messages in thread
From: Souza, Jose @ 2024-06-17 21:14 UTC (permalink / raw)
  To: Dixit, Ashutosh, Vivi, Rodrigo
  Cc: Wajdeczko, Michal, intel-xe@lists.freedesktop.org,
	Nerlige Ramappa, Umesh, De Marchi, Lucas,
	thomas.hellstrom@linux.intel.com

On Mon, 2024-06-17 at 14:05 -0700, Dixit, Ashutosh wrote:
> On Mon, 17 Jun 2024 12:36:11 -0700, Rodrigo Vivi wrote:
> > 
> 
> Hi Rodrigo,
> 
> Thanks for responding :)
> 
> > On Fri, Jun 14, 2024 at 08:12:45AM -0700, Dixit, Ashutosh wrote:
> > > On Thu, 06 Jun 2024 13:54:18 -0700, Dixit, Ashutosh wrote:
> > > > 
> > > > On Thu, 06 Jun 2024 12:56:13 -0700, Dixit, Ashutosh wrote:
> > > > > 
> > > > 
> > > > Hi Lucas / Rodrigo / Thomas,
> > > > 
> > > > > On Wed, 05 Jun 2024 07:12:54 -0700, Souza, Jose wrote:
> > > > > > 
> > > > > 
> > > > > Hi Jose,
> > > > > 
> > > > > > On Sun, 2024-05-26 at 18:43 -0700, Ashutosh Dixit wrote:
> > > > > > > Please see cover letter for v7 here:
> > > > > > > https://patchwork.freedesktop.org/series/121084/#rev7
> > > > > > > 
> > > > > > > For changes in later versions see changelog below.
> > > > > > > 
> > > > > > > This series is also available at:
> > > > > > >         https://gitlab.freedesktop.org/adixit/kernel/-/tree/xe-oa
> > > > > > > 
> > > > > > > The series has been tested against this IGT series:
> > > > > > >         https://gitlab.freedesktop.org/adixit/igt-gpu-tools/-/tree/xe-oa
> > > > > > > 	or,
> > > > > > > 	https://patchwork.freedesktop.org/series/130033/
> > > > > > > 
> > > > > > > Opensource consumers using uapi in this series:
> > > > > > > 
> > > > > > > gpuvis:
> > > > > > > 	https://github.com/mikesart/gpuvis/pull/86
> > > > > > > 
> > > > > > > mesa:
> > > > > > > 	https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29312
> > > > > > > 
> > > > > > > Test-with: 20240524031439.106332-1-ashutosh.dixit@intel.com
> > > > > > > 
> > > > > > 
> > > > > > As first round this uAPI looks good for Mesa usage, second round after
> > > > > > this ones is merged will add additional features and uAPIs need to
> > > > > > support all Mesa needs.
> > > > > 
> > > > > Correct. Copy/paste from another email in this thread, this is what we are
> > > > > looking at for the second round:
> > > > > 
> > > > > * hold preemption (needs some investigation as to feasibility)
> > > > > * xe_sync for OA stream configuration and reconfiguration
> > > > > * Equivalent of DRM_I915_QUERY_PERF_CONFIG_DATA_FOR_UUID. I am still trying
> > > > >   to figure out if this is really needed. See here:
> > > > >   https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29312#note_2429650
> > > > >   Since this seems to be using some MDAPI metrics in Mesa, I think it
> > > > >   should be ok to do this in the second round too.
> > > > > 
> > > > > > Acked-by: José Roberto de Souza <jose.souza@intel.com>
> > > > > 
> > > > > Thanks very much for the Mesa ack. I will start asking the Xe maintainers
> > > > > if this (and gpuvis PR which is also merged) is sufficient to merge this
> > > > > series now.
> > > > 
> > > > Mesa has now provided their ack for the Xe OA uapi. Also all Mesa Xe OA
> > > > patches now have R-b. The gpuvis PR mentioned above is also merged. The Xe
> > > > OA IGT series is also mentioned above.
> > > > 
> > > > So at this point I want to check with you if these things are sufficient to
> > > > merge these Xe OA patches?
> > > 
> > > Gentle ping about this :) Can we try to get this into 6.11?
> > 
> > Sorry for taking so long to get to this one here.
> > 
> > Is the Mesa MR really ready to get merged right after we merge this kernel series?
> > Are all of the patches there really reviewed? I couldn't make a sense of the open
> > MR discussions and I noticed the MR is still marked as 'Draft:'.
> 
> +Jose: Hi Jose could you please answer Rodrigo's questions above.

According to Jordan, now that Xe KMD is part of Linux stable we need to follow the same process as i915 for uAPI additions.
So we need to wait for uAPI changes to land to drm-next to then be able to merge on Mesa.
After that happens I will remove the 'draft mode' and assign to Mesa bot to merge it.

But all patches are reviewed.

> 
> > 
> > But once we are sure that Mesa is ready and all Michal's concerns on the latest
> > version of the kernel series are solved, then we can definitely merge.
> 
> I addressed Michal's concerns in v17. Except one, which you responded to
> right now and which we are not considering a blocker for merging the
> series.
> 
> > 
> > Deadline for 6.11 is Wednesday next week(Jun/26).
> > 
> > Thanks,
> > Rodrigo.
> 
> Let's wait to hear from Jose and then go from there.
> 
> Thanks.
> --
> Ashutosh
> 
> 
> > > > > > thank you
> > > > > > 
> > > > > > > v2: Fix build
> > > > > > > v3: Rebase, due to s/xe_engine/xe_exec_queue/
> > > > > > > v4: Re-run for testing
> > > > > > > v5: Address review comments, new patches 11 through 17
> > > > > > > v6: New patches 18 through 21
> > > > > > > v7: Patches are completely redone and don't start with i915 version of the uapi
> > > > > > > v8: See https://patchwork.freedesktop.org/patch/575214/?series=128993&rev=1
> > > > > > > v9: See https://patchwork.freedesktop.org/patch/577441/?series=128993&rev=2
> > > > > > > v10: See https://patchwork.freedesktop.org/patch/577943/?series=128993&rev=3
> > > > > > > v11: See https://patchwork.freedesktop.org/patch/581239/?series=130705&rev=1
> > > > > > > v12: Add last two new patches to enable Xe2+ overrun mode
> > > > > > > v13: Update last two patches after code review completion
> > > > > > > v14: https://patchwork.freedesktop.org/patch/595447/?series=134028&rev=1
> > > > > > > v15: https://patchwork.freedesktop.org/patch/595549/?series=134056&rev=1
> > > > > > > 
> > > > > > > Ashutosh Dixit (17):
> > > > > > >   drm/xe/perf/uapi: "Perf" layer to support multiple perf counter stream
> > > > > > >     types
> > > > > > >   drm/xe/perf/uapi: Add perf_stream_paranoid sysctl
> > > > > > >   drm/xe/oa/uapi: Add OA data formats
> > > > > > >   drm/xe/oa/uapi: Initialize OA units
> > > > > > >   drm/xe/oa/uapi: Add/remove OA config perf ops
> > > > > > >   drm/xe/oa/uapi: Define and parse OA stream properties
> > > > > > >   drm/xe/oa: OA stream initialization (OAG)
> > > > > > >   drm/xe/oa/uapi: Expose OA stream fd
> > > > > > >   drm/xe/oa/uapi: Read file_operation
> > > > > > >   drm/xe/oa: Add OAR support
> > > > > > >   drm/xe/oa: Add OAC support
> > > > > > >   drm/xe/oa/uapi: Query OA unit properties
> > > > > > >   drm/xe/oa/uapi: OA buffer mmap
> > > > > > >   drm/xe/oa: Add MMIO trigger support
> > > > > > >   drm/xe/oa: Override GuC RC with OA on PVC
> > > > > > >   drm/xe/oa: Changes to OA_TAKEN
> > > > > > >   drm/xe/oa: Enable Xe2+ overrun mode
> > > > > > > 
> > > > > > >  drivers/gpu/drm/xe/Makefile                   |    2 +
> > > > > > >  .../gpu/drm/xe/instructions/xe_mi_commands.h  |    3 +
> > > > > > >  drivers/gpu/drm/xe/regs/xe_engine_regs.h      |    2 +
> > > > > > >  drivers/gpu/drm/xe/regs/xe_gt_regs.h          |    3 +
> > > > > > >  drivers/gpu/drm/xe/regs/xe_oa_regs.h          |  103 +
> > > > > > >  drivers/gpu/drm/xe/xe_device.c                |   19 +-
> > > > > > >  drivers/gpu/drm/xe/xe_device_types.h          |    4 +
> > > > > > >  drivers/gpu/drm/xe/xe_gt_types.h              |    4 +
> > > > > > >  drivers/gpu/drm/xe/xe_guc_pc.c                |   57 +
> > > > > > >  drivers/gpu/drm/xe/xe_guc_pc.h                |    3 +
> > > > > > >  drivers/gpu/drm/xe/xe_hw_engine_types.h       |    2 +
> > > > > > >  drivers/gpu/drm/xe/xe_lrc.c                   |   11 +-
> > > > > > >  drivers/gpu/drm/xe/xe_lrc.h                   |    1 +
> > > > > > >  drivers/gpu/drm/xe/xe_module.c                |    6 +
> > > > > > >  drivers/gpu/drm/xe/xe_oa.c                    | 2370 +++++++++++++++++
> > > > > > >  drivers/gpu/drm/xe/xe_oa.h                    |   27 +
> > > > > > >  drivers/gpu/drm/xe/xe_oa_types.h              |  232 ++
> > > > > > >  drivers/gpu/drm/xe/xe_perf.c                  |   67 +
> > > > > > >  drivers/gpu/drm/xe/xe_perf.h                  |   20 +
> > > > > > >  drivers/gpu/drm/xe/xe_query.c                 |   77 +
> > > > > > >  drivers/gpu/drm/xe/xe_reg_whitelist.c         |   24 +-
> > > > > > >  include/uapi/drm/xe_drm.h                     |  291 ++
> > > > > > >  22 files changed, 3321 insertions(+), 7 deletions(-)
> > > > > > >  create mode 100644 drivers/gpu/drm/xe/regs/xe_oa_regs.h
> > > > > > >  create mode 100644 drivers/gpu/drm/xe/xe_oa.c
> > > > > > >  create mode 100644 drivers/gpu/drm/xe/xe_oa.h
> > > > > > >  create mode 100644 drivers/gpu/drm/xe/xe_oa_types.h
> > > > > > >  create mode 100644 drivers/gpu/drm/xe/xe_perf.c
> > > > > > >  create mode 100644 drivers/gpu/drm/xe/xe_perf.h
> > > > > > > 
> > > > > > 


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

* Re: [PATCH v15 00/17] Add OA functionality to Xe
  2024-06-17 21:14             ` Souza, Jose
@ 2024-06-17 21:31               ` Rodrigo Vivi
  2024-06-18 19:54                 ` Dixit, Ashutosh
  0 siblings, 1 reply; 47+ messages in thread
From: Rodrigo Vivi @ 2024-06-17 21:31 UTC (permalink / raw)
  To: Souza, Jose
  Cc: Dixit, Ashutosh, Wajdeczko, Michal,
	intel-xe@lists.freedesktop.org, Nerlige Ramappa, Umesh,
	De Marchi, Lucas, thomas.hellstrom@linux.intel.com

On Mon, Jun 17, 2024 at 05:14:28PM -0400, Souza, Jose wrote:
> On Mon, 2024-06-17 at 14:05 -0700, Dixit, Ashutosh wrote:
> > On Mon, 17 Jun 2024 12:36:11 -0700, Rodrigo Vivi wrote:
> > > 
> > 
> > Hi Rodrigo,
> > 
> > Thanks for responding :)
> > 
> > > On Fri, Jun 14, 2024 at 08:12:45AM -0700, Dixit, Ashutosh wrote:
> > > > On Thu, 06 Jun 2024 13:54:18 -0700, Dixit, Ashutosh wrote:
> > > > > 
> > > > > On Thu, 06 Jun 2024 12:56:13 -0700, Dixit, Ashutosh wrote:
> > > > > > 
> > > > > 
> > > > > Hi Lucas / Rodrigo / Thomas,
> > > > > 
> > > > > > On Wed, 05 Jun 2024 07:12:54 -0700, Souza, Jose wrote:
> > > > > > > 
> > > > > > 
> > > > > > Hi Jose,
> > > > > > 
> > > > > > > On Sun, 2024-05-26 at 18:43 -0700, Ashutosh Dixit wrote:
> > > > > > > > Please see cover letter for v7 here:
> > > > > > > > https://patchwork.freedesktop.org/series/121084/#rev7
> > > > > > > > 
> > > > > > > > For changes in later versions see changelog below.
> > > > > > > > 
> > > > > > > > This series is also available at:
> > > > > > > >         https://gitlab.freedesktop.org/adixit/kernel/-/tree/xe-oa
> > > > > > > > 
> > > > > > > > The series has been tested against this IGT series:
> > > > > > > >         https://gitlab.freedesktop.org/adixit/igt-gpu-tools/-/tree/xe-oa
> > > > > > > > 	or,
> > > > > > > > 	https://patchwork.freedesktop.org/series/130033/
> > > > > > > > 
> > > > > > > > Opensource consumers using uapi in this series:
> > > > > > > > 
> > > > > > > > gpuvis:
> > > > > > > > 	https://github.com/mikesart/gpuvis/pull/86
> > > > > > > > 
> > > > > > > > mesa:
> > > > > > > > 	https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29312
> > > > > > > > 
> > > > > > > > Test-with: 20240524031439.106332-1-ashutosh.dixit@intel.com
> > > > > > > > 
> > > > > > > 
> > > > > > > As first round this uAPI looks good for Mesa usage, second round after
> > > > > > > this ones is merged will add additional features and uAPIs need to
> > > > > > > support all Mesa needs.
> > > > > > 
> > > > > > Correct. Copy/paste from another email in this thread, this is what we are
> > > > > > looking at for the second round:
> > > > > > 
> > > > > > * hold preemption (needs some investigation as to feasibility)
> > > > > > * xe_sync for OA stream configuration and reconfiguration
> > > > > > * Equivalent of DRM_I915_QUERY_PERF_CONFIG_DATA_FOR_UUID. I am still trying
> > > > > >   to figure out if this is really needed. See here:
> > > > > >   https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29312#note_2429650
> > > > > >   Since this seems to be using some MDAPI metrics in Mesa, I think it
> > > > > >   should be ok to do this in the second round too.
> > > > > > 
> > > > > > > Acked-by: José Roberto de Souza <jose.souza@intel.com>
> > > > > > 
> > > > > > Thanks very much for the Mesa ack. I will start asking the Xe maintainers
> > > > > > if this (and gpuvis PR which is also merged) is sufficient to merge this
> > > > > > series now.
> > > > > 
> > > > > Mesa has now provided their ack for the Xe OA uapi. Also all Mesa Xe OA
> > > > > patches now have R-b. The gpuvis PR mentioned above is also merged. The Xe
> > > > > OA IGT series is also mentioned above.
> > > > > 
> > > > > So at this point I want to check with you if these things are sufficient to
> > > > > merge these Xe OA patches?
> > > > 
> > > > Gentle ping about this :) Can we try to get this into 6.11?
> > > 
> > > Sorry for taking so long to get to this one here.
> > > 
> > > Is the Mesa MR really ready to get merged right after we merge this kernel series?
> > > Are all of the patches there really reviewed? I couldn't make a sense of the open
> > > MR discussions and I noticed the MR is still marked as 'Draft:'.
> > 
> > +Jose: Hi Jose could you please answer Rodrigo's questions above.
> 
> According to Jordan, now that Xe KMD is part of Linux stable we need to follow the same process as i915 for uAPI additions.
> So we need to wait for uAPI changes to land to drm-next to then be able to merge on Mesa.
> After that happens I will remove the 'draft mode' and assign to Mesa bot to merge it.
> 
> But all patches are reviewed.

Thanks for the confirmation.

Ashutosh, could you please send a rebased version?

when applying v17:
$ dim b4-shazam 171817017582.68617.16794933743922778441@a6498e030952
[snip]
Applying: drm/xe/oa: Add OAR support
Patch failed at 0010 drm/xe/oa: Add OAR support
error: patch failed: drivers/gpu/drm/xe/xe_lrc.c:649

Then we wait for CI and push.

in case someone else push that, feel free to use:

Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com>


> 
> > 
> > > 
> > > But once we are sure that Mesa is ready and all Michal's concerns on the latest
> > > version of the kernel series are solved, then we can definitely merge.
> > 
> > I addressed Michal's concerns in v17. Except one, which you responded to
> > right now and which we are not considering a blocker for merging the
> > series.
> > 
> > > 
> > > Deadline for 6.11 is Wednesday next week(Jun/26).
> > > 
> > > Thanks,
> > > Rodrigo.
> > 
> > Let's wait to hear from Jose and then go from there.
> > 
> > Thanks.
> > --
> > Ashutosh
> > 
> > 
> > > > > > > thank you
> > > > > > > 
> > > > > > > > v2: Fix build
> > > > > > > > v3: Rebase, due to s/xe_engine/xe_exec_queue/
> > > > > > > > v4: Re-run for testing
> > > > > > > > v5: Address review comments, new patches 11 through 17
> > > > > > > > v6: New patches 18 through 21
> > > > > > > > v7: Patches are completely redone and don't start with i915 version of the uapi
> > > > > > > > v8: See https://patchwork.freedesktop.org/patch/575214/?series=128993&rev=1
> > > > > > > > v9: See https://patchwork.freedesktop.org/patch/577441/?series=128993&rev=2
> > > > > > > > v10: See https://patchwork.freedesktop.org/patch/577943/?series=128993&rev=3
> > > > > > > > v11: See https://patchwork.freedesktop.org/patch/581239/?series=130705&rev=1
> > > > > > > > v12: Add last two new patches to enable Xe2+ overrun mode
> > > > > > > > v13: Update last two patches after code review completion
> > > > > > > > v14: https://patchwork.freedesktop.org/patch/595447/?series=134028&rev=1
> > > > > > > > v15: https://patchwork.freedesktop.org/patch/595549/?series=134056&rev=1
> > > > > > > > 
> > > > > > > > Ashutosh Dixit (17):
> > > > > > > >   drm/xe/perf/uapi: "Perf" layer to support multiple perf counter stream
> > > > > > > >     types
> > > > > > > >   drm/xe/perf/uapi: Add perf_stream_paranoid sysctl
> > > > > > > >   drm/xe/oa/uapi: Add OA data formats
> > > > > > > >   drm/xe/oa/uapi: Initialize OA units
> > > > > > > >   drm/xe/oa/uapi: Add/remove OA config perf ops
> > > > > > > >   drm/xe/oa/uapi: Define and parse OA stream properties
> > > > > > > >   drm/xe/oa: OA stream initialization (OAG)
> > > > > > > >   drm/xe/oa/uapi: Expose OA stream fd
> > > > > > > >   drm/xe/oa/uapi: Read file_operation
> > > > > > > >   drm/xe/oa: Add OAR support
> > > > > > > >   drm/xe/oa: Add OAC support
> > > > > > > >   drm/xe/oa/uapi: Query OA unit properties
> > > > > > > >   drm/xe/oa/uapi: OA buffer mmap
> > > > > > > >   drm/xe/oa: Add MMIO trigger support
> > > > > > > >   drm/xe/oa: Override GuC RC with OA on PVC
> > > > > > > >   drm/xe/oa: Changes to OA_TAKEN
> > > > > > > >   drm/xe/oa: Enable Xe2+ overrun mode
> > > > > > > > 
> > > > > > > >  drivers/gpu/drm/xe/Makefile                   |    2 +
> > > > > > > >  .../gpu/drm/xe/instructions/xe_mi_commands.h  |    3 +
> > > > > > > >  drivers/gpu/drm/xe/regs/xe_engine_regs.h      |    2 +
> > > > > > > >  drivers/gpu/drm/xe/regs/xe_gt_regs.h          |    3 +
> > > > > > > >  drivers/gpu/drm/xe/regs/xe_oa_regs.h          |  103 +
> > > > > > > >  drivers/gpu/drm/xe/xe_device.c                |   19 +-
> > > > > > > >  drivers/gpu/drm/xe/xe_device_types.h          |    4 +
> > > > > > > >  drivers/gpu/drm/xe/xe_gt_types.h              |    4 +
> > > > > > > >  drivers/gpu/drm/xe/xe_guc_pc.c                |   57 +
> > > > > > > >  drivers/gpu/drm/xe/xe_guc_pc.h                |    3 +
> > > > > > > >  drivers/gpu/drm/xe/xe_hw_engine_types.h       |    2 +
> > > > > > > >  drivers/gpu/drm/xe/xe_lrc.c                   |   11 +-
> > > > > > > >  drivers/gpu/drm/xe/xe_lrc.h                   |    1 +
> > > > > > > >  drivers/gpu/drm/xe/xe_module.c                |    6 +
> > > > > > > >  drivers/gpu/drm/xe/xe_oa.c                    | 2370 +++++++++++++++++
> > > > > > > >  drivers/gpu/drm/xe/xe_oa.h                    |   27 +
> > > > > > > >  drivers/gpu/drm/xe/xe_oa_types.h              |  232 ++
> > > > > > > >  drivers/gpu/drm/xe/xe_perf.c                  |   67 +
> > > > > > > >  drivers/gpu/drm/xe/xe_perf.h                  |   20 +
> > > > > > > >  drivers/gpu/drm/xe/xe_query.c                 |   77 +
> > > > > > > >  drivers/gpu/drm/xe/xe_reg_whitelist.c         |   24 +-
> > > > > > > >  include/uapi/drm/xe_drm.h                     |  291 ++
> > > > > > > >  22 files changed, 3321 insertions(+), 7 deletions(-)
> > > > > > > >  create mode 100644 drivers/gpu/drm/xe/regs/xe_oa_regs.h
> > > > > > > >  create mode 100644 drivers/gpu/drm/xe/xe_oa.c
> > > > > > > >  create mode 100644 drivers/gpu/drm/xe/xe_oa.h
> > > > > > > >  create mode 100644 drivers/gpu/drm/xe/xe_oa_types.h
> > > > > > > >  create mode 100644 drivers/gpu/drm/xe/xe_perf.c
> > > > > > > >  create mode 100644 drivers/gpu/drm/xe/xe_perf.h
> > > > > > > > 
> > > > > > > 
> 

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

* Re: [PATCH v15 00/17] Add OA functionality to Xe
  2024-06-17 21:31               ` Rodrigo Vivi
@ 2024-06-18 19:54                 ` Dixit, Ashutosh
  0 siblings, 0 replies; 47+ messages in thread
From: Dixit, Ashutosh @ 2024-06-18 19:54 UTC (permalink / raw)
  To: Rodrigo Vivi
  Cc: Souza, Jose, Wajdeczko, Michal, intel-xe@lists.freedesktop.org,
	Nerlige Ramappa, Umesh, De Marchi, Lucas,
	thomas.hellstrom@linux.intel.com

On Mon, 17 Jun 2024 14:31:25 -0700, Rodrigo Vivi wrote:
>
> On Mon, Jun 17, 2024 at 05:14:28PM -0400, Souza, Jose wrote:
> > On Mon, 2024-06-17 at 14:05 -0700, Dixit, Ashutosh wrote:
> > > On Mon, 17 Jun 2024 12:36:11 -0700, Rodrigo Vivi wrote:
> > > >
> > >
> > > Hi Rodrigo,
> > >
> > > Thanks for responding :)
> > >
> > > > On Fri, Jun 14, 2024 at 08:12:45AM -0700, Dixit, Ashutosh wrote:
> > > > > On Thu, 06 Jun 2024 13:54:18 -0700, Dixit, Ashutosh wrote:
> > > > > >
> > > > > > On Thu, 06 Jun 2024 12:56:13 -0700, Dixit, Ashutosh wrote:
> > > > > > >
> > > > > >
> > > > > > Hi Lucas / Rodrigo / Thomas,
> > > > > >
> > > > > > > On Wed, 05 Jun 2024 07:12:54 -0700, Souza, Jose wrote:
> > > > > > > >
> > > > > > >
> > > > > > > Hi Jose,
> > > > > > >
> > > > > > > > On Sun, 2024-05-26 at 18:43 -0700, Ashutosh Dixit wrote:
> > > > > > > > > Please see cover letter for v7 here:
> > > > > > > > > https://patchwork.freedesktop.org/series/121084/#rev7
> > > > > > > > >
> > > > > > > > > For changes in later versions see changelog below.
> > > > > > > > >
> > > > > > > > > This series is also available at:
> > > > > > > > >         https://gitlab.freedesktop.org/adixit/kernel/-/tree/xe-oa
> > > > > > > > >
> > > > > > > > > The series has been tested against this IGT series:
> > > > > > > > >         https://gitlab.freedesktop.org/adixit/igt-gpu-tools/-/tree/xe-oa
> > > > > > > > >	or,
> > > > > > > > >	https://patchwork.freedesktop.org/series/130033/
> > > > > > > > >
> > > > > > > > > Opensource consumers using uapi in this series:
> > > > > > > > >
> > > > > > > > > gpuvis:
> > > > > > > > >	https://github.com/mikesart/gpuvis/pull/86
> > > > > > > > >
> > > > > > > > > mesa:
> > > > > > > > >	https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29312
> > > > > > > > >
> > > > > > > > > Test-with: 20240524031439.106332-1-ashutosh.dixit@intel.com
> > > > > > > > >
> > > > > > > >
> > > > > > > > As first round this uAPI looks good for Mesa usage, second round after
> > > > > > > > this ones is merged will add additional features and uAPIs need to
> > > > > > > > support all Mesa needs.
> > > > > > >
> > > > > > > Correct. Copy/paste from another email in this thread, this is what we are
> > > > > > > looking at for the second round:
> > > > > > >
> > > > > > > * hold preemption (needs some investigation as to feasibility)
> > > > > > > * xe_sync for OA stream configuration and reconfiguration
> > > > > > > * Equivalent of DRM_I915_QUERY_PERF_CONFIG_DATA_FOR_UUID. I am still trying
> > > > > > >   to figure out if this is really needed. See here:
> > > > > > >   https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29312#note_2429650
> > > > > > >   Since this seems to be using some MDAPI metrics in Mesa, I think it
> > > > > > >   should be ok to do this in the second round too.
> > > > > > >
> > > > > > > > Acked-by: José Roberto de Souza <jose.souza@intel.com>
> > > > > > >
> > > > > > > Thanks very much for the Mesa ack. I will start asking the Xe maintainers
> > > > > > > if this (and gpuvis PR which is also merged) is sufficient to merge this
> > > > > > > series now.
> > > > > >
> > > > > > Mesa has now provided their ack for the Xe OA uapi. Also all Mesa Xe OA
> > > > > > patches now have R-b. The gpuvis PR mentioned above is also merged. The Xe
> > > > > > OA IGT series is also mentioned above.
> > > > > >
> > > > > > So at this point I want to check with you if these things are sufficient to
> > > > > > merge these Xe OA patches?
> > > > >
> > > > > Gentle ping about this :) Can we try to get this into 6.11?
> > > >
> > > > Sorry for taking so long to get to this one here.
> > > >
> > > > Is the Mesa MR really ready to get merged right after we merge this kernel series?
> > > > Are all of the patches there really reviewed? I couldn't make a sense of the open
> > > > MR discussions and I noticed the MR is still marked as 'Draft:'.
> > >
> > > +Jose: Hi Jose could you please answer Rodrigo's questions above.
> >
> > According to Jordan, now that Xe KMD is part of Linux stable we need to follow the same process as i915 for uAPI additions.
> > So we need to wait for uAPI changes to land to drm-next to then be able to merge on Mesa.
> > After that happens I will remove the 'draft mode' and assign to Mesa bot to merge it.
> >
> > But all patches are reviewed.
>
> Thanks for the confirmation.
>
> Ashutosh, could you please send a rebased version?
>
> when applying v17:
> $ dim b4-shazam 171817017582.68617.16794933743922778441@a6498e030952
> [snip]
> Applying: drm/xe/oa: Add OAR support
> Patch failed at 0010 drm/xe/oa: Add OAR support
> error: patch failed: drivers/gpu/drm/xe/xe_lrc.c:649
>
> Then we wait for CI and push.
>
> in case someone else push that, feel free to use:
>
> Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com>

Thanks Rodrigo. I went ahead and merged this series. Thanks all, for your
inputs and support.

Thanks.
--
Ashutosh

>
>
> >
> > >
> > > >
> > > > But once we are sure that Mesa is ready and all Michal's concerns on the latest
> > > > version of the kernel series are solved, then we can definitely merge.
> > >
> > > I addressed Michal's concerns in v17. Except one, which you responded to
> > > right now and which we are not considering a blocker for merging the
> > > series.
> > >
> > > >
> > > > Deadline for 6.11 is Wednesday next week(Jun/26).
> > > >
> > > > Thanks,
> > > > Rodrigo.
> > >
> > > Let's wait to hear from Jose and then go from there.
> > >
> > > Thanks.
> > > --
> > > Ashutosh
> > >
> > >
> > > > > > > > thank you
> > > > > > > >
> > > > > > > > > v2: Fix build
> > > > > > > > > v3: Rebase, due to s/xe_engine/xe_exec_queue/
> > > > > > > > > v4: Re-run for testing
> > > > > > > > > v5: Address review comments, new patches 11 through 17
> > > > > > > > > v6: New patches 18 through 21
> > > > > > > > > v7: Patches are completely redone and don't start with i915 version of the uapi
> > > > > > > > > v8: See https://patchwork.freedesktop.org/patch/575214/?series=128993&rev=1
> > > > > > > > > v9: See https://patchwork.freedesktop.org/patch/577441/?series=128993&rev=2
> > > > > > > > > v10: See https://patchwork.freedesktop.org/patch/577943/?series=128993&rev=3
> > > > > > > > > v11: See https://patchwork.freedesktop.org/patch/581239/?series=130705&rev=1
> > > > > > > > > v12: Add last two new patches to enable Xe2+ overrun mode
> > > > > > > > > v13: Update last two patches after code review completion
> > > > > > > > > v14: https://patchwork.freedesktop.org/patch/595447/?series=134028&rev=1
> > > > > > > > > v15: https://patchwork.freedesktop.org/patch/595549/?series=134056&rev=1
> > > > > > > > >
> > > > > > > > > Ashutosh Dixit (17):
> > > > > > > > >   drm/xe/perf/uapi: "Perf" layer to support multiple perf counter stream
> > > > > > > > >     types
> > > > > > > > >   drm/xe/perf/uapi: Add perf_stream_paranoid sysctl
> > > > > > > > >   drm/xe/oa/uapi: Add OA data formats
> > > > > > > > >   drm/xe/oa/uapi: Initialize OA units
> > > > > > > > >   drm/xe/oa/uapi: Add/remove OA config perf ops
> > > > > > > > >   drm/xe/oa/uapi: Define and parse OA stream properties
> > > > > > > > >   drm/xe/oa: OA stream initialization (OAG)
> > > > > > > > >   drm/xe/oa/uapi: Expose OA stream fd
> > > > > > > > >   drm/xe/oa/uapi: Read file_operation
> > > > > > > > >   drm/xe/oa: Add OAR support
> > > > > > > > >   drm/xe/oa: Add OAC support
> > > > > > > > >   drm/xe/oa/uapi: Query OA unit properties
> > > > > > > > >   drm/xe/oa/uapi: OA buffer mmap
> > > > > > > > >   drm/xe/oa: Add MMIO trigger support
> > > > > > > > >   drm/xe/oa: Override GuC RC with OA on PVC
> > > > > > > > >   drm/xe/oa: Changes to OA_TAKEN
> > > > > > > > >   drm/xe/oa: Enable Xe2+ overrun mode
> > > > > > > > >
> > > > > > > > >  drivers/gpu/drm/xe/Makefile                   |    2 +
> > > > > > > > >  .../gpu/drm/xe/instructions/xe_mi_commands.h  |    3 +
> > > > > > > > >  drivers/gpu/drm/xe/regs/xe_engine_regs.h      |    2 +
> > > > > > > > >  drivers/gpu/drm/xe/regs/xe_gt_regs.h          |    3 +
> > > > > > > > >  drivers/gpu/drm/xe/regs/xe_oa_regs.h          |  103 +
> > > > > > > > >  drivers/gpu/drm/xe/xe_device.c                |   19 +-
> > > > > > > > >  drivers/gpu/drm/xe/xe_device_types.h          |    4 +
> > > > > > > > >  drivers/gpu/drm/xe/xe_gt_types.h              |    4 +
> > > > > > > > >  drivers/gpu/drm/xe/xe_guc_pc.c                |   57 +
> > > > > > > > >  drivers/gpu/drm/xe/xe_guc_pc.h                |    3 +
> > > > > > > > >  drivers/gpu/drm/xe/xe_hw_engine_types.h       |    2 +
> > > > > > > > >  drivers/gpu/drm/xe/xe_lrc.c                   |   11 +-
> > > > > > > > >  drivers/gpu/drm/xe/xe_lrc.h                   |    1 +
> > > > > > > > >  drivers/gpu/drm/xe/xe_module.c                |    6 +
> > > > > > > > >  drivers/gpu/drm/xe/xe_oa.c                    | 2370 +++++++++++++++++
> > > > > > > > >  drivers/gpu/drm/xe/xe_oa.h                    |   27 +
> > > > > > > > >  drivers/gpu/drm/xe/xe_oa_types.h              |  232 ++
> > > > > > > > >  drivers/gpu/drm/xe/xe_perf.c                  |   67 +
> > > > > > > > >  drivers/gpu/drm/xe/xe_perf.h                  |   20 +
> > > > > > > > >  drivers/gpu/drm/xe/xe_query.c                 |   77 +
> > > > > > > > >  drivers/gpu/drm/xe/xe_reg_whitelist.c         |   24 +-
> > > > > > > > >  include/uapi/drm/xe_drm.h                     |  291 ++
> > > > > > > > >  22 files changed, 3321 insertions(+), 7 deletions(-)
> > > > > > > > >  create mode 100644 drivers/gpu/drm/xe/regs/xe_oa_regs.h
> > > > > > > > >  create mode 100644 drivers/gpu/drm/xe/xe_oa.c
> > > > > > > > >  create mode 100644 drivers/gpu/drm/xe/xe_oa.h
> > > > > > > > >  create mode 100644 drivers/gpu/drm/xe/xe_oa_types.h
> > > > > > > > >  create mode 100644 drivers/gpu/drm/xe/xe_perf.c
> > > > > > > > >  create mode 100644 drivers/gpu/drm/xe/xe_perf.h
> > > > > > > > >
> > > > > > > >
> >

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

* Re: [PATCH 03/17] drm/xe/oa/uapi: Add OA data formats
  2024-05-27  1:43 ` [PATCH 03/17] drm/xe/oa/uapi: Add OA data formats Ashutosh Dixit
@ 2024-06-20 17:28   ` Matt Roper
  2024-06-20 17:57     ` Dixit, Ashutosh
  0 siblings, 1 reply; 47+ messages in thread
From: Matt Roper @ 2024-06-20 17:28 UTC (permalink / raw)
  To: Ashutosh Dixit; +Cc: intel-xe

On Sun, May 26, 2024 at 06:43:19PM -0700, Ashutosh Dixit wrote:
> Add and initialize supported OA data formats for various platforms
> (including Xe2). User can request OA data in any supported format.
> 
> Bspec: 52198, 60942, 61101
> 
> v2: Start 'xe_oa_format_name' enum from 0 (Umesh)
>     Fix error rewind with OA (Umesh)
> v3: Use graphics versions rather than absolute platform names
> 
> Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
> Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
> ---
>  drivers/gpu/drm/xe/Makefile          |   1 +
>  drivers/gpu/drm/xe/xe_device.c       |  13 +++-
>  drivers/gpu/drm/xe/xe_device_types.h |   4 ++
>  drivers/gpu/drm/xe/xe_module.c       |   1 +
>  drivers/gpu/drm/xe/xe_oa.c           | 101 +++++++++++++++++++++++++++
>  drivers/gpu/drm/xe/xe_oa.h           |  16 +++++
>  drivers/gpu/drm/xe/xe_oa_types.h     |  76 ++++++++++++++++++++
>  include/uapi/drm/xe_drm.h            |  10 +++
>  8 files changed, 221 insertions(+), 1 deletion(-)
>  create mode 100644 drivers/gpu/drm/xe/xe_oa.c
>  create mode 100644 drivers/gpu/drm/xe/xe_oa.h
>  create mode 100644 drivers/gpu/drm/xe/xe_oa_types.h
> 
> diff --git a/drivers/gpu/drm/xe/Makefile b/drivers/gpu/drm/xe/Makefile
> index dd220439fe87..79f45ffc003e 100644
> --- a/drivers/gpu/drm/xe/Makefile
> +++ b/drivers/gpu/drm/xe/Makefile
> @@ -115,6 +115,7 @@ xe-y += xe_bb.o \
>  	xe_mmio.o \
>  	xe_mocs.o \
>  	xe_module.o \
> +	xe_oa.o \
>  	xe_pat.o \
>  	xe_pci.o \
>  	xe_pcode.o \
> diff --git a/drivers/gpu/drm/xe/xe_device.c b/drivers/gpu/drm/xe/xe_device.c
> index 50cb8723f54a..d677c20980e1 100644
> --- a/drivers/gpu/drm/xe/xe_device.c
> +++ b/drivers/gpu/drm/xe/xe_device.c
> @@ -39,6 +39,7 @@
>  #include "xe_memirq.h"
>  #include "xe_mmio.h"
>  #include "xe_module.h"
> +#include "xe_oa.h"
>  #include "xe_pat.h"
>  #include "xe_pcode.h"
>  #include "xe_perf.h"
> @@ -636,10 +637,14 @@ int xe_device_probe(struct xe_device *xe)
>  
>  	xe_heci_gsc_init(xe);
>  
> -	err = xe_display_init(xe);
> +	err = xe_oa_init(xe);
>  	if (err)
>  		goto err_irq_shutdown;
>  
> +	err = xe_display_init(xe);
> +	if (err)
> +		goto err_oa_fini;
> +
>  	err = drm_dev_register(&xe->drm, 0);
>  	if (err)
>  		goto err_fini_display;

I didn't really look at this series earlier, but it seems odd to me that
we're sticking a bunch of OA code at the device level.  Isn't OA a
GT-specific concept?  As far as I know, there's no observability
functionality in the soci/sgunit/display.


Matt



> @@ -654,6 +659,10 @@ int xe_device_probe(struct xe_device *xe)
>  
>  err_fini_display:
>  	xe_display_driver_remove(xe);
> +
> +err_oa_fini:
> +	xe_oa_fini(xe);
> +
>  err_irq_shutdown:
>  	xe_irq_shutdown(xe);
>  err:
> @@ -675,6 +684,8 @@ void xe_device_remove(struct xe_device *xe)
>  
>  	xe_display_fini(xe);
>  
> +	xe_oa_fini(xe);
> +
>  	xe_heci_gsc_fini(xe);
>  
>  	xe_irq_shutdown(xe);
> diff --git a/drivers/gpu/drm/xe/xe_device_types.h b/drivers/gpu/drm/xe/xe_device_types.h
> index 03bedc33b21a..9099aed495c4 100644
> --- a/drivers/gpu/drm/xe/xe_device_types.h
> +++ b/drivers/gpu/drm/xe/xe_device_types.h
> @@ -17,6 +17,7 @@
>  #include "xe_gt_types.h"
>  #include "xe_lmtt_types.h"
>  #include "xe_memirq_types.h"
> +#include "xe_oa.h"
>  #include "xe_platform_types.h"
>  #include "xe_pt_types.h"
>  #include "xe_sriov_types.h"
> @@ -457,6 +458,9 @@ struct xe_device {
>  	/** @heci_gsc: graphics security controller */
>  	struct xe_heci_gsc heci_gsc;
>  
> +	/** @oa: oa perf counter subsystem */
> +	struct xe_oa oa;
> +
>  	/** @needs_flr_on_fini: requests function-reset on fini */
>  	bool needs_flr_on_fini;
>  
> diff --git a/drivers/gpu/drm/xe/xe_module.c b/drivers/gpu/drm/xe/xe_module.c
> index 893858a2eea0..4e9f31f11920 100644
> --- a/drivers/gpu/drm/xe/xe_module.c
> +++ b/drivers/gpu/drm/xe/xe_module.c
> @@ -10,6 +10,7 @@
>  
>  #include "xe_drv.h"
>  #include "xe_hw_fence.h"
> +#include "xe_oa.h"
>  #include "xe_pci.h"
>  #include "xe_perf.h"
>  #include "xe_sched_job.h"
> diff --git a/drivers/gpu/drm/xe/xe_oa.c b/drivers/gpu/drm/xe/xe_oa.c
> new file mode 100644
> index 000000000000..3349e645cb72
> --- /dev/null
> +++ b/drivers/gpu/drm/xe/xe_oa.c
> @@ -0,0 +1,101 @@
> +// SPDX-License-Identifier: MIT
> +/*
> + * Copyright © 2023 Intel Corporation
> + */
> +
> +#include <drm/xe_drm.h>
> +
> +#include "xe_assert.h"
> +#include "xe_device.h"
> +#include "xe_macros.h"
> +#include "xe_oa.h"
> +
> +#define DRM_FMT(x) DRM_XE_OA_FMT_TYPE_##x
> +
> +static const struct xe_oa_format oa_formats[] = {
> +	[XE_OA_FORMAT_C4_B8]			= { 7, 64,  DRM_FMT(OAG) },
> +	[XE_OA_FORMAT_A12]			= { 0, 64,  DRM_FMT(OAG) },
> +	[XE_OA_FORMAT_A12_B8_C8]		= { 2, 128, DRM_FMT(OAG) },
> +	[XE_OA_FORMAT_A32u40_A4u32_B8_C8]	= { 5, 256, DRM_FMT(OAG) },
> +	[XE_OAR_FORMAT_A32u40_A4u32_B8_C8]	= { 5, 256, DRM_FMT(OAR) },
> +	[XE_OA_FORMAT_A24u40_A14u32_B8_C8]	= { 5, 256, DRM_FMT(OAG) },
> +	[XE_OAC_FORMAT_A24u64_B8_C8]		= { 1, 320, DRM_FMT(OAC), HDR_64_BIT },
> +	[XE_OAC_FORMAT_A22u32_R2u32_B8_C8]	= { 2, 192, DRM_FMT(OAC), HDR_64_BIT },
> +	[XE_OAM_FORMAT_MPEC8u64_B8_C8]		= { 1, 192, DRM_FMT(OAM_MPEC), HDR_64_BIT },
> +	[XE_OAM_FORMAT_MPEC8u32_B8_C8]		= { 2, 128, DRM_FMT(OAM_MPEC), HDR_64_BIT },
> +	[XE_OA_FORMAT_PEC64u64]			= { 1, 576, DRM_FMT(PEC), HDR_64_BIT, 1, 0 },
> +	[XE_OA_FORMAT_PEC64u64_B8_C8]		= { 1, 640, DRM_FMT(PEC), HDR_64_BIT, 1, 1 },
> +	[XE_OA_FORMAT_PEC64u32]			= { 1, 320, DRM_FMT(PEC), HDR_64_BIT },
> +	[XE_OA_FORMAT_PEC32u64_G1]		= { 5, 320, DRM_FMT(PEC), HDR_64_BIT, 1, 0 },
> +	[XE_OA_FORMAT_PEC32u32_G1]		= { 5, 192, DRM_FMT(PEC), HDR_64_BIT },
> +	[XE_OA_FORMAT_PEC32u64_G2]		= { 6, 320, DRM_FMT(PEC), HDR_64_BIT, 1, 0 },
> +	[XE_OA_FORMAT_PEC32u32_G2]		= { 6, 192, DRM_FMT(PEC), HDR_64_BIT },
> +	[XE_OA_FORMAT_PEC36u64_G1_32_G2_4]	= { 3, 320, DRM_FMT(PEC), HDR_64_BIT, 1, 0 },
> +	[XE_OA_FORMAT_PEC36u64_G1_4_G2_32]	= { 4, 320, DRM_FMT(PEC), HDR_64_BIT, 1, 0 },
> +};
> +
> +static void oa_format_add(struct xe_oa *oa, enum xe_oa_format_name format)
> +{
> +	__set_bit(format, oa->format_mask);
> +}
> +
> +static void xe_oa_init_supported_formats(struct xe_oa *oa)
> +{
> +	if (GRAPHICS_VER(oa->xe) >= 20) {
> +		/* Xe2+ */
> +		oa_format_add(oa, XE_OAM_FORMAT_MPEC8u64_B8_C8);
> +		oa_format_add(oa, XE_OAM_FORMAT_MPEC8u32_B8_C8);
> +		oa_format_add(oa, XE_OA_FORMAT_PEC64u64);
> +		oa_format_add(oa, XE_OA_FORMAT_PEC64u64_B8_C8);
> +		oa_format_add(oa, XE_OA_FORMAT_PEC64u32);
> +		oa_format_add(oa, XE_OA_FORMAT_PEC32u64_G1);
> +		oa_format_add(oa, XE_OA_FORMAT_PEC32u32_G1);
> +		oa_format_add(oa, XE_OA_FORMAT_PEC32u64_G2);
> +		oa_format_add(oa, XE_OA_FORMAT_PEC32u32_G2);
> +		oa_format_add(oa, XE_OA_FORMAT_PEC36u64_G1_32_G2_4);
> +		oa_format_add(oa, XE_OA_FORMAT_PEC36u64_G1_4_G2_32);
> +	} else if (GRAPHICS_VERx100(oa->xe) >= 1270) {
> +		/* XE_METEORLAKE */
> +		oa_format_add(oa, XE_OAR_FORMAT_A32u40_A4u32_B8_C8);
> +		oa_format_add(oa, XE_OA_FORMAT_A24u40_A14u32_B8_C8);
> +		oa_format_add(oa, XE_OAC_FORMAT_A24u64_B8_C8);
> +		oa_format_add(oa, XE_OAC_FORMAT_A22u32_R2u32_B8_C8);
> +		oa_format_add(oa, XE_OAM_FORMAT_MPEC8u64_B8_C8);
> +		oa_format_add(oa, XE_OAM_FORMAT_MPEC8u32_B8_C8);
> +	} else if (GRAPHICS_VERx100(oa->xe) >= 1255) {
> +		/* XE_DG2, XE_PVC */
> +		oa_format_add(oa, XE_OAR_FORMAT_A32u40_A4u32_B8_C8);
> +		oa_format_add(oa, XE_OA_FORMAT_A24u40_A14u32_B8_C8);
> +		oa_format_add(oa, XE_OAC_FORMAT_A24u64_B8_C8);
> +		oa_format_add(oa, XE_OAC_FORMAT_A22u32_R2u32_B8_C8);
> +	} else {
> +		/* Gen12+ */
> +		xe_assert(oa->xe, GRAPHICS_VER(oa->xe) >= 12);
> +		oa_format_add(oa, XE_OA_FORMAT_A12);
> +		oa_format_add(oa, XE_OA_FORMAT_A12_B8_C8);
> +		oa_format_add(oa, XE_OA_FORMAT_A32u40_A4u32_B8_C8);
> +		oa_format_add(oa, XE_OA_FORMAT_C4_B8);
> +	}
> +}
> +
> +int xe_oa_init(struct xe_device *xe)
> +{
> +	struct xe_oa *oa = &xe->oa;
> +
> +	/* Support OA only with GuC submission and Gen12+ */
> +	if (XE_WARN_ON(!xe_device_uc_enabled(xe)) || XE_WARN_ON(GRAPHICS_VER(xe) < 12))
> +		return 0;
> +
> +	oa->xe = xe;
> +	oa->oa_formats = oa_formats;
> +
> +	xe_oa_init_supported_formats(oa);
> +	return 0;
> +}
> +
> +void xe_oa_fini(struct xe_device *xe)
> +{
> +	struct xe_oa *oa = &xe->oa;
> +
> +	oa->xe = NULL;
> +}
> diff --git a/drivers/gpu/drm/xe/xe_oa.h b/drivers/gpu/drm/xe/xe_oa.h
> new file mode 100644
> index 000000000000..a2f301e2be57
> --- /dev/null
> +++ b/drivers/gpu/drm/xe/xe_oa.h
> @@ -0,0 +1,16 @@
> +/* SPDX-License-Identifier: MIT */
> +/*
> + * Copyright © 2023 Intel Corporation
> + */
> +
> +#ifndef _XE_OA_H_
> +#define _XE_OA_H_
> +
> +#include "xe_oa_types.h"
> +
> +struct xe_device;
> +
> +int xe_oa_init(struct xe_device *xe);
> +void xe_oa_fini(struct xe_device *xe);
> +
> +#endif
> diff --git a/drivers/gpu/drm/xe/xe_oa_types.h b/drivers/gpu/drm/xe/xe_oa_types.h
> new file mode 100644
> index 000000000000..1e339090c90d
> --- /dev/null
> +++ b/drivers/gpu/drm/xe/xe_oa_types.h
> @@ -0,0 +1,76 @@
> +/* SPDX-License-Identifier: MIT */
> +/*
> + * Copyright © 2023 Intel Corporation
> + */
> +
> +#ifndef _XE_OA_TYPES_H_
> +#define _XE_OA_TYPES_H_
> +
> +#include <linux/math.h>
> +#include <linux/types.h>
> +
> +enum xe_oa_report_header {
> +	HDR_32_BIT = 0,
> +	HDR_64_BIT,
> +};
> +
> +enum xe_oa_format_name {
> +	XE_OA_FORMAT_C4_B8,
> +
> +	/* Gen8+ */
> +	XE_OA_FORMAT_A12,
> +	XE_OA_FORMAT_A12_B8_C8,
> +	XE_OA_FORMAT_A32u40_A4u32_B8_C8,
> +
> +	/* DG2 */
> +	XE_OAR_FORMAT_A32u40_A4u32_B8_C8,
> +	XE_OA_FORMAT_A24u40_A14u32_B8_C8,
> +
> +	/* DG2/MTL OAC */
> +	XE_OAC_FORMAT_A24u64_B8_C8,
> +	XE_OAC_FORMAT_A22u32_R2u32_B8_C8,
> +
> +	/* MTL OAM */
> +	XE_OAM_FORMAT_MPEC8u64_B8_C8,
> +	XE_OAM_FORMAT_MPEC8u32_B8_C8,
> +
> +	/* Xe2+ */
> +	XE_OA_FORMAT_PEC64u64,
> +	XE_OA_FORMAT_PEC64u64_B8_C8,
> +	XE_OA_FORMAT_PEC64u32,
> +	XE_OA_FORMAT_PEC32u64_G1,
> +	XE_OA_FORMAT_PEC32u32_G1,
> +	XE_OA_FORMAT_PEC32u64_G2,
> +	XE_OA_FORMAT_PEC32u32_G2,
> +	XE_OA_FORMAT_PEC36u64_G1_32_G2_4,
> +	XE_OA_FORMAT_PEC36u64_G1_4_G2_32,
> +
> +	XE_OA_FORMAT_MAX,
> +};
> +
> +/** struct xe_oa_format - Format fields for supported OA formats */
> +struct xe_oa_format {
> +	u32 counter_select;
> +	int size;
> +	int type;
> +	enum xe_oa_report_header header;
> +	u16 counter_size;
> +	u16 bc_report;
> +};
> +
> +/**
> + * struct xe_oa - OA device level information
> + */
> +struct xe_oa {
> +	/** @xe: back pointer to xe device */
> +	struct xe_device *xe;
> +
> +	/** @oa_formats: tracks all OA formats across platforms */
> +	const struct xe_oa_format *oa_formats;
> +
> +#define FORMAT_MASK_SIZE DIV_ROUND_UP(XE_OA_FORMAT_MAX - 1, BITS_PER_LONG)
> +
> +	/** @format_mask: tracks valid OA formats for a platform */
> +	unsigned long format_mask[FORMAT_MASK_SIZE];
> +};
> +#endif
> diff --git a/include/uapi/drm/xe_drm.h b/include/uapi/drm/xe_drm.h
> index 03df64600aa0..bb87bf0c96f9 100644
> --- a/include/uapi/drm/xe_drm.h
> +++ b/include/uapi/drm/xe_drm.h
> @@ -1433,6 +1433,16 @@ enum drm_xe_perf_ioctls {
>  	DRM_XE_PERF_IOCTL_INFO = _IO('i', 0x4),
>  };
>  
> +/** enum drm_xe_oa_format_type - OA format types */
> +enum drm_xe_oa_format_type {
> +	DRM_XE_OA_FMT_TYPE_OAG,
> +	DRM_XE_OA_FMT_TYPE_OAR,
> +	DRM_XE_OA_FMT_TYPE_OAM,
> +	DRM_XE_OA_FMT_TYPE_OAC,
> +	DRM_XE_OA_FMT_TYPE_OAM_MPEC,
> +	DRM_XE_OA_FMT_TYPE_PEC,
> +};
> +
>  #if defined(__cplusplus)
>  }
>  #endif
> -- 
> 2.41.0
> 

-- 
Matt Roper
Graphics Software Engineer
Linux GPU Platform Enablement
Intel Corporation

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

* Re: [PATCH 03/17] drm/xe/oa/uapi: Add OA data formats
  2024-06-20 17:28   ` Matt Roper
@ 2024-06-20 17:57     ` Dixit, Ashutosh
  0 siblings, 0 replies; 47+ messages in thread
From: Dixit, Ashutosh @ 2024-06-20 17:57 UTC (permalink / raw)
  To: Matt Roper; +Cc: intel-xe

On Thu, 20 Jun 2024 10:28:46 -0700, Matt Roper wrote:
>
> > @@ -636,10 +637,14 @@ int xe_device_probe(struct xe_device *xe)
> >
> >	xe_heci_gsc_init(xe);
> >
> > -	err = xe_display_init(xe);
> > +	err = xe_oa_init(xe);
> >	if (err)
> >		goto err_irq_shutdown;
> >
> > +	err = xe_display_init(xe);
> > +	if (err)
> > +		goto err_oa_fini;
> > +
> >	err = drm_dev_register(&xe->drm, 0);
> >	if (err)
> >		goto err_fini_display;
>
> I didn't really look at this series earlier, but it seems odd to me that
> we're sticking a bunch of OA code at the device level.  Isn't OA a
> GT-specific concept?  As far as I know, there's no observability
> functionality in the soci/sgunit/display.

That's correct, there is no OA HW at device level and a GT can potentially
have multiple OA units. But OA configuration information (which perf
counters to capture) and format information (format of the OA data) is
applicable to multiple OA units spread across GT's and is maintained at
device level.

Look at OA data struct's in xe_oa_types.h, specially 'struct xe_oa' which
contains OA device level information.

Ashutosh

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

end of thread, other threads:[~2024-06-20 18:03 UTC | newest]

Thread overview: 47+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-27  1:43 [PATCH v15 00/17] Add OA functionality to Xe Ashutosh Dixit
2024-05-27  1:43 ` [PATCH 01/17] drm/xe/perf/uapi: "Perf" layer to support multiple perf counter stream types Ashutosh Dixit
2024-05-27  1:43 ` [PATCH 02/17] drm/xe/perf/uapi: Add perf_stream_paranoid sysctl Ashutosh Dixit
2024-05-27  1:43 ` [PATCH 03/17] drm/xe/oa/uapi: Add OA data formats Ashutosh Dixit
2024-06-20 17:28   ` Matt Roper
2024-06-20 17:57     ` Dixit, Ashutosh
2024-05-27  1:43 ` [PATCH 04/17] drm/xe/oa/uapi: Initialize OA units Ashutosh Dixit
2024-05-27  1:43 ` [PATCH 05/17] drm/xe/oa/uapi: Add/remove OA config perf ops Ashutosh Dixit
2024-05-27  1:43 ` [PATCH 06/17] drm/xe/oa/uapi: Define and parse OA stream properties Ashutosh Dixit
2024-05-27  1:43 ` [PATCH 07/17] drm/xe/oa: OA stream initialization (OAG) Ashutosh Dixit
2024-05-27  7:04   ` Lionel Landwerlin
2024-05-28  5:27     ` Dixit, Ashutosh
2024-05-28  5:47       ` Lionel Landwerlin
2024-05-28  6:17         ` Dixit, Ashutosh
2024-05-28  6:39           ` Lionel Landwerlin
2024-05-28  7:16             ` Dixit, Ashutosh
2024-05-28  7:43               ` Lionel Landwerlin
2024-05-29  4:55                 ` Dixit, Ashutosh
2024-05-29  6:11                   ` Dixit, Ashutosh
2024-05-29  6:29                     ` Lionel Landwerlin
2024-05-27  1:43 ` [PATCH 08/17] drm/xe/oa/uapi: Expose OA stream fd Ashutosh Dixit
2024-05-27  1:43 ` [PATCH 09/17] drm/xe/oa/uapi: Read file_operation Ashutosh Dixit
2024-05-27  1:43 ` [PATCH 10/17] drm/xe/oa: Add OAR support Ashutosh Dixit
2024-05-27  1:43 ` [PATCH 11/17] drm/xe/oa: Add OAC support Ashutosh Dixit
2024-05-27  1:43 ` [PATCH 12/17] drm/xe/oa/uapi: Query OA unit properties Ashutosh Dixit
2024-05-27  1:43 ` [PATCH 13/17] drm/xe/oa/uapi: OA buffer mmap Ashutosh Dixit
2024-05-27  1:43 ` [PATCH 14/17] drm/xe/oa: Add MMIO trigger support Ashutosh Dixit
2024-05-27  1:43 ` [PATCH 15/17] drm/xe/oa: Override GuC RC with OA on PVC Ashutosh Dixit
2024-05-27  1:43 ` [PATCH 16/17] drm/xe/oa: Changes to OA_TAKEN Ashutosh Dixit
2024-05-27  1:43 ` [PATCH 17/17] drm/xe/oa: Enable Xe2+ overrun mode Ashutosh Dixit
2024-05-27  1:49 ` ✓ CI.Patch_applied: success for Add OA functionality to Xe (rev15) Patchwork
2024-05-27  1:49 ` ✗ CI.checkpatch: warning " Patchwork
2024-05-27  1:50 ` ✓ CI.KUnit: success " Patchwork
2024-05-27  2:02 ` ✓ CI.Build: " Patchwork
2024-05-27  2:04 ` ✓ CI.Hooks: " Patchwork
2024-05-27  2:06 ` ✓ CI.checksparse: " Patchwork
2024-05-27  2:31 ` ✓ CI.BAT: " Patchwork
2024-05-27 14:20 ` ✗ CI.FULL: failure " Patchwork
2024-06-05 14:12 ` [PATCH v15 00/17] Add OA functionality to Xe Souza, Jose
2024-06-06 19:56   ` Dixit, Ashutosh
2024-06-06 20:54     ` Dixit, Ashutosh
2024-06-14 15:12       ` Dixit, Ashutosh
2024-06-17 19:36         ` Rodrigo Vivi
2024-06-17 21:05           ` Dixit, Ashutosh
2024-06-17 21:14             ` Souza, Jose
2024-06-17 21:31               ` Rodrigo Vivi
2024-06-18 19:54                 ` Dixit, Ashutosh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).