Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] Add PMU support for single engine busyness
@ 2024-11-13  4:55 Riana Tauro
  2024-11-13  4:55 ` [PATCH 1/7] [DO NOT REVIEW] drm/xe/pmu: Enable PMU interface Riana Tauro
                   ` (14 more replies)
  0 siblings, 15 replies; 26+ messages in thread
From: Riana Tauro @ 2024-11-13  4:55 UTC (permalink / raw)
  To: intel-xe
  Cc: riana.tauro, anshuman.gupta, umesh.nerlige.ramappa, rodrigo.vivi,
	vinay.belgaumkar, aravind.iddamsetty, john.c.harrison,
	ashutosh.dixit, soham.purkait

The first 3 patches of the series are taken from
https://patchwork.freedesktop.org/series/139121/. They are added
only for compilation and does not require review.

This series adds support for single engine busyness.

PMU provides two counters (<engine>-busy-ticks-gt<n>,
<engine>-total-ticks-gt<n>) to calculate engine busyness. When querying
engine busyness, user must group these 2 counters using the perf_event
group mechanism to ensure both counters are sampled together.

To list engine busyness counters use the following

./perf list
  xe_0000_03_00.0/bcs0-busy-ticks-gt0/               [Kernel PMU event]
  xe_0000_03_00.0/bcs0-total-ticks-gt0/              [Kernel PMU event]
  xe_0000_03_00.0/ccs0-busy-ticks-gt0/               [Kernel PMU event]
  xe_0000_03_00.0/ccs0-total-ticks-gt0/              [Kernel PMU event]

Engine busyness can then be calculated as below
busyness % = (engine active ticks/total ticks) * 100

Aravind Iddamsetty (1):
  drm/xe/pmu: Enable PMU interface

Riana Tauro (4):
  drm/xe: add function to convert xe hw engine class to user class
  drm/xe: Add single engine busyness support
  drm/xe/guc: Expose engine busyness only for supported GuC version
  drm/xe/pmu: Add PMU support for engine busyness

Vinay Belgaumkar (2):
  drm/xe/pmu: Add GT C6 events
  drm/xe/pmu: Add GT frequency events

 drivers/gpu/drm/xe/Makefile                   |    3 +
 drivers/gpu/drm/xe/abi/guc_actions_abi.h      |    1 +
 drivers/gpu/drm/xe/regs/xe_gt_regs.h          |    2 +
 drivers/gpu/drm/xe/xe_device.c                |    6 +
 drivers/gpu/drm/xe/xe_device_types.h          |    4 +
 drivers/gpu/drm/xe/xe_engine_activity.c       |  339 +++++
 drivers/gpu/drm/xe/xe_engine_activity.h       |   18 +
 drivers/gpu/drm/xe/xe_engine_activity_types.h |   85 ++
 drivers/gpu/drm/xe/xe_gt.c                    |    4 +
 drivers/gpu/drm/xe/xe_gt_idle.c               |   17 +-
 drivers/gpu/drm/xe/xe_gt_idle.h               |    1 +
 drivers/gpu/drm/xe/xe_guc.c                   |    5 +
 drivers/gpu/drm/xe/xe_guc_fwif.h              |   19 +
 drivers/gpu/drm/xe/xe_guc_types.h             |    4 +
 drivers/gpu/drm/xe/xe_hw_engine.c             |   25 +
 drivers/gpu/drm/xe/xe_hw_engine.h             |    1 +
 drivers/gpu/drm/xe/xe_module.c                |    5 +
 drivers/gpu/drm/xe/xe_pmu.c                   | 1191 +++++++++++++++++
 drivers/gpu/drm/xe/xe_pmu.h                   |   30 +
 drivers/gpu/drm/xe/xe_pmu_types.h             |  176 +++
 drivers/gpu/drm/xe/xe_query.c                 |   12 +-
 drivers/gpu/drm/xe/xe_uc.c                    |    3 +
 22 files changed, 1936 insertions(+), 15 deletions(-)
 create mode 100644 drivers/gpu/drm/xe/xe_engine_activity.c
 create mode 100644 drivers/gpu/drm/xe/xe_engine_activity.h
 create mode 100644 drivers/gpu/drm/xe/xe_engine_activity_types.h
 create mode 100644 drivers/gpu/drm/xe/xe_pmu.c
 create mode 100644 drivers/gpu/drm/xe/xe_pmu.h
 create mode 100644 drivers/gpu/drm/xe/xe_pmu_types.h

-- 
2.40.0


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

* [PATCH 1/7] [DO NOT REVIEW] drm/xe/pmu: Enable PMU interface
  2024-11-13  4:55 [PATCH 0/7] Add PMU support for single engine busyness Riana Tauro
@ 2024-11-13  4:55 ` Riana Tauro
  2024-11-13  4:55 ` [PATCH 2/7] [DO NOT REVIEW] drm/xe/pmu: Add GT C6 events Riana Tauro
                   ` (13 subsequent siblings)
  14 siblings, 0 replies; 26+ messages in thread
From: Riana Tauro @ 2024-11-13  4:55 UTC (permalink / raw)
  To: intel-xe
  Cc: riana.tauro, anshuman.gupta, umesh.nerlige.ramappa, rodrigo.vivi,
	vinay.belgaumkar, aravind.iddamsetty, john.c.harrison,
	ashutosh.dixit, soham.purkait

From: Aravind Iddamsetty <aravind.iddamsetty@linux.intel.com>

DO NOT REVIEW. Patch added for compilation

Basic PMU enabling patch. Setup the basic framework
for adding events/timers. This patch was previously
reviewed here -
https://patchwork.freedesktop.org/series/119504/

The pmu base implementation is still from the
i915 driver.

v2: Review comments(Rodrigo) and do not init pmu for VFs
as they don't have access to freq and c6 residency anyways.

v3: Fix kunit issue, move xe_pmu entry in Makefile (Jani) and
move drm uapi definitions (Lucas)

v4: Adapt Lucas's recent PMU fixes for i915
v5: Fix some kernel doc issues

Co-developed-by: Bommu Krishnaiah <krishnaiah.bommu@intel.com>
Co-developed-by: Vinay Belgaumkar <vinay.belgaumkar@intel.com>
Signed-off-by: Bommu Krishnaiah <krishnaiah.bommu@intel.com>
Signed-off-by: Aravind Iddamsetty <aravind.iddamsetty@linux.intel.com>
Signed-off-by: Riana Tauro <riana.tauro@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Vinay Belgaumkar <vinay.belgaumkar@intel.com>
---
 drivers/gpu/drm/xe/Makefile          |   2 +
 drivers/gpu/drm/xe/xe_device.c       |   6 +
 drivers/gpu/drm/xe/xe_device_types.h |   4 +
 drivers/gpu/drm/xe/xe_module.c       |   5 +
 drivers/gpu/drm/xe/xe_pmu.c          | 579 +++++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_pmu.h          |  26 ++
 drivers/gpu/drm/xe/xe_pmu_types.h    |  70 ++++
 7 files changed, 692 insertions(+)
 create mode 100644 drivers/gpu/drm/xe/xe_pmu.c
 create mode 100644 drivers/gpu/drm/xe/xe_pmu.h
 create mode 100644 drivers/gpu/drm/xe/xe_pmu_types.h

diff --git a/drivers/gpu/drm/xe/Makefile b/drivers/gpu/drm/xe/Makefile
index a93e6fcc0ad9..c231ecaf86b8 100644
--- a/drivers/gpu/drm/xe/Makefile
+++ b/drivers/gpu/drm/xe/Makefile
@@ -299,6 +299,8 @@ ifeq ($(CONFIG_DEBUG_FS),y)
 		i915-display/intel_pipe_crc.o
 endif
 
+xe-$(CONFIG_PERF_EVENTS) += xe_pmu.o
+
 obj-$(CONFIG_DRM_XE) += xe.o
 obj-$(CONFIG_DRM_XE_KUNIT_TEST) += tests/
 
diff --git a/drivers/gpu/drm/xe/xe_device.c b/drivers/gpu/drm/xe/xe_device.c
index 0e2dd691bdae..89463cf7cc2c 100644
--- a/drivers/gpu/drm/xe/xe_device.c
+++ b/drivers/gpu/drm/xe/xe_device.c
@@ -759,6 +759,9 @@ int xe_device_probe(struct xe_device *xe)
 	for_each_gt(gt, xe, id)
 		xe_gt_sanitize_freq(gt);
 
+	if (!IS_SRIOV_VF(xe))
+		xe_pmu_register(&xe->pmu);
+
 	return devm_add_action_or_reset(xe->drm.dev, xe_device_sanitize, xe);
 
 err_fini_display:
@@ -803,6 +806,9 @@ void xe_device_remove(struct xe_device *xe)
 
 	xe_heci_gsc_fini(xe);
 
+	if (!IS_SRIOV_VF(xe))
+		xe_pmu_unregister(&xe->pmu);
+
 	for_each_gt(gt, xe, id)
 		xe_gt_remove(gt);
 }
diff --git a/drivers/gpu/drm/xe/xe_device_types.h b/drivers/gpu/drm/xe/xe_device_types.h
index bccca63c8a48..0cb8d650135a 100644
--- a/drivers/gpu/drm/xe/xe_device_types.h
+++ b/drivers/gpu/drm/xe/xe_device_types.h
@@ -18,6 +18,7 @@
 #include "xe_memirq_types.h"
 #include "xe_oa.h"
 #include "xe_platform_types.h"
+#include "xe_pmu.h"
 #include "xe_pt_types.h"
 #include "xe_sriov_types.h"
 #include "xe_step_types.h"
@@ -509,6 +510,9 @@ struct xe_device {
 		int mode;
 	} wedged;
 
+	/** @pmu: performance monitoring unit */
+	struct xe_pmu pmu;
+
 #ifdef TEST_VM_OPS_ERROR
 	/**
 	 * @vm_inject_error_position: inject errors at different places in VM
diff --git a/drivers/gpu/drm/xe/xe_module.c b/drivers/gpu/drm/xe/xe_module.c
index 0f2c20e9204a..d3a9d4bc9bee 100644
--- a/drivers/gpu/drm/xe/xe_module.c
+++ b/drivers/gpu/drm/xe/xe_module.c
@@ -14,6 +14,7 @@
 #include "xe_hw_fence.h"
 #include "xe_pci.h"
 #include "xe_pm.h"
+#include "xe_pmu.h"
 #include "xe_observation.h"
 #include "xe_sched_job.h"
 
@@ -96,6 +97,10 @@ static const struct init_funcs init_funcs[] = {
 		.init = xe_sched_job_module_init,
 		.exit = xe_sched_job_module_exit,
 	},
+	{
+		.init = xe_pmu_init,
+		.exit = xe_pmu_exit,
+	},
 	{
 		.init = xe_register_pci_driver,
 		.exit = xe_unregister_pci_driver,
diff --git a/drivers/gpu/drm/xe/xe_pmu.c b/drivers/gpu/drm/xe/xe_pmu.c
new file mode 100644
index 000000000000..2bd98c91ab0f
--- /dev/null
+++ b/drivers/gpu/drm/xe/xe_pmu.c
@@ -0,0 +1,579 @@
+// SPDX-License-Identifier: MIT
+/*
+ * Copyright © 2024 Intel Corporation
+ */
+
+#include <drm/drm_drv.h>
+#include <drm/drm_managed.h>
+#include <drm/xe_drm.h>
+
+#include "regs/xe_gt_regs.h"
+#include "xe_device.h"
+#include "xe_force_wake.h"
+#include "xe_gt_clock.h"
+#include "xe_mmio.h"
+#include "xe_macros.h"
+#include "xe_pm.h"
+
+/*
+ * CPU mask is defined/initialized at a module level. All devices
+ * inside this module share this mask.
+ */
+static cpumask_t xe_pmu_cpumask;
+static unsigned int xe_pmu_target_cpu = -1;
+
+/**
+ * DOC: Xe PMU (Performance Monitoring Unit)
+ *
+ * Expose events/counters like C6 residency and GT frequency to user land.
+ * Perf tool can be used to list these counters from the command line.
+ *
+ * Example commands to list/record supported perf events-
+ *
+ * $ ls -ld /sys/bus/event_source/devices/xe_*
+ * $ ls /sys/bus/event_source/devices/xe_0000_00_02.0/events/
+ *
+ * You can also use the perf tool to grep for a certain event-
+ * $ perf list | grep rc6
+ *
+ * To list a specific event at regular intervals-
+ * $ perf stat -e <event_name> -I <interval>
+ *
+ */
+
+static unsigned int config_gt_id(const u64 config)
+{
+	return config >> __XE_PMU_GT_SHIFT;
+}
+
+static u64 config_counter(const u64 config)
+{
+	return config & ~(~0ULL << __XE_PMU_GT_SHIFT);
+}
+
+static void xe_pmu_event_destroy(struct perf_event *event)
+{
+	struct xe_device *xe =
+		container_of(event->pmu, typeof(*xe), pmu.base);
+
+	drm_WARN_ON(&xe->drm, event->parent);
+
+	drm_dev_put(&xe->drm);
+}
+
+static int
+config_status(struct xe_device *xe, u64 config)
+{
+	unsigned int gt_id = config_gt_id(config);
+
+	if (gt_id >= XE_MAX_GT_PER_TILE)
+		return -ENOENT;
+
+	switch (config_counter(config)) {
+	default:
+		return -ENOENT;
+	}
+
+	return 0;
+}
+
+static int xe_pmu_event_init(struct perf_event *event)
+{
+	struct xe_device *xe =
+		container_of(event->pmu, typeof(*xe), pmu.base);
+	struct xe_pmu *pmu = &xe->pmu;
+	int ret;
+
+	if (!pmu->registered)
+		return -ENODEV;
+
+	if (event->attr.type != event->pmu->type)
+		return -ENOENT;
+
+	/* unsupported modes and filters */
+	if (event->attr.sample_period) /* no sampling */
+		return -EINVAL;
+
+	if (has_branch_stack(event))
+		return -EOPNOTSUPP;
+
+	if (event->cpu < 0)
+		return -EINVAL;
+
+	/* only allow running on one cpu at a time */
+	if (!cpumask_test_cpu(event->cpu, &xe_pmu_cpumask))
+		return -EINVAL;
+
+	ret = config_status(xe, event->attr.config);
+	if (ret)
+		return ret;
+
+	if (!event->parent) {
+		drm_dev_get(&xe->drm);
+		event->destroy = xe_pmu_event_destroy;
+	}
+
+	return 0;
+}
+
+static u64 __xe_pmu_event_read(struct perf_event *event)
+{
+	struct xe_device *xe =
+		container_of(event->pmu, typeof(*xe), pmu.base);
+	const unsigned int gt_id = config_gt_id(event->attr.config);
+	const u64 config = event->attr.config;
+	struct xe_gt *gt = xe_device_get_gt(xe, gt_id);
+	u64 val = 0;
+
+	switch (config_counter(config)) {
+	default:
+		drm_warn(&gt->tile->xe->drm, "unknown pmu event\n");
+	}
+
+	return val;
+}
+
+static void xe_pmu_event_read(struct perf_event *event)
+{
+	struct xe_device *xe =
+		container_of(event->pmu, typeof(*xe), pmu.base);
+	struct hw_perf_event *hwc = &event->hw;
+	struct xe_pmu *pmu = &xe->pmu;
+	u64 prev, new;
+
+	if (!pmu->registered) {
+		event->hw.state = PERF_HES_STOPPED;
+		return;
+	}
+again:
+	prev = local64_read(&hwc->prev_count);
+	new = __xe_pmu_event_read(event);
+
+	if (local64_cmpxchg(&hwc->prev_count, prev, new) != prev)
+		goto again;
+
+	local64_add(new - prev, &event->count);
+}
+
+static void xe_pmu_enable(struct perf_event *event)
+{
+	/*
+	 * Store the current counter value so we can report the correct delta
+	 * for all listeners. Even when the event was already enabled and has
+	 * an existing non-zero value.
+	 */
+	local64_set(&event->hw.prev_count, __xe_pmu_event_read(event));
+}
+
+static void xe_pmu_event_start(struct perf_event *event, int flags)
+{
+	struct xe_device *xe =
+		container_of(event->pmu, typeof(*xe), pmu.base);
+	struct xe_pmu *pmu = &xe->pmu;
+
+	if (!pmu->registered)
+		return;
+
+	xe_pmu_enable(event);
+	event->hw.state = 0;
+}
+
+static void xe_pmu_event_stop(struct perf_event *event, int flags)
+{
+	struct xe_device *xe =
+		container_of(event->pmu, typeof(*xe), pmu.base);
+	struct xe_pmu *pmu = &xe->pmu;
+
+	if (!pmu->registered)
+		goto out;
+
+	if (flags & PERF_EF_UPDATE)
+		xe_pmu_event_read(event);
+
+out:
+	event->hw.state = PERF_HES_STOPPED;
+}
+
+static int xe_pmu_event_add(struct perf_event *event, int flags)
+{
+	struct xe_device *xe =
+		container_of(event->pmu, typeof(*xe), pmu.base);
+	struct xe_pmu *pmu = &xe->pmu;
+
+	if (!pmu->registered)
+		return -ENODEV;
+
+	if (flags & PERF_EF_START)
+		xe_pmu_event_start(event, flags);
+
+	return 0;
+}
+
+static void xe_pmu_event_del(struct perf_event *event, int flags)
+{
+	xe_pmu_event_stop(event, PERF_EF_UPDATE);
+}
+
+static int xe_pmu_event_event_idx(struct perf_event *event)
+{
+	return 0;
+}
+
+struct xe_ext_attribute {
+	struct device_attribute attr;
+	unsigned long val;
+};
+
+static ssize_t xe_pmu_event_show(struct device *dev,
+				 struct device_attribute *attr, char *buf)
+{
+	struct xe_ext_attribute *eattr;
+
+	eattr = container_of(attr, struct xe_ext_attribute, attr);
+	return sprintf(buf, "config=0x%lx\n", eattr->val);
+}
+
+static ssize_t cpumask_show(struct device *dev,
+			    struct device_attribute *attr, char *buf)
+{
+	return cpumap_print_to_pagebuf(true, buf, &xe_pmu_cpumask);
+}
+
+static DEVICE_ATTR_RO(cpumask);
+
+static struct attribute *xe_cpumask_attrs[] = {
+	&dev_attr_cpumask.attr,
+	NULL,
+};
+
+static const struct attribute_group xe_pmu_cpumask_attr_group = {
+	.attrs = xe_cpumask_attrs,
+};
+
+#define __event(__counter, __name, __unit) \
+{ \
+	.counter = (__counter), \
+	.name = (__name), \
+	.unit = (__unit), \
+}
+
+static struct xe_ext_attribute *
+add_xe_attr(struct xe_ext_attribute *attr, const char *name, u64 config)
+{
+	sysfs_attr_init(&attr->attr.attr);
+	attr->attr.attr.name = name;
+	attr->attr.attr.mode = 0444;
+	attr->attr.show = xe_pmu_event_show;
+	attr->val = config;
+
+	return ++attr;
+}
+
+static struct perf_pmu_events_attr *
+add_pmu_attr(struct perf_pmu_events_attr *attr, const char *name,
+	     const char *str)
+{
+	sysfs_attr_init(&attr->attr.attr);
+	attr->attr.attr.name = name;
+	attr->attr.attr.mode = 0444;
+	attr->attr.show = perf_event_sysfs_show;
+	attr->event_str = str;
+
+	return ++attr;
+}
+
+static struct attribute **
+create_event_attributes(struct xe_pmu *pmu)
+{
+	struct xe_device *xe = container_of(pmu, typeof(*xe), pmu);
+	static const struct {
+		unsigned int counter;
+		const char *name;
+		const char *unit;
+	} events[] = {
+	};
+
+	struct perf_pmu_events_attr *pmu_attr = NULL, *pmu_iter;
+	struct xe_ext_attribute *xe_attr = NULL, *xe_iter;
+	struct attribute **attr = NULL, **attr_iter;
+	unsigned int count = 0;
+	unsigned int i, j;
+	struct xe_gt *gt;
+
+	/* Count how many counters we will be exposing. */
+	for_each_gt(gt, xe, j) {
+		for (i = 0; i < ARRAY_SIZE(events); i++) {
+			u64 config = ___XE_PMU_OTHER(j, events[i].counter);
+
+			if (!config_status(xe, config))
+				count++;
+		}
+	}
+
+	/* Allocate attribute objects and table. */
+	xe_attr = kcalloc(count, sizeof(*xe_attr), GFP_KERNEL);
+	if (!xe_attr)
+		goto err_alloc;
+
+	pmu_attr = kcalloc(count, sizeof(*pmu_attr), GFP_KERNEL);
+	if (!pmu_attr)
+		goto err_alloc;
+
+	/* Max one pointer of each attribute type plus a termination entry. */
+	attr = kcalloc(count * 2 + 1, sizeof(*attr), GFP_KERNEL);
+	if (!attr)
+		goto err_alloc;
+
+	xe_iter = xe_attr;
+	pmu_iter = pmu_attr;
+	attr_iter = attr;
+
+	for_each_gt(gt, xe, j) {
+		for (i = 0; i < ARRAY_SIZE(events); i++) {
+			u64 config = ___XE_PMU_OTHER(j, events[i].counter);
+			char *str;
+
+			if (config_status(xe, config))
+				continue;
+
+			str = kasprintf(GFP_KERNEL, "%s-gt%u",
+					events[i].name, j);
+			if (!str)
+				goto err;
+
+			*attr_iter++ = &xe_iter->attr.attr;
+			xe_iter = add_xe_attr(xe_iter, str, config);
+
+			if (events[i].unit) {
+				str = kasprintf(GFP_KERNEL, "%s-gt%u.unit",
+						events[i].name, j);
+				if (!str)
+					goto err;
+
+				*attr_iter++ = &pmu_iter->attr.attr;
+				pmu_iter = add_pmu_attr(pmu_iter, str,
+							events[i].unit);
+			}
+		}
+	}
+
+	pmu->xe_attr = xe_attr;
+	pmu->pmu_attr = pmu_attr;
+
+	return attr;
+
+err:
+	for (attr_iter = attr; *attr_iter; attr_iter++)
+		kfree((*attr_iter)->name);
+
+err_alloc:
+	kfree(attr);
+	kfree(xe_attr);
+	kfree(pmu_attr);
+
+	return NULL;
+}
+
+static void free_event_attributes(struct xe_pmu *pmu)
+{
+	struct attribute **attr_iter = pmu->events_attr_group.attrs;
+
+	for (; *attr_iter; attr_iter++)
+		kfree((*attr_iter)->name);
+
+	kfree(pmu->events_attr_group.attrs);
+	kfree(pmu->xe_attr);
+	kfree(pmu->pmu_attr);
+
+	pmu->events_attr_group.attrs = NULL;
+	pmu->xe_attr = NULL;
+	pmu->pmu_attr = NULL;
+}
+
+static int xe_pmu_cpu_online(unsigned int cpu, struct hlist_node *node)
+{
+	struct xe_pmu *pmu = hlist_entry_safe(node, typeof(*pmu), cpuhp.node);
+
+	/* Select the first online CPU as a designated reader. */
+	if (cpumask_empty(&xe_pmu_cpumask))
+		cpumask_set_cpu(cpu, &xe_pmu_cpumask);
+
+	return 0;
+}
+
+static int xe_pmu_cpu_offline(unsigned int cpu, struct hlist_node *node)
+{
+	struct xe_pmu *pmu = hlist_entry_safe(node, typeof(*pmu), cpuhp.node);
+	unsigned int target = xe_pmu_target_cpu;
+
+	/*
+	 * Unregistering an instance generates a CPU offline event which we must
+	 * ignore to avoid incorrectly modifying the shared xe_pmu_cpumask.
+	 */
+	if (!pmu->registered)
+		return 0;
+
+	if (cpumask_test_and_clear_cpu(cpu, &xe_pmu_cpumask)) {
+		target = cpumask_any_but(topology_sibling_cpumask(cpu), cpu);
+
+		/* Migrate events if there is a valid target */
+		if (target < nr_cpu_ids) {
+			cpumask_set_cpu(target, &xe_pmu_cpumask);
+			xe_pmu_target_cpu = target;
+		}
+	}
+
+	if (target < nr_cpu_ids && target != pmu->cpuhp.cpu) {
+		perf_pmu_migrate_context(&pmu->base, cpu, target);
+		pmu->cpuhp.cpu = target;
+	}
+
+	return 0;
+}
+
+static enum cpuhp_state cpuhp_state = CPUHP_INVALID;
+
+/**
+ * xe_pmu_init() - Setup CPU hotplug state/callbacks for Xe PMU
+ *
+ * Returns: 0 if successful, else error code
+ */
+int xe_pmu_init(void)
+{
+	int ret;
+
+	ret = cpuhp_setup_state_multi(CPUHP_AP_ONLINE_DYN,
+				      "perf/x86/intel/xe:online",
+				      xe_pmu_cpu_online,
+				      xe_pmu_cpu_offline);
+	if (ret < 0)
+		pr_notice("Failed to setup cpuhp state for xe PMU! (%d)\n",
+			  ret);
+	else
+		cpuhp_state = ret;
+
+	return 0;
+}
+
+/**
+ * xe_pmu_exit() - Remove CPU hotplug state/callbacks for Xe PMU
+ */
+void xe_pmu_exit(void)
+{
+	if (cpuhp_state != CPUHP_INVALID)
+		cpuhp_remove_multi_state(cpuhp_state);
+}
+
+static int xe_pmu_register_cpuhp_state(struct xe_pmu *pmu)
+{
+	if (cpuhp_state == CPUHP_INVALID)
+		return -EINVAL;
+
+	return cpuhp_state_add_instance(cpuhp_state, &pmu->cpuhp.node);
+}
+
+static void xe_pmu_unregister_cpuhp_state(struct xe_pmu *pmu)
+{
+	cpuhp_state_remove_instance(cpuhp_state, &pmu->cpuhp.node);
+}
+
+/**
+ * xe_pmu_unregister() - Remove/cleanup PMU registration
+ * @arg: Ptr to pmu
+ */
+void xe_pmu_unregister(void *arg)
+{
+	struct xe_pmu *pmu = arg;
+
+	if (!pmu->registered)
+		return;
+
+	pmu->registered = false;
+
+	xe_pmu_unregister_cpuhp_state(pmu);
+
+	perf_pmu_unregister(&pmu->base);
+	kfree(pmu->base.attr_groups);
+	kfree(pmu->name);
+	free_event_attributes(pmu);
+}
+
+/**
+ * xe_pmu_register() - Define basic PMU properties for Xe and add event callbacks.
+ * @pmu: the PMU object
+ *
+ */
+void xe_pmu_register(struct xe_pmu *pmu)
+{
+	struct xe_device *xe = container_of(pmu, typeof(*xe), pmu);
+	const struct attribute_group *attr_groups[] = {
+		&pmu->events_attr_group,
+		&xe_pmu_cpumask_attr_group,
+		NULL
+	};
+
+	int ret = -ENOMEM;
+
+	spin_lock_init(&pmu->lock);
+	pmu->cpuhp.cpu = -1;
+
+	pmu->name = kasprintf(GFP_KERNEL,
+			      "xe_%s",
+			      dev_name(xe->drm.dev));
+	if (pmu->name) {
+		/* tools/perf reserves colons as special. */
+		strreplace((char *)pmu->name, ':', '_');
+	}
+
+	if (!pmu->name)
+		goto err;
+
+	pmu->events_attr_group.name = "events";
+	pmu->events_attr_group.attrs = create_event_attributes(pmu);
+	if (!pmu->events_attr_group.attrs)
+		goto err_name;
+
+	pmu->base.attr_groups = kmemdup(attr_groups, sizeof(attr_groups),
+					GFP_KERNEL);
+	if (!pmu->base.attr_groups)
+		goto err_attr;
+
+	pmu->base.module	= THIS_MODULE;
+	pmu->base.task_ctx_nr	= perf_invalid_context;
+	pmu->base.event_init	= xe_pmu_event_init;
+	pmu->base.add		= xe_pmu_event_add;
+	pmu->base.del		= xe_pmu_event_del;
+	pmu->base.start		= xe_pmu_event_start;
+	pmu->base.stop		= xe_pmu_event_stop;
+	pmu->base.read		= xe_pmu_event_read;
+	pmu->base.event_idx	= xe_pmu_event_event_idx;
+
+	ret = perf_pmu_register(&pmu->base, pmu->name, -1);
+	if (ret)
+		goto err_groups;
+
+	ret = xe_pmu_register_cpuhp_state(pmu);
+	if (ret)
+		goto err_unreg;
+
+	ret = devm_add_action_or_reset(xe->drm.dev, xe_pmu_unregister, pmu);
+	if (ret)
+		goto err_cpuhp;
+
+	pmu->registered = true;
+
+	return;
+
+err_cpuhp:
+	xe_pmu_unregister_cpuhp_state(pmu);
+err_unreg:
+	perf_pmu_unregister(&pmu->base);
+err_groups:
+	kfree(pmu->base.attr_groups);
+err_attr:
+	free_event_attributes(pmu);
+err_name:
+	kfree(pmu->name);
+err:
+	drm_notice(&xe->drm, "Failed to register PMU!\n");
+}
diff --git a/drivers/gpu/drm/xe/xe_pmu.h b/drivers/gpu/drm/xe/xe_pmu.h
new file mode 100644
index 000000000000..d07e5dfdfec0
--- /dev/null
+++ b/drivers/gpu/drm/xe/xe_pmu.h
@@ -0,0 +1,26 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2024 Intel Corporation
+ */
+
+#ifndef _XE_PMU_H_
+#define _XE_PMU_H_
+
+#include "xe_pmu_types.h"
+
+struct xe_gt;
+
+#if IS_ENABLED(CONFIG_PERF_EVENTS)
+int xe_pmu_init(void);
+void xe_pmu_exit(void);
+void xe_pmu_register(struct xe_pmu *pmu);
+void xe_pmu_unregister(void *arg);
+#else
+static inline int xe_pmu_init(void) { return 0; }
+static inline void xe_pmu_exit(void) {}
+static inline void xe_pmu_register(struct xe_pmu *pmu) {}
+static inline void xe_pmu_unregister(void *arg) {}
+#endif
+
+#endif
+
diff --git a/drivers/gpu/drm/xe/xe_pmu_types.h b/drivers/gpu/drm/xe/xe_pmu_types.h
new file mode 100644
index 000000000000..4da96b8fadd1
--- /dev/null
+++ b/drivers/gpu/drm/xe/xe_pmu_types.h
@@ -0,0 +1,70 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2024 Intel Corporation
+ */
+
+#ifndef _XE_PMU_TYPES_H_
+#define _XE_PMU_TYPES_H_
+
+#include <linux/perf_event.h>
+#include <linux/spinlock_types.h>
+
+enum {
+	__XE_NUM_PMU_SAMPLERS
+};
+
+#define XE_PMU_MAX_GT 2
+
+/*
+ * Top bits of every counter are GT id.
+ */
+#define __XE_PMU_GT_SHIFT (56)
+
+#define ___XE_PMU_OTHER(gt, x) \
+	(((__u64)(x)) | ((__u64)(gt) << __XE_PMU_GT_SHIFT))
+
+struct xe_pmu {
+	/**
+	 * @cpuhp: Struct used for CPU hotplug handling.
+	 */
+	struct {
+		struct hlist_node node;
+		unsigned int cpu;
+	} cpuhp;
+	/**
+	 * @base: PMU base.
+	 */
+	struct pmu base;
+	/**
+	 * @registered: PMU is registered and not in the unregistering process.
+	 */
+	bool registered;
+	/**
+	 * @name: Name as registered with perf core.
+	 */
+	const char *name;
+	/**
+	 * @lock: Lock protecting enable mask and ref count handling.
+	 */
+	spinlock_t lock;
+	/**
+	 * @sample: Current and previous (raw) counters.
+	 *
+	 * These counters are updated when the device is awake.
+	 */
+	u64 sample[XE_PMU_MAX_GT][__XE_NUM_PMU_SAMPLERS];
+	/**
+	 * @events_attr_group: Device events attribute group.
+	 */
+	struct attribute_group events_attr_group;
+	/**
+	 * @xe_attr: Memory block holding device attributes.
+	 */
+	void *xe_attr;
+	/**
+	 * @pmu_attr: Memory block holding device attributes.
+	 */
+	void *pmu_attr;
+};
+
+#endif
-- 
2.40.0


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

* [PATCH 2/7] [DO NOT REVIEW] drm/xe/pmu: Add GT C6 events
  2024-11-13  4:55 [PATCH 0/7] Add PMU support for single engine busyness Riana Tauro
  2024-11-13  4:55 ` [PATCH 1/7] [DO NOT REVIEW] drm/xe/pmu: Enable PMU interface Riana Tauro
@ 2024-11-13  4:55 ` Riana Tauro
  2024-11-13  4:55 ` [PATCH 3/7] [DO NOT REVIEW] drm/xe/pmu: Add GT frequency events Riana Tauro
                   ` (12 subsequent siblings)
  14 siblings, 0 replies; 26+ messages in thread
From: Riana Tauro @ 2024-11-13  4:55 UTC (permalink / raw)
  To: intel-xe
  Cc: riana.tauro, anshuman.gupta, umesh.nerlige.ramappa, rodrigo.vivi,
	vinay.belgaumkar, aravind.iddamsetty, john.c.harrison,
	ashutosh.dixit, soham.purkait

From: Vinay Belgaumkar <vinay.belgaumkar@intel.com>

DO NOT REVIEW. Patch added for compilation

Provide a PMU interface for GT C6 residency counters. The implementation
is ported over from the i915 PMU code. Residency is provided in units of
ms(like sysfs entry in - /sys/class/drm/card0/device/tile0/gt0/gtidle).

Sample usage and output-

$ perf list | grep c6

  xe_0000_00_02.0/c6-residency-gt0/                 [Kernel PMU event]
  xe_0000_00_02.0/c6-residency-gt1/                 [Kernel PMU event]

$ perf stat -e xe_0000_00_02.0/c6-residency-gt0/

  Performance counter stats for 'system wide':

              1907 ms   xe/c6-residency-gt0/
       1.907581788 seconds time elapsed

v2: Checkpatch fix, move timer code to next patch
v3: Fix kunit issue
v4: Fix for locking issue, fix review comments (Riana)
v5: Add xe_pmu_disable() function to reset enable_count
v6: Change rc6 to c6 (Riana)

Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Vinay Belgaumkar <vinay.belgaumkar@intel.com>
---
 drivers/gpu/drm/xe/xe_gt.c        |   2 +
 drivers/gpu/drm/xe/xe_gt_idle.c   |  17 ++-
 drivers/gpu/drm/xe/xe_gt_idle.h   |   1 +
 drivers/gpu/drm/xe/xe_pmu.c       | 221 +++++++++++++++++++++++++++++-
 drivers/gpu/drm/xe/xe_pmu.h       |   2 +
 drivers/gpu/drm/xe/xe_pmu_types.h |  63 +++++++++
 6 files changed, 300 insertions(+), 6 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_gt.c b/drivers/gpu/drm/xe/xe_gt.c
index d6744be01a68..fd18bbce99da 100644
--- a/drivers/gpu/drm/xe/xe_gt.c
+++ b/drivers/gpu/drm/xe/xe_gt.c
@@ -877,6 +877,8 @@ int xe_gt_suspend(struct xe_gt *gt)
 
 	xe_gt_idle_disable_pg(gt);
 
+	xe_pmu_suspend(gt);
+
 	xe_gt_disable_host_l2_vram(gt);
 
 	xe_force_wake_put(gt_to_fw(gt), fw_ref);
diff --git a/drivers/gpu/drm/xe/xe_gt_idle.c b/drivers/gpu/drm/xe/xe_gt_idle.c
index fd80afeef56a..47b5696c7137 100644
--- a/drivers/gpu/drm/xe/xe_gt_idle.c
+++ b/drivers/gpu/drm/xe/xe_gt_idle.c
@@ -275,18 +275,25 @@ static ssize_t idle_status_show(struct device *dev,
 }
 static DEVICE_ATTR_RO(idle_status);
 
+u64 xe_gt_idle_residency(struct xe_gt_idle *gtidle)
+{
+	struct xe_guc_pc *pc = gtidle_to_pc(gtidle);
+
+	return get_residency_ms(gtidle, gtidle->idle_residency(pc));
+}
+
 static ssize_t idle_residency_ms_show(struct device *dev,
 				      struct device_attribute *attr, char *buff)
 {
 	struct xe_gt_idle *gtidle = dev_to_gtidle(dev);
-	struct xe_guc_pc *pc = gtidle_to_pc(gtidle);
+	struct xe_gt *gt = gtidle_to_gt(gtidle);
 	u64 residency;
 
-	xe_pm_runtime_get(pc_to_xe(pc));
-	residency = gtidle->idle_residency(pc);
-	xe_pm_runtime_put(pc_to_xe(pc));
+	xe_pm_runtime_get(gt_to_xe(gt));
+	residency = xe_gt_idle_residency(gtidle);
+	xe_pm_runtime_put(gt_to_xe(gt));
 
-	return sysfs_emit(buff, "%llu\n", get_residency_ms(gtidle, residency));
+	return sysfs_emit(buff, "%llu\n", residency);
 }
 static DEVICE_ATTR_RO(idle_residency_ms);
 
diff --git a/drivers/gpu/drm/xe/xe_gt_idle.h b/drivers/gpu/drm/xe/xe_gt_idle.h
index 4455a6501cb0..795a02c9d89c 100644
--- a/drivers/gpu/drm/xe/xe_gt_idle.h
+++ b/drivers/gpu/drm/xe/xe_gt_idle.h
@@ -17,5 +17,6 @@ void xe_gt_idle_disable_c6(struct xe_gt *gt);
 void xe_gt_idle_enable_pg(struct xe_gt *gt);
 void xe_gt_idle_disable_pg(struct xe_gt *gt);
 int xe_gt_idle_pg_print(struct xe_gt *gt, struct drm_printer *p);
+u64 xe_gt_idle_residency(struct xe_gt_idle *gtidle);
 
 #endif /* _XE_GT_IDLE_H_ */
diff --git a/drivers/gpu/drm/xe/xe_pmu.c b/drivers/gpu/drm/xe/xe_pmu.c
index 2bd98c91ab0f..199344154408 100644
--- a/drivers/gpu/drm/xe/xe_pmu.c
+++ b/drivers/gpu/drm/xe/xe_pmu.c
@@ -11,8 +11,11 @@
 #include "xe_device.h"
 #include "xe_force_wake.h"
 #include "xe_gt_clock.h"
+#include "xe_gt_idle.h"
+#include "xe_guc_pc.h"
 #include "xe_mmio.h"
 #include "xe_macros.h"
+#include "xe_module.h"
 #include "xe_pm.h"
 
 /*
@@ -22,6 +25,8 @@
 static cpumask_t xe_pmu_cpumask;
 static unsigned int xe_pmu_target_cpu = -1;
 
+#define FREQUENCY 200
+
 /**
  * DOC: Xe PMU (Performance Monitoring Unit)
  *
@@ -31,7 +36,9 @@ static unsigned int xe_pmu_target_cpu = -1;
  * Example commands to list/record supported perf events-
  *
  * $ ls -ld /sys/bus/event_source/devices/xe_*
- * $ ls /sys/bus/event_source/devices/xe_0000_00_02.0/events/
+ * $ lrwxrwxrwx 1 root root 0 Oct 25 00:19  /sys/bus/event_source/devices/xe_0000_03_00.0 ->
+ *                                                           ../../../devices/xe_0000_03_00.0
+ * $ ls /sys/bus/event_source/devices/xe_0000_03_00.0/events/
  *
  * You can also use the perf tool to grep for a certain event-
  * $ perf list | grep rc6
@@ -39,8 +46,30 @@ static unsigned int xe_pmu_target_cpu = -1;
  * To list a specific event at regular intervals-
  * $ perf stat -e <event_name> -I <interval>
  *
+ * For RC6, following command will give GT residency per second-
+ * $ perf stat -e xe_0000_03_00.0/c6-residency-gt0/ -I 1000
+ * #           time             counts unit events
+ *      1.001153792               1002 ms   xe_0000_03_00.0/c6-residency-gt0/
+ *      2.008338100               1007 ms   xe_0000_03_00.0/c6-residency-gt0/
+ *      3.009887054               1002 ms   xe_0000_03_00.0/c6-residency-gt0/
+ *      4.011383318               1001 ms   xe_0000_03_00.0/c6-residency-gt0/
+ *
+ * To verify this matches with sysfs values of c6, you can run following command-
+ * $ for i in {1..10} ; do cat /sys/class/drm/card0/device/tile0/gt0/gtidle/idle_residency_ms;
+ *   sleep 1; done
+ *      2348877
+ *      2349901
+ *      2350917
+ *      2352945
+ *
+ * Each value is roughly a 1000ms increment here as well. This is expected GT residency when idle.
  */
 
+static struct xe_pmu *event_to_pmu(struct perf_event *event)
+{
+	return container_of(event->pmu, struct xe_pmu, base);
+}
+
 static unsigned int config_gt_id(const u64 config)
 {
 	return config >> __XE_PMU_GT_SHIFT;
@@ -51,6 +80,35 @@ static u64 config_counter(const u64 config)
 	return config & ~(~0ULL << __XE_PMU_GT_SHIFT);
 }
 
+static unsigned int other_bit(const u64 config)
+{
+	unsigned int val;
+
+	switch (config_counter(config)) {
+	case XE_PMU_RC6_RESIDENCY:
+		val = __XE_PMU_RC6_RESIDENCY_ENABLED;
+		break;
+	default:
+		/*
+		 * Events that do not require sampling, or tracking state
+		 * transitions between enabled and disabled can be ignored.
+		 */
+		return -1;
+	}
+
+	return config_gt_id(config) * __XE_PMU_TRACKED_EVENT_COUNT + val;
+}
+
+static unsigned int config_bit(const u64 config)
+{
+	return other_bit(config);
+}
+
+static unsigned int event_bit(struct perf_event *event)
+{
+	return config_bit(event->attr.config);
+}
+
 static void xe_pmu_event_destroy(struct perf_event *event)
 {
 	struct xe_device *xe =
@@ -70,6 +128,10 @@ config_status(struct xe_device *xe, u64 config)
 		return -ENOENT;
 
 	switch (config_counter(config)) {
+	case XE_PMU_RC6_RESIDENCY:
+		if (xe->info.skip_guc_pc)
+			return -ENODEV;
+		break;
 	default:
 		return -ENOENT;
 	}
@@ -116,6 +178,63 @@ static int xe_pmu_event_init(struct perf_event *event)
 	return 0;
 }
 
+static inline s64 ktime_since_raw(const ktime_t kt)
+{
+	return ktime_to_ms(ktime_sub(ktime_get_raw(), kt));
+}
+
+static u64 read_sample(struct xe_pmu *pmu, unsigned int gt_id, int sample)
+{
+	return pmu->event_sample[gt_id][sample].cur;
+}
+
+static void
+store_sample(struct xe_pmu *pmu, unsigned int gt_id, int sample, u64 val)
+{
+	pmu->event_sample[gt_id][sample].cur = val;
+}
+
+static u64 get_rc6(struct xe_gt *gt)
+{
+	struct xe_device *xe = gt_to_xe(gt);
+	const unsigned int gt_id = gt->info.id;
+	struct xe_pmu *pmu = &xe->pmu;
+	bool device_awake;
+	unsigned long flags;
+	u64 val;
+
+	device_awake = xe_pm_runtime_get_if_active(xe);
+	if (device_awake) {
+		val = xe_gt_idle_residency(&gt->gtidle);
+		xe_pm_runtime_put(xe);
+	}
+
+	spin_lock_irqsave(&pmu->lock, flags);
+
+	if (device_awake) {
+		store_sample(pmu, gt_id, __XE_SAMPLE_RC6, val);
+	} else {
+		/*
+		 * We think we are runtime suspended.
+		 *
+		 * Report the delta from when the device was suspended to now,
+		 * on top of the last known real value, as the approximated RC6
+		 * counter value.
+		 */
+		val = ktime_since_raw(pmu->sleep_last[gt_id]);
+		val += read_sample(pmu, gt_id, __XE_SAMPLE_RC6);
+	}
+
+	if (val < read_sample(pmu, gt_id, __XE_SAMPLE_RC6_LAST_REPORTED))
+		val = read_sample(pmu, gt_id, __XE_SAMPLE_RC6_LAST_REPORTED);
+	else
+		store_sample(pmu, gt_id, __XE_SAMPLE_RC6_LAST_REPORTED, val);
+
+	spin_unlock_irqrestore(&pmu->lock, flags);
+
+	return val;
+}
+
 static u64 __xe_pmu_event_read(struct perf_event *event)
 {
 	struct xe_device *xe =
@@ -126,6 +245,9 @@ static u64 __xe_pmu_event_read(struct perf_event *event)
 	u64 val = 0;
 
 	switch (config_counter(config)) {
+	case XE_PMU_RC6_RESIDENCY:
+		val = get_rc6(gt);
+		break;
 	default:
 		drm_warn(&gt->tile->xe->drm, "unknown pmu event\n");
 	}
@@ -157,6 +279,28 @@ static void xe_pmu_event_read(struct perf_event *event)
 
 static void xe_pmu_enable(struct perf_event *event)
 {
+	struct xe_pmu *pmu = event_to_pmu(event);
+	const unsigned int bit = event_bit(event);
+	unsigned long flags;
+
+	if (bit == -1)
+		goto update;
+
+	spin_lock_irqsave(&pmu->lock, flags);
+
+	/*
+	 * Update the bitmask of enabled events and increment
+	 * the event reference counter.
+	 */
+	BUILD_BUG_ON(ARRAY_SIZE(pmu->enable_count) != XE_PMU_MASK_BITS);
+	XE_WARN_ON(bit >= ARRAY_SIZE(pmu->enable_count));
+	XE_WARN_ON(pmu->enable_count[bit] == ~0);
+
+	pmu->enable |= BIT(bit);
+	pmu->enable_count[bit]++;
+
+	spin_unlock_irqrestore(&pmu->lock, flags);
+update:
 	/*
 	 * Store the current counter value so we can report the correct delta
 	 * for all listeners. Even when the event was already enabled and has
@@ -165,6 +309,31 @@ static void xe_pmu_enable(struct perf_event *event)
 	local64_set(&event->hw.prev_count, __xe_pmu_event_read(event));
 }
 
+static void xe_pmu_disable(struct perf_event *event)
+{
+	struct xe_device *xe =
+		container_of(event->pmu, typeof(*xe), pmu.base);
+	struct xe_pmu *pmu = &xe->pmu;
+	const unsigned int bit = event_bit(event);
+	unsigned long flags;
+
+	if (bit == -1)
+		return;
+
+	spin_lock_irqsave(&pmu->lock, flags);
+
+	XE_WARN_ON(bit >= ARRAY_SIZE(pmu->enable_count));
+	XE_WARN_ON(pmu->enable_count[bit] == 0);
+	/*
+	 * Decrement the reference count and clear the enabled
+	 * bitmask when the last listener on an event goes away.
+	 */
+	if (--pmu->enable_count[bit] == 0)
+		pmu->enable &= ~BIT(bit);
+
+	spin_unlock_irqrestore(&pmu->lock, flags);
+}
+
 static void xe_pmu_event_start(struct perf_event *event, int flags)
 {
 	struct xe_device *xe =
@@ -190,6 +359,8 @@ static void xe_pmu_event_stop(struct perf_event *event, int flags)
 	if (flags & PERF_EF_UPDATE)
 		xe_pmu_event_read(event);
 
+	xe_pmu_disable(event);
+
 out:
 	event->hw.state = PERF_HES_STOPPED;
 }
@@ -291,6 +462,7 @@ create_event_attributes(struct xe_pmu *pmu)
 		const char *name;
 		const char *unit;
 	} events[] = {
+		__event(0, "c6-residency", "ms"),
 	};
 
 	struct perf_pmu_events_attr *pmu_attr = NULL, *pmu_iter;
@@ -477,6 +649,33 @@ static void xe_pmu_unregister_cpuhp_state(struct xe_pmu *pmu)
 	cpuhp_state_remove_instance(cpuhp_state, &pmu->cpuhp.node);
 }
 
+static void store_rc6_residency(struct xe_gt *gt)
+{
+	struct xe_device *xe = gt_to_xe(gt);
+	struct xe_pmu *pmu = &xe->pmu;
+
+	store_sample(pmu, gt->info.id, __XE_SAMPLE_RC6,
+		     xe_gt_idle_residency(&gt->gtidle));
+	pmu->sleep_last[gt->info.id] = ktime_get_raw();
+}
+
+/**
+ * xe_pmu_suspend() - Save residency count before suspend
+ * @gt: GT object
+ */
+void xe_pmu_suspend(struct xe_gt *gt)
+{
+	struct xe_device *xe = gt_to_xe(gt);
+	struct xe_pmu *pmu = &xe->pmu;
+
+	if (!pmu->base.event_init)
+		return;
+
+	spin_lock_irq(&pmu->lock);
+	store_rc6_residency(gt);
+	spin_unlock_irq(&pmu->lock);
+}
+
 /**
  * xe_pmu_unregister() - Remove/cleanup PMU registration
  * @arg: Ptr to pmu
@@ -498,6 +697,24 @@ void xe_pmu_unregister(void *arg)
 	free_event_attributes(pmu);
 }
 
+static void init_rc6(struct xe_pmu *pmu)
+{
+	struct xe_device *xe = container_of(pmu, typeof(*xe), pmu);
+	struct xe_gt *gt;
+	unsigned int j;
+
+	for_each_gt(gt, xe, j) {
+		xe_pm_runtime_get(xe);
+		u64 val = xe_gt_idle_residency(&gt->gtidle);
+
+		store_sample(pmu, j, __XE_SAMPLE_RC6, val);
+		store_sample(pmu, j, __XE_SAMPLE_RC6_LAST_REPORTED,
+			     val);
+		pmu->sleep_last[j] = ktime_get_raw();
+		xe_pm_runtime_put(xe);
+	}
+}
+
 /**
  * xe_pmu_register() - Define basic PMU properties for Xe and add event callbacks.
  * @pmu: the PMU object
@@ -533,6 +750,8 @@ void xe_pmu_register(struct xe_pmu *pmu)
 	if (!pmu->events_attr_group.attrs)
 		goto err_name;
 
+	init_rc6(pmu);
+
 	pmu->base.attr_groups = kmemdup(attr_groups, sizeof(attr_groups),
 					GFP_KERNEL);
 	if (!pmu->base.attr_groups)
diff --git a/drivers/gpu/drm/xe/xe_pmu.h b/drivers/gpu/drm/xe/xe_pmu.h
index d07e5dfdfec0..17f5a8d7d45c 100644
--- a/drivers/gpu/drm/xe/xe_pmu.h
+++ b/drivers/gpu/drm/xe/xe_pmu.h
@@ -15,11 +15,13 @@ int xe_pmu_init(void);
 void xe_pmu_exit(void);
 void xe_pmu_register(struct xe_pmu *pmu);
 void xe_pmu_unregister(void *arg);
+void xe_pmu_suspend(struct xe_gt *gt);
 #else
 static inline int xe_pmu_init(void) { return 0; }
 static inline void xe_pmu_exit(void) {}
 static inline void xe_pmu_register(struct xe_pmu *pmu) {}
 static inline void xe_pmu_unregister(void *arg) {}
+static inline void xe_pmu_suspend(struct xe_gt *gt) {}
 #endif
 
 #endif
diff --git a/drivers/gpu/drm/xe/xe_pmu_types.h b/drivers/gpu/drm/xe/xe_pmu_types.h
index 4da96b8fadd1..59d7718c59ce 100644
--- a/drivers/gpu/drm/xe/xe_pmu_types.h
+++ b/drivers/gpu/drm/xe/xe_pmu_types.h
@@ -10,6 +10,8 @@
 #include <linux/spinlock_types.h>
 
 enum {
+	__XE_SAMPLE_RC6,
+	__XE_SAMPLE_RC6_LAST_REPORTED,
 	__XE_NUM_PMU_SAMPLERS
 };
 
@@ -23,6 +25,32 @@ enum {
 #define ___XE_PMU_OTHER(gt, x) \
 	(((__u64)(x)) | ((__u64)(gt) << __XE_PMU_GT_SHIFT))
 
+#define __XE_PMU_OTHER(x) ___XE_PMU_OTHER(0, x)
+
+#define XE_PMU_RC6_RESIDENCY                    __XE_PMU_OTHER(0)
+#define __XE_PMU_RC6_RESIDENCY(gt)              ___XE_PMU_OTHER(gt, 0)
+
+/**
+ * Non-engine events that we need to track enabled-disabled transition and
+ * current state.
+ */
+enum xe_pmu_tracked_events {
+	__XE_PMU_RC6_RESIDENCY_ENABLED,
+	__XE_PMU_TRACKED_EVENT_COUNT, /* count marker */
+};
+
+/**
+ * How many different events we track in the global PMU mask.
+ *
+ * It is also used to know to needed number of event reference counters.
+ */
+#define XE_PMU_MASK_BITS \
+	(XE_PMU_MAX_GT * __XE_PMU_TRACKED_EVENT_COUNT)
+
+struct xe_pmu_sample {
+	u64 cur;
+};
+
 struct xe_pmu {
 	/**
 	 * @cpuhp: Struct used for CPU hotplug handling.
@@ -65,6 +93,41 @@ struct xe_pmu {
 	 * @pmu_attr: Memory block holding device attributes.
 	 */
 	void *pmu_attr;
+
+	/**
+	 * @enable: Bitmask of specific enabled events.
+	 *
+	 * For some events we need to track their state and do some internal
+	 * house keeping.
+	 *
+	 * Each engine event sampler type and event listed in enum
+	 * i915_pmu_tracked_events gets a bit in this field.
+	 *
+	 * Low bits are engine samplers and other events continue from there.
+	 */
+	u32 enable;
+
+	/**
+	 * @enable_count: Reference counter for enabled events.
+	 *
+	 * Array indices are mapped in the same way as bits in the @enable field
+	 * and they are used to control sampling on/off when multiple clients
+	 * are using the PMU API.
+	 */
+	unsigned int enable_count[XE_PMU_MASK_BITS];
+	/**
+	 * @sample: Current and previous (raw) counters for sampling events.
+	 *
+	 * These counters are updated from the i915 PMU sampling timer.
+	 *
+	 * Only global counters are held here, while the per-engine ones are in
+	 * struct intel_engine_cs.
+	 */
+	struct xe_pmu_sample event_sample[XE_PMU_MAX_GT][__XE_NUM_PMU_SAMPLERS];
+	/**
+	 * @sleep_last: Last time GT parked for RC6 estimation.
+	 */
+	ktime_t sleep_last[XE_PMU_MAX_GT];
 };
 
 #endif
-- 
2.40.0


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

* [PATCH 3/7] [DO NOT REVIEW] drm/xe/pmu: Add GT frequency events
  2024-11-13  4:55 [PATCH 0/7] Add PMU support for single engine busyness Riana Tauro
  2024-11-13  4:55 ` [PATCH 1/7] [DO NOT REVIEW] drm/xe/pmu: Enable PMU interface Riana Tauro
  2024-11-13  4:55 ` [PATCH 2/7] [DO NOT REVIEW] drm/xe/pmu: Add GT C6 events Riana Tauro
@ 2024-11-13  4:55 ` Riana Tauro
  2024-11-13  4:55 ` [PATCH 4/7] drm/xe: add function to convert xe hw engine class to user class Riana Tauro
                   ` (11 subsequent siblings)
  14 siblings, 0 replies; 26+ messages in thread
From: Riana Tauro @ 2024-11-13  4:55 UTC (permalink / raw)
  To: intel-xe
  Cc: riana.tauro, anshuman.gupta, umesh.nerlige.ramappa, rodrigo.vivi,
	vinay.belgaumkar, aravind.iddamsetty, john.c.harrison,
	ashutosh.dixit, soham.purkait

From: Vinay Belgaumkar <vinay.belgaumkar@intel.com>

DO NOT REVIEW. Patch added for compilation

Define PMU events for GT frequency (actual and requested). This is
a port from the i915 driver implementation, where an internal timer
is used to aggregate GT frequencies over certain fixed interval.
Following PMU events are being added-

  xe_0000_00_02.0/actual-frequency-gt0/              [Kernel PMU event]
  xe_0000_00_02.0/actual-frequency-gt1/              [Kernel PMU event]
  xe_0000_00_02.0/requested-frequency-gt0/           [Kernel PMU event]
  xe_0000_00_02.0/requested-frequency-gt1/           [Kernel PMU event]

Standard perf commands can be used to monitor GT frequency-
  $ perf stat -e xe_0000_00_02.0/requested-frequency-gt0/ -I1000

     1.001175175                700 M    xe/requested-frequency-gt0/
     2.005891881                703 M    xe/requested-frequency-gt0/
     3.007318169                700 M    xe/requested-frequency-gt0/

Actual/requested frequencies will be 0 when GT is suspended.

v2: Checkpatch fix, moved timer code to this patch
v3: Fix kunit issue
v4: Checkpatch warning fixes

Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Vinay Belgaumkar <vinay.belgaumkar@intel.com>
---
 drivers/gpu/drm/xe/xe_gt.c        |   2 +
 drivers/gpu/drm/xe/xe_pmu.c       | 248 +++++++++++++++++++++++++++++-
 drivers/gpu/drm/xe/xe_pmu.h       |   2 +
 drivers/gpu/drm/xe/xe_pmu_types.h |  26 ++++
 4 files changed, 277 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/xe/xe_gt.c b/drivers/gpu/drm/xe/xe_gt.c
index fd18bbce99da..ef27db83c09c 100644
--- a/drivers/gpu/drm/xe/xe_gt.c
+++ b/drivers/gpu/drm/xe/xe_gt.c
@@ -940,6 +940,8 @@ int xe_gt_resume(struct xe_gt *gt)
 
 	xe_gt_idle_enable_pg(gt);
 
+	xe_pmu_resume(gt);
+
 	xe_force_wake_put(gt_to_fw(gt), fw_ref);
 	xe_gt_dbg(gt, "resumed\n");
 
diff --git a/drivers/gpu/drm/xe/xe_pmu.c b/drivers/gpu/drm/xe/xe_pmu.c
index 199344154408..633552fbf78d 100644
--- a/drivers/gpu/drm/xe/xe_pmu.c
+++ b/drivers/gpu/drm/xe/xe_pmu.c
@@ -63,6 +63,31 @@ static unsigned int xe_pmu_target_cpu = -1;
  *      2352945
  *
  * Each value is roughly a 1000ms increment here as well. This is expected GT residency when idle.
+ *
+ * PMU frequency events use a software timer to aggregate GT freq values over the time of capture.
+ * This allows us to calculate a rough average over the timespan. This is why sysfs is the best way
+ * to obtain instantaneous frequency if accuracy is intended. Advantage of using PMU is that it
+ * results in lesser CPU utilization as compared to dumping sysfs entries repeatedly.
+ *
+ * To list GT frequency events, use the following-
+ *
+ * $ perf list | grep frequency-gt
+ *   xe_0000_00_02.0/actual-frequency-gt0/              [Kernel PMU event]
+ *   xe_0000_00_02.0/actual-frequency-gt1/              [Kernel PMU event]
+ *   xe_0000_00_02.0/requested-frequency-gt0/           [Kernel PMU event]
+ *   xe_0000_00_02.0/requested-frequency-gt1/           [Kernel PMU event]
+ *
+ * $ perf stat -e xe_0000_00_02.0/requested-frequency-gt0/ -I1000
+ * #           time             counts unit events
+ *      1.001189056               1950 M    xe_0000_00_02.0/requested-frequency-gt0/
+ *      2.006388494               1960 M    xe_0000_00_02.0/requested-frequency-gt0/
+ *      3.007930311               1959 M    xe_0000_00_02.0/requested-frequency-gt0/
+ *
+ * Dumping requested freq from sysfs-
+ * $  while true; do cat /sys/class/drm/card0/device/tile0/gt0/freq0/cur_freq ; sleep 1; done
+ *    1950
+ *    1950
+ *    1950
  */
 
 static struct xe_pmu *event_to_pmu(struct perf_event *event)
@@ -88,6 +113,12 @@ static unsigned int other_bit(const u64 config)
 	case XE_PMU_RC6_RESIDENCY:
 		val = __XE_PMU_RC6_RESIDENCY_ENABLED;
 		break;
+	case XE_PMU_ACTUAL_FREQUENCY:
+		val =  __XE_PMU_ACTUAL_FREQUENCY_ENABLED;
+		break;
+	case XE_PMU_REQUESTED_FREQUENCY:
+		val = __XE_PMU_REQUESTED_FREQUENCY_ENABLED;
+		break;
 	default:
 		/*
 		 * Events that do not require sampling, or tracking state
@@ -104,6 +135,22 @@ static unsigned int config_bit(const u64 config)
 	return other_bit(config);
 }
 
+static u32 config_mask(const u64 config)
+{
+	unsigned int bit = config_bit(config);
+
+	if (__builtin_constant_p(config))
+		BUILD_BUG_ON(bit >
+			     BITS_PER_TYPE(typeof_member(struct xe_pmu,
+							 enable)) - 1);
+	else
+		WARN_ON_ONCE(bit >
+			     BITS_PER_TYPE(typeof_member(struct xe_pmu,
+							 enable)) - 1);
+
+	return BIT(config_bit(config));
+}
+
 static unsigned int event_bit(struct perf_event *event)
 {
 	return config_bit(event->attr.config);
@@ -132,6 +179,10 @@ config_status(struct xe_device *xe, u64 config)
 		if (xe->info.skip_guc_pc)
 			return -ENODEV;
 		break;
+	case XE_PMU_ACTUAL_FREQUENCY:
+		fallthrough;
+	case XE_PMU_REQUESTED_FREQUENCY:
+		break;
 	default:
 		return -ENOENT;
 	}
@@ -194,6 +245,12 @@ store_sample(struct xe_pmu *pmu, unsigned int gt_id, int sample, u64 val)
 	pmu->event_sample[gt_id][sample].cur = val;
 }
 
+static void
+add_sample_mult(struct xe_pmu *pmu, unsigned int gt_id, int sample, u32 val, u32 mul)
+{
+	pmu->event_sample[gt_id][sample].cur += mul_u32_u32(val, mul);
+}
+
 static u64 get_rc6(struct xe_gt *gt)
 {
 	struct xe_device *xe = gt_to_xe(gt);
@@ -239,6 +296,7 @@ static u64 __xe_pmu_event_read(struct perf_event *event)
 {
 	struct xe_device *xe =
 		container_of(event->pmu, typeof(*xe), pmu.base);
+	struct xe_pmu *pmu = &xe->pmu;
 	const unsigned int gt_id = config_gt_id(event->attr.config);
 	const u64 config = event->attr.config;
 	struct xe_gt *gt = xe_device_get_gt(xe, gt_id);
@@ -248,6 +306,18 @@ static u64 __xe_pmu_event_read(struct perf_event *event)
 	case XE_PMU_RC6_RESIDENCY:
 		val = get_rc6(gt);
 		break;
+	case XE_PMU_ACTUAL_FREQUENCY:
+		val =
+		   div_u64(read_sample(pmu, gt_id,
+				       __XE_SAMPLE_FREQ_ACT),
+			   USEC_PER_SEC /* to MHz */);
+		break;
+	case XE_PMU_REQUESTED_FREQUENCY:
+		val =
+		   div_u64(read_sample(pmu, gt_id,
+				       __XE_SAMPLE_FREQ_REQ),
+			   USEC_PER_SEC /* to MHz */);
+		break;
 	default:
 		drm_warn(&gt->tile->xe->drm, "unknown pmu event\n");
 	}
@@ -277,6 +347,144 @@ static void xe_pmu_event_read(struct perf_event *event)
 	local64_add(new - prev, &event->count);
 }
 
+static u32 frequency_enabled_mask(void)
+{
+	unsigned int i;
+	u32 mask = 0;
+
+	for (i = 0; i < XE_PMU_MAX_GT; i++)
+		mask |= config_mask(__XE_PMU_ACTUAL_FREQUENCY(i)) |
+		config_mask(__XE_PMU_REQUESTED_FREQUENCY(i));
+
+	return mask;
+}
+
+static bool
+frequency_sampling_enabled(struct xe_pmu *pmu, unsigned int gt)
+{
+	return pmu->enable &
+	       (config_mask(__XE_PMU_ACTUAL_FREQUENCY(gt)) |
+		config_mask(__XE_PMU_REQUESTED_FREQUENCY(gt)));
+}
+
+static void
+frequency_sample(struct xe_gt *gt, unsigned int period_ns)
+{
+	struct xe_device *xe = gt_to_xe(gt);
+	const unsigned int gt_id = gt->info.id;
+	struct xe_pmu *pmu = &xe->pmu;
+	bool device_awake;
+	int ret;
+	u32 cur_freq;
+
+	if (!frequency_sampling_enabled(pmu, gt_id))
+		return;
+
+	/* Report 0/0 (actual/requested) frequency while GT is suspended. */
+	device_awake = xe_pm_runtime_get_if_active(xe);
+	if (!device_awake)
+		return;
+
+	if (pmu->enable & config_mask(__XE_PMU_ACTUAL_FREQUENCY(gt_id))) {
+		u32 val;
+
+		/*
+		 * We take a quick peek here without using forcewake
+		 * so that we don't perturb the system under observation
+		 * (forcewake => !rc6 => increased power use). We expect
+		 * that if the read fails because it is outside of the
+		 * mmio power well, then it will return 0 -- in which
+		 * case we assume the system is running at the intended
+		 * frequency. Fortunately, the read should rarely fail!
+		 */
+		val = xe_guc_pc_get_act_freq(&gt->uc.guc.pc);
+
+		add_sample_mult(pmu, gt_id, __XE_SAMPLE_FREQ_ACT,
+				val, period_ns / 1000);
+	}
+
+	if (pmu->enable & config_mask(__XE_PMU_REQUESTED_FREQUENCY(gt_id))) {
+		ret = xe_guc_pc_get_cur_freq(&gt->uc.guc.pc, &cur_freq);
+		if (!ret)
+			add_sample_mult(pmu, gt_id, __XE_SAMPLE_FREQ_REQ,
+					cur_freq,
+					period_ns / 1000);
+	}
+
+	xe_pm_runtime_put(xe);
+}
+
+static enum hrtimer_restart xe_sample(struct hrtimer *hrtimer)
+{
+	struct xe_pmu *pmu = container_of(hrtimer, struct xe_pmu, timer);
+	struct xe_device *xe = container_of(pmu, typeof(*xe), pmu);
+	u64 period = max_t(u64, 10000, NSEC_PER_SEC / FREQUENCY);
+	unsigned int period_ns;
+	struct xe_gt *gt;
+	unsigned int i;
+	ktime_t now;
+
+	if (!READ_ONCE(pmu->timer_enabled))
+		return HRTIMER_NORESTART;
+
+	now = ktime_get();
+	period_ns = ktime_to_ns(ktime_sub(now, pmu->timer_last));
+	pmu->timer_last = now;
+
+	/*
+	 * Strictly speaking the passed in period may not be 100% accurate for
+	 * all internal calculation, since some amount of time can be spent on
+	 * grabbing the forcewake. However the potential error from timer call-
+	 * back delay greatly dominates this so we keep it simple.
+	 */
+
+	for_each_gt(gt, xe, i) {
+		if (!(pmu->active_gts & BIT(i)))
+			continue;
+		frequency_sample(gt, period_ns);
+	}
+
+	hrtimer_forward(hrtimer, now, ns_to_ktime(period));
+
+	return HRTIMER_RESTART;
+}
+
+static bool pmu_needs_timer(struct xe_pmu *pmu)
+{
+	u32 enable;
+
+	/*
+	 * Only some counters need the sampling timer.
+	 *
+	 * We start with a bitmask of all currently enabled events.
+	 */
+	enable = pmu->enable;
+
+	/*
+	 * Mask out all the ones which do not need the timer, or in
+	 * other words keep all the ones that could need the timer.
+	 */
+	enable &= frequency_enabled_mask();
+
+	/*
+	 * If some bits remain it means we need the sampling timer running.
+	 */
+	return enable;
+}
+
+static void __xe_pmu_maybe_start_timer(struct xe_pmu *pmu)
+{
+	u64 period = max_t(u64, 10000, NSEC_PER_SEC / FREQUENCY);
+
+	if (!pmu->timer_enabled && pmu_needs_timer(pmu)) {
+		pmu->timer_enabled = true;
+		pmu->timer_last = ktime_get();
+		hrtimer_start_range_ns(&pmu->timer,
+				       ns_to_ktime(period), 0,
+				       HRTIMER_MODE_REL_PINNED);
+	}
+}
+
 static void xe_pmu_enable(struct perf_event *event)
 {
 	struct xe_pmu *pmu = event_to_pmu(event);
@@ -299,6 +507,11 @@ static void xe_pmu_enable(struct perf_event *event)
 	pmu->enable |= BIT(bit);
 	pmu->enable_count[bit]++;
 
+	/*
+	 * Start the sampling timer if needed and not already enabled.
+	 */
+	__xe_pmu_maybe_start_timer(pmu);
+
 	spin_unlock_irqrestore(&pmu->lock, flags);
 update:
 	/*
@@ -328,8 +541,10 @@ static void xe_pmu_disable(struct perf_event *event)
 	 * Decrement the reference count and clear the enabled
 	 * bitmask when the last listener on an event goes away.
 	 */
-	if (--pmu->enable_count[bit] == 0)
+	if (--pmu->enable_count[bit] == 0) {
 		pmu->enable &= ~BIT(bit);
+		pmu->timer_enabled &= pmu_needs_timer(pmu);
+	}
 
 	spin_unlock_irqrestore(&pmu->lock, flags);
 }
@@ -463,6 +678,8 @@ create_event_attributes(struct xe_pmu *pmu)
 		const char *unit;
 	} events[] = {
 		__event(0, "c6-residency", "ms"),
+		__event(1, "actual-frequency", "M"),
+		__event(2, "requested-frequency", "M"),
 	};
 
 	struct perf_pmu_events_attr *pmu_attr = NULL, *pmu_iter;
@@ -676,6 +893,31 @@ void xe_pmu_suspend(struct xe_gt *gt)
 	spin_unlock_irq(&pmu->lock);
 }
 
+/**
+ * xe_pmu_resume() - Restart the timer if needed
+ * @gt: GT object
+ */
+void xe_pmu_resume(struct xe_gt *gt)
+{
+	struct xe_device *xe = gt_to_xe(gt);
+	struct xe_pmu *pmu = &xe->pmu;
+
+	if (!pmu->base.event_init)
+		return;
+
+	spin_lock_irq(&pmu->lock);
+
+	/*
+	 * Re-enable sampling timer when GPU goes active.
+	 */
+	if (pmu->active_gts == 0)
+		__xe_pmu_maybe_start_timer(pmu);
+
+	pmu->active_gts |= BIT(gt->info.id);
+
+	spin_unlock_irq(&pmu->lock);
+}
+
 /**
  * xe_pmu_unregister() - Remove/cleanup PMU registration
  * @arg: Ptr to pmu
@@ -689,6 +931,8 @@ void xe_pmu_unregister(void *arg)
 
 	pmu->registered = false;
 
+	hrtimer_cancel(&pmu->timer);
+
 	xe_pmu_unregister_cpuhp_state(pmu);
 
 	perf_pmu_unregister(&pmu->base);
@@ -732,6 +976,8 @@ void xe_pmu_register(struct xe_pmu *pmu)
 	int ret = -ENOMEM;
 
 	spin_lock_init(&pmu->lock);
+	hrtimer_init(&pmu->timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL);
+	pmu->timer.function = xe_sample;
 	pmu->cpuhp.cpu = -1;
 
 	pmu->name = kasprintf(GFP_KERNEL,
diff --git a/drivers/gpu/drm/xe/xe_pmu.h b/drivers/gpu/drm/xe/xe_pmu.h
index 17f5a8d7d45c..fb6e3819d7bc 100644
--- a/drivers/gpu/drm/xe/xe_pmu.h
+++ b/drivers/gpu/drm/xe/xe_pmu.h
@@ -16,12 +16,14 @@ void xe_pmu_exit(void);
 void xe_pmu_register(struct xe_pmu *pmu);
 void xe_pmu_unregister(void *arg);
 void xe_pmu_suspend(struct xe_gt *gt);
+void xe_pmu_resume(struct xe_gt *gt);
 #else
 static inline int xe_pmu_init(void) { return 0; }
 static inline void xe_pmu_exit(void) {}
 static inline void xe_pmu_register(struct xe_pmu *pmu) {}
 static inline void xe_pmu_unregister(void *arg) {}
 static inline void xe_pmu_suspend(struct xe_gt *gt) {}
+static inline void xe_pmu_resume(struct xe_gt *gt) {}
 #endif
 
 #endif
diff --git a/drivers/gpu/drm/xe/xe_pmu_types.h b/drivers/gpu/drm/xe/xe_pmu_types.h
index 59d7718c59ce..c44c3d79b970 100644
--- a/drivers/gpu/drm/xe/xe_pmu_types.h
+++ b/drivers/gpu/drm/xe/xe_pmu_types.h
@@ -12,6 +12,8 @@
 enum {
 	__XE_SAMPLE_RC6,
 	__XE_SAMPLE_RC6_LAST_REPORTED,
+	__XE_SAMPLE_FREQ_ACT,
+	__XE_SAMPLE_FREQ_REQ,
 	__XE_NUM_PMU_SAMPLERS
 };
 
@@ -28,13 +30,19 @@ enum {
 #define __XE_PMU_OTHER(x) ___XE_PMU_OTHER(0, x)
 
 #define XE_PMU_RC6_RESIDENCY                    __XE_PMU_OTHER(0)
+#define XE_PMU_ACTUAL_FREQUENCY			__XE_PMU_OTHER(1)
+#define XE_PMU_REQUESTED_FREQUENCY		__XE_PMU_OTHER(2)
 #define __XE_PMU_RC6_RESIDENCY(gt)              ___XE_PMU_OTHER(gt, 0)
+#define __XE_PMU_ACTUAL_FREQUENCY(gt)		___XE_PMU_OTHER(gt, 1)
+#define __XE_PMU_REQUESTED_FREQUENCY(gt)	___XE_PMU_OTHER(gt, 2)
 
 /**
  * Non-engine events that we need to track enabled-disabled transition and
  * current state.
  */
 enum xe_pmu_tracked_events {
+	__XE_PMU_ACTUAL_FREQUENCY_ENABLED,
+	__XE_PMU_REQUESTED_FREQUENCY_ENABLED,
 	__XE_PMU_RC6_RESIDENCY_ENABLED,
 	__XE_PMU_TRACKED_EVENT_COUNT, /* count marker */
 };
@@ -128,6 +136,24 @@ struct xe_pmu {
 	 * @sleep_last: Last time GT parked for RC6 estimation.
 	 */
 	ktime_t sleep_last[XE_PMU_MAX_GT];
+	/**
+	 * @timer: Timer for internal Xe PMU sampling.
+	 */
+	struct hrtimer timer;
+	/**
+	 * @timer_last:
+	 *
+	 * Timestmap of the previous timer invocation.
+	 */
+	ktime_t timer_last;
+	/**
+	 * @timer_enabled: Should the internal sampling timer be running.
+	 */
+	bool timer_enabled;
+	/**
+	 * @active_gts: GT active mask.
+	 */
+	unsigned int active_gts;
 };
 
 #endif
-- 
2.40.0


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

* [PATCH 4/7] drm/xe: add function to convert xe hw engine class to user class
  2024-11-13  4:55 [PATCH 0/7] Add PMU support for single engine busyness Riana Tauro
                   ` (2 preceding siblings ...)
  2024-11-13  4:55 ` [PATCH 3/7] [DO NOT REVIEW] drm/xe/pmu: Add GT frequency events Riana Tauro
@ 2024-11-13  4:55 ` Riana Tauro
  2024-11-14 16:14   ` Umesh Nerlige Ramappa
  2024-11-14 17:46   ` Rodrigo Vivi
  2024-11-13  4:55 ` [PATCH 5/7] drm/xe: Add single engine busyness support Riana Tauro
                   ` (10 subsequent siblings)
  14 siblings, 2 replies; 26+ messages in thread
From: Riana Tauro @ 2024-11-13  4:55 UTC (permalink / raw)
  To: intel-xe
  Cc: riana.tauro, anshuman.gupta, umesh.nerlige.ramappa, rodrigo.vivi,
	vinay.belgaumkar, aravind.iddamsetty, john.c.harrison,
	ashutosh.dixit, soham.purkait

add a function to convert xe hw engine class to
user engine class

Signed-off-by: Riana Tauro <riana.tauro@intel.com>
---
 drivers/gpu/drm/xe/xe_hw_engine.c | 25 +++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_hw_engine.h |  1 +
 drivers/gpu/drm/xe/xe_query.c     | 12 ++----------
 3 files changed, 28 insertions(+), 10 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_hw_engine.c b/drivers/gpu/drm/xe/xe_hw_engine.c
index 1557acee3523..ba40f2692f34 100644
--- a/drivers/gpu/drm/xe/xe_hw_engine.c
+++ b/drivers/gpu/drm/xe/xe_hw_engine.c
@@ -981,6 +981,31 @@ const char *xe_hw_engine_class_to_str(enum xe_engine_class class)
 	return NULL;
 }
 
+/**
+ * xe_hw_engine_to_user_class - converts xe hw engine to user engine class
+ * @engine_class: hw engine class
+ *
+ * Returns: user engine class on success, -1 on error
+ */
+u16 xe_hw_engine_to_user_class(enum xe_engine_class engine_class)
+{
+	switch (engine_class) {
+	case XE_ENGINE_CLASS_RENDER:
+		return DRM_XE_ENGINE_CLASS_RENDER;
+	case XE_ENGINE_CLASS_COPY:
+		return DRM_XE_ENGINE_CLASS_COPY;
+	case XE_ENGINE_CLASS_VIDEO_DECODE:
+		return DRM_XE_ENGINE_CLASS_VIDEO_DECODE;
+	case XE_ENGINE_CLASS_VIDEO_ENHANCE:
+		return DRM_XE_ENGINE_CLASS_VIDEO_ENHANCE;
+	case XE_ENGINE_CLASS_COMPUTE:
+		return DRM_XE_ENGINE_CLASS_COMPUTE;
+	default:
+		XE_WARN_ON(engine_class);
+		return -1;
+	}
+}
+
 u64 xe_hw_engine_read_timestamp(struct xe_hw_engine *hwe)
 {
 	return xe_mmio_read64_2x32(&hwe->gt->mmio, RING_TIMESTAMP(hwe->mmio_base));
diff --git a/drivers/gpu/drm/xe/xe_hw_engine.h b/drivers/gpu/drm/xe/xe_hw_engine.h
index da0a6922a26f..3aca7751a482 100644
--- a/drivers/gpu/drm/xe/xe_hw_engine.h
+++ b/drivers/gpu/drm/xe/xe_hw_engine.h
@@ -74,6 +74,7 @@ static inline bool xe_hw_engine_is_valid(struct xe_hw_engine *hwe)
 
 const char *xe_hw_engine_class_to_str(enum xe_engine_class class);
 u64 xe_hw_engine_read_timestamp(struct xe_hw_engine *hwe);
+u16 xe_hw_engine_to_user_class(enum xe_engine_class engine_class);
 enum xe_force_wake_domains xe_hw_engine_to_fw_domain(struct xe_hw_engine *hwe);
 
 void xe_hw_engine_mmio_write32(struct xe_hw_engine *hwe, struct xe_reg reg, u32 val);
diff --git a/drivers/gpu/drm/xe/xe_query.c b/drivers/gpu/drm/xe/xe_query.c
index 170ae72d1a7b..98b036678eee 100644
--- a/drivers/gpu/drm/xe/xe_query.c
+++ b/drivers/gpu/drm/xe/xe_query.c
@@ -26,14 +26,6 @@
 #include "xe_ttm_vram_mgr.h"
 #include "xe_wa.h"
 
-static const u16 xe_to_user_engine_class[] = {
-	[XE_ENGINE_CLASS_RENDER] = DRM_XE_ENGINE_CLASS_RENDER,
-	[XE_ENGINE_CLASS_COPY] = DRM_XE_ENGINE_CLASS_COPY,
-	[XE_ENGINE_CLASS_VIDEO_DECODE] = DRM_XE_ENGINE_CLASS_VIDEO_DECODE,
-	[XE_ENGINE_CLASS_VIDEO_ENHANCE] = DRM_XE_ENGINE_CLASS_VIDEO_ENHANCE,
-	[XE_ENGINE_CLASS_COMPUTE] = DRM_XE_ENGINE_CLASS_COMPUTE,
-};
-
 static const enum xe_engine_class user_to_xe_engine_class[] = {
 	[DRM_XE_ENGINE_CLASS_RENDER] = XE_ENGINE_CLASS_RENDER,
 	[DRM_XE_ENGINE_CLASS_COPY] = XE_ENGINE_CLASS_COPY,
@@ -206,7 +198,7 @@ static int query_engines(struct xe_device *xe,
 				continue;
 
 			engines->engines[i].instance.engine_class =
-				xe_to_user_engine_class[hwe->class];
+				xe_hw_engine_to_user_class(hwe->class);
 			engines->engines[i].instance.engine_instance =
 				hwe->logical_instance;
 			engines->engines[i].instance.gt_id = gt->info.id;
@@ -677,7 +669,7 @@ static int query_oa_units(struct xe_device *xe,
 				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];
+						xe_hw_engine_to_user_class(hwe->class);
 					du->eci[j].engine_instance = hwe->logical_instance;
 					du->eci[j].gt_id = gt->info.id;
 					j++;
-- 
2.40.0


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

* [PATCH 5/7] drm/xe: Add single engine busyness support
  2024-11-13  4:55 [PATCH 0/7] Add PMU support for single engine busyness Riana Tauro
                   ` (3 preceding siblings ...)
  2024-11-13  4:55 ` [PATCH 4/7] drm/xe: add function to convert xe hw engine class to user class Riana Tauro
@ 2024-11-13  4:55 ` Riana Tauro
  2024-11-15  0:08   ` Umesh Nerlige Ramappa
  2024-11-13  4:55 ` [PATCH 6/7] drm/xe/guc: Expose engine busyness only for supported GuC version Riana Tauro
                   ` (9 subsequent siblings)
  14 siblings, 1 reply; 26+ messages in thread
From: Riana Tauro @ 2024-11-13  4:55 UTC (permalink / raw)
  To: intel-xe
  Cc: riana.tauro, anshuman.gupta, umesh.nerlige.ramappa, rodrigo.vivi,
	vinay.belgaumkar, aravind.iddamsetty, john.c.harrison,
	ashutosh.dixit, soham.purkait

GuC provides support to read engine active counters to calculate the
engine utilization. KMD exposes two counters via the PMU interface to
calculate engine busyness

Engine Active Ticks(<engine>-busy-ticks-gt<n>) - number of active ticks
						 for engine
Total Ticks (<engine>-total-ticks-gt<n>) - total ticks GT has been active

Busyness percentage can be calculated as below
busyness % = (engine active ticks/total ticks) * 100.

Signed-off-by: Riana Tauro <riana.tauro@intel.com>
---
 drivers/gpu/drm/xe/Makefile                   |   1 +
 drivers/gpu/drm/xe/abi/guc_actions_abi.h      |   1 +
 drivers/gpu/drm/xe/regs/xe_gt_regs.h          |   2 +
 drivers/gpu/drm/xe/xe_engine_activity.c       | 317 ++++++++++++++++++
 drivers/gpu/drm/xe/xe_engine_activity.h       |  18 +
 drivers/gpu/drm/xe/xe_engine_activity_types.h |  85 +++++
 drivers/gpu/drm/xe/xe_guc_fwif.h              |  19 ++
 drivers/gpu/drm/xe/xe_guc_types.h             |   4 +
 8 files changed, 447 insertions(+)
 create mode 100644 drivers/gpu/drm/xe/xe_engine_activity.c
 create mode 100644 drivers/gpu/drm/xe/xe_engine_activity.h
 create mode 100644 drivers/gpu/drm/xe/xe_engine_activity_types.h

diff --git a/drivers/gpu/drm/xe/Makefile b/drivers/gpu/drm/xe/Makefile
index c231ecaf86b8..32473c609824 100644
--- a/drivers/gpu/drm/xe/Makefile
+++ b/drivers/gpu/drm/xe/Makefile
@@ -33,6 +33,7 @@ xe-y += xe_bb.o \
 	xe_device_sysfs.o \
 	xe_dma_buf.o \
 	xe_drm_client.o \
+	xe_engine_activity.o \
 	xe_exec.o \
 	xe_execlist.o \
 	xe_exec_queue.o \
diff --git a/drivers/gpu/drm/xe/abi/guc_actions_abi.h b/drivers/gpu/drm/xe/abi/guc_actions_abi.h
index b54fe40fc5a9..3a7834f7e421 100644
--- a/drivers/gpu/drm/xe/abi/guc_actions_abi.h
+++ b/drivers/gpu/drm/xe/abi/guc_actions_abi.h
@@ -138,6 +138,7 @@ enum xe_guc_action {
 	XE_GUC_ACTION_REGISTER_CONTEXT_MULTI_LRC = 0x4601,
 	XE_GUC_ACTION_CLIENT_SOFT_RESET = 0x5507,
 	XE_GUC_ACTION_SET_ENG_UTIL_BUFF = 0x550A,
+	XE_GUC_ACTION_SET_DEVICE_ENGINE_ACTIVITY_BUFFER = 0x550C,
 	XE_GUC_ACTION_NOTIFY_MEMORY_CAT_ERROR = 0x6000,
 	XE_GUC_ACTION_REPORT_PAGE_FAULT_REQ_DESC = 0x6002,
 	XE_GUC_ACTION_PAGE_FAULT_RES_DESC = 0x6003,
diff --git a/drivers/gpu/drm/xe/regs/xe_gt_regs.h b/drivers/gpu/drm/xe/regs/xe_gt_regs.h
index 0c9e4b2fafab..7a7283262673 100644
--- a/drivers/gpu/drm/xe/regs/xe_gt_regs.h
+++ b/drivers/gpu/drm/xe/regs/xe_gt_regs.h
@@ -355,6 +355,8 @@
 #define   RENDER_AWAKE_STATUS			REG_BIT(1)
 #define   MEDIA_SLICE0_AWAKE_STATUS		REG_BIT(0)
 
+#define MISC_STATUS_0				XE_REG(0xa500)
+
 #define FORCEWAKE_MEDIA_VDBOX(n)		XE_REG(0xa540 + (n) * 4)
 #define FORCEWAKE_MEDIA_VEBOX(n)		XE_REG(0xa560 + (n) * 4)
 #define FORCEWAKE_GSC				XE_REG(0xa618)
diff --git a/drivers/gpu/drm/xe/xe_engine_activity.c b/drivers/gpu/drm/xe/xe_engine_activity.c
new file mode 100644
index 000000000000..7a2ae09d23de
--- /dev/null
+++ b/drivers/gpu/drm/xe/xe_engine_activity.c
@@ -0,0 +1,317 @@
+// SPDX-License-Identifier: MIT
+/*
+ * Copyright © 2024 Intel Corporation
+ */
+#include "xe_engine_activity.h"
+
+#include "abi/guc_actions_abi.h"
+#include "regs/xe_gt_regs.h"
+
+#include "xe_bo.h"
+#include "xe_gt_printk.h"
+#include "xe_guc.h"
+#include "xe_guc_ct.h"
+#include "xe_hw_engine.h"
+#include "xe_map.h"
+#include "xe_mmio.h"
+
+#define TOTAL_QUANTA 0x8000
+
+static struct xe_guc *engine_busy_to_guc(struct xe_engine_activity *engine_busy)
+{
+	return container_of(engine_busy, struct xe_guc, engine_busy);
+}
+
+static struct iosys_map *activity_to_map(struct activity_buffer *buffer)
+{
+	return &buffer->activity->vmap;
+}
+
+static struct iosys_map *metadata_to_map(struct activity_buffer *buffer)
+{
+	return &buffer->metadata->vmap;
+}
+
+static int allocate_activity_group(struct xe_engine_activity *engine_busy)
+{
+	u32 num_activity_group = 1;
+
+	engine_busy->ag =  kmalloc_array(num_activity_group,
+					 sizeof(struct activity_group),
+					 GFP_KERNEL);
+
+	if (!engine_busy->ag)
+		return -ENOMEM;
+
+	memset(engine_busy->ag, 0, num_activity_group * sizeof(struct activity_group));
+	engine_busy->num_activity_group = num_activity_group;
+
+	return 0;
+}
+
+static int allocate_activity_buffers(struct xe_engine_activity *engine_busy)
+{
+	u32 metadata_size = sizeof(struct guc_engine_activity_metadata);
+	u32 size = sizeof(struct guc_engine_activity_data);
+	struct xe_guc *guc = engine_busy_to_guc(engine_busy);
+	struct activity_buffer *ab = &engine_busy->device_buffer;
+	struct xe_gt *gt = guc_to_gt(guc);
+	struct xe_tile *tile = gt_to_tile(gt);
+	struct xe_bo *bo, *metadata_bo;
+
+	metadata_bo = xe_managed_bo_create_pin_map(gt_to_xe(gt), tile, PAGE_ALIGN(metadata_size),
+						   XE_BO_FLAG_SYSTEM |
+						   XE_BO_FLAG_GGTT |
+						   XE_BO_FLAG_GGTT_INVALIDATE);
+	if (IS_ERR(metadata_bo))
+		return PTR_ERR(metadata_bo);
+
+	bo = xe_managed_bo_create_pin_map(gt_to_xe(gt), tile, PAGE_ALIGN(size),
+					  XE_BO_FLAG_VRAM_IF_DGFX(tile) |
+					  XE_BO_FLAG_GGTT |
+					  XE_BO_FLAG_GGTT_INVALIDATE);
+
+	if (IS_ERR(bo))
+		return PTR_ERR(bo);
+
+	ab->metadata = metadata_bo;
+	ab->activity = bo;
+	return 0;
+}
+
+static struct engine_activity *hw_engine_to_engine_activity(struct xe_hw_engine *hwe)
+{
+	struct xe_guc *guc = &hwe->gt->uc.guc;
+	struct activity_group *ag = &guc->engine_busy.ag[0];
+	u16 guc_class = xe_engine_class_to_guc_class(hwe->class);
+
+	return &ag->engine[guc_class][hwe->logical_instance];
+}
+
+static u64 cpu_ns_to_guc_tsc_tick(ktime_t ns, u32 freq)
+{
+	return mul_u64_u32_div(ns, freq, NSEC_PER_SEC);
+}
+
+#define read_engine_activity_record(xe_, map_, field_) \
+	xe_map_rd_field(xe_, map_, 0, struct guc_engine_activity, field_)
+
+#define read_metadata_record(xe_, buffers_, field_) \
+	xe_map_rd_field(xe_, metadata_to_map(buffers_), \
+			0, struct guc_engine_activity_metadata, field_)
+
+static u64 get_engine_active_ticks(struct xe_guc *guc, struct xe_hw_engine *hwe)
+{
+	struct engine_activity *ea = hw_engine_to_engine_activity(hwe);
+	struct guc_engine_activity *cached_activity = &ea->activity;
+	struct guc_engine_activity_metadata *cached_metadata = &ea->metadata;
+	struct xe_engine_activity *engine_busy = &guc->engine_busy;
+	struct activity_buffer *device_buffer = &engine_busy->device_buffer;
+	struct xe_device *xe =  guc_to_xe(guc);
+	struct xe_gt *gt = guc_to_gt(guc);
+
+	u16 guc_class = xe_engine_class_to_guc_class(hwe->class);
+	size_t offset = offsetof(struct guc_engine_activity_data,
+				 engine_activity[guc_class][hwe->logical_instance]);
+	struct iosys_map engine_activity_map = IOSYS_MAP_INIT_OFFSET(activity_to_map(device_buffer),
+								     offset);
+	u32 last_update_tick, global_change_num;
+	u64 active_ticks, gpm_ts;
+	u16 change_num;
+
+	global_change_num = read_metadata_record(xe, device_buffer, global_change_num);
+
+	/* GuC has not initialized activity data yet, return 0 */
+	if (!global_change_num)
+		goto update;
+
+	if (global_change_num == cached_metadata->global_change_num)
+		goto update;
+	else
+		cached_metadata->global_change_num = global_change_num;
+
+	change_num = read_engine_activity_record(xe, &engine_activity_map, change_num);
+
+	if (!change_num || change_num == cached_activity->change_num)
+		goto update;
+
+	/* read engine activity values */
+	last_update_tick = read_engine_activity_record(xe, &engine_activity_map, last_update_tick);
+	active_ticks = read_engine_activity_record(xe, &engine_activity_map, active_ticks);
+
+	/* activity calculations */
+	ea->running = !!last_update_tick;
+	ea->total += active_ticks - cached_activity->active_ticks;
+	ea->active = 0;
+
+	/* cache the counter */
+	cached_activity->change_num = change_num;
+	cached_activity->last_update_tick = last_update_tick;
+	cached_activity->active_ticks = active_ticks;
+
+update:
+	if (ea->running) {
+		gpm_ts  = xe_mmio_read64_2x32(&gt->mmio, MISC_STATUS_0) >>
+			  engine_busy->gpm_timestamp_shift;
+		ea->active = lower_32_bits(gpm_ts) - cached_activity->last_update_tick;
+	}
+
+	return ea->total + ea->active;
+}
+
+static u64 get_engine_total_ticks(struct xe_guc *guc, struct xe_hw_engine *hwe)
+{
+	struct engine_activity *ea = hw_engine_to_engine_activity(hwe);
+	struct guc_engine_activity_metadata *cached_metadata = &ea->metadata;
+	struct guc_engine_activity *cached_activity = &ea->activity;
+	struct xe_engine_activity *engine_busy = &guc->engine_busy;
+	struct activity_buffer *device_buffer = &engine_busy->device_buffer;
+	struct xe_device *xe =  guc_to_xe(guc);
+	u16 guc_class = xe_engine_class_to_guc_class(hwe->class);
+	size_t offset = offsetof(struct guc_engine_activity_data,
+				 engine_activity[guc_class][hwe->logical_instance]);
+	struct iosys_map engine_activity_map = IOSYS_MAP_INIT_OFFSET(activity_to_map(device_buffer),
+								     offset);
+
+	ktime_t now, cpu_delta;
+	u64 numerator;
+	u16 quanta_ratio;
+
+	if (!cached_metadata->guc_tsc_frequency_hz)
+		cached_metadata->guc_tsc_frequency_hz = read_metadata_record(xe,
+									     device_buffer,
+									     guc_tsc_frequency_hz);
+
+	quanta_ratio = read_engine_activity_record(xe, &engine_activity_map, quanta_ratio);
+	cached_activity->quanta_ratio = quanta_ratio;
+
+	/* Total ticks calculations */
+	now = ktime_get();
+	cpu_delta = now - ea->last_cpu_ts;
+	ea->last_cpu_ts = now;
+	numerator = (ea->quanta_remainder_ns + cpu_delta) * cached_activity->quanta_ratio;
+	ea->quanta_ns += numerator / TOTAL_QUANTA;
+	ea->quanta_remainder_ns = numerator % TOTAL_QUANTA;
+	ea->quanta = cpu_ns_to_guc_tsc_tick(ea->quanta_ns, cached_metadata->guc_tsc_frequency_hz);
+
+	return ea->quanta;
+}
+
+static int enable_engine_activity_stats(struct xe_guc *guc)
+{
+	struct xe_engine_activity *engine_busy = &guc->engine_busy;
+	struct activity_buffer *buffer = &engine_busy->device_buffer;
+	u32 metadata_ggtt_addr = xe_bo_ggtt_addr(buffer->metadata);
+	u32 ggtt_addr = xe_bo_ggtt_addr(buffer->activity);
+	int len = 0;
+	u32 action[5];
+
+	action[len++] = XE_GUC_ACTION_SET_DEVICE_ENGINE_ACTIVITY_BUFFER;
+	action[len++] = metadata_ggtt_addr;
+	action[len++] = 0;
+	action[len++] = ggtt_addr;
+	action[len++] = 0;
+
+	/* Blocking here to ensure the buffers are ready before reading them */
+	return xe_guc_ct_send_block(&guc->ct, action, ARRAY_SIZE(action));
+}
+
+static void engine_activity_set_cpu_ts(struct xe_guc *guc)
+{
+	struct xe_engine_activity *engine_busy = &guc->engine_busy;
+	struct activity_group *ag = engine_busy->ag;
+	int i, j;
+
+	for (i = 0; i < GUC_MAX_ENGINE_CLASSES; i++)
+		for (j = 0; j < GUC_MAX_INSTANCES_PER_CLASS; j++)
+			ag->engine[i][j].last_cpu_ts = ktime_get();
+}
+
+static u32 gpm_timestamp_shift(struct xe_gt *gt)
+{
+	u32 reg;
+
+	reg = xe_mmio_read32(&gt->mmio, RPM_CONFIG0);
+
+	return 3 - REG_FIELD_GET(RPM_CONFIG0_CTC_SHIFT_PARAMETER_MASK, reg);
+}
+
+/**
+ * xe_engine_activity_get_active_ticks - Get engine active ticks
+ * @hwe: The hw_engine object
+ *
+ * Return: accumulated ticks @hwe was busy since engine stats were enabled.
+ */
+u64 xe_engine_activity_get_active_ticks(struct xe_hw_engine *hwe)
+{
+	struct xe_guc *guc =  &hwe->gt->uc.guc;
+
+	return get_engine_active_ticks(guc, hwe);
+}
+
+/**
+ * xe_engine_activity_get_total_ticks - Get engine total ticks
+ * @hwe: The hw_engine object
+ *
+ * Return: accumulated quanta of ticks allocated for the engine
+ */
+u64 xe_engine_activity_get_total_ticks(struct xe_hw_engine *hwe)
+{
+	struct xe_guc *guc =  &hwe->gt->uc.guc;
+
+	return get_engine_total_ticks(guc, hwe);
+}
+
+/**
+ * xe_engine_activity_enable_stats - Enable engine activity stats
+ * @guc: The GuC object
+ *
+ * Enable engine activity stats and set initial timestamps
+ */
+void xe_engine_activity_enable_stats(struct xe_guc *guc)
+{
+	int ret;
+
+	ret = enable_engine_activity_stats(guc);
+	if (ret)
+		xe_gt_err(guc_to_gt(guc), "failed to enable activity stats%d\n", ret);
+	else
+		engine_activity_set_cpu_ts(guc);
+}
+
+static void engine_activity_fini(void *arg)
+{
+	struct xe_engine_activity *engine_busy = arg;
+
+	kfree(engine_busy->ag);
+}
+
+/**
+ * xe_engine_activity_init - Initialize the engine activity data
+ * @guc: The GuC object
+ *
+ * Return: 0 on success, negative error code otherwise.
+ */
+int xe_engine_activity_init(struct xe_guc *guc)
+{
+	struct xe_engine_activity *engine_busy = &guc->engine_busy;
+	struct xe_gt *gt = guc_to_gt(guc);
+	int ret;
+
+	ret = allocate_activity_group(engine_busy);
+	if (ret) {
+		xe_gt_err(gt, "failed to allocate activity group %d\n", ret);
+		return ret;
+	}
+
+	ret = allocate_activity_buffers(engine_busy);
+	if (ret) {
+		xe_gt_err(gt, "failed to allocate activity buffers%d\n", ret);
+		kfree(engine_busy->ag);
+		return ret;
+	}
+
+	engine_busy->gpm_timestamp_shift = gpm_timestamp_shift(gt);
+
+	return devm_add_action_or_reset(gt_to_xe(gt)->drm.dev, engine_activity_fini, engine_busy);
+}
diff --git a/drivers/gpu/drm/xe/xe_engine_activity.h b/drivers/gpu/drm/xe/xe_engine_activity.h
new file mode 100644
index 000000000000..d44ac3366bd0
--- /dev/null
+++ b/drivers/gpu/drm/xe/xe_engine_activity.h
@@ -0,0 +1,18 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2024 Intel Corporation
+ */
+
+#ifndef _XE_ENGINE_ACTIVITY_H_
+#define _XE_ENGINE_ACTIVITY_H_
+
+#include <linux/types.h>
+
+struct xe_hw_engine;
+struct xe_guc;
+
+int xe_engine_activity_init(struct xe_guc *guc);
+void xe_engine_activity_enable_stats(struct xe_guc *guc);
+u64 xe_engine_activity_get_active_ticks(struct xe_hw_engine *hwe);
+u64 xe_engine_activity_get_total_ticks(struct xe_hw_engine *hwe);
+#endif
diff --git a/drivers/gpu/drm/xe/xe_engine_activity_types.h b/drivers/gpu/drm/xe/xe_engine_activity_types.h
new file mode 100644
index 000000000000..5fca85ddd15c
--- /dev/null
+++ b/drivers/gpu/drm/xe/xe_engine_activity_types.h
@@ -0,0 +1,85 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2024 Intel Corporation
+ */
+
+#ifndef _XE_ENGINE_ACTIVITY_TYPES_H_
+#define _XE_ENGINE_ACTIVITY_TYPES_H_
+
+#include <linux/types.h>
+
+#include "xe_guc_fwif.h"
+/**
+ * struct engine_activity - Engine specific activity data
+ *
+ * Contains engine specific activity data and snapshot of the
+ * structures from GuC
+ */
+struct engine_activity {
+	/** @active: current activity */
+	u64 active;
+
+	/** @last_cpu_ts: cpu timestamp in nsec of previous sample */
+	u64 last_cpu_ts;
+
+	/** @quanta: total quanta used on HW */
+	u64 quanta;
+
+	/** @quanta_ns: total quanta_ns used on HW */
+	u64 quanta_ns;
+
+	/**
+	 * @quanta_remainder_ns: remainder when the CPU time is scaled as
+	 * per the quanta_ratio. This remainder is used insubsequent
+	 * quanta calculations.
+	 */
+	u64 quanta_remainder_ns;
+
+	/** @total: total engine activity */
+	u64 total;
+
+	/** @running: true if engine is running some work */
+	bool running;
+
+	/** @metadata: snapshot of engine activity metadata */
+	struct guc_engine_activity_metadata metadata;
+
+	/** @activity: snapshot of engine activity counter */
+	struct guc_engine_activity activity;
+};
+
+/**
+ * struct activity_group - Busyness data for all engines
+ */
+struct activity_group {
+	/** @engine: engine specific activity data */
+	struct engine_activity engine[GUC_MAX_ENGINE_CLASSES][GUC_MAX_INSTANCES_PER_CLASS];
+};
+
+/**
+ * struct activity_buffer - Activity buffers
+ *
+ * This contains the buffers allocated for metadata and activity data
+ */
+struct activity_buffer {
+	/* @activity: object allocated to hold activity data */
+	struct xe_bo *activity;
+	/* @metadata: object allocated to hold activity metadata */
+	struct xe_bo *metadata;
+};
+
+/**
+ * struct xe_engine_activity - Data used by engine activity implementation
+ */
+struct xe_engine_activity {
+	/* @gpm_timestamp_shift: Right shift value for the gpm timestamp */
+	u32 gpm_timestamp_shift;
+	/** num_activity_group: number of activity groups */
+	int num_activity_group;
+	/** @ag: holds the device level busyness data */
+	struct activity_group *ag;
+	/* @device_buffer: activity buffer object for global activity */
+	struct activity_buffer device_buffer;
+};
+#endif
+
diff --git a/drivers/gpu/drm/xe/xe_guc_fwif.h b/drivers/gpu/drm/xe/xe_guc_fwif.h
index 057153f89b30..8b336c15ef5b 100644
--- a/drivers/gpu/drm/xe/xe_guc_fwif.h
+++ b/drivers/gpu/drm/xe/xe_guc_fwif.h
@@ -208,6 +208,25 @@ struct guc_engine_usage {
 	struct guc_engine_usage_record engines[GUC_MAX_ENGINE_CLASSES][GUC_MAX_INSTANCES_PER_CLASS];
 } __packed;
 
+/* Engine usage stats - v3 */
+struct guc_engine_activity {
+	u16 change_num;
+	u16 quanta_ratio;
+	u32 last_update_tick;
+	u64 active_ticks;
+} __packed;
+
+struct guc_engine_activity_data {
+	struct guc_engine_activity engine_activity[GUC_MAX_ENGINE_CLASSES][GUC_MAX_INSTANCES_PER_CLASS];
+} __packed;
+
+struct guc_engine_activity_metadata {
+	u32 guc_tsc_frequency_hz;
+	u32 lag_latency_usec;
+	u32 global_change_num;
+	u32 reserved;
+} __packed;
+
 /* This action will be programmed in C1BC - SOFT_SCRATCH_15_REG */
 enum xe_guc_recv_message {
 	XE_GUC_RECV_MSG_CRASH_DUMP_POSTED = BIT(1),
diff --git a/drivers/gpu/drm/xe/xe_guc_types.h b/drivers/gpu/drm/xe/xe_guc_types.h
index fa75f57bf5da..3a89bfb18307 100644
--- a/drivers/gpu/drm/xe/xe_guc_types.h
+++ b/drivers/gpu/drm/xe/xe_guc_types.h
@@ -10,6 +10,7 @@
 #include <linux/xarray.h>
 
 #include "regs/xe_reg_defs.h"
+#include "xe_engine_activity_types.h"
 #include "xe_guc_ads_types.h"
 #include "xe_guc_ct_types.h"
 #include "xe_guc_fwif.h"
@@ -90,6 +91,9 @@ struct xe_guc {
 	/** @relay: GuC Relay Communication used in SR-IOV */
 	struct xe_guc_relay relay;
 
+	/** @engine_busy: Device specific engine busyness */
+	struct xe_engine_activity engine_busy;
+
 	/**
 	 * @notify_reg: Register which is written to notify GuC of H2G messages
 	 */
-- 
2.40.0


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

* [PATCH 6/7] drm/xe/guc: Expose engine busyness only for supported GuC version
  2024-11-13  4:55 [PATCH 0/7] Add PMU support for single engine busyness Riana Tauro
                   ` (4 preceding siblings ...)
  2024-11-13  4:55 ` [PATCH 5/7] drm/xe: Add single engine busyness support Riana Tauro
@ 2024-11-13  4:55 ` Riana Tauro
  2024-11-14 21:12   ` Umesh Nerlige Ramappa
  2024-11-15  0:12   ` Umesh Nerlige Ramappa
  2024-11-13  4:55 ` [PATCH 7/7] drm/xe/pmu: Add PMU support for engine busyness Riana Tauro
                   ` (8 subsequent siblings)
  14 siblings, 2 replies; 26+ messages in thread
From: Riana Tauro @ 2024-11-13  4:55 UTC (permalink / raw)
  To: intel-xe
  Cc: riana.tauro, anshuman.gupta, umesh.nerlige.ramappa, rodrigo.vivi,
	vinay.belgaumkar, aravind.iddamsetty, john.c.harrison,
	ashutosh.dixit, soham.purkait

Engine busyness is supported only on GuC versions >= 70.32.0
Allow enabling/reading engine busyness only on supported
GuC versions. Warn once if not supported.

Signed-off-by: Riana Tauro <riana.tauro@intel.com>
---
 drivers/gpu/drm/xe/xe_engine_activity.c | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/drivers/gpu/drm/xe/xe_engine_activity.c b/drivers/gpu/drm/xe/xe_engine_activity.c
index 7a2ae09d23de..fc34dcf3057a 100644
--- a/drivers/gpu/drm/xe/xe_engine_activity.c
+++ b/drivers/gpu/drm/xe/xe_engine_activity.c
@@ -236,6 +236,16 @@ static u32 gpm_timestamp_shift(struct xe_gt *gt)
 	return 3 - REG_FIELD_GET(RPM_CONFIG0_CTC_SHIFT_PARAMETER_MASK, reg);
 }
 
+static bool guc_engine_activity_supported(struct xe_guc *guc)
+{
+	if (GUC_FIRMWARE_VER(guc) >= MAKE_GUC_VER(70, 32, 0))
+		return true;
+
+	drm_WARN_ON_ONCE(&guc_to_xe(guc)->drm,
+			 "Engine busyness not supported in this GuC version\n");
+	return false;
+}
+
 /**
  * xe_engine_activity_get_active_ticks - Get engine active ticks
  * @hwe: The hw_engine object
@@ -246,6 +256,9 @@ u64 xe_engine_activity_get_active_ticks(struct xe_hw_engine *hwe)
 {
 	struct xe_guc *guc =  &hwe->gt->uc.guc;
 
+	if (!guc_engine_activity_supported(guc))
+		return 0;
+
 	return get_engine_active_ticks(guc, hwe);
 }
 
@@ -259,6 +272,9 @@ u64 xe_engine_activity_get_total_ticks(struct xe_hw_engine *hwe)
 {
 	struct xe_guc *guc =  &hwe->gt->uc.guc;
 
+	if (!guc_engine_activity_supported(guc))
+		return 0;
+
 	return get_engine_total_ticks(guc, hwe);
 }
 
@@ -272,6 +288,9 @@ void xe_engine_activity_enable_stats(struct xe_guc *guc)
 {
 	int ret;
 
+	if (!guc_engine_activity_supported(guc))
+		return;
+
 	ret = enable_engine_activity_stats(guc);
 	if (ret)
 		xe_gt_err(guc_to_gt(guc), "failed to enable activity stats%d\n", ret);
@@ -298,6 +317,9 @@ int xe_engine_activity_init(struct xe_guc *guc)
 	struct xe_gt *gt = guc_to_gt(guc);
 	int ret;
 
+	if (!guc_engine_activity_supported(guc))
+		return 0;
+
 	ret = allocate_activity_group(engine_busy);
 	if (ret) {
 		xe_gt_err(gt, "failed to allocate activity group %d\n", ret);
-- 
2.40.0


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

* [PATCH 7/7] drm/xe/pmu: Add PMU support for engine busyness
  2024-11-13  4:55 [PATCH 0/7] Add PMU support for single engine busyness Riana Tauro
                   ` (5 preceding siblings ...)
  2024-11-13  4:55 ` [PATCH 6/7] drm/xe/guc: Expose engine busyness only for supported GuC version Riana Tauro
@ 2024-11-13  4:55 ` Riana Tauro
  2024-11-13 14:41 ` ✓ CI.Patch_applied: success for Add PMU support for single " Patchwork
                   ` (7 subsequent siblings)
  14 siblings, 0 replies; 26+ messages in thread
From: Riana Tauro @ 2024-11-13  4:55 UTC (permalink / raw)
  To: intel-xe
  Cc: riana.tauro, anshuman.gupta, umesh.nerlige.ramappa, rodrigo.vivi,
	vinay.belgaumkar, aravind.iddamsetty, john.c.harrison,
	ashutosh.dixit, soham.purkait

PMU provides two counters (<engine>-busy-ticks-gt<n>,
<engine>-total-ticks-gt<n>) to calculate engine busyness. When querying
engine busyness, user must group these 2 counters using the perf_event
group mechanism to ensure both counters are sampled together.

To list engine busyness counters use the following

./perf list
  xe_0000_03_00.0/bcs0-busy-ticks-gt0/               [Kernel PMU event]
  xe_0000_03_00.0/bcs0-total-ticks-gt0/              [Kernel PMU event]
  xe_0000_03_00.0/ccs0-busy-ticks-gt0/               [Kernel PMU event]
  xe_0000_03_00.0/ccs0-total-ticks-gt0/              [Kernel PMU event]

Engine busyness can then be calculated as below
busyness % = (engine active ticks/total ticks) * 100

Signed-off-by: Riana Tauro <riana.tauro@intel.com>
---
 drivers/gpu/drm/xe/xe_guc.c       |   5 +
 drivers/gpu/drm/xe/xe_pmu.c       | 187 ++++++++++++++++++++++++++----
 drivers/gpu/drm/xe/xe_pmu_types.h |  17 +++
 drivers/gpu/drm/xe/xe_uc.c        |   3 +
 4 files changed, 192 insertions(+), 20 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_guc.c b/drivers/gpu/drm/xe/xe_guc.c
index df1ba94cf4ca..7f0425b41f06 100644
--- a/drivers/gpu/drm/xe/xe_guc.c
+++ b/drivers/gpu/drm/xe/xe_guc.c
@@ -17,6 +17,7 @@
 #include "regs/xe_irq_regs.h"
 #include "xe_bo.h"
 #include "xe_device.h"
+#include "xe_engine_activity.h"
 #include "xe_force_wake.h"
 #include "xe_gt.h"
 #include "xe_gt_printk.h"
@@ -418,6 +419,10 @@ int xe_guc_init_post_hwconfig(struct xe_guc *guc)
 	if (ret)
 		return ret;
 
+	ret = xe_engine_activity_init(guc);
+	if (ret)
+		return ret;
+
 	return xe_guc_ads_init_post_hwconfig(&guc->ads);
 }
 
diff --git a/drivers/gpu/drm/xe/xe_pmu.c b/drivers/gpu/drm/xe/xe_pmu.c
index 633552fbf78d..9a657c6bb93e 100644
--- a/drivers/gpu/drm/xe/xe_pmu.c
+++ b/drivers/gpu/drm/xe/xe_pmu.c
@@ -9,10 +9,13 @@
 
 #include "regs/xe_gt_regs.h"
 #include "xe_device.h"
+#include "xe_engine_activity.h"
 #include "xe_force_wake.h"
+#include "xe_gt.h"
 #include "xe_gt_clock.h"
 #include "xe_gt_idle.h"
 #include "xe_guc_pc.h"
+#include "xe_hw_engine.h"
 #include "xe_mmio.h"
 #include "xe_macros.h"
 #include "xe_module.h"
@@ -30,7 +33,7 @@ static unsigned int xe_pmu_target_cpu = -1;
 /**
  * DOC: Xe PMU (Performance Monitoring Unit)
  *
- * Expose events/counters like C6 residency and GT frequency to user land.
+ * Expose events/counters like C6 residency, GT frequency and engine busyness to user land.
  * Perf tool can be used to list these counters from the command line.
  *
  * Example commands to list/record supported perf events-
@@ -88,6 +91,13 @@ static unsigned int xe_pmu_target_cpu = -1;
  *    1950
  *    1950
  *    1950
+ *
+ * Engine busyness: PMU provides two counters (<engine>-busy-ticks-gt<n>,
+ * <engine>-total-ticks-gt<n>) to calculate engine busyness. When querying engine busyness, user
+ * must group these 2 counters using the perf_event group mechanism to ensure both counters are
+ * sampled together. Engine busyness can then be calculated using
+ *
+ *  busyness % = (engine active ticks/total ticks) * 100
  */
 
 static struct xe_pmu *event_to_pmu(struct perf_event *event)
@@ -105,6 +115,64 @@ static u64 config_counter(const u64 config)
 	return config & ~(~0ULL << __XE_PMU_GT_SHIFT);
 }
 
+static u8 engine_event_sample(struct perf_event *event)
+{
+	u64 config = event->attr.config;
+
+	return (config_counter(config) >> XE_PMU_SAMPLE_SHIFT) & 0xf;
+}
+
+static u8 engine_event_class(struct perf_event *event)
+{
+	u64 config = event->attr.config;
+
+	return (config_counter(config) >> XE_PMU_CLASS_SHIFT) & 0xff;
+}
+
+static u8 engine_event_instance(struct perf_event *event)
+{
+	u64 config = event->attr.config;
+
+	return (config_counter(config) >> XE_PMU_INSTANCE_SHIFT) & 0xff;
+}
+
+static bool is_engine_event(struct perf_event *event)
+{
+	return config_counter(event->attr.config) > __XE_PMU_OTHER(0xff);
+}
+
+static int engine_event_status(u8 sample)
+{
+	switch (sample) {
+	case XE_PMU_SAMPLE_BUSY_TICKS:
+	case XE_PMU_SAMPLE_TOTAL_TICKS:
+		return 0;
+	default:
+		return -ENOENT;
+	}
+
+	return 0;
+}
+
+static int engine_event_init(struct perf_event *event)
+{
+	struct xe_device *xe = container_of(event->pmu, typeof(*xe), pmu.base);
+	const u64 config = event->attr.config;
+	const unsigned int gt_id = config_gt_id(config);
+	struct drm_xe_engine_class_instance eci;
+	struct xe_hw_engine *hwe;
+
+	eci.engine_class = engine_event_class(event);
+	eci.engine_instance = engine_event_instance(event);
+	eci.gt_id = gt_id;
+
+	hwe = xe_hw_engine_lookup(xe, eci);
+	if (!hwe)
+		return -ENOENT;
+
+	return engine_event_status(engine_event_sample(event));
+}
+
 static unsigned int other_bit(const u64 config)
 {
 	unsigned int val;
@@ -217,7 +285,11 @@ static int xe_pmu_event_init(struct perf_event *event)
 	if (!cpumask_test_cpu(event->cpu, &xe_pmu_cpumask))
 		return -EINVAL;
 
-	ret = config_status(xe, event->attr.config);
+	if (is_engine_event(event))
+		ret = engine_event_init(event);
+	else
+		ret = config_status(xe, event->attr.config);
+
 	if (ret)
 		return ret;
 
@@ -300,26 +372,54 @@ static u64 __xe_pmu_event_read(struct perf_event *event)
 	const unsigned int gt_id = config_gt_id(event->attr.config);
 	const u64 config = event->attr.config;
 	struct xe_gt *gt = xe_device_get_gt(xe, gt_id);
+	bool device_awake;
 	u64 val = 0;
 
-	switch (config_counter(config)) {
-	case XE_PMU_RC6_RESIDENCY:
-		val = get_rc6(gt);
-		break;
-	case XE_PMU_ACTUAL_FREQUENCY:
-		val =
-		   div_u64(read_sample(pmu, gt_id,
-				       __XE_SAMPLE_FREQ_ACT),
-			   USEC_PER_SEC /* to MHz */);
-		break;
-	case XE_PMU_REQUESTED_FREQUENCY:
-		val =
-		   div_u64(read_sample(pmu, gt_id,
-				       __XE_SAMPLE_FREQ_REQ),
-			   USEC_PER_SEC /* to MHz */);
-		break;
-	default:
-		drm_warn(&gt->tile->xe->drm, "unknown pmu event\n");
+	if (is_engine_event(event)) {
+		u8 sample = engine_event_sample(event);
+		struct drm_xe_engine_class_instance eci;
+		struct xe_hw_engine *hwe;
+
+		eci.engine_class = engine_event_class(event);
+		eci.engine_instance = engine_event_instance(event);
+		eci.gt_id = gt_id;
+
+		hwe = xe_hw_engine_lookup(xe, eci);
+
+		device_awake = xe_pm_runtime_get_if_active(xe);
+		if (!device_awake)
+			return 0;
+
+		if (!hwe)
+			drm_WARN_ON_ONCE(&xe->drm, "unknown engine\n");
+		else if (sample == XE_PMU_SAMPLE_BUSY_TICKS)
+			val = xe_engine_activity_get_active_ticks(hwe);
+		else if (sample == XE_PMU_SAMPLE_TOTAL_TICKS)
+			val = xe_engine_activity_get_total_ticks(hwe);
+		else
+			drm_warn(&xe->drm, "unknown pmu engine event\n");
+
+		xe_pm_runtime_put(xe);
+	} else {
+		switch (config_counter(config)) {
+		case XE_PMU_RC6_RESIDENCY:
+			val = get_rc6(gt);
+			break;
+		case XE_PMU_ACTUAL_FREQUENCY:
+			val =
+			    div_u64(read_sample(pmu, gt_id,
+						__XE_SAMPLE_FREQ_ACT),
+						USEC_PER_SEC /* to MHz */);
+			break;
+		case XE_PMU_REQUESTED_FREQUENCY:
+			val =
+			   div_u64(read_sample(pmu, gt_id,
+					       __XE_SAMPLE_FREQ_REQ),
+				   USEC_PER_SEC /* to MHz */);
+			break;
+		default:
+			drm_warn(&gt->tile->xe->drm, "unknown pmu event\n");
+		}
 	}
 
 	return val;
@@ -643,6 +743,12 @@ static const struct attribute_group xe_pmu_cpumask_attr_group = {
 	.unit = (__unit), \
 }
 
+#define __engine_event(__sample, __name) \
+{ \
+	.sample = (__sample), \
+	.name = (__name), \
+}
+
 static struct xe_ext_attribute *
 add_xe_attr(struct xe_ext_attribute *attr, const char *name, u64 config)
 {
@@ -682,9 +788,19 @@ create_event_attributes(struct xe_pmu *pmu)
 		__event(2, "requested-frequency", "M"),
 	};
 
+	static const struct {
+		u8 sample;
+		char *name;
+	} engine_events[] = {
+		__engine_event(XE_PMU_SAMPLE_BUSY_TICKS, "busy-ticks"),
+		__engine_event(XE_PMU_SAMPLE_TOTAL_TICKS, "total-ticks")
+	};
+
 	struct perf_pmu_events_attr *pmu_attr = NULL, *pmu_iter;
 	struct xe_ext_attribute *xe_attr = NULL, *xe_iter;
 	struct attribute **attr = NULL, **attr_iter;
+	struct xe_hw_engine *hwe;
+	enum xe_hw_engine_id id;
 	unsigned int count = 0;
 	unsigned int i, j;
 	struct xe_gt *gt;
@@ -699,6 +815,13 @@ create_event_attributes(struct xe_pmu *pmu)
 		}
 	}
 
+	for_each_gt(gt, xe, j) {
+		for_each_hw_engine(hwe, gt, id)
+			for (i = 0; i < ARRAY_SIZE(engine_events); i++)
+				if (!engine_event_status(engine_events[i].sample))
+					count++;
+	}
+
 	/* Allocate attribute objects and table. */
 	xe_attr = kcalloc(count, sizeof(*xe_attr), GFP_KERNEL);
 	if (!xe_attr)
@@ -744,6 +867,30 @@ create_event_attributes(struct xe_pmu *pmu)
 							events[i].unit);
 			}
 		}
+
+		for_each_hw_engine(hwe, gt, id) {
+			for (i = 0; i < ARRAY_SIZE(engine_events); i++) {
+				char *str;
+
+				if (engine_event_status(engine_events[i].sample))
+					continue;
+
+				str = kasprintf(GFP_KERNEL, "%s%d-%s-gt%u",
+						xe_hw_engine_class_to_str(hwe->class),
+						hwe->logical_instance,
+						engine_events[i].name, j);
+				if (!str)
+					goto err;
+
+				*attr_iter++ = &xe_iter->attr.attr;
+				xe_iter = add_xe_attr
+					(xe_iter, str,
+					 XE_PMU_ENGINE(j, xe_hw_engine_to_user_class(hwe->class),
+						       hwe->logical_instance,
+						       engine_events[i].sample));
+			}
+		}
+
 	}
 
 	pmu->xe_attr = xe_attr;
diff --git a/drivers/gpu/drm/xe/xe_pmu_types.h b/drivers/gpu/drm/xe/xe_pmu_types.h
index c44c3d79b970..508cc8e43fbe 100644
--- a/drivers/gpu/drm/xe/xe_pmu_types.h
+++ b/drivers/gpu/drm/xe/xe_pmu_types.h
@@ -36,6 +36,23 @@ enum {
 #define __XE_PMU_ACTUAL_FREQUENCY(gt)		___XE_PMU_OTHER(gt, 1)
 #define __XE_PMU_REQUESTED_FREQUENCY(gt)	___XE_PMU_OTHER(gt, 2)
 
+#define XE_PMU_SAMPLE_BUSY_TICKS	(1)
+#define XE_PMU_SAMPLE_TOTAL_TICKS	(2)
+
+/* First 8 bits of config are reserved for other counters */
+#define XE_PMU_SAMPLE_SHIFT			(8)
+#define XE_PMU_SAMPLE_BITS			(4)
+#define XE_PMU_INSTANCE_BITS			(8)
+#define XE_PMU_INSTANCE_SHIFT \
+	(XE_PMU_SAMPLE_SHIFT + XE_PMU_SAMPLE_BITS)
+#define XE_PMU_CLASS_SHIFT \
+	(XE_PMU_INSTANCE_SHIFT + XE_PMU_INSTANCE_BITS)
+
+#define XE_PMU_ENGINE(gt, class, instance, sample) \
+	(((class) << XE_PMU_CLASS_SHIFT | \
+	(instance) << XE_PMU_INSTANCE_SHIFT | \
+	(sample) << XE_PMU_SAMPLE_SHIFT) | ((__u64)(gt) << __XE_PMU_GT_SHIFT))
+
 /**
  * Non-engine events that we need to track enabled-disabled transition and
  * current state.
diff --git a/drivers/gpu/drm/xe/xe_uc.c b/drivers/gpu/drm/xe/xe_uc.c
index 0d073a9987c2..e50d23d53921 100644
--- a/drivers/gpu/drm/xe/xe_uc.c
+++ b/drivers/gpu/drm/xe/xe_uc.c
@@ -7,6 +7,7 @@
 
 #include "xe_assert.h"
 #include "xe_device.h"
+#include "xe_engine_activity.h"
 #include "xe_gsc.h"
 #include "xe_gsc_proxy.h"
 #include "xe_gt.h"
@@ -210,6 +211,8 @@ int xe_uc_init_hw(struct xe_uc *uc)
 	if (ret)
 		return ret;
 
+	xe_engine_activity_enable_stats(&uc->guc);
+
 	/* We don't fail the driver load if HuC fails to auth, but let's warn */
 	ret = xe_huc_auth(&uc->huc, XE_HUC_AUTH_VIA_GUC);
 	xe_gt_assert(uc_to_gt(uc), !ret);
-- 
2.40.0


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

* ✓ CI.Patch_applied: success for Add PMU support for single engine busyness
  2024-11-13  4:55 [PATCH 0/7] Add PMU support for single engine busyness Riana Tauro
                   ` (6 preceding siblings ...)
  2024-11-13  4:55 ` [PATCH 7/7] drm/xe/pmu: Add PMU support for engine busyness Riana Tauro
@ 2024-11-13 14:41 ` Patchwork
  2024-11-13 14:42 ` ✗ CI.checkpatch: warning " Patchwork
                   ` (6 subsequent siblings)
  14 siblings, 0 replies; 26+ messages in thread
From: Patchwork @ 2024-11-13 14:41 UTC (permalink / raw)
  To: Riana Tauro; +Cc: intel-xe

== Series Details ==

Series: Add PMU support for single engine busyness
URL   : https://patchwork.freedesktop.org/series/141259/
State : success

== Summary ==

=== Applying kernel patches on branch 'drm-tip' with base: ===
Base commit: 169c7cd31a37 drm-tip: 2024y-11m-13d-10h-31m-31s UTC integration manifest
=== git am output follows ===
.git/rebase-apply/patch:712: new blank line at EOF.
+
warning: 1 line adds whitespace errors.
.git/rebase-apply/patch:489: new blank line at EOF.
+
warning: 1 line adds whitespace errors.
Applying: drm/xe/pmu: Enable PMU interface
Applying: drm/xe/pmu: Add GT C6 events
Applying: drm/xe/pmu: Add GT frequency events
Applying: drm/xe: add function to convert xe hw engine class to user class
Applying: drm/xe: Add single engine busyness support
Applying: drm/xe/guc: Expose engine busyness only for supported GuC version
Applying: drm/xe/pmu: Add PMU support for engine busyness



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

* ✗ CI.checkpatch: warning for Add PMU support for single engine busyness
  2024-11-13  4:55 [PATCH 0/7] Add PMU support for single engine busyness Riana Tauro
                   ` (7 preceding siblings ...)
  2024-11-13 14:41 ` ✓ CI.Patch_applied: success for Add PMU support for single " Patchwork
@ 2024-11-13 14:42 ` Patchwork
  2024-11-13 14:43 ` ✓ CI.KUnit: success " Patchwork
                   ` (5 subsequent siblings)
  14 siblings, 0 replies; 26+ messages in thread
From: Patchwork @ 2024-11-13 14:42 UTC (permalink / raw)
  To: Riana Tauro; +Cc: intel-xe

== Series Details ==

Series: Add PMU support for single engine busyness
URL   : https://patchwork.freedesktop.org/series/141259/
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
30ab6715fc09baee6cc14cb3c89ad8858688d474
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit b9be4b851151abcfed841754b1825fb5748d2bd7
Author: Riana Tauro <riana.tauro@intel.com>
Date:   Wed Nov 13 10:25:49 2024 +0530

    drm/xe/pmu: Add PMU support for engine busyness
    
    PMU provides two counters (<engine>-busy-ticks-gt<n>,
    <engine>-total-ticks-gt<n>) to calculate engine busyness. When querying
    engine busyness, user must group these 2 counters using the perf_event
    group mechanism to ensure both counters are sampled together.
    
    To list engine busyness counters use the following
    
    ./perf list
      xe_0000_03_00.0/bcs0-busy-ticks-gt0/               [Kernel PMU event]
      xe_0000_03_00.0/bcs0-total-ticks-gt0/              [Kernel PMU event]
      xe_0000_03_00.0/ccs0-busy-ticks-gt0/               [Kernel PMU event]
      xe_0000_03_00.0/ccs0-total-ticks-gt0/              [Kernel PMU event]
    
    Engine busyness can then be calculated as below
    busyness % = (engine active ticks/total ticks) * 100
    
    Signed-off-by: Riana Tauro <riana.tauro@intel.com>
+ /mt/dim checkpatch 169c7cd31a373ed31054abb423981856eb5fb119 drm-intel
8521954a3a04 drm/xe/pmu: Enable PMU interface
-:25: WARNING:BAD_SIGN_OFF: Co-developed-by: must be immediately followed by Signed-off-by:
#25: 
Co-developed-by: Bommu Krishnaiah <krishnaiah.bommu@intel.com>
Co-developed-by: Vinay Belgaumkar <vinay.belgaumkar@intel.com>

-:26: WARNING:BAD_SIGN_OFF: Co-developed-by and Signed-off-by: name/email do not match
#26: 
Co-developed-by: Vinay Belgaumkar <vinay.belgaumkar@intel.com>
Signed-off-by: Bommu Krishnaiah <krishnaiah.bommu@intel.com>

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

total: 0 errors, 3 warnings, 0 checks, 734 lines checked
24d713a16e87 drm/xe/pmu: Add GT C6 events
aecffc8f4fd3 drm/xe/pmu: Add GT frequency events
b4fccfc0b661 drm/xe: add function to convert xe hw engine class to user class
e5167dd37fc3 drm/xe: Add single engine busyness support
-:57: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#57: 
new file mode 100644

-:511: WARNING:LONG_LINE: line length of 104 exceeds 100 columns
#511: FILE: drivers/gpu/drm/xe/xe_guc_fwif.h:220:
+	struct guc_engine_activity engine_activity[GUC_MAX_ENGINE_CLASSES][GUC_MAX_INSTANCES_PER_CLASS];

total: 0 errors, 2 warnings, 0 checks, 483 lines checked
6a9c01626e42 drm/xe/guc: Expose engine busyness only for supported GuC version
b9be4b851151 drm/xe/pmu: Add PMU support for engine busyness



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

* ✓ CI.KUnit: success for Add PMU support for single engine busyness
  2024-11-13  4:55 [PATCH 0/7] Add PMU support for single engine busyness Riana Tauro
                   ` (8 preceding siblings ...)
  2024-11-13 14:42 ` ✗ CI.checkpatch: warning " Patchwork
@ 2024-11-13 14:43 ` Patchwork
  2024-11-13 14:55 ` ✓ CI.Build: " Patchwork
                   ` (4 subsequent siblings)
  14 siblings, 0 replies; 26+ messages in thread
From: Patchwork @ 2024-11-13 14:43 UTC (permalink / raw)
  To: Riana Tauro; +Cc: intel-xe

== Series Details ==

Series: Add PMU support for single engine busyness
URL   : https://patchwork.freedesktop.org/series/141259/
State : success

== Summary ==

+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig
[14:42:24] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[14:42:29] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json ARCH=um O=.kunit --jobs=48
../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)
      |      ^~~~~~~~~~~~~~~~~

[14:42:57] Starting KUnit Kernel (1/1)...
[14:42:57] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[14:42:57] =================== guc_dbm (7 subtests) ===================
[14:42:57] [PASSED] test_empty
[14:42:57] [PASSED] test_default
[14:42:57] ======================== test_size  ========================
[14:42:57] [PASSED] 4
[14:42:57] [PASSED] 8
[14:42:57] [PASSED] 32
[14:42:57] [PASSED] 256
[14:42:57] ==================== [PASSED] test_size ====================
[14:42:57] ======================= test_reuse  ========================
[14:42:57] [PASSED] 4
[14:42:57] [PASSED] 8
[14:42:57] [PASSED] 32
[14:42:57] [PASSED] 256
[14:42:57] =================== [PASSED] test_reuse ====================
[14:42:57] =================== test_range_overlap  ====================
[14:42:57] [PASSED] 4
[14:42:57] [PASSED] 8
[14:42:57] [PASSED] 32
[14:42:57] [PASSED] 256
[14:42:57] =============== [PASSED] test_range_overlap ================
[14:42:57] =================== test_range_compact  ====================
[14:42:57] [PASSED] 4
[14:42:57] [PASSED] 8
[14:42:57] [PASSED] 32
[14:42:57] [PASSED] 256
[14:42:57] =============== [PASSED] test_range_compact ================
[14:42:57] ==================== test_range_spare  =====================
[14:42:57] [PASSED] 4
[14:42:57] [PASSED] 8
[14:42:57] [PASSED] 32
[14:42:57] [PASSED] 256
[14:42:57] ================ [PASSED] test_range_spare =================
[14:42:57] ===================== [PASSED] guc_dbm =====================
[14:42:57] =================== guc_idm (6 subtests) ===================
[14:42:57] [PASSED] bad_init
[14:42:57] [PASSED] no_init
[14:42:57] [PASSED] init_fini
[14:42:57] [PASSED] check_used
[14:42:57] [PASSED] check_quota
[14:42:57] [PASSED] check_all
[14:42:57] ===================== [PASSED] guc_idm =====================
[14:42:57] ================== no_relay (3 subtests) ===================
[14:42:57] [PASSED] xe_drops_guc2pf_if_not_ready
[14:42:57] [PASSED] xe_drops_guc2vf_if_not_ready
[14:42:57] [PASSED] xe_rejects_send_if_not_ready
[14:42:57] ==================== [PASSED] no_relay =====================
[14:42:57] ================== pf_relay (14 subtests) ==================
[14:42:57] [PASSED] pf_rejects_guc2pf_too_short
[14:42:57] [PASSED] pf_rejects_guc2pf_too_long
[14:42:57] [PASSED] pf_rejects_guc2pf_no_payload
[14:42:57] [PASSED] pf_fails_no_payload
[14:42:57] [PASSED] pf_fails_bad_origin
[14:42:57] [PASSED] pf_fails_bad_type
[14:42:57] [PASSED] pf_txn_reports_error
[14:42:57] [PASSED] pf_txn_sends_pf2guc
[14:42:57] [PASSED] pf_sends_pf2guc
[14:42:57] [SKIPPED] pf_loopback_nop
[14:42:57] [SKIPPED] pf_loopback_echo
[14:42:57] [SKIPPED] pf_loopback_fail
[14:42:57] [SKIPPED] pf_loopback_busy
[14:42:57] [SKIPPED] pf_loopback_retry
[14:42:57] ==================== [PASSED] pf_relay =====================
[14:42:57] ================== vf_relay (3 subtests) ===================
[14:42:57] [PASSED] vf_rejects_guc2vf_too_short
[14:42:57] [PASSED] vf_rejects_guc2vf_too_long
[14:42:57] [PASSED] vf_rejects_guc2vf_no_payload
[14:42:57] ==================== [PASSED] vf_relay =====================
[14:42:57] ================= pf_service (11 subtests) =================
[14:42:57] [PASSED] pf_negotiate_any
[14:42:57] [PASSED] pf_negotiate_base_match
[14:42:57] [PASSED] pf_negotiate_base_newer
[14:42:57] [PASSED] pf_negotiate_base_next
[14:42:57] [SKIPPED] pf_negotiate_base_older
[14:42:57] [PASSED] pf_negotiate_base_prev
[14:42:57] [PASSED] pf_negotiate_latest_match
[14:42:57] [PASSED] pf_negotiate_latest_newer
[14:42:57] [PASSED] pf_negotiate_latest_next
[14:42:57] [SKIPPED] pf_negotiate_latest_older
[14:42:57] [SKIPPED] pf_negotiate_latest_prev
[14:42:57] =================== [PASSED] pf_service ====================
[14:42:57] ===================== lmtt (1 subtest) =====================
[14:42:57] ======================== test_ops  =========================
[14:42:57] [PASSED] 2-level
[14:42:57] [PASSED] multi-level
[14:42:57] ==================== [PASSED] test_ops =====================
[14:42:57] ====================== [PASSED] lmtt =======================
[14:42:57] =================== xe_mocs (2 subtests) ===================
[14:42:57] ================ xe_live_mocs_kernel_kunit  ================
[14:42:57] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============
[14:42:57] ================ xe_live_mocs_reset_kunit  =================
[14:42:57] ============ [SKIPPED] xe_live_mocs_reset_kunit ============
[14:42:57] ==================== [SKIPPED] xe_mocs =====================
[14:42:57] ================= xe_migrate (2 subtests) ==================
[14:42:57] ================= xe_migrate_sanity_kunit  =================
[14:42:57] ============ [SKIPPED] xe_migrate_sanity_kunit =============
[14:42:57] ================== xe_validate_ccs_kunit  ==================
[14:42:57] ============= [SKIPPED] xe_validate_ccs_kunit ==============
[14:42:57] =================== [SKIPPED] xe_migrate ===================
[14:42:57] ================== xe_dma_buf (1 subtest) ==================
[14:42:57] ==================== xe_dma_buf_kunit  =====================
[14:42:57] ================ [SKIPPED] xe_dma_buf_kunit ================
[14:42:57] =================== [SKIPPED] xe_dma_buf ===================
[14:42:57] ==================== xe_bo (3 subtests) ====================
[14:42:57] ================== xe_ccs_migrate_kunit  ===================
[14:42:57] ============== [SKIPPED] xe_ccs_migrate_kunit ==============
[14:42:57] ==================== xe_bo_evict_kunit  ====================
[14:42:57] =============== [SKIPPED] xe_bo_evict_kunit ================
[14:42:57] =================== xe_bo_shrink_kunit  ====================
[14:42:57] =============== [SKIPPED] xe_bo_shrink_kunit ===============
[14:42:57] ===================== [SKIPPED] xe_bo ======================
[14:42:57] ==================== args (11 subtests) ====================
[14:42:57] [PASSED] count_args_test
[14:42:57] [PASSED] call_args_example
[14:42:57] [PASSED] call_args_test
[14:42:57] [PASSED] drop_first_arg_example
[14:42:57] [PASSED] drop_first_arg_test
[14:42:57] [PASSED] first_arg_example
[14:42:57] [PASSED] first_arg_test
[14:42:57] [PASSED] last_arg_example
[14:42:57] [PASSED] last_arg_test
[14:42:57] [PASSED] pick_arg_example
[14:42:57] [PASSED] sep_comma_examplestty: 'standard input': Inappropriate ioctl for device

[14:42:57] ====================== [PASSED] args =======================
[14:42:57] =================== xe_pci (2 subtests) ====================
[14:42:57] [PASSED] xe_gmdid_graphics_ip
[14:42:57] [PASSED] xe_gmdid_media_ip
[14:42:57] ===================== [PASSED] xe_pci ======================
[14:42:57] =================== xe_rtp (2 subtests) ====================
[14:42:57] =============== xe_rtp_process_to_sr_tests  ================
[14:42:57] [PASSED] coalesce-same-reg
[14:42:57] [PASSED] no-match-no-add
[14:42:57] [PASSED] match-or
[14:42:57] [PASSED] match-or-xfail
[14:42:57] [PASSED] no-match-no-add-multiple-rules
[14:42:57] [PASSED] two-regs-two-entries
[14:42:57] [PASSED] clr-one-set-other
[14:42:57] [PASSED] set-field
[14:42:57] [PASSED] conflict-duplicate
[14:42:57] [PASSED] conflict-not-disjoint
[14:42:57] [PASSED] conflict-reg-type
[14:42:57] =========== [PASSED] xe_rtp_process_to_sr_tests ============
[14:42:57] ================== xe_rtp_process_tests  ===================
[14:42:57] [PASSED] active1
[14:42:57] [PASSED] active2
[14:42:57] [PASSED] active-inactive
[14:42:57] [PASSED] inactive-active
[14:42:57] [PASSED] inactive-1st_or_active-inactive
[14:42:57] [PASSED] inactive-2nd_or_active-inactive
[14:42:57] [PASSED] inactive-last_or_active-inactive
[14:42:57] [PASSED] inactive-no_or_active-inactive
[14:42:57] ============== [PASSED] xe_rtp_process_tests ===============
[14:42:57] ===================== [PASSED] xe_rtp ======================
[14:42:57] ==================== xe_wa (1 subtest) =====================
[14:42:57] ======================== xe_wa_gt  =========================
[14:42:57] [PASSED] TIGERLAKE (B0)
[14:42:57] [PASSED] DG1 (A0)
[14:42:57] [PASSED] DG1 (B0)
[14:42:57] [PASSED] ALDERLAKE_S (A0)
[14:42:57] [PASSED] ALDERLAKE_S (B0)
[14:42:57] [PASSED] ALDERLAKE_S (C0)
[14:42:57] [PASSED] ALDERLAKE_S (D0)
[14:42:57] [PASSED] ALDERLAKE_P (A0)
[14:42:57] [PASSED] ALDERLAKE_P (B0)
[14:42:57] [PASSED] ALDERLAKE_P (C0)
[14:42:57] [PASSED] ALDERLAKE_S_RPLS (D0)
[14:42:57] [PASSED] ALDERLAKE_P_RPLU (E0)
[14:42:57] [PASSED] DG2_G10 (C0)
[14:42:57] [PASSED] DG2_G11 (B1)
[14:42:57] [PASSED] DG2_G12 (A1)
[14:42:57] [PASSED] METEORLAKE (g:A0, m:A0)
[14:42:57] [PASSED] METEORLAKE (g:A0, m:A0)
[14:42:57] [PASSED] METEORLAKE (g:A0, m:A0)
[14:42:57] [PASSED] LUNARLAKE (g:A0, m:A0)
[14:42:57] [PASSED] LUNARLAKE (g:B0, m:A0)
[14:42:57] [PASSED] BATTLEMAGE (g:A0, m:A1)
[14:42:57] ==================== [PASSED] xe_wa_gt =====================
[14:42:57] ====================== [PASSED] xe_wa ======================
[14:42:57] ============================================================
[14:42:57] Testing complete. Ran 122 tests: passed: 106, skipped: 16
[14:42:57] Elapsed time: 33.280s total, 4.476s configuring, 28.538s building, 0.224s running

+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig
[14:42:57] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[14:42:59] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json ARCH=um O=.kunit --jobs=48
../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)
      |      ^~~~~~~~~~~~~~~~~

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

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

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



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

* ✓ CI.Build: success for Add PMU support for single engine busyness
  2024-11-13  4:55 [PATCH 0/7] Add PMU support for single engine busyness Riana Tauro
                   ` (9 preceding siblings ...)
  2024-11-13 14:43 ` ✓ CI.KUnit: success " Patchwork
@ 2024-11-13 14:55 ` Patchwork
  2024-11-13 14:57 ` ✗ CI.Hooks: failure " Patchwork
                   ` (3 subsequent siblings)
  14 siblings, 0 replies; 26+ messages in thread
From: Patchwork @ 2024-11-13 14:55 UTC (permalink / raw)
  To: Riana Tauro; +Cc: intel-xe

== Series Details ==

Series: Add PMU support for single engine busyness
URL   : https://patchwork.freedesktop.org/series/141259/
State : success

== Summary ==

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



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

* ✗ CI.Hooks: failure for Add PMU support for single engine busyness
  2024-11-13  4:55 [PATCH 0/7] Add PMU support for single engine busyness Riana Tauro
                   ` (10 preceding siblings ...)
  2024-11-13 14:55 ` ✓ CI.Build: " Patchwork
@ 2024-11-13 14:57 ` Patchwork
  2024-11-13 14:59 ` ✓ CI.checksparse: success " Patchwork
                   ` (2 subsequent siblings)
  14 siblings, 0 replies; 26+ messages in thread
From: Patchwork @ 2024-11-13 14:57 UTC (permalink / raw)
  To: Riana Tauro; +Cc: intel-xe

== Series Details ==

Series: Add PMU support for single engine busyness
URL   : https://patchwork.freedesktop.org/series/141259/
State : failure

== 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/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
  CALL    ../scripts/checksyscalls.sh
  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/arch/x86/special.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/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 W=1 drivers/gpu/drm/xe
make[1]: Entering directory '/workspace/kernel/build64-default'
make[2]: Nothing to be done for 'drivers/gpu/drm/xe'.
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
  YACC    scripts/kconfig/parser.tab.[ch]
  LEX     scripts/kconfig/lexer.lex.c
  HOSTCC  scripts/kconfig/menu.o
  HOSTCC  scripts/kconfig/preprocess.o
  HOSTCC  scripts/kconfig/symbol.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 [=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_VMSPLIT_3G not in final .config
Requested value:  CONFIG_VMSPLIT_3G=y
Actual value:     

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

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

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

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



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

* ✓ CI.checksparse: success for Add PMU support for single engine busyness
  2024-11-13  4:55 [PATCH 0/7] Add PMU support for single engine busyness Riana Tauro
                   ` (11 preceding siblings ...)
  2024-11-13 14:57 ` ✗ CI.Hooks: failure " Patchwork
@ 2024-11-13 14:59 ` Patchwork
  2024-11-13 15:19 ` ✗ CI.BAT: failure " Patchwork
  2024-11-13 21:22 ` ✓ CI.FULL: success " Patchwork
  14 siblings, 0 replies; 26+ messages in thread
From: Patchwork @ 2024-11-13 14:59 UTC (permalink / raw)
  To: Riana Tauro; +Cc: intel-xe

== Series Details ==

Series: Add PMU support for single engine busyness
URL   : https://patchwork.freedesktop.org/series/141259/
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 169c7cd31a373ed31054abb423981856eb5fb119
/root/linux/maintainer-tools/dim: line 2068: sparse: command not found
Sparse version: 
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] 26+ messages in thread

* ✗ CI.BAT: failure for Add PMU support for single engine busyness
  2024-11-13  4:55 [PATCH 0/7] Add PMU support for single engine busyness Riana Tauro
                   ` (12 preceding siblings ...)
  2024-11-13 14:59 ` ✓ CI.checksparse: success " Patchwork
@ 2024-11-13 15:19 ` Patchwork
  2024-11-13 21:22 ` ✓ CI.FULL: success " Patchwork
  14 siblings, 0 replies; 26+ messages in thread
From: Patchwork @ 2024-11-13 15:19 UTC (permalink / raw)
  To: Riana Tauro; +Cc: intel-xe

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

== Series Details ==

Series: Add PMU support for single engine busyness
URL   : https://patchwork.freedesktop.org/series/141259/
State : failure

== Summary ==

CI Bug Log - changes from xe-2221-169c7cd31a373ed31054abb423981856eb5fb119_BAT -> xe-pw-141259v1_BAT
====================================================

Summary
-------

  **FAILURE**

  Serious unknown changes coming with xe-pw-141259v1_BAT absolutely need to be
  verified manually.
  
  If you think the reported changes have nothing to do with the changes
  introduced in xe-pw-141259v1_BAT, 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 (9 -> 8)
------------------------------

  Missing    (1): bat-adlp-vf 

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

  Here are the unknown changes that may have been introduced in xe-pw-141259v1_BAT:

### IGT changes ###

#### Possible regressions ####

  * igt@core_hotunplug@unbind-rebind:
    - bat-lnl-2:          [PASS][1] -> [DMESG-WARN][2] +1 other test dmesg-warn
   [1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-2221-169c7cd31a373ed31054abb423981856eb5fb119/bat-lnl-2/igt@core_hotunplug@unbind-rebind.html
   [2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-141259v1/bat-lnl-2/igt@core_hotunplug@unbind-rebind.html

  * igt@xe_module_load@load:
    - bat-dg2-oem2:       [PASS][3] -> [DMESG-WARN][4]
   [3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-2221-169c7cd31a373ed31054abb423981856eb5fb119/bat-dg2-oem2/igt@xe_module_load@load.html
   [4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-141259v1/bat-dg2-oem2/igt@xe_module_load@load.html
    - bat-atsm-2:         [PASS][5] -> [DMESG-WARN][6]
   [5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-2221-169c7cd31a373ed31054abb423981856eb5fb119/bat-atsm-2/igt@xe_module_load@load.html
   [6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-141259v1/bat-atsm-2/igt@xe_module_load@load.html
    - bat-lnl-1:          [PASS][7] -> [DMESG-WARN][8] +1 other test dmesg-warn
   [7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-2221-169c7cd31a373ed31054abb423981856eb5fb119/bat-lnl-1/igt@xe_module_load@load.html
   [8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-141259v1/bat-lnl-1/igt@xe_module_load@load.html
    - bat-pvc-2:          [PASS][9] -> [DMESG-WARN][10]
   [9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-2221-169c7cd31a373ed31054abb423981856eb5fb119/bat-pvc-2/igt@xe_module_load@load.html
   [10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-141259v1/bat-pvc-2/igt@xe_module_load@load.html
    - bat-bmg-2:          [PASS][11] -> [DMESG-WARN][12]
   [11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-2221-169c7cd31a373ed31054abb423981856eb5fb119/bat-bmg-2/igt@xe_module_load@load.html
   [12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-141259v1/bat-bmg-2/igt@xe_module_load@load.html
    - bat-bmg-1:          [PASS][13] -> [DMESG-WARN][14]
   [13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-2221-169c7cd31a373ed31054abb423981856eb5fb119/bat-bmg-1/igt@xe_module_load@load.html
   [14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-141259v1/bat-bmg-1/igt@xe_module_load@load.html
    - bat-adlp-7:         [PASS][15] -> [DMESG-WARN][16]
   [15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-2221-169c7cd31a373ed31054abb423981856eb5fb119/bat-adlp-7/igt@xe_module_load@load.html
   [16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-141259v1/bat-adlp-7/igt@xe_module_load@load.html

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

  Here are the changes found in xe-pw-141259v1_BAT that come from known issues:

### IGT changes ###

#### Issues hit ####

  * igt@xe_exec_fault_mode@twice-bindexecqueue-userptr:
    - bat-dg2-oem2:       NOTRUN -> [SKIP][17] ([Intel XE#288]) +32 other tests skip
   [17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-141259v1/bat-dg2-oem2/igt@xe_exec_fault_mode@twice-bindexecqueue-userptr.html

  * igt@xe_live_ktest@xe_bo:
    - bat-lnl-1:          [PASS][18] -> [SKIP][19] ([Intel XE#1192]) +2 other tests skip
   [18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-2221-169c7cd31a373ed31054abb423981856eb5fb119/bat-lnl-1/igt@xe_live_ktest@xe_bo.html
   [19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-141259v1/bat-lnl-1/igt@xe_live_ktest@xe_bo.html
    - bat-pvc-2:          [PASS][20] -> [SKIP][21] ([Intel XE#1192]) +2 other tests skip
   [20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-2221-169c7cd31a373ed31054abb423981856eb5fb119/bat-pvc-2/igt@xe_live_ktest@xe_bo.html
   [21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-141259v1/bat-pvc-2/igt@xe_live_ktest@xe_bo.html

  * igt@xe_live_ktest@xe_dma_buf:
    - bat-bmg-2:          [PASS][22] -> [SKIP][23] ([Intel XE#1192]) +2 other tests skip
   [22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-2221-169c7cd31a373ed31054abb423981856eb5fb119/bat-bmg-2/igt@xe_live_ktest@xe_dma_buf.html
   [23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-141259v1/bat-bmg-2/igt@xe_live_ktest@xe_dma_buf.html

  * igt@xe_live_ktest@xe_migrate:
    - bat-bmg-1:          [PASS][24] -> [SKIP][25] ([Intel XE#1192]) +2 other tests skip
   [24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-2221-169c7cd31a373ed31054abb423981856eb5fb119/bat-bmg-1/igt@xe_live_ktest@xe_migrate.html
   [25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-141259v1/bat-bmg-1/igt@xe_live_ktest@xe_migrate.html
    - bat-adlp-7:         [PASS][26] -> [SKIP][27] ([Intel XE#1192]) +2 other tests skip
   [26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-2221-169c7cd31a373ed31054abb423981856eb5fb119/bat-adlp-7/igt@xe_live_ktest@xe_migrate.html
   [27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-141259v1/bat-adlp-7/igt@xe_live_ktest@xe_migrate.html
    - bat-lnl-2:          [PASS][28] -> [SKIP][29] ([Intel XE#1192]) +2 other tests skip
   [28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-2221-169c7cd31a373ed31054abb423981856eb5fb119/bat-lnl-2/igt@xe_live_ktest@xe_migrate.html
   [29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-141259v1/bat-lnl-2/igt@xe_live_ktest@xe_migrate.html
    - bat-dg2-oem2:       NOTRUN -> [SKIP][30] ([Intel XE#1192]) +1 other test skip
   [30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-141259v1/bat-dg2-oem2/igt@xe_live_ktest@xe_migrate.html
    - bat-atsm-2:         [PASS][31] -> [SKIP][32] ([Intel XE#1192]) +2 other tests skip
   [31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-2221-169c7cd31a373ed31054abb423981856eb5fb119/bat-atsm-2/igt@xe_live_ktest@xe_migrate.html
   [32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-141259v1/bat-atsm-2/igt@xe_live_ktest@xe_migrate.html

  
#### Possible fixes ####

  * igt@kms_frontbuffer_tracking@basic:
    - bat-adlp-7:         [FAIL][33] ([Intel XE#1861]) -> [PASS][34]
   [33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-2221-169c7cd31a373ed31054abb423981856eb5fb119/bat-adlp-7/igt@kms_frontbuffer_tracking@basic.html
   [34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-141259v1/bat-adlp-7/igt@kms_frontbuffer_tracking@basic.html

  
#### Warnings ####

  * igt@xe_live_ktest@xe_bo:
    - bat-dg2-oem2:       [INCOMPLETE][35] ([Intel XE#2874]) -> [SKIP][36] ([Intel XE#1192])
   [35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-2221-169c7cd31a373ed31054abb423981856eb5fb119/bat-dg2-oem2/igt@xe_live_ktest@xe_bo.html
   [36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-141259v1/bat-dg2-oem2/igt@xe_live_ktest@xe_bo.html

  
  [Intel XE#1192]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1192
  [Intel XE#1861]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1861
  [Intel XE#2874]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2874
  [Intel XE#288]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/288


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

  * IGT: IGT_8105 -> IGT_8107
  * Linux: xe-2221-169c7cd31a373ed31054abb423981856eb5fb119 -> xe-pw-141259v1

  IGT_8105: 8105
  IGT_8107: 0362b0deec80daaecdfa3dd0676dcabb6f14bd9c @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
  xe-2221-169c7cd31a373ed31054abb423981856eb5fb119: 169c7cd31a373ed31054abb423981856eb5fb119
  xe-pw-141259v1: 141259v1

== Logs ==

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

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

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

* ✓ CI.FULL: success for Add PMU support for single engine busyness
  2024-11-13  4:55 [PATCH 0/7] Add PMU support for single engine busyness Riana Tauro
                   ` (13 preceding siblings ...)
  2024-11-13 15:19 ` ✗ CI.BAT: failure " Patchwork
@ 2024-11-13 21:22 ` Patchwork
  14 siblings, 0 replies; 26+ messages in thread
From: Patchwork @ 2024-11-13 21:22 UTC (permalink / raw)
  To: Riana Tauro; +Cc: intel-xe

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

== Series Details ==

Series: Add PMU support for single engine busyness
URL   : https://patchwork.freedesktop.org/series/141259/
State : success

== Summary ==

CI Bug Log - changes from xe-2221-169c7cd31a373ed31054abb423981856eb5fb119_full -> xe-pw-141259v1_full
====================================================

Summary
-------

  **SUCCESS**

  No regressions found.

  

Participating hosts (4 -> 4)
------------------------------

  No changes in participating hosts


Changes
-------

  No changes found


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

  * IGT: IGT_8105 -> IGT_8107
  * Linux: xe-2221-169c7cd31a373ed31054abb423981856eb5fb119 -> xe-pw-141259v1

  IGT_8105: 8105
  IGT_8107: 0362b0deec80daaecdfa3dd0676dcabb6f14bd9c @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
  xe-2221-169c7cd31a373ed31054abb423981856eb5fb119: 169c7cd31a373ed31054abb423981856eb5fb119
  xe-pw-141259v1: 141259v1

== Logs ==

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

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

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

* Re: [PATCH 4/7] drm/xe: add function to convert xe hw engine class to user class
  2024-11-13  4:55 ` [PATCH 4/7] drm/xe: add function to convert xe hw engine class to user class Riana Tauro
@ 2024-11-14 16:14   ` Umesh Nerlige Ramappa
  2024-11-15  7:18     ` Riana Tauro
  2024-11-14 17:46   ` Rodrigo Vivi
  1 sibling, 1 reply; 26+ messages in thread
From: Umesh Nerlige Ramappa @ 2024-11-14 16:14 UTC (permalink / raw)
  To: Riana Tauro
  Cc: intel-xe, anshuman.gupta, rodrigo.vivi, vinay.belgaumkar,
	aravind.iddamsetty, john.c.harrison, ashutosh.dixit,
	soham.purkait

On Wed, Nov 13, 2024 at 10:25:46AM +0530, Riana Tauro wrote:
>add a function to convert xe hw engine class to
>user engine class
>
>Signed-off-by: Riana Tauro <riana.tauro@intel.com>
>---
> drivers/gpu/drm/xe/xe_hw_engine.c | 25 +++++++++++++++++++++++++
> drivers/gpu/drm/xe/xe_hw_engine.h |  1 +
> drivers/gpu/drm/xe/xe_query.c     | 12 ++----------
> 3 files changed, 28 insertions(+), 10 deletions(-)
>
>diff --git a/drivers/gpu/drm/xe/xe_hw_engine.c b/drivers/gpu/drm/xe/xe_hw_engine.c
>index 1557acee3523..ba40f2692f34 100644
>--- a/drivers/gpu/drm/xe/xe_hw_engine.c
>+++ b/drivers/gpu/drm/xe/xe_hw_engine.c
>@@ -981,6 +981,31 @@ const char *xe_hw_engine_class_to_str(enum xe_engine_class class)
> 	return NULL;
> }
>
>+/**
>+ * xe_hw_engine_to_user_class - converts xe hw engine to user engine class
>+ * @engine_class: hw engine class
>+ *
>+ * Returns: user engine class on success, -1 on error
>+ */
>+u16 xe_hw_engine_to_user_class(enum xe_engine_class engine_class)
>+{
>+	switch (engine_class) {
>+	case XE_ENGINE_CLASS_RENDER:
>+		return DRM_XE_ENGINE_CLASS_RENDER;
>+	case XE_ENGINE_CLASS_COPY:
>+		return DRM_XE_ENGINE_CLASS_COPY;
>+	case XE_ENGINE_CLASS_VIDEO_DECODE:
>+		return DRM_XE_ENGINE_CLASS_VIDEO_DECODE;
>+	case XE_ENGINE_CLASS_VIDEO_ENHANCE:
>+		return DRM_XE_ENGINE_CLASS_VIDEO_ENHANCE;
>+	case XE_ENGINE_CLASS_COMPUTE:
>+		return DRM_XE_ENGINE_CLASS_COMPUTE;
>+	default:
>+		XE_WARN_ON(engine_class);
>+		return -1;

This can be something like:

const u16 xe_to_user_engine_class[] = {
	[XE_ENGINE_CLASS_RENDER] = DRM_XE_ENGINE_CLASS_RENDER,
	[XE_ENGINE_CLASS_COPY] = DRM_XE_ENGINE_CLASS_COPY,
	[XE_ENGINE_CLASS_VIDEO_DECODE] = DRM_XE_ENGINE_CLASS_VIDEO_DECODE,
	[XE_ENGINE_CLASS_VIDEO_ENHANCE] = DRM_XE_ENGINE_CLASS_VIDEO_ENHANCE,
	[XE_ENGINE_CLASS_COMPUTE] = DRM_XE_ENGINE_CLASS_COMPUTE,

WARN_ON(engine_class >= ARRAY_SIZE(xe_to_user_engine_class));

return xe_to_user_engine_class[engine_class];
};

Regards,
Umesh

>+	}
>+}
>+
> u64 xe_hw_engine_read_timestamp(struct xe_hw_engine *hwe)
> {
> 	return xe_mmio_read64_2x32(&hwe->gt->mmio, RING_TIMESTAMP(hwe->mmio_base));
>diff --git a/drivers/gpu/drm/xe/xe_hw_engine.h b/drivers/gpu/drm/xe/xe_hw_engine.h
>index da0a6922a26f..3aca7751a482 100644
>--- a/drivers/gpu/drm/xe/xe_hw_engine.h
>+++ b/drivers/gpu/drm/xe/xe_hw_engine.h
>@@ -74,6 +74,7 @@ static inline bool xe_hw_engine_is_valid(struct xe_hw_engine *hwe)
>
> const char *xe_hw_engine_class_to_str(enum xe_engine_class class);
> u64 xe_hw_engine_read_timestamp(struct xe_hw_engine *hwe);
>+u16 xe_hw_engine_to_user_class(enum xe_engine_class engine_class);
> enum xe_force_wake_domains xe_hw_engine_to_fw_domain(struct xe_hw_engine *hwe);
>
> void xe_hw_engine_mmio_write32(struct xe_hw_engine *hwe, struct xe_reg reg, u32 val);
>diff --git a/drivers/gpu/drm/xe/xe_query.c b/drivers/gpu/drm/xe/xe_query.c
>index 170ae72d1a7b..98b036678eee 100644
>--- a/drivers/gpu/drm/xe/xe_query.c
>+++ b/drivers/gpu/drm/xe/xe_query.c
>@@ -26,14 +26,6 @@
> #include "xe_ttm_vram_mgr.h"
> #include "xe_wa.h"
>
>-static const u16 xe_to_user_engine_class[] = {
>-	[XE_ENGINE_CLASS_RENDER] = DRM_XE_ENGINE_CLASS_RENDER,
>-	[XE_ENGINE_CLASS_COPY] = DRM_XE_ENGINE_CLASS_COPY,
>-	[XE_ENGINE_CLASS_VIDEO_DECODE] = DRM_XE_ENGINE_CLASS_VIDEO_DECODE,
>-	[XE_ENGINE_CLASS_VIDEO_ENHANCE] = DRM_XE_ENGINE_CLASS_VIDEO_ENHANCE,
>-	[XE_ENGINE_CLASS_COMPUTE] = DRM_XE_ENGINE_CLASS_COMPUTE,
>-};
>-
> static const enum xe_engine_class user_to_xe_engine_class[] = {
> 	[DRM_XE_ENGINE_CLASS_RENDER] = XE_ENGINE_CLASS_RENDER,
> 	[DRM_XE_ENGINE_CLASS_COPY] = XE_ENGINE_CLASS_COPY,
>@@ -206,7 +198,7 @@ static int query_engines(struct xe_device *xe,
> 				continue;
>
> 			engines->engines[i].instance.engine_class =
>-				xe_to_user_engine_class[hwe->class];
>+				xe_hw_engine_to_user_class(hwe->class);
> 			engines->engines[i].instance.engine_instance =
> 				hwe->logical_instance;
> 			engines->engines[i].instance.gt_id = gt->info.id;
>@@ -677,7 +669,7 @@ static int query_oa_units(struct xe_device *xe,
> 				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];
>+						xe_hw_engine_to_user_class(hwe->class);
> 					du->eci[j].engine_instance = hwe->logical_instance;
> 					du->eci[j].gt_id = gt->info.id;
> 					j++;
>-- 
>2.40.0
>

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

* Re: [PATCH 4/7] drm/xe: add function to convert xe hw engine class to user class
  2024-11-13  4:55 ` [PATCH 4/7] drm/xe: add function to convert xe hw engine class to user class Riana Tauro
  2024-11-14 16:14   ` Umesh Nerlige Ramappa
@ 2024-11-14 17:46   ` Rodrigo Vivi
  2024-11-15  7:21     ` Riana Tauro
  1 sibling, 1 reply; 26+ messages in thread
From: Rodrigo Vivi @ 2024-11-14 17:46 UTC (permalink / raw)
  To: Riana Tauro
  Cc: intel-xe, anshuman.gupta, umesh.nerlige.ramappa, vinay.belgaumkar,
	aravind.iddamsetty, john.c.harrison, ashutosh.dixit,
	soham.purkait

On Wed, Nov 13, 2024 at 10:25:46AM +0530, Riana Tauro wrote:
> add a function to convert xe hw engine class to
> user engine class

a bit of why would be desired here.

I noticed that it is now used by patch 7 on PMU, but some words
here would be better.

> 
> Signed-off-by: Riana Tauro <riana.tauro@intel.com>
> ---
>  drivers/gpu/drm/xe/xe_hw_engine.c | 25 +++++++++++++++++++++++++
>  drivers/gpu/drm/xe/xe_hw_engine.h |  1 +
>  drivers/gpu/drm/xe/xe_query.c     | 12 ++----------
>  3 files changed, 28 insertions(+), 10 deletions(-)
> 
> diff --git a/drivers/gpu/drm/xe/xe_hw_engine.c b/drivers/gpu/drm/xe/xe_hw_engine.c
> index 1557acee3523..ba40f2692f34 100644
> --- a/drivers/gpu/drm/xe/xe_hw_engine.c
> +++ b/drivers/gpu/drm/xe/xe_hw_engine.c
> @@ -981,6 +981,31 @@ const char *xe_hw_engine_class_to_str(enum xe_engine_class class)
>  	return NULL;
>  }
>  
> +/**
> + * xe_hw_engine_to_user_class - converts xe hw engine to user engine class
> + * @engine_class: hw engine class
> + *
> + * Returns: user engine class on success, -1 on error
> + */
> +u16 xe_hw_engine_to_user_class(enum xe_engine_class engine_class)
> +{
> +	switch (engine_class) {
> +	case XE_ENGINE_CLASS_RENDER:
> +		return DRM_XE_ENGINE_CLASS_RENDER;
> +	case XE_ENGINE_CLASS_COPY:
> +		return DRM_XE_ENGINE_CLASS_COPY;
> +	case XE_ENGINE_CLASS_VIDEO_DECODE:
> +		return DRM_XE_ENGINE_CLASS_VIDEO_DECODE;
> +	case XE_ENGINE_CLASS_VIDEO_ENHANCE:
> +		return DRM_XE_ENGINE_CLASS_VIDEO_ENHANCE;
> +	case XE_ENGINE_CLASS_COMPUTE:
> +		return DRM_XE_ENGINE_CLASS_COMPUTE;
> +	default:
> +		XE_WARN_ON(engine_class);
> +		return -1;
> +	}
> +}
> +
>  u64 xe_hw_engine_read_timestamp(struct xe_hw_engine *hwe)
>  {
>  	return xe_mmio_read64_2x32(&hwe->gt->mmio, RING_TIMESTAMP(hwe->mmio_base));
> diff --git a/drivers/gpu/drm/xe/xe_hw_engine.h b/drivers/gpu/drm/xe/xe_hw_engine.h
> index da0a6922a26f..3aca7751a482 100644
> --- a/drivers/gpu/drm/xe/xe_hw_engine.h
> +++ b/drivers/gpu/drm/xe/xe_hw_engine.h
> @@ -74,6 +74,7 @@ static inline bool xe_hw_engine_is_valid(struct xe_hw_engine *hwe)
>  
>  const char *xe_hw_engine_class_to_str(enum xe_engine_class class);
>  u64 xe_hw_engine_read_timestamp(struct xe_hw_engine *hwe);
> +u16 xe_hw_engine_to_user_class(enum xe_engine_class engine_class);
>  enum xe_force_wake_domains xe_hw_engine_to_fw_domain(struct xe_hw_engine *hwe);
>  
>  void xe_hw_engine_mmio_write32(struct xe_hw_engine *hwe, struct xe_reg reg, u32 val);
> diff --git a/drivers/gpu/drm/xe/xe_query.c b/drivers/gpu/drm/xe/xe_query.c
> index 170ae72d1a7b..98b036678eee 100644
> --- a/drivers/gpu/drm/xe/xe_query.c
> +++ b/drivers/gpu/drm/xe/xe_query.c
> @@ -26,14 +26,6 @@
>  #include "xe_ttm_vram_mgr.h"
>  #include "xe_wa.h"
>  
> -static const u16 xe_to_user_engine_class[] = {
> -	[XE_ENGINE_CLASS_RENDER] = DRM_XE_ENGINE_CLASS_RENDER,
> -	[XE_ENGINE_CLASS_COPY] = DRM_XE_ENGINE_CLASS_COPY,
> -	[XE_ENGINE_CLASS_VIDEO_DECODE] = DRM_XE_ENGINE_CLASS_VIDEO_DECODE,
> -	[XE_ENGINE_CLASS_VIDEO_ENHANCE] = DRM_XE_ENGINE_CLASS_VIDEO_ENHANCE,
> -	[XE_ENGINE_CLASS_COMPUTE] = DRM_XE_ENGINE_CLASS_COMPUTE,
> -};
> -
>  static const enum xe_engine_class user_to_xe_engine_class[] = {
>  	[DRM_XE_ENGINE_CLASS_RENDER] = XE_ENGINE_CLASS_RENDER,
>  	[DRM_XE_ENGINE_CLASS_COPY] = XE_ENGINE_CLASS_COPY,
> @@ -206,7 +198,7 @@ static int query_engines(struct xe_device *xe,
>  				continue;
>  
>  			engines->engines[i].instance.engine_class =
> -				xe_to_user_engine_class[hwe->class];
> +				xe_hw_engine_to_user_class(hwe->class);
>  			engines->engines[i].instance.engine_instance =
>  				hwe->logical_instance;
>  			engines->engines[i].instance.gt_id = gt->info.id;
> @@ -677,7 +669,7 @@ static int query_oa_units(struct xe_device *xe,
>  				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];
> +						xe_hw_engine_to_user_class(hwe->class);
>  					du->eci[j].engine_instance = hwe->logical_instance;
>  					du->eci[j].gt_id = gt->info.id;
>  					j++;
> -- 
> 2.40.0
> 

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

* Re: [PATCH 6/7] drm/xe/guc: Expose engine busyness only for supported GuC version
  2024-11-13  4:55 ` [PATCH 6/7] drm/xe/guc: Expose engine busyness only for supported GuC version Riana Tauro
@ 2024-11-14 21:12   ` Umesh Nerlige Ramappa
  2024-11-15  0:12   ` Umesh Nerlige Ramappa
  1 sibling, 0 replies; 26+ messages in thread
From: Umesh Nerlige Ramappa @ 2024-11-14 21:12 UTC (permalink / raw)
  To: Riana Tauro
  Cc: intel-xe, anshuman.gupta, rodrigo.vivi, vinay.belgaumkar,
	aravind.iddamsetty, john.c.harrison, ashutosh.dixit,
	soham.purkait

On Wed, Nov 13, 2024 at 10:25:48AM +0530, Riana Tauro wrote:
>Engine busyness is supported only on GuC versions >= 70.32.0
>Allow enabling/reading engine busyness only on supported
>GuC versions. Warn once if not supported.
>
>Signed-off-by: Riana Tauro <riana.tauro@intel.com>
>---
> drivers/gpu/drm/xe/xe_engine_activity.c | 22 ++++++++++++++++++++++
> 1 file changed, 22 insertions(+)
>
>diff --git a/drivers/gpu/drm/xe/xe_engine_activity.c b/drivers/gpu/drm/xe/xe_engine_activity.c
>index 7a2ae09d23de..fc34dcf3057a 100644
>--- a/drivers/gpu/drm/xe/xe_engine_activity.c
>+++ b/drivers/gpu/drm/xe/xe_engine_activity.c
>@@ -236,6 +236,16 @@ static u32 gpm_timestamp_shift(struct xe_gt *gt)
> 	return 3 - REG_FIELD_GET(RPM_CONFIG0_CTC_SHIFT_PARAMETER_MASK, reg);
> }
>
>+static bool guc_engine_activity_supported(struct xe_guc *guc)
>+{
>+	if (GUC_FIRMWARE_VER(guc) >= MAKE_GUC_VER(70, 32, 0))
>+		return true;
>+
>+	drm_WARN_ON_ONCE(&guc_to_xe(guc)->drm,
>+			 "Engine busyness not supported in this GuC version\n");
>+	return false;
>+}
>+
> /**
>  * xe_engine_activity_get_active_ticks - Get engine active ticks
>  * @hwe: The hw_engine object
>@@ -246,6 +256,9 @@ u64 xe_engine_activity_get_active_ticks(struct xe_hw_engine *hwe)
> {
> 	struct xe_guc *guc =  &hwe->gt->uc.guc;
>
>+	if (!guc_engine_activity_supported(guc))
>+		return 0;
>+
> 	return get_engine_active_ticks(guc, hwe);
> }
>
>@@ -259,6 +272,9 @@ u64 xe_engine_activity_get_total_ticks(struct xe_hw_engine *hwe)
> {
> 	struct xe_guc *guc =  &hwe->gt->uc.guc;
>
>+	if (!guc_engine_activity_supported(guc))
Since total ticks is used in the denominator, UMDs would run into 
divide-by-zero if they implemented this feature, but do not have an 
updated GuC. We ran into that issue with some older version of this 
feature and UMDs patched it up in their code. Do you think we can return 
the cpu time here converted to gpu ticks? That way with unsupported GuC, 
UMDs still get 0 busyness.

Thanks,
Umesh
>+		return 0;
>+
> 	return get_engine_total_ticks(guc, hwe);
> }
>
>@@ -272,6 +288,9 @@ void xe_engine_activity_enable_stats(struct xe_guc *guc)
> {
> 	int ret;
>
>+	if (!guc_engine_activity_supported(guc))
>+		return;
>+
> 	ret = enable_engine_activity_stats(guc);
> 	if (ret)
> 		xe_gt_err(guc_to_gt(guc), "failed to enable activity stats%d\n", ret);
>@@ -298,6 +317,9 @@ int xe_engine_activity_init(struct xe_guc *guc)
> 	struct xe_gt *gt = guc_to_gt(guc);
> 	int ret;
>
>+	if (!guc_engine_activity_supported(guc))
>+		return 0;
>+
> 	ret = allocate_activity_group(engine_busy);
> 	if (ret) {
> 		xe_gt_err(gt, "failed to allocate activity group %d\n", ret);
>-- 
>2.40.0
>

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

* Re: [PATCH 5/7] drm/xe: Add single engine busyness support
  2024-11-13  4:55 ` [PATCH 5/7] drm/xe: Add single engine busyness support Riana Tauro
@ 2024-11-15  0:08   ` Umesh Nerlige Ramappa
  2024-11-18  7:33     ` Riana Tauro
  0 siblings, 1 reply; 26+ messages in thread
From: Umesh Nerlige Ramappa @ 2024-11-15  0:08 UTC (permalink / raw)
  To: Riana Tauro
  Cc: intel-xe, anshuman.gupta, rodrigo.vivi, vinay.belgaumkar,
	aravind.iddamsetty, john.c.harrison, ashutosh.dixit,
	soham.purkait

On Wed, Nov 13, 2024 at 10:25:47AM +0530, Riana Tauro wrote:
>GuC provides support to read engine active counters to calculate the
>engine utilization. KMD exposes two counters via the PMU interface to
>calculate engine busyness
>
>Engine Active Ticks(<engine>-busy-ticks-gt<n>) - number of active ticks
>						 for engine
>Total Ticks (<engine>-total-ticks-gt<n>) - total ticks GT has been active
>
>Busyness percentage can be calculated as below
>busyness % = (engine active ticks/total ticks) * 100.
>
>Signed-off-by: Riana Tauro <riana.tauro@intel.com>

Some minor comments below, 

>---
> drivers/gpu/drm/xe/Makefile                   |   1 +
> drivers/gpu/drm/xe/abi/guc_actions_abi.h      |   1 +
> drivers/gpu/drm/xe/regs/xe_gt_regs.h          |   2 +
> drivers/gpu/drm/xe/xe_engine_activity.c       | 317 ++++++++++++++++++
> drivers/gpu/drm/xe/xe_engine_activity.h       |  18 +
> drivers/gpu/drm/xe/xe_engine_activity_types.h |  85 +++++
> drivers/gpu/drm/xe/xe_guc_fwif.h              |  19 ++
> drivers/gpu/drm/xe/xe_guc_types.h             |   4 +
> 8 files changed, 447 insertions(+)
> create mode 100644 drivers/gpu/drm/xe/xe_engine_activity.c
> create mode 100644 drivers/gpu/drm/xe/xe_engine_activity.h
> create mode 100644 drivers/gpu/drm/xe/xe_engine_activity_types.h
>

[snip]

>+static u64 get_engine_active_ticks(struct xe_guc *guc, struct xe_hw_engine *hwe)
>+{
>+	struct engine_activity *ea = hw_engine_to_engine_activity(hwe);
>+	struct guc_engine_activity *cached_activity = &ea->activity;
>+	struct guc_engine_activity_metadata *cached_metadata = &ea->metadata;
>+	struct xe_engine_activity *engine_busy = &guc->engine_busy;
>+	struct activity_buffer *device_buffer = &engine_busy->device_buffer;
>+	struct xe_device *xe =  guc_to_xe(guc);
>+	struct xe_gt *gt = guc_to_gt(guc);
>+
>+	u16 guc_class = xe_engine_class_to_guc_class(hwe->class);
>+	size_t offset = offsetof(struct guc_engine_activity_data,
>+				 engine_activity[guc_class][hwe->logical_instance]);
>+	struct iosys_map engine_activity_map = IOSYS_MAP_INIT_OFFSET(activity_to_map(device_buffer),
>+								     offset);
>+	u32 last_update_tick, global_change_num;
>+	u64 active_ticks, gpm_ts;
>+	u16 change_num;
>+
>+	global_change_num = read_metadata_record(xe, device_buffer, global_change_num);
>+
>+	/* GuC has not initialized activity data yet, return 0 */
>+	if (!global_change_num)
>+		goto update;
>+
>+	if (global_change_num == cached_metadata->global_change_num)
>+		goto update;
>+	else
>+		cached_metadata->global_change_num = global_change_num;
>+
>+	change_num = read_engine_activity_record(xe, &engine_activity_map, change_num);
>+
>+	if (!change_num || change_num == cached_activity->change_num)
>+		goto update;
>+
>+	/* read engine activity values */
>+	last_update_tick = read_engine_activity_record(xe, &engine_activity_map, last_update_tick);
>+	active_ticks = read_engine_activity_record(xe, &engine_activity_map, active_ticks);

Whatever we read from the metadata record and the activity record could 
be added to a trace call so that we can debug issues using ftrace when 
needed.

>+
>+	/* activity calculations */
>+	ea->running = !!last_update_tick;
>+	ea->total += active_ticks - cached_activity->active_ticks;
>+	ea->active = 0;
>+
>+	/* cache the counter */
>+	cached_activity->change_num = change_num;
>+	cached_activity->last_update_tick = last_update_tick;
>+	cached_activity->active_ticks = active_ticks;
>+
>+update:
>+	if (ea->running) {
>+		gpm_ts  = xe_mmio_read64_2x32(&gt->mmio, MISC_STATUS_0) >>

extra space after gpm_ts ^.

Also, does the mmio read require a forcewake here?

>+			  engine_busy->gpm_timestamp_shift;
>+		ea->active = lower_32_bits(gpm_ts) - cached_activity->last_update_tick;
>+	}
>+
>+	return ea->total + ea->active;
>+}
>+

[snip]

>+static u32 gpm_timestamp_shift(struct xe_gt *gt)
>+{
>+	u32 reg;
>+
>+	reg = xe_mmio_read32(&gt->mmio, RPM_CONFIG0);

Does the mmio read require a forcewake here?

>+
>+	return 3 - REG_FIELD_GET(RPM_CONFIG0_CTC_SHIFT_PARAMETER_MASK, reg);
>+}

[snip]

>+struct engine_activity {
>+	/** @active: current activity */
>+	u64 active;
>+
>+	/** @last_cpu_ts: cpu timestamp in nsec of previous sample */
>+	u64 last_cpu_ts;
>+
>+	/** @quanta: total quanta used on HW */
>+	u64 quanta;
>+
>+	/** @quanta_ns: total quanta_ns used on HW */
>+	u64 quanta_ns;
>+
>+	/**
>+	 * @quanta_remainder_ns: remainder when the CPU time is scaled as
>+	 * per the quanta_ratio. This remainder is used insubsequent

s/insubsequent/in subsequent/

Thanks,
Umesh

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

* Re: [PATCH 6/7] drm/xe/guc: Expose engine busyness only for supported GuC version
  2024-11-13  4:55 ` [PATCH 6/7] drm/xe/guc: Expose engine busyness only for supported GuC version Riana Tauro
  2024-11-14 21:12   ` Umesh Nerlige Ramappa
@ 2024-11-15  0:12   ` Umesh Nerlige Ramappa
  2024-11-18  7:37     ` Riana Tauro
  1 sibling, 1 reply; 26+ messages in thread
From: Umesh Nerlige Ramappa @ 2024-11-15  0:12 UTC (permalink / raw)
  To: Riana Tauro
  Cc: intel-xe, anshuman.gupta, rodrigo.vivi, vinay.belgaumkar,
	aravind.iddamsetty, john.c.harrison, ashutosh.dixit,
	soham.purkait

On Wed, Nov 13, 2024 at 10:25:48AM +0530, Riana Tauro wrote:
>Engine busyness is supported only on GuC versions >= 70.32.0
>Allow enabling/reading engine busyness only on supported
>GuC versions. Warn once if not supported.
>
>Signed-off-by: Riana Tauro <riana.tauro@intel.com>
>---
> drivers/gpu/drm/xe/xe_engine_activity.c | 22 ++++++++++++++++++++++
> 1 file changed, 22 insertions(+)
>
>diff --git a/drivers/gpu/drm/xe/xe_engine_activity.c b/drivers/gpu/drm/xe/xe_engine_activity.c
>index 7a2ae09d23de..fc34dcf3057a 100644
>--- a/drivers/gpu/drm/xe/xe_engine_activity.c
>+++ b/drivers/gpu/drm/xe/xe_engine_activity.c
>@@ -236,6 +236,16 @@ static u32 gpm_timestamp_shift(struct xe_gt *gt)
> 	return 3 - REG_FIELD_GET(RPM_CONFIG0_CTC_SHIFT_PARAMETER_MASK, reg);
> }
>
>+static bool guc_engine_activity_supported(struct xe_guc *guc)
>+{
>+	if (GUC_FIRMWARE_VER(guc) >= MAKE_GUC_VER(70, 32, 0))
>+		return true;
>+
>+	drm_WARN_ON_ONCE(&guc_to_xe(guc)->drm,
>+			 "Engine busyness not supported in this GuC version\n");
>+	return false;
>+}
>+
> /**
>  * xe_engine_activity_get_active_ticks - Get engine active ticks
>  * @hwe: The hw_engine object
>@@ -246,6 +256,9 @@ u64 xe_engine_activity_get_active_ticks(struct xe_hw_engine *hwe)
> {
> 	struct xe_guc *guc =  &hwe->gt->uc.guc;
>
>+	if (!guc_engine_activity_supported(guc))
>+		return 0;
>+
> 	return get_engine_active_ticks(guc, hwe);
> }
>
>@@ -259,6 +272,9 @@ u64 xe_engine_activity_get_total_ticks(struct xe_hw_engine *hwe)
> {
> 	struct xe_guc *guc =  &hwe->gt->uc.guc;
>
>+	if (!guc_engine_activity_supported(guc))

Hmm, not sure my response to this landed on the ML. Sending again..

If GuC is an older version and UMDs have implemented the new interface, 
we could return CPU time in ticks here so that UMDs will still be able 
to use something in the denominator instead of a divide by zero. Busy 
value will still be 0. Thoughts?

Umesh

>+		return 0;
>+
> 	return get_engine_total_ticks(guc, hwe);
> }

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

* Re: [PATCH 4/7] drm/xe: add function to convert xe hw engine class to user class
  2024-11-14 16:14   ` Umesh Nerlige Ramappa
@ 2024-11-15  7:18     ` Riana Tauro
  0 siblings, 0 replies; 26+ messages in thread
From: Riana Tauro @ 2024-11-15  7:18 UTC (permalink / raw)
  To: Umesh Nerlige Ramappa
  Cc: intel-xe, anshuman.gupta, rodrigo.vivi, vinay.belgaumkar,
	aravind.iddamsetty, john.c.harrison, ashutosh.dixit,
	soham.purkait

Hi Umesh

Thank you for the review comments

On 11/14/2024 9:44 PM, Umesh Nerlige Ramappa wrote:
> On Wed, Nov 13, 2024 at 10:25:46AM +0530, Riana Tauro wrote:
>> add a function to convert xe hw engine class to
>> user engine class
>>
>> Signed-off-by: Riana Tauro <riana.tauro@intel.com>
>> ---
>> drivers/gpu/drm/xe/xe_hw_engine.c | 25 +++++++++++++++++++++++++
>> drivers/gpu/drm/xe/xe_hw_engine.h |  1 +
>> drivers/gpu/drm/xe/xe_query.c     | 12 ++----------
>> 3 files changed, 28 insertions(+), 10 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/xe/xe_hw_engine.c b/drivers/gpu/drm/xe/ 
>> xe_hw_engine.c
>> index 1557acee3523..ba40f2692f34 100644
>> --- a/drivers/gpu/drm/xe/xe_hw_engine.c
>> +++ b/drivers/gpu/drm/xe/xe_hw_engine.c
>> @@ -981,6 +981,31 @@ const char *xe_hw_engine_class_to_str(enum 
>> xe_engine_class class)
>>     return NULL;
>> }
>>
>> +/**
>> + * xe_hw_engine_to_user_class - converts xe hw engine to user engine 
>> class
>> + * @engine_class: hw engine class
>> + *
>> + * Returns: user engine class on success, -1 on error
>> + */
>> +u16 xe_hw_engine_to_user_class(enum xe_engine_class engine_class)
>> +{
>> +    switch (engine_class) {
>> +    case XE_ENGINE_CLASS_RENDER:
>> +        return DRM_XE_ENGINE_CLASS_RENDER;
>> +    case XE_ENGINE_CLASS_COPY:
>> +        return DRM_XE_ENGINE_CLASS_COPY;
>> +    case XE_ENGINE_CLASS_VIDEO_DECODE:
>> +        return DRM_XE_ENGINE_CLASS_VIDEO_DECODE;
>> +    case XE_ENGINE_CLASS_VIDEO_ENHANCE:
>> +        return DRM_XE_ENGINE_CLASS_VIDEO_ENHANCE;
>> +    case XE_ENGINE_CLASS_COMPUTE:
>> +        return DRM_XE_ENGINE_CLASS_COMPUTE;
>> +    default:
>> +        XE_WARN_ON(engine_class);
>> +        return -1;
> 
> This can be something like:
> 
> const u16 xe_to_user_engine_class[] = {
>      [XE_ENGINE_CLASS_RENDER] = DRM_XE_ENGINE_CLASS_RENDER,
>      [XE_ENGINE_CLASS_COPY] = DRM_XE_ENGINE_CLASS_COPY,
>      [XE_ENGINE_CLASS_VIDEO_DECODE] = DRM_XE_ENGINE_CLASS_VIDEO_DECODE,
>      [XE_ENGINE_CLASS_VIDEO_ENHANCE] = DRM_XE_ENGINE_CLASS_VIDEO_ENHANCE,
>      [XE_ENGINE_CLASS_COMPUTE] = DRM_XE_ENGINE_CLASS_COMPUTE,
> 
> WARN_ON(engine_class >= ARRAY_SIZE(xe_to_user_engine_class));
> 
> return xe_to_user_engine_class[engine_class];
> };
> 
Okay. will add this.

Thanks,
Riana
> Regards,
> Umesh
> 
>> +    }
>> +}
>> +
>> u64 xe_hw_engine_read_timestamp(struct xe_hw_engine *hwe)
>> {
>>     return xe_mmio_read64_2x32(&hwe->gt->mmio, RING_TIMESTAMP(hwe- 
>> >mmio_base));
>> diff --git a/drivers/gpu/drm/xe/xe_hw_engine.h b/drivers/gpu/drm/xe/ 
>> xe_hw_engine.h
>> index da0a6922a26f..3aca7751a482 100644
>> --- a/drivers/gpu/drm/xe/xe_hw_engine.h
>> +++ b/drivers/gpu/drm/xe/xe_hw_engine.h
>> @@ -74,6 +74,7 @@ static inline bool xe_hw_engine_is_valid(struct 
>> xe_hw_engine *hwe)
>>
>> const char *xe_hw_engine_class_to_str(enum xe_engine_class class);
>> u64 xe_hw_engine_read_timestamp(struct xe_hw_engine *hwe);
>> +u16 xe_hw_engine_to_user_class(enum xe_engine_class engine_class);
>> enum xe_force_wake_domains xe_hw_engine_to_fw_domain(struct 
>> xe_hw_engine *hwe);
>>
>> void xe_hw_engine_mmio_write32(struct xe_hw_engine *hwe, struct xe_reg 
>> reg, u32 val);
>> diff --git a/drivers/gpu/drm/xe/xe_query.c b/drivers/gpu/drm/xe/ 
>> xe_query.c
>> index 170ae72d1a7b..98b036678eee 100644
>> --- a/drivers/gpu/drm/xe/xe_query.c
>> +++ b/drivers/gpu/drm/xe/xe_query.c
>> @@ -26,14 +26,6 @@
>> #include "xe_ttm_vram_mgr.h"
>> #include "xe_wa.h"
>>
>> -static const u16 xe_to_user_engine_class[] = {
>> -    [XE_ENGINE_CLASS_RENDER] = DRM_XE_ENGINE_CLASS_RENDER,
>> -    [XE_ENGINE_CLASS_COPY] = DRM_XE_ENGINE_CLASS_COPY,
>> -    [XE_ENGINE_CLASS_VIDEO_DECODE] = DRM_XE_ENGINE_CLASS_VIDEO_DECODE,
>> -    [XE_ENGINE_CLASS_VIDEO_ENHANCE] = DRM_XE_ENGINE_CLASS_VIDEO_ENHANCE,
>> -    [XE_ENGINE_CLASS_COMPUTE] = DRM_XE_ENGINE_CLASS_COMPUTE,
>> -};
>> -
>> static const enum xe_engine_class user_to_xe_engine_class[] = {
>>     [DRM_XE_ENGINE_CLASS_RENDER] = XE_ENGINE_CLASS_RENDER,
>>     [DRM_XE_ENGINE_CLASS_COPY] = XE_ENGINE_CLASS_COPY,
>> @@ -206,7 +198,7 @@ static int query_engines(struct xe_device *xe,
>>                 continue;
>>
>>             engines->engines[i].instance.engine_class =
>> -                xe_to_user_engine_class[hwe->class];
>> +                xe_hw_engine_to_user_class(hwe->class);
>>             engines->engines[i].instance.engine_instance =
>>                 hwe->logical_instance;
>>             engines->engines[i].instance.gt_id = gt->info.id;
>> @@ -677,7 +669,7 @@ static int query_oa_units(struct xe_device *xe,
>>                 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];
>> +                        xe_hw_engine_to_user_class(hwe->class);
>>                     du->eci[j].engine_instance = hwe->logical_instance;
>>                     du->eci[j].gt_id = gt->info.id;
>>                     j++;
>> -- 
>> 2.40.0
>>


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

* Re: [PATCH 4/7] drm/xe: add function to convert xe hw engine class to user class
  2024-11-14 17:46   ` Rodrigo Vivi
@ 2024-11-15  7:21     ` Riana Tauro
  0 siblings, 0 replies; 26+ messages in thread
From: Riana Tauro @ 2024-11-15  7:21 UTC (permalink / raw)
  To: Rodrigo Vivi
  Cc: intel-xe, anshuman.gupta, umesh.nerlige.ramappa, vinay.belgaumkar,
	aravind.iddamsetty, john.c.harrison, ashutosh.dixit,
	soham.purkait



On 11/14/2024 11:16 PM, Rodrigo Vivi wrote:
> On Wed, Nov 13, 2024 at 10:25:46AM +0530, Riana Tauro wrote:
>> add a function to convert xe hw engine class to
>> user engine class
> 
> a bit of why would be desired here.
> 
> I noticed that it is now used by patch 7 on PMU, but some words
> here would be better.
Will add details here. Added it to hw_engine to avoid duplication of 
code in pmu

Thanks
Riana
> 
>>
>> Signed-off-by: Riana Tauro <riana.tauro@intel.com>
>> ---
>>   drivers/gpu/drm/xe/xe_hw_engine.c | 25 +++++++++++++++++++++++++
>>   drivers/gpu/drm/xe/xe_hw_engine.h |  1 +
>>   drivers/gpu/drm/xe/xe_query.c     | 12 ++----------
>>   3 files changed, 28 insertions(+), 10 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/xe/xe_hw_engine.c b/drivers/gpu/drm/xe/xe_hw_engine.c
>> index 1557acee3523..ba40f2692f34 100644
>> --- a/drivers/gpu/drm/xe/xe_hw_engine.c
>> +++ b/drivers/gpu/drm/xe/xe_hw_engine.c
>> @@ -981,6 +981,31 @@ const char *xe_hw_engine_class_to_str(enum xe_engine_class class)
>>   	return NULL;
>>   }
>>   
>> +/**
>> + * xe_hw_engine_to_user_class - converts xe hw engine to user engine class
>> + * @engine_class: hw engine class
>> + *
>> + * Returns: user engine class on success, -1 on error
>> + */
>> +u16 xe_hw_engine_to_user_class(enum xe_engine_class engine_class)
>> +{
>> +	switch (engine_class) {
>> +	case XE_ENGINE_CLASS_RENDER:
>> +		return DRM_XE_ENGINE_CLASS_RENDER;
>> +	case XE_ENGINE_CLASS_COPY:
>> +		return DRM_XE_ENGINE_CLASS_COPY;
>> +	case XE_ENGINE_CLASS_VIDEO_DECODE:
>> +		return DRM_XE_ENGINE_CLASS_VIDEO_DECODE;
>> +	case XE_ENGINE_CLASS_VIDEO_ENHANCE:
>> +		return DRM_XE_ENGINE_CLASS_VIDEO_ENHANCE;
>> +	case XE_ENGINE_CLASS_COMPUTE:
>> +		return DRM_XE_ENGINE_CLASS_COMPUTE;
>> +	default:
>> +		XE_WARN_ON(engine_class);
>> +		return -1;
>> +	}
>> +}
>> +
>>   u64 xe_hw_engine_read_timestamp(struct xe_hw_engine *hwe)
>>   {
>>   	return xe_mmio_read64_2x32(&hwe->gt->mmio, RING_TIMESTAMP(hwe->mmio_base));
>> diff --git a/drivers/gpu/drm/xe/xe_hw_engine.h b/drivers/gpu/drm/xe/xe_hw_engine.h
>> index da0a6922a26f..3aca7751a482 100644
>> --- a/drivers/gpu/drm/xe/xe_hw_engine.h
>> +++ b/drivers/gpu/drm/xe/xe_hw_engine.h
>> @@ -74,6 +74,7 @@ static inline bool xe_hw_engine_is_valid(struct xe_hw_engine *hwe)
>>   
>>   const char *xe_hw_engine_class_to_str(enum xe_engine_class class);
>>   u64 xe_hw_engine_read_timestamp(struct xe_hw_engine *hwe);
>> +u16 xe_hw_engine_to_user_class(enum xe_engine_class engine_class);
>>   enum xe_force_wake_domains xe_hw_engine_to_fw_domain(struct xe_hw_engine *hwe);
>>   
>>   void xe_hw_engine_mmio_write32(struct xe_hw_engine *hwe, struct xe_reg reg, u32 val);
>> diff --git a/drivers/gpu/drm/xe/xe_query.c b/drivers/gpu/drm/xe/xe_query.c
>> index 170ae72d1a7b..98b036678eee 100644
>> --- a/drivers/gpu/drm/xe/xe_query.c
>> +++ b/drivers/gpu/drm/xe/xe_query.c
>> @@ -26,14 +26,6 @@
>>   #include "xe_ttm_vram_mgr.h"
>>   #include "xe_wa.h"
>>   
>> -static const u16 xe_to_user_engine_class[] = {
>> -	[XE_ENGINE_CLASS_RENDER] = DRM_XE_ENGINE_CLASS_RENDER,
>> -	[XE_ENGINE_CLASS_COPY] = DRM_XE_ENGINE_CLASS_COPY,
>> -	[XE_ENGINE_CLASS_VIDEO_DECODE] = DRM_XE_ENGINE_CLASS_VIDEO_DECODE,
>> -	[XE_ENGINE_CLASS_VIDEO_ENHANCE] = DRM_XE_ENGINE_CLASS_VIDEO_ENHANCE,
>> -	[XE_ENGINE_CLASS_COMPUTE] = DRM_XE_ENGINE_CLASS_COMPUTE,
>> -};
>> -
>>   static const enum xe_engine_class user_to_xe_engine_class[] = {
>>   	[DRM_XE_ENGINE_CLASS_RENDER] = XE_ENGINE_CLASS_RENDER,
>>   	[DRM_XE_ENGINE_CLASS_COPY] = XE_ENGINE_CLASS_COPY,
>> @@ -206,7 +198,7 @@ static int query_engines(struct xe_device *xe,
>>   				continue;
>>   
>>   			engines->engines[i].instance.engine_class =
>> -				xe_to_user_engine_class[hwe->class];
>> +				xe_hw_engine_to_user_class(hwe->class);
>>   			engines->engines[i].instance.engine_instance =
>>   				hwe->logical_instance;
>>   			engines->engines[i].instance.gt_id = gt->info.id;
>> @@ -677,7 +669,7 @@ static int query_oa_units(struct xe_device *xe,
>>   				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];
>> +						xe_hw_engine_to_user_class(hwe->class);
>>   					du->eci[j].engine_instance = hwe->logical_instance;
>>   					du->eci[j].gt_id = gt->info.id;
>>   					j++;
>> -- 
>> 2.40.0
>>


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

* Re: [PATCH 5/7] drm/xe: Add single engine busyness support
  2024-11-15  0:08   ` Umesh Nerlige Ramappa
@ 2024-11-18  7:33     ` Riana Tauro
  0 siblings, 0 replies; 26+ messages in thread
From: Riana Tauro @ 2024-11-18  7:33 UTC (permalink / raw)
  To: Umesh Nerlige Ramappa
  Cc: intel-xe, anshuman.gupta, rodrigo.vivi, vinay.belgaumkar,
	aravind.iddamsetty, john.c.harrison, ashutosh.dixit,
	soham.purkait

Hi Umesh

Thank you for the review comments

On 11/15/2024 5:38 AM, Umesh Nerlige Ramappa wrote:
> On Wed, Nov 13, 2024 at 10:25:47AM +0530, Riana Tauro wrote:
>> GuC provides support to read engine active counters to calculate the
>> engine utilization. KMD exposes two counters via the PMU interface to
>> calculate engine busyness
>>
>> Engine Active Ticks(<engine>-busy-ticks-gt<n>) - number of active ticks
>>                          for engine
>> Total Ticks (<engine>-total-ticks-gt<n>) - total ticks GT has been active
>>
>> Busyness percentage can be calculated as below
>> busyness % = (engine active ticks/total ticks) * 100.
>>
>> Signed-off-by: Riana Tauro <riana.tauro@intel.com>
> 
> Some minor comments below,
>> ---
>> drivers/gpu/drm/xe/Makefile                   |   1 +
>> drivers/gpu/drm/xe/abi/guc_actions_abi.h      |   1 +
>> drivers/gpu/drm/xe/regs/xe_gt_regs.h          |   2 +
>> drivers/gpu/drm/xe/xe_engine_activity.c       | 317 ++++++++++++++++++
>> drivers/gpu/drm/xe/xe_engine_activity.h       |  18 +
>> drivers/gpu/drm/xe/xe_engine_activity_types.h |  85 +++++
>> drivers/gpu/drm/xe/xe_guc_fwif.h              |  19 ++
>> drivers/gpu/drm/xe/xe_guc_types.h             |   4 +
>> 8 files changed, 447 insertions(+)
>> create mode 100644 drivers/gpu/drm/xe/xe_engine_activity.c
>> create mode 100644 drivers/gpu/drm/xe/xe_engine_activity.h
>> create mode 100644 drivers/gpu/drm/xe/xe_engine_activity_types.h
>>
> 
> [snip]
> 
>> +static u64 get_engine_active_ticks(struct xe_guc *guc, struct 
>> xe_hw_engine *hwe)
>> +{
>> +    struct engine_activity *ea = hw_engine_to_engine_activity(hwe);
>> +    struct guc_engine_activity *cached_activity = &ea->activity;
>> +    struct guc_engine_activity_metadata *cached_metadata = &ea- 
>> >metadata;
>> +    struct xe_engine_activity *engine_busy = &guc->engine_busy;
>> +    struct activity_buffer *device_buffer = &engine_busy->device_buffer;
>> +    struct xe_device *xe =  guc_to_xe(guc);
>> +    struct xe_gt *gt = guc_to_gt(guc);
>> +
>> +    u16 guc_class = xe_engine_class_to_guc_class(hwe->class);
>> +    size_t offset = offsetof(struct guc_engine_activity_data,
>> +                 engine_activity[guc_class][hwe->logical_instance]);
>> +    struct iosys_map engine_activity_map = 
>> IOSYS_MAP_INIT_OFFSET(activity_to_map(device_buffer),
>> +                                     offset);
>> +    u32 last_update_tick, global_change_num;
>> +    u64 active_ticks, gpm_ts;
>> +    u16 change_num;
>> +
>> +    global_change_num = read_metadata_record(xe, device_buffer, 
>> global_change_num);
>> +
>> +    /* GuC has not initialized activity data yet, return 0 */
>> +    if (!global_change_num)
>> +        goto update;
>> +
>> +    if (global_change_num == cached_metadata->global_change_num)
>> +        goto update;
>> +    else
>> +        cached_metadata->global_change_num = global_change_num;
>> +
>> +    change_num = read_engine_activity_record(xe, 
>> &engine_activity_map, change_num);
>> +
>> +    if (!change_num || change_num == cached_activity->change_num)
>> +        goto update;
>> +
>> +    /* read engine activity values */
>> +    last_update_tick = read_engine_activity_record(xe, 
>> &engine_activity_map, last_update_tick);
>> +    active_ticks = read_engine_activity_record(xe, 
>> &engine_activity_map, active_ticks);
> 
> Whatever we read from the metadata record and the activity record could 
> be added to a trace call so that we can debug issues using ftrace when 
> needed.
Sure will add this
> 
>> +
>> +    /* activity calculations */
>> +    ea->running = !!last_update_tick;
>> +    ea->total += active_ticks - cached_activity->active_ticks;
>> +    ea->active = 0;
>> +
>> +    /* cache the counter */
>> +    cached_activity->change_num = change_num;
>> +    cached_activity->last_update_tick = last_update_tick;
>> +    cached_activity->active_ticks = active_ticks;
>> +
>> +update:
>> +    if (ea->running) {
>> +        gpm_ts  = xe_mmio_read64_2x32(&gt->mmio, MISC_STATUS_0) >>
> 
> extra space after gpm_ts ^.
> 
> Also, does the mmio read require a forcewake here?
> 
Thanks for catching this. This needs a forcewake
>> +              engine_busy->gpm_timestamp_shift;
>> +        ea->active = lower_32_bits(gpm_ts) - cached_activity- 
>> >last_update_tick;
>> +    }
>> +
>> +    return ea->total + ea->active;
>> +}
>> +
> 
> [snip]
> 
>> +static u32 gpm_timestamp_shift(struct xe_gt *gt)
>> +{
>> +    u32 reg;
>> +
>> +    reg = xe_mmio_read32(&gt->mmio, RPM_CONFIG0);
> 
> Does the mmio read require a forcewake here?
This doesn't require a forcewake
> 
>> +
>> +    return 3 - REG_FIELD_GET(RPM_CONFIG0_CTC_SHIFT_PARAMETER_MASK, reg);
>> +}
> 
> [snip]
> 
>> +struct engine_activity {
>> +    /** @active: current activity */
>> +    u64 active;
>> +
>> +    /** @last_cpu_ts: cpu timestamp in nsec of previous sample */
>> +    u64 last_cpu_ts;
>> +
>> +    /** @quanta: total quanta used on HW */
>> +    u64 quanta;
>> +
>> +    /** @quanta_ns: total quanta_ns used on HW */
>> +    u64 quanta_ns;
>> +
>> +    /**
>> +     * @quanta_remainder_ns: remainder when the CPU time is scaled as
>> +     * per the quanta_ratio. This remainder is used insubsequent
> 
> s/insubsequent/in subsequent/
Will fix this.

Thanks
Riana Tauro
> 
> Thanks,
> Umesh


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

* Re: [PATCH 6/7] drm/xe/guc: Expose engine busyness only for supported GuC version
  2024-11-15  0:12   ` Umesh Nerlige Ramappa
@ 2024-11-18  7:37     ` Riana Tauro
  2024-11-18 23:32       ` Umesh Nerlige Ramappa
  0 siblings, 1 reply; 26+ messages in thread
From: Riana Tauro @ 2024-11-18  7:37 UTC (permalink / raw)
  To: Umesh Nerlige Ramappa
  Cc: intel-xe, anshuman.gupta, rodrigo.vivi, vinay.belgaumkar,
	aravind.iddamsetty, john.c.harrison, ashutosh.dixit,
	soham.purkait

Hi Umesh

On 11/15/2024 5:42 AM, Umesh Nerlige Ramappa wrote:
> On Wed, Nov 13, 2024 at 10:25:48AM +0530, Riana Tauro wrote:
>> Engine busyness is supported only on GuC versions >= 70.32.0
>> Allow enabling/reading engine busyness only on supported
>> GuC versions. Warn once if not supported.
>>
>> Signed-off-by: Riana Tauro <riana.tauro@intel.com>
>> ---
>> drivers/gpu/drm/xe/xe_engine_activity.c | 22 ++++++++++++++++++++++
>> 1 file changed, 22 insertions(+)
>>
>> diff --git a/drivers/gpu/drm/xe/xe_engine_activity.c b/drivers/gpu/ 
>> drm/xe/xe_engine_activity.c
>> index 7a2ae09d23de..fc34dcf3057a 100644
>> --- a/drivers/gpu/drm/xe/xe_engine_activity.c
>> +++ b/drivers/gpu/drm/xe/xe_engine_activity.c
>> @@ -236,6 +236,16 @@ static u32 gpm_timestamp_shift(struct xe_gt *gt)
>>     return 3 - REG_FIELD_GET(RPM_CONFIG0_CTC_SHIFT_PARAMETER_MASK, reg);
>> }
>>
>> +static bool guc_engine_activity_supported(struct xe_guc *guc)
>> +{
>> +    if (GUC_FIRMWARE_VER(guc) >= MAKE_GUC_VER(70, 32, 0))
>> +        return true;
>> +
>> +    drm_WARN_ON_ONCE(&guc_to_xe(guc)->drm,
>> +             "Engine busyness not supported in this GuC version\n");
>> +    return false;
>> +}
>> +
>> /**
>>  * xe_engine_activity_get_active_ticks - Get engine active ticks
>>  * @hwe: The hw_engine object
>> @@ -246,6 +256,9 @@ u64 xe_engine_activity_get_active_ticks(struct 
>> xe_hw_engine *hwe)
>> {
>>     struct xe_guc *guc =  &hwe->gt->uc.guc;
>>
>> +    if (!guc_engine_activity_supported(guc))
>> +        return 0;
>> +
>>     return get_engine_active_ticks(guc, hwe);
>> }
>>
>> @@ -259,6 +272,9 @@ u64 xe_engine_activity_get_total_ticks(struct 
>> xe_hw_engine *hwe)
>> {
>>     struct xe_guc *guc =  &hwe->gt->uc.guc;
>>
>> +    if (!guc_engine_activity_supported(guc))
> 
> Hmm, not sure my response to this landed on the ML. Sending again..
> 
> If GuC is an older version and UMDs have implemented the new interface, 
> we could return CPU time in ticks here so that UMDs will still be able 
> to use something in the denominator instead of a divide by zero. Busy 
> value will still be 0. Thoughts?
We could do this. But shouldn't UMD only read total ticks if they see an 
actual busyness? Busyness % will anyway be 0 even if we return the cpu 
time in ticks

Thanks
Riana Tauro
> 
> Umesh
> 
>> +        return 0;
>> +
>>     return get_engine_total_ticks(guc, hwe);
>> }


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

* Re: [PATCH 6/7] drm/xe/guc: Expose engine busyness only for supported GuC version
  2024-11-18  7:37     ` Riana Tauro
@ 2024-11-18 23:32       ` Umesh Nerlige Ramappa
  0 siblings, 0 replies; 26+ messages in thread
From: Umesh Nerlige Ramappa @ 2024-11-18 23:32 UTC (permalink / raw)
  To: Riana Tauro
  Cc: intel-xe, anshuman.gupta, rodrigo.vivi, vinay.belgaumkar,
	aravind.iddamsetty, john.c.harrison, ashutosh.dixit,
	soham.purkait

On Mon, Nov 18, 2024 at 01:07:32PM +0530, Riana Tauro wrote:
>Hi Umesh
>
>On 11/15/2024 5:42 AM, Umesh Nerlige Ramappa wrote:
>>On Wed, Nov 13, 2024 at 10:25:48AM +0530, Riana Tauro wrote:
>>>Engine busyness is supported only on GuC versions >= 70.32.0
>>>Allow enabling/reading engine busyness only on supported
>>>GuC versions. Warn once if not supported.
>>>
>>>Signed-off-by: Riana Tauro <riana.tauro@intel.com>
>>>---
>>>drivers/gpu/drm/xe/xe_engine_activity.c | 22 ++++++++++++++++++++++
>>>1 file changed, 22 insertions(+)
>>>
>>>diff --git a/drivers/gpu/drm/xe/xe_engine_activity.c 
>>>b/drivers/gpu/ drm/xe/xe_engine_activity.c
>>>index 7a2ae09d23de..fc34dcf3057a 100644
>>>--- a/drivers/gpu/drm/xe/xe_engine_activity.c
>>>+++ b/drivers/gpu/drm/xe/xe_engine_activity.c
>>>@@ -236,6 +236,16 @@ static u32 gpm_timestamp_shift(struct xe_gt *gt)
>>>    return 3 - REG_FIELD_GET(RPM_CONFIG0_CTC_SHIFT_PARAMETER_MASK, reg);
>>>}
>>>
>>>+static bool guc_engine_activity_supported(struct xe_guc *guc)
>>>+{
>>>+    if (GUC_FIRMWARE_VER(guc) >= MAKE_GUC_VER(70, 32, 0))
>>>+        return true;
>>>+
>>>+    drm_WARN_ON_ONCE(&guc_to_xe(guc)->drm,
>>>+             "Engine busyness not supported in this GuC version\n");
>>>+    return false;
>>>+}
>>>+
>>>/**
>>> * xe_engine_activity_get_active_ticks - Get engine active ticks
>>> * @hwe: The hw_engine object
>>>@@ -246,6 +256,9 @@ u64 xe_engine_activity_get_active_ticks(struct 
>>>xe_hw_engine *hwe)
>>>{
>>>    struct xe_guc *guc =  &hwe->gt->uc.guc;
>>>
>>>+    if (!guc_engine_activity_supported(guc))
>>>+        return 0;
>>>+
>>>    return get_engine_active_ticks(guc, hwe);
>>>}
>>>
>>>@@ -259,6 +272,9 @@ u64 xe_engine_activity_get_total_ticks(struct 
>>>xe_hw_engine *hwe)
>>>{
>>>    struct xe_guc *guc =  &hwe->gt->uc.guc;
>>>
>>>+    if (!guc_engine_activity_supported(guc))
>>
>>Hmm, not sure my response to this landed on the ML. Sending again..
>>
>>If GuC is an older version and UMDs have implemented the new 
>>interface, we could return CPU time in ticks here so that UMDs will 
>>still be able to use something in the denominator instead of a 
>>divide by zero. Busy value will still be 0. Thoughts?
>We could do this. But shouldn't UMD only read total ticks if they see 
>an actual busyness? Busyness % will anyway be 0 even if we return the 
>cpu time in ticks

Well, I think we shouldn't have to impose that condition on the UMDs - 
read total ticks only if engine busy ticks is non-zero. At the same time 
they should not use a zero delta in the denominator anyways, so you can 
ignore this for now. We can add it if there's an issue later.

Thanks,
Umesh

>
>Thanks
>Riana Tauro
>>
>>Umesh
>>
>>>+        return 0;
>>>+
>>>    return get_engine_total_ticks(guc, hwe);
>>>}
>

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

end of thread, other threads:[~2024-11-18 23:32 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-13  4:55 [PATCH 0/7] Add PMU support for single engine busyness Riana Tauro
2024-11-13  4:55 ` [PATCH 1/7] [DO NOT REVIEW] drm/xe/pmu: Enable PMU interface Riana Tauro
2024-11-13  4:55 ` [PATCH 2/7] [DO NOT REVIEW] drm/xe/pmu: Add GT C6 events Riana Tauro
2024-11-13  4:55 ` [PATCH 3/7] [DO NOT REVIEW] drm/xe/pmu: Add GT frequency events Riana Tauro
2024-11-13  4:55 ` [PATCH 4/7] drm/xe: add function to convert xe hw engine class to user class Riana Tauro
2024-11-14 16:14   ` Umesh Nerlige Ramappa
2024-11-15  7:18     ` Riana Tauro
2024-11-14 17:46   ` Rodrigo Vivi
2024-11-15  7:21     ` Riana Tauro
2024-11-13  4:55 ` [PATCH 5/7] drm/xe: Add single engine busyness support Riana Tauro
2024-11-15  0:08   ` Umesh Nerlige Ramappa
2024-11-18  7:33     ` Riana Tauro
2024-11-13  4:55 ` [PATCH 6/7] drm/xe/guc: Expose engine busyness only for supported GuC version Riana Tauro
2024-11-14 21:12   ` Umesh Nerlige Ramappa
2024-11-15  0:12   ` Umesh Nerlige Ramappa
2024-11-18  7:37     ` Riana Tauro
2024-11-18 23:32       ` Umesh Nerlige Ramappa
2024-11-13  4:55 ` [PATCH 7/7] drm/xe/pmu: Add PMU support for engine busyness Riana Tauro
2024-11-13 14:41 ` ✓ CI.Patch_applied: success for Add PMU support for single " Patchwork
2024-11-13 14:42 ` ✗ CI.checkpatch: warning " Patchwork
2024-11-13 14:43 ` ✓ CI.KUnit: success " Patchwork
2024-11-13 14:55 ` ✓ CI.Build: " Patchwork
2024-11-13 14:57 ` ✗ CI.Hooks: failure " Patchwork
2024-11-13 14:59 ` ✓ CI.checksparse: success " Patchwork
2024-11-13 15:19 ` ✗ CI.BAT: failure " Patchwork
2024-11-13 21:22 ` ✓ CI.FULL: success " Patchwork

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