Skip to contentSkip to conversation

drm/xe/hwmon: Update hwmon thermal mailbox

PATCH Superseded Karthik Poosa 3 participants 21 messages Sep 24

Subsystems (2)

v4 of 14 Superseded Latest is v14 →

lore
Share & tools
lore
#0 lore raw

v4 cover drm/xe/hwmon: Update hwmon thermal mailbox

MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This series adds CRI-specific temperature sensor handling to the Xe hwmon implementation and fixes couple of hwmon issues.

CRI platforms may report unavailable temperature sensors and support a variable number of VRAM temperature channels depending on platform configuration. This series adds the required sensor presence checks and uses platform-reported thermal configuration data to expose only valid temperature-related hwmon attributes.

The series also corrects the telemetry group selection used for memory controller temperature reporting.

v2:
- Address review comments from Sashiko, Badal and Raag.
- Enable IEEE 754 temperature decoding for MMIO temperature registers.
- Split sensor validity check into mailbox vs MMIO handling; add

    is_temp_available() / is_temp_is_visible().

- Temporarily disable memory controller and PCIe temperatures on CRI.

v3:
- Detect unavailable temperature sensors: rephrase a debug log.
- Decode mailbox temperatures as 8-bit sign-magnitude values instead of

    s8.

- Use VRAM temperature sensor count from thermal config on CRI: address review comments from [email protected] and Rodrigo.
- Decode CRI temperature registers as IEEE-754: reject temperatures that overflow long on 32-bit systems.

v4:
- Address review comments and issues report from Rodrigo and [email protected].
- Decode mailbox temperatures as 8-bit sign-magnitude values.
- Cache sensor availability during registration.
- Enable memory controller and pcie sensors for CRI.
- Derive the VRAM channel count from the CRI MSU enable mask.
- Use CRI-specific package and VRAM temperature registers.
- Handle the CRI memory controller and pcie sensor offsets as per CRI.

Karthik Poosa (13):
drm/xe/hwmon: Handle pcode read failures of
xe_hwmon_pcode_rmw_power_limit
drm/xe/hwmon: Decode mailbox temperature as sign-magnitude drm/xe/hwmon: Fix memory controller thermal data handling drm/xe/hwmon: Add helpers to validate thermal sensor readings drm/xe/hwmon: Handle unavailable memory controller sensors drm/xe/hwmon: Detect unavailable PCIe thermal sensors drm/xe/hwmon: Consolidate temperature sensor availability checks drm/xe/hwmon: Cache temperature availability to reduce probe time drm/xe/hwmon: Add platform-aware VRAM thermal channel support drm/xe/hwmon: use CRI-specific package and VRAM temperature registers drm/xe/hwmon: Decode CRI temperature registers as IEEE-754 drm/xe/hwmon: Update memory controller temperature offset for CRI drm/xe/hwmon: Update PCIE temperature sensor offset for CRI

 drivers/gpu/drm/xe/regs/xe_pcode_regs.h |   3 +
 drivers/gpu/drm/xe/xe_device_types.h    |   4 +
 drivers/gpu/drm/xe/xe_hwmon.c           | 452 ++++++++++++++++++++----
 drivers/gpu/drm/xe/xe_pci.c             |   4 +
 drivers/gpu/drm/xe/xe_pci_types.h       |   2 +
 5 files changed, 393 insertions(+), 72 deletions(-)
Signature · 1 line
2.25.1
#1 lore raw

PATCH v4 1/13 drm/xe/hwmon: Handle pcode read failures of xe_hwmon_pcode_rmw_power_limit

Return early when the pcode read operation fails in xe_hwmon_pcode_rmw_power_limit() and check the returned error in callers to avoid updating power limit settings with invalid data.

Fixes 8aa7306631f0 ("drm/xe/hwmon: Fix xe_hwmon_power_max_write")
---
 drivers/gpu/drm/xe/xe_hwmon.c | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)
drivers/gpu/drm/xe/xe_hwmon.c +12 -6
index 5edeac961ec3..514573f172eb 100644
@@ -232,9 +232,11 @@ static int xe_hwmon_pcode_rmw_power_limit(const struct xe_hwmon *hwmon, u32 attr
 						  READ_PSYSGPU_POWER_LIMIT :
 						  READ_PACKAGE_POWER_LIMIT,
 						  prepare_power_limit_param2(hwmon)), &val0, &val1);
-	if (ret)
-		drm_dbg(&hwmon->xe->drm, "read failed ch %d val0 0x%08x, val1 0x%08x, ret %d\n",
+	if (ret) {
+		drm_err(&hwmon->xe->drm, "read failed ch %d val0 0x%08x, val1 0x%08x, ret %d\n",
 			channel, val0, val1, ret);
+		return ret;
+	}
 
 	if (attr == PL1_HWMON_ATTR)
 		val0 = (val0 & ~clr) | set;
@@ -394,7 +396,9 @@ static int xe_hwmon_power_max_write(struct xe_hwmon *hwmon, u32 attr, int channe
 		if (hwmon->xe->info.has_mbx_power_limits) {
 			drm_dbg(&hwmon->xe->drm, "disabling %s on channel %d\n",
 				PWR_ATTR_TO_STR(attr), channel);
-			xe_hwmon_pcode_rmw_power_limit(hwmon, attr, channel, PWR_LIM_EN, 0);
+			ret = xe_hwmon_pcode_rmw_power_limit(hwmon, attr, channel, PWR_LIM_EN, 0);
+			if (ret)
+				goto unlock;
 			xe_hwmon_pcode_read_power_limit(hwmon, attr, channel, &reg_val);
 		} else {
 			reg_val = xe_mmio_rmw32(mmio, rapl_limit, PWR_LIM_EN, 0);
@@ -679,11 +683,13 @@ xe_hwmon_power_max_interval_store(struct device *dev, struct device_attribute *a
 
 	mutex_lock(&hwmon->hwmon_lock);
 
-	if (hwmon->xe->info.has_mbx_power_limits)
-		xe_hwmon_pcode_rmw_power_limit(hwmon, power_attr, channel, PWR_LIM_TIME, rxy);
-	else
+	if (hwmon->xe->info.has_mbx_power_limits) {
+		if (xe_hwmon_pcode_rmw_power_limit(hwmon, power_attr, channel, PWR_LIM_TIME, rxy))
+			count = 0;
+	} else {
 		r = xe_mmio_rmw32(mmio, xe_hwmon_get_reg(hwmon, REG_PKG_RAPL_LIMIT, channel),
 				  PWR_LIM_TIME, rxy);
+	}
 
 	mutex_unlock(&hwmon->hwmon_lock);
 
Signature · 1 line
2.25.1
#2 lore raw

Re: [PATCH i-g-t v4 01/13] drm/xe/hwmon: Handle pcode read failures of xe_hwmon_pcode_rmw_power_limit

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [Medium] sysfs: returning 0 on error in xe_hwmon_power_max_interval_store() causes infinite userspace…

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] sysfs: returning 0 on error in xe_hwmon_power_max_interval_store() causes infinite userspace loops --

commit 719c9331149239878e8f9d385268d89b8d17624f
Author: Karthik Poosa <[email protected]>

drm/xe/hwmon: Handle pcode read failures of xe_hwmon_pcode_rmw_power_limit

This patch handles pcode read failures in xe_hwmon_pcode_rmw_power_limit() by returning early and checking the error in callers. This prevents power limit settings from being updated with invalid data when the hardware read fails.

Quoted 4 lines
drivers/gpu/drm/xe/xe_hwmon.c +0 -0
index 5edeac961ec33..514573f172ebb 100644

[ ... ]

drivers/gpu/drm/xe/xe_hwmon.c xe_hwmon_power_max_interval_store(struct device *dev, struct device_attribute *a · line 688

Quoted 10 lines
drivers/gpu/drm/xe/xe_hwmon.c +3 -3
@@ -679,11 +683,13 @@ xe_hwmon_power_max_interval_store(struct device *dev, struct device_attribute *a
 
 	mutex_lock(&hwmon->hwmon_lock);
 
-	if (hwmon->xe->info.has_mbx_power_limits)
-		xe_hwmon_pcode_rmw_power_limit(hwmon, power_attr, channel, PWR_LIM_TIME, rxy);
-	else
+	if (hwmon->xe->info.has_mbx_power_limits) {
+		if (xe_hwmon_pcode_rmw_power_limit(hwmon, power_attr, channel, PWR_LIM_TIME, rxy))
+			count = 0;

[Severity: Medium]
Could setting count to 0 here instead of returning a negative error code cause an infinite loop in userspace tools?

Returning 0 from a sysfs store callback like xe_hwmon_power_max_interval_store() tells the VFS that 0 bytes were written. Many userspace writers, including bash loops and standard library buffered writers, will interpret a 0-byte write as a signal to retry the write indefinitely.

If the underlying pcode mailbox hardware operation fails, would it be better to propagate the negative error code (such as the return value of xe_hwmon_pcode_rmw_power_limit()) so the userspace write operation properly fails?

Quoted 7 lines
drivers/gpu/drm/xe/xe_hwmon.c +2 -0
+	} else {
 		r = xe_mmio_rmw32(mmio, xe_hwmon_get_reg(hwmon, REG_PKG_RAPL_LIMIT, channel),
 				  PWR_LIM_TIME, rxy);
+	}
 
 	mutex_unlock(&hwmon->hwmon_lock);
 
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
#3 lore raw

PATCH v4 2/13 drm/xe/hwmon: Decode mailbox temperature as sign-magnitude

In reply to Karthik Poosa

The mailbox temperature is an 8-bit sign-magnitude value (bit 7 sign, bits 6:0 magnitude, range -127..127), not two's-complement. Casting the raw byte to s8 decodes negative readings incorrectly.

Add mbx_temp_decode(), store the raw byte as u8, and use it in get_mc_temp() and get_pcie_temp() so temperatures are decoded correctly.

Fixes 3a0cb885e111 ("drm/xe/hwmon: Expose memory controller temperature")
---
 drivers/gpu/drm/xe/xe_hwmon.c | 20 ++++++++++++++++----
 1 file changed, 16 insertions(+), 4 deletions(-)
drivers/gpu/drm/xe/xe_hwmon.c +16 -4
index 514573f172eb..d82da9be9e5b 100644
@@ -104,6 +104,10 @@ enum sensor_attr_power {
 /* Index of memory controller in READ_THERMAL_DATA output */
 #define TEMP_INDEX_MCTRL	2
 
+/* Mailbox temperature is sign-magnitude: bit 7 sign, bits 6:0 magnitude. */
+#define TEMP_MBX_SIGN		BIT(7)
+#define TEMP_MBX_MAG		GENMASK(6, 0)
+
 /* Maximum characters in hwmon label name */
 #define MAX_LABEL_SIZE		16
 
@@ -139,8 +143,8 @@ struct xe_hwmon_thermal_info {
 	};
 	/** @count: no of temperature sensors available for the platform */
 	u8 count;
-	/** @value: signed value from each sensor */
-	s8 value[U8_MAX];
+	/** @value: per-sensor raw mailbox temperature; bit7=sign, bits6:0=magnitude */
+	u8 value[U8_MAX];
 	/** @vram_label: vram label names */
 	char vram_label[MAX_VRAM_CHANNELS][MAX_LABEL_SIZE];
 };
@@ -814,6 +818,14 @@ static int xe_hwmon_pcode_read_thermal_info(struct xe_hwmon *hwmon)
 	return ret;
 }
 
+/* Decode an 8-bit sign-magnitude mailbox temperature to degrees Celsius. */
+static int mbx_temp_decode(u8 value)
+{
+	int temp = value & TEMP_MBX_MAG;
+
+	return (value & TEMP_MBX_SIGN) ? -temp : temp;
+}
+
 static int get_mc_temp(struct xe_hwmon *hwmon, long *val)
 {
 	struct xe_tile *root_tile = xe_device_get_root_tile(hwmon->xe);
@@ -830,7 +842,7 @@ static int get_mc_temp(struct xe_hwmon *hwmon, long *val)
 	}
 
 	for (i = TEMP_INDEX_MCTRL; i < hwmon->temp.count - 1; i++)
-		average += hwmon->temp.value[i];
+		average += mbx_temp_decode(hwmon->temp.value[i]);
 
 	average /= (hwmon->temp.count - TEMP_INDEX_MCTRL - 1);
 	*val = average * MILLIDEGREE_PER_DEGREE;
@@ -853,7 +865,7 @@ static int get_pcie_temp(struct xe_hwmon *hwmon, long *val)
 		data = REG_FIELD_GET(PCIE_SENSOR_MASK, data);
 
 	data = REG_FIELD_GET(TEMP_MASK, data);
-	*val = (s8)data * MILLIDEGREE_PER_DEGREE;
+	*val = mbx_temp_decode(data) * MILLIDEGREE_PER_DEGREE;
 
 	return 0;
 }
Signature · 1 line
2.25.1
#4 lore raw

PATCH v4 3/13 drm/xe/hwmon: Fix memory controller thermal data handling

In reply to Karthik Poosa

Read all required thermal groups in get_mc_temp() and use an aligned u32 buffer for PCODE accesses to avoid unaligned memory accesses and ensure correct MC temperature reporting.

Fixes 3a0cb885e111 ("drm/xe/hwmon: Expose memory controller temperature")
---
 drivers/gpu/drm/xe/xe_hwmon.c | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)
drivers/gpu/drm/xe/xe_hwmon.c +10 -6
index d82da9be9e5b..658b6902af7f 100644
@@ -143,8 +143,12 @@ struct xe_hwmon_thermal_info {
 	};
 	/** @count: no of temperature sensors available for the platform */
 	u8 count;
-	/** @value: per-sensor raw mailbox temperature; bit7=sign, bits6:0=magnitude */
-	u8 value[U8_MAX];
+	union {
+		/** @vavlue: per-sensor raw mailbox temperature; bit7=sign, bits6:0=magnitude */
+		u8 value[U8_MAX + 1];
+		/** @dword: sensor values as dwords, u32-aligned for pcode reads */
+		u32 dword[DIV_ROUND_UP(U8_MAX + 1, sizeof(u32))];
+	};
 	/** @vram_label: vram label names */
 	char vram_label[MAX_VRAM_CHANNELS][MAX_LABEL_SIZE];
 };
@@ -829,16 +833,16 @@ static int mbx_temp_decode(u8 value)
 static int get_mc_temp(struct xe_hwmon *hwmon, long *val)
 {
 	struct xe_tile *root_tile = xe_device_get_root_tile(hwmon->xe);
-	u32 *dword = (u32 *)hwmon->temp.value;
 	s32 average = 0;
 	int ret, i;
 
-	for (i = 0; i < DIV_ROUND_UP(TEMP_LIMIT_MAX, sizeof(u32)); i++) {
+	for (i = 0; i < DIV_ROUND_UP(hwmon->temp.count, sizeof(u32)); i++) {
 		ret = xe_pcode_read(root_tile, PCODE_MBOX(PCODE_THERMAL_INFO, READ_THERMAL_DATA, i),
-				    (dword + i), NULL);
+				    &hwmon->temp.dword[i], NULL);
 		if (ret)
 			return ret;
-		drm_dbg(&hwmon->xe->drm, "thermal data for group %d val 0x%x\n", i, dword[i]);
+		drm_dbg(&hwmon->xe->drm, "thermal data for group %d val 0x%x\n", i,
+			hwmon->temp.dword[i]);
 	}
 
 	for (i = TEMP_INDEX_MCTRL; i < hwmon->temp.count - 1; i++)
Signature · 1 line
2.25.1
#5 lore raw

Re: [PATCH i-g-t v4 03/13] drm/xe/hwmon: Fix memory controller thermal data handling

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [Low] doc: typo in struct xe_hwmon_thermal_info kernel-doc causes warning --

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] doc: typo in struct xe_hwmon_thermal_info kernel-doc causes warning --

commit 871f56e42943cda8c6cef9e6c91e26476b403061
Author: Karthik Poosa <[email protected]>

drm/xe/hwmon: Fix memory controller thermal data handling

This commit updates get_mc_temp() to read all required thermal groups and introduces an aligned u32 buffer for PCODE accesses. This avoids unaligned memory accesses and ensures accurate MC temperature reporting.

drivers/gpu/drm/xe/xe_hwmon.c struct xe_hwmon_thermal_info { · line 147

Quoted 12 lines
drivers/gpu/drm/xe/xe_hwmon.c +2 -2
index d82da9be9e5b1..658b6902af7f8 100644
@@ -143,8 +143,12 @@ struct xe_hwmon_thermal_info {
 	};
 	/** @count: no of temperature sensors available for the platform */
 	u8 count;
-	/** @value: per-sensor raw mailbox temperature; bit7=sign, bits6:0=magnitude */
-	u8 value[U8_MAX];
+	union {
+		/** @vavlue: per-sensor raw mailbox temperature; bit7=sign, bits6:0=magnitude */

[Severity: Low]
This isn't a bug, but there is a typo in the struct member documentation (vavlue instead of value) for xe_hwmon_thermal_info. This mismatch will cause documentation generation tools like scripts/kernel-doc to emit warnings.

Quoted 7 lines
drivers/gpu/drm/xe/xe_hwmon.c +4 -0
+		u8 value[U8_MAX + 1];
+		/** @dword: sensor values as dwords, u32-aligned for pcode reads */
+		u32 dword[DIV_ROUND_UP(U8_MAX + 1, sizeof(u32))];
+	};
 	/** @vram_label: vram label names */
 	char vram_label[MAX_VRAM_CHANNELS][MAX_LABEL_SIZE];
 };
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=3
#6 lore raw

PATCH v4 4/13 drm/xe/hwmon: Add helpers to validate thermal sensor readings

In reply to Karthik Poosa

Add mmio_temp_valid() and mbx_temp_valid() to check whether a temperature sensor reading is valid. An MMIO value of 0xFFFFFFFF or a mailbox value of 0xFF indicates the sensor is unavailable.

Gate these checks behind has_mbx_temp_sentinel, enabled on CRI currently.

---
 drivers/gpu/drm/xe/xe_device_types.h |  2 ++
 drivers/gpu/drm/xe/xe_hwmon.c        | 16 ++++++++++++++++
 drivers/gpu/drm/xe/xe_pci.c          |  2 ++
 drivers/gpu/drm/xe/xe_pci_types.h    |  1 +
 4 files changed, 21 insertions(+)
drivers/gpu/drm/xe/xe_device_types.h +2 -0
index 4661bfce2f4e..87554605fa41 100644
@@ -202,6 +202,8 @@ struct xe_device {
 		 * pcode mailbox commands.
 		 */
 		u8 has_mbx_power_limits:1;
+		/** @info.has_mbx_temp_sentinel: Device has temperature-unavailable sentinels */
+		u8 has_mbx_temp_sentinel:1;
 		/** @info.has_mbx_thermal_info: Device supports thermal mailbox commands */
 		u8 has_mbx_thermal_info:1;
 		/** @info.has_mem_copy_instr: Device supports MEM_COPY instruction */
drivers/gpu/drm/xe/xe_hwmon.c +16 -0
index 658b6902af7f..349423bf6f5a 100644
@@ -104,6 +104,9 @@ enum sensor_attr_power {
 /* Index of memory controller in READ_THERMAL_DATA output */
 #define TEMP_INDEX_MCTRL	2
 
+/* Mailbox sentinel reported for an unavailable temperature sensor */
+#define TEMP_MBX_INVALID	0xFF
+
 /* Mailbox temperature is sign-magnitude: bit 7 sign, bits 6:0 magnitude. */
 #define TEMP_MBX_SIGN		BIT(7)
 #define TEMP_MBX_MAG		GENMASK(6, 0)
@@ -822,6 +825,19 @@ static int xe_hwmon_pcode_read_thermal_info(struct xe_hwmon *hwmon)
 	return ret;
 }
 
+static inline bool mmio_temp_valid(const struct xe_hwmon *hwmon, u32 value)
+{
+	return hwmon->xe->info.has_mbx_temp_sentinel ? value != U32_MAX
+						     : value != 0;
+}
+
+/* Mailbox temperature is sign-magnitude (bit 7 sign, bits 6:0 magnitude). */
+static inline bool mbx_temp_valid(const struct xe_hwmon *hwmon, u8 value)
+{
+	return hwmon->xe->info.has_mbx_temp_sentinel ? value != TEMP_MBX_INVALID
+						     : value != 0;
+}
+
 /* Decode an 8-bit sign-magnitude mailbox temperature to degrees Celsius. */
 static int mbx_temp_decode(u8 value)
 {
drivers/gpu/drm/xe/xe_pci.c +2 -0
index d66d5a0339ae..e656fc012902 100644
@@ -476,6 +476,7 @@ static const struct xe_device_desc cri_desc = {
 	.has_gsc_nvm = 1,
 	.has_i2c = true,
 	.has_mbx_power_limits = true,
+	.has_mbx_temp_sentinel = true,
 	.has_mbx_thermal_info = true,
 	.has_mert = true,
 	.has_pre_prod_wa = 1,
@@ -796,6 +797,7 @@ static int xe_info_init_early(struct xe_device *xe,
 	/* runtime fusing may force flat_ccs to disabled later */
 	xe->info.has_flat_ccs = desc->has_flat_ccs;
 	xe->info.has_mbx_power_limits = desc->has_mbx_power_limits;
+	xe->info.has_mbx_temp_sentinel = desc->has_mbx_temp_sentinel;
 	xe->info.has_mbx_thermal_info = desc->has_mbx_thermal_info;
 	xe->info.has_gsc_nvm = desc->has_gsc_nvm;
 	xe->info.has_heci_gscfi = desc->has_heci_gscfi;
drivers/gpu/drm/xe/xe_pci_types.h +1 -0
index fed509ff601e..0041ec5676d3 100644
@@ -50,6 +50,7 @@ struct xe_device_desc {
 	u8 has_late_bind:1;
 	u8 has_llc:1;
 	u8 has_mbx_power_limits:1;
+	u8 has_mbx_temp_sentinel:1;
 	u8 has_mbx_thermal_info:1;
 	u8 has_mert:1;
 	u8 has_pre_prod_wa:1;
Signature · 1 line
2.25.1
#7 lore raw

PATCH v4 5/13 drm/xe/hwmon: Handle unavailable memory controller sensors

In reply to Karthik Poosa

Skip memory controller sensors that report invalid readings when computing the average temperature in get_mc_temp(). Return -ENXIO when no valid sensor data is available, and allow the helper to be used as an availability probe by making the output parameter optional.

Fixes 3a0cb885e111 ("drm/xe/hwmon: Expose memory controller temperature")
---
 drivers/gpu/drm/xe/xe_hwmon.c | 20 ++++++++++++++++----
 1 file changed, 16 insertions(+), 4 deletions(-)
drivers/gpu/drm/xe/xe_hwmon.c +16 -4
index 349423bf6f5a..905c3d6b3d3f 100644
@@ -849,8 +849,8 @@ static int mbx_temp_decode(u8 value)
 static int get_mc_temp(struct xe_hwmon *hwmon, long *val)
 {
 	struct xe_tile *root_tile = xe_device_get_root_tile(hwmon->xe);
+	int ret, i, count = 0;
 	s32 average = 0;
-	int ret, i;
 
 	for (i = 0; i < DIV_ROUND_UP(hwmon->temp.count, sizeof(u32)); i++) {
 		ret = xe_pcode_read(root_tile, PCODE_MBOX(PCODE_THERMAL_INFO, READ_THERMAL_DATA, i),
@@ -861,11 +861,23 @@ static int get_mc_temp(struct xe_hwmon *hwmon, long *val)
 			hwmon->temp.dword[i]);
 	}
 
-	for (i = TEMP_INDEX_MCTRL; i < hwmon->temp.count - 1; i++)
+	for (i = TEMP_INDEX_MCTRL; i < hwmon->temp.count - 1; i++) {
+		if (!mbx_temp_valid(hwmon, hwmon->temp.value[i]))
+			continue;
 		average += mbx_temp_decode(hwmon->temp.value[i]);
+		count++;
+	}
+
+	if (!count) {
+		drm_dbg(&hwmon->xe->drm, "Memory controller temperature unavailable!\n");
+		return -ENXIO;
+	}
+
+	average /= count;
+
+	if (val)
+		*val = average * MILLIDEGREE_PER_DEGREE;
 
-	average /= (hwmon->temp.count - TEMP_INDEX_MCTRL - 1);
-	*val = average * MILLIDEGREE_PER_DEGREE;
 	return 0;
 }
 
Signature · 1 line
2.25.1
#8 lore raw

PATCH v4 6/13 drm/xe/hwmon: Detect unavailable PCIe thermal sensors

In reply to Karthik Poosa

Return -ENXIO from get_pcie_temp() when the mailbox reports an invalid reading, so the PCIe sensor can be treated as unavailable. Guard the val store so the function can be used purely as an availability probe. No sysfs visibility changes.

---
 drivers/gpu/drm/xe/xe_hwmon.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
drivers/gpu/drm/xe/xe_hwmon.c +7 -1
index 905c3d6b3d3f..7bb7a5f402d1 100644
@@ -897,7 +897,13 @@ static int get_pcie_temp(struct xe_hwmon *hwmon, long *val)
 		data = REG_FIELD_GET(PCIE_SENSOR_MASK, data);
 
 	data = REG_FIELD_GET(TEMP_MASK, data);
-	*val = mbx_temp_decode(data) * MILLIDEGREE_PER_DEGREE;
+	if (!mbx_temp_valid(hwmon, data)) {
+		drm_dbg(&hwmon->xe->drm, "PCIe temperature not available\n");
+		return -ENXIO;
+	}
+
+	if (val)
+		*val = mbx_temp_decode(data) * MILLIDEGREE_PER_DEGREE;
 
 	return 0;
 }
Signature · 1 line
2.25.1
#9 lore raw

PATCH v4 7/13 drm/xe/hwmon: Consolidate temperature sensor availability checks

In reply to Karthik Poosa

Replace is_vram_ch_available() with a generalized is_temp_available() that validates PKG, VRAM, per-channel VRAM, memory controller and PCIe sensors using the new validity helpers. Rename the existing callers to the new helper.

Use is_temp_available() from xe_hwmon_temp_is_visible() so attributes for sensors that are not present are not exposed during hwmon registration.

Assisted-by LLM
---
 drivers/gpu/drm/xe/xe_hwmon.c | 64 ++++++++++++++++++++++-------------
 1 file changed, 40 insertions(+), 24 deletions(-)
drivers/gpu/drm/xe/xe_hwmon.c +40 -24
index 7bb7a5f402d1..d62f95a1912f 100644
@@ -1002,19 +1002,39 @@ static void xe_hwmon_get_voltage(struct xe_hwmon *hwmon, int channel, long *valu
 	*value = DIV_ROUND_CLOSEST(REG_FIELD_GET(VOLTAGE_MASK, reg_val) * 2500, SF_VOLTAGE);
 }
 
-static inline bool is_vram_ch_available(struct xe_hwmon *hwmon, int channel)
+static bool is_temp_available(struct xe_hwmon *hwmon, int channel)
 {
 	struct xe_mmio *mmio = xe_root_tile_mmio(hwmon->xe);
-	int vram_id = channel - CHANNEL_VRAM_N;
-	struct xe_reg vram_reg;
+	struct xe_reg reg;
+	u32 reg_val;
 
-	vram_reg = xe_hwmon_get_reg(hwmon, REG_TEMP, channel);
-	if (!xe_reg_is_valid(vram_reg) || !xe_mmio_read32(mmio, vram_reg))
-		return false;
+	switch (channel) {
+	case CHANNEL_PKG:
+	case CHANNEL_VRAM:
+	case CHANNEL_VRAM_N...CHANNEL_VRAM_N_MAX:
+		reg = xe_hwmon_get_reg(hwmon, REG_TEMP, channel);
+		if (!xe_reg_is_valid(reg))
+			return false;
+
+		reg_val = xe_mmio_read32(mmio, reg);
+		if (!mmio_temp_valid(hwmon, reg_val)) {
+			drm_dbg(&hwmon->xe->drm,
+				"channel %d temperature unavailable, val 0x%x\n", channel, reg_val);
+			return false;
+		}
+
+		if (channel >= CHANNEL_VRAM_N)
+			sprintf(hwmon->temp.vram_label[channel - CHANNEL_VRAM_N],
+				"vram_ch_%d", channel - CHANNEL_VRAM_N);
 
-	/* Create label only for available vram channel */
-	sprintf(hwmon->temp.vram_label[vram_id], "vram_ch_%d", vram_id);
-	return true;
+		return true;
+	case CHANNEL_MCTRL:
+		return hwmon->temp.count && !get_mc_temp(hwmon, NULL);
+	case CHANNEL_PCIE:
+		return hwmon->temp.count && !get_pcie_temp(hwmon, NULL);
+	default:
+		return false;
+	}
 }
 
 static umode_t
@@ -1024,14 +1044,13 @@ xe_hwmon_temp_is_visible(struct xe_hwmon *hwmon, u32 attr, int channel)
 	case hwmon_temp_emergency:
 		switch (channel) {
 		case CHANNEL_PKG:
-			return hwmon->temp.limit[TEMP_LIMIT_PKG_SHUTDOWN] ? 0444 : 0;
-		case CHANNEL_VRAM:
-			return hwmon->temp.limit[TEMP_LIMIT_MEM_SHUTDOWN] ? 0444 : 0;
 		case CHANNEL_MCTRL:
 		case CHANNEL_PCIE:
-			return hwmon->temp.count ? 0444 : 0;
+			return (is_temp_available(hwmon, channel) &&
+				hwmon->temp.limit[TEMP_LIMIT_PKG_SHUTDOWN]) ? 0444 : 0;
+		case CHANNEL_VRAM:
 		case CHANNEL_VRAM_N...CHANNEL_VRAM_N_MAX:
-			return (is_vram_ch_available(hwmon, channel) &&
+			return (is_temp_available(hwmon, channel) &&
 				hwmon->temp.limit[TEMP_LIMIT_MEM_SHUTDOWN]) ? 0444 : 0;
 		default:
 			return 0;
@@ -1039,14 +1058,13 @@ xe_hwmon_temp_is_visible(struct xe_hwmon *hwmon, u32 attr, int channel)
 	case hwmon_temp_crit:
 		switch (channel) {
 		case CHANNEL_PKG:
-			return hwmon->temp.limit[TEMP_LIMIT_PKG_CRIT] ? 0444 : 0;
-		case CHANNEL_VRAM:
-			return hwmon->temp.limit[TEMP_LIMIT_MEM_CRIT] ? 0444 : 0;
 		case CHANNEL_MCTRL:
 		case CHANNEL_PCIE:
-			return hwmon->temp.count ? 0444 : 0;
+			return (is_temp_available(hwmon, channel) &&
+				hwmon->temp.limit[TEMP_LIMIT_PKG_CRIT]) ? 0444 : 0;
+		case CHANNEL_VRAM:
 		case CHANNEL_VRAM_N...CHANNEL_VRAM_N_MAX:
-			return (is_vram_ch_available(hwmon, channel) &&
+			return (is_temp_available(hwmon, channel) &&
 				hwmon->temp.limit[TEMP_LIMIT_MEM_CRIT]) ? 0444 : 0;
 		default:
 			return 0;
@@ -1054,7 +1072,8 @@ xe_hwmon_temp_is_visible(struct xe_hwmon *hwmon, u32 attr, int channel)
 	case hwmon_temp_max:
 		switch (channel) {
 		case CHANNEL_PKG:
-			return hwmon->temp.limit[TEMP_LIMIT_PKG_MAX] ? 0444 : 0;
+			return (is_temp_available(hwmon, channel) &&
+				hwmon->temp.limit[TEMP_LIMIT_PKG_MAX]) ? 0444 : 0;
 		default:
 			return 0;
 		}
@@ -1063,13 +1082,10 @@ xe_hwmon_temp_is_visible(struct xe_hwmon *hwmon, u32 attr, int channel)
 		switch (channel) {
 		case CHANNEL_PKG:
 		case CHANNEL_VRAM:
-			return xe_reg_is_valid(xe_hwmon_get_reg(hwmon, REG_TEMP,
-								channel)) ? 0444 : 0;
 		case CHANNEL_MCTRL:
 		case CHANNEL_PCIE:
-			return hwmon->temp.count ? 0444 : 0;
 		case CHANNEL_VRAM_N...CHANNEL_VRAM_N_MAX:
-			return is_vram_ch_available(hwmon, channel) ? 0444 : 0;
+			return is_temp_available(hwmon, channel) ? 0444 : 0;
 		default:
 			return 0;
 		}
Signature · 1 line
2.25.1
#10 lore raw

PATCH v4 8/13 drm/xe/hwmon: Cache temperature availability to reduce probe time

In reply to Karthik Poosa

Avoid probing temperature sensor availability from the hwmon is_visible() callback. For MCTRL and PCIe channels, that path can trigger repeated blocking mailbox reads while sysfs attributes are being created, increasing probe time and making attribute creation sensitive to transient failures.

Probe temperature availability once during preregistration and cache the result for subsequent visibility checks.

Assisted-by LLM
---
 drivers/gpu/drm/xe/xe_hwmon.c | 39 +++++++++++++++++++++++------------
 1 file changed, 26 insertions(+), 13 deletions(-)
drivers/gpu/drm/xe/xe_hwmon.c +26 -13
index d62f95a1912f..cf5d51c68536 100644
@@ -146,6 +146,8 @@ struct xe_hwmon_thermal_info {
 	};
 	/** @count: no of temperature sensors available for the platform */
 	u8 count;
+	/** @available: temperature sensor availability cached at registration */
+	bool available[CHANNEL_MAX];
 	union {
 		/** @vavlue: per-sensor raw mailbox temperature; bit7=sign, bits6:0=magnitude */
 		u8 value[U8_MAX + 1];
@@ -1002,7 +1004,7 @@ static void xe_hwmon_get_voltage(struct xe_hwmon *hwmon, int channel, long *valu
 	*value = DIV_ROUND_CLOSEST(REG_FIELD_GET(VOLTAGE_MASK, reg_val) * 2500, SF_VOLTAGE);
 }
 
-static bool is_temp_available(struct xe_hwmon *hwmon, int channel)
+static bool xe_hwmon_temp_probe(struct xe_hwmon *hwmon, int channel)
 {
 	struct xe_mmio *mmio = xe_root_tile_mmio(hwmon->xe);
 	struct xe_reg reg;
@@ -1023,10 +1025,6 @@ static bool is_temp_available(struct xe_hwmon *hwmon, int channel)
 			return false;
 		}
 
-		if (channel >= CHANNEL_VRAM_N)
-			sprintf(hwmon->temp.vram_label[channel - CHANNEL_VRAM_N],
-				"vram_ch_%d", channel - CHANNEL_VRAM_N);
-
 		return true;
 	case CHANNEL_MCTRL:
 		return hwmon->temp.count && !get_mc_temp(hwmon, NULL);
@@ -1037,6 +1035,22 @@ static bool is_temp_available(struct xe_hwmon *hwmon, int channel)
 	}
 }
 
+static void xe_hwmon_init_temp_info(struct xe_hwmon *hwmon)
+{
+	int channel;
+
+	if (hwmon->xe->info.has_mbx_thermal_info && xe_hwmon_pcode_read_thermal_info(hwmon))
+		drm_warn(&hwmon->xe->drm, "Thermal mailbox not supported by card firmware\n");
+
+	for (channel = 0; channel < CHANNEL_MAX; channel++) {
+		hwmon->temp.available[channel] = xe_hwmon_temp_probe(hwmon, channel);
+		if (hwmon->temp.available[channel] &&
+		    in_range(channel, CHANNEL_VRAM_N, MAX_VRAM_CHANNELS))
+			snprintf(hwmon->temp.vram_label[channel - CHANNEL_VRAM_N], MAX_LABEL_SIZE,
+				 "vram_ch_%d", channel - CHANNEL_VRAM_N);
+	}
+}
+
 static umode_t
 xe_hwmon_temp_is_visible(struct xe_hwmon *hwmon, u32 attr, int channel)
 {
@@ -1046,11 +1060,11 @@ xe_hwmon_temp_is_visible(struct xe_hwmon *hwmon, u32 attr, int channel)
 		case CHANNEL_PKG:
 		case CHANNEL_MCTRL:
 		case CHANNEL_PCIE:
-			return (is_temp_available(hwmon, channel) &&
+			return (hwmon->temp.available[channel] &&
 				hwmon->temp.limit[TEMP_LIMIT_PKG_SHUTDOWN]) ? 0444 : 0;
 		case CHANNEL_VRAM:
 		case CHANNEL_VRAM_N...CHANNEL_VRAM_N_MAX:
-			return (is_temp_available(hwmon, channel) &&
+			return (hwmon->temp.available[channel] &&
 				hwmon->temp.limit[TEMP_LIMIT_MEM_SHUTDOWN]) ? 0444 : 0;
 		default:
 			return 0;
@@ -1060,11 +1074,11 @@ xe_hwmon_temp_is_visible(struct xe_hwmon *hwmon, u32 attr, int channel)
 		case CHANNEL_PKG:
 		case CHANNEL_MCTRL:
 		case CHANNEL_PCIE:
-			return (is_temp_available(hwmon, channel) &&
+			return (hwmon->temp.available[channel] &&
 				hwmon->temp.limit[TEMP_LIMIT_PKG_CRIT]) ? 0444 : 0;
 		case CHANNEL_VRAM:
 		case CHANNEL_VRAM_N...CHANNEL_VRAM_N_MAX:
-			return (is_temp_available(hwmon, channel) &&
+			return (hwmon->temp.available[channel] &&
 				hwmon->temp.limit[TEMP_LIMIT_MEM_CRIT]) ? 0444 : 0;
 		default:
 			return 0;
@@ -1072,7 +1086,7 @@ xe_hwmon_temp_is_visible(struct xe_hwmon *hwmon, u32 attr, int channel)
 	case hwmon_temp_max:
 		switch (channel) {
 		case CHANNEL_PKG:
-			return (is_temp_available(hwmon, channel) &&
+			return (hwmon->temp.available[channel] &&
 				hwmon->temp.limit[TEMP_LIMIT_PKG_MAX]) ? 0444 : 0;
 		default:
 			return 0;
@@ -1085,7 +1099,7 @@ xe_hwmon_temp_is_visible(struct xe_hwmon *hwmon, u32 attr, int channel)
 		case CHANNEL_MCTRL:
 		case CHANNEL_PCIE:
 		case CHANNEL_VRAM_N...CHANNEL_VRAM_N_MAX:
-			return is_temp_available(hwmon, channel) ? 0444 : 0;
+			return hwmon->temp.available[channel] ? 0444 : 0;
 		default:
 			return 0;
 		}
@@ -1627,8 +1641,7 @@ xe_hwmon_get_preregistration_info(struct xe_hwmon *hwmon)
 		if (xe_hwmon_is_visible(hwmon, hwmon_fan, hwmon_fan_input, channel))
 			xe_hwmon_fan_input_read(hwmon, channel, &fan_speed);
 
-	if (hwmon->xe->info.has_mbx_thermal_info && xe_hwmon_pcode_read_thermal_info(hwmon))
-		drm_warn(&hwmon->xe->drm, "Thermal mailbox not supported by card firmware\n");
+	xe_hwmon_init_temp_info(hwmon);
 }
 
 int xe_hwmon_register(struct xe_device *xe)
Signature · 1 line
2.25.1
#11 lore raw

PATCH v4 9/13 drm/xe/hwmon: Add platform-aware VRAM thermal channel support

In reply to Karthik Poosa

On CRI, derive the number of available VRAM temperature channels from the CRI_MSU_VRAM_ENABLE register, where each enabled MSU contributes VRAM_CHANNELS_PER_MSU channels.

Increase the maximum supported VRAM channel count to 80 and use the derived count to control VRAM sensor enumeration, channel access, and VRAM label allocation. Add a has_fixed_vram_channels platform flag to preserve the existing fixed-channel behavior on non-CRI platforms.

---
 drivers/gpu/drm/xe/regs/xe_pcode_regs.h |   1 +
 drivers/gpu/drm/xe/xe_device_types.h    |   2 +
 drivers/gpu/drm/xe/xe_hwmon.c           | 160 +++++++++++++++++++++---
 drivers/gpu/drm/xe/xe_pci.c             |   2 +
 drivers/gpu/drm/xe/xe_pci_types.h       |   1 +
 5 files changed, 151 insertions(+), 15 deletions(-)
drivers/gpu/drm/xe/regs/xe_pcode_regs.h +1 -0
index c63b409d7a82..11916b4f7cfc 100644
@@ -29,5 +29,6 @@
 
 #define CRI_PACKAGE_ENERGY_STATUS		XE_REG(0x138120)
 #define CRI_PLATFORM_ENERGY_STATUS		XE_REG(0x138458)
+#define CRI_MSU_VRAM_ENABLE             XE_REG(0x138340)
 
 #endif /* _XE_PCODE_REGS_H_ */
drivers/gpu/drm/xe/xe_device_types.h +2 -0
index 87554605fa41..8a1ca65f5665 100644
@@ -184,6 +184,8 @@ struct xe_device {
 		u8 has_drm_ras:1;
 		/** @info.has_fan_control: Device supports fan control */
 		u8 has_fan_control:1;
+		/** @info.has_fixed_vram_channels: Device has fixed VRAM temperature channels */
+		u8 has_fixed_vram_channels:1;
 		/** @info.has_flat_ccs: Whether flat CCS metadata is used */
 		u8 has_flat_ccs:1;
 		/** @info.has_gsc_nvm: Device has gsc non-volatile memory */
drivers/gpu/drm/xe/xe_hwmon.c +145 -15

274 lines not on this page · raw message

drivers/gpu/drm/xe/xe_pci.c +2 -0
index e656fc012902..fa32436ecf6f 100644
@@ -416,6 +416,7 @@ static const struct xe_device_desc bmg_desc = {
 	.dma_mask_size = 46,
 	.has_display = true,
 	.has_fan_control = true,
+	.has_fixed_vram_channels = true,
 	.has_flat_ccs = 1,
 	.has_mbx_power_limits = true,
 	.has_mbx_thermal_info = true,
@@ -794,6 +795,7 @@ static int xe_info_init_early(struct xe_device *xe,
 	xe->info.has_cached_pt = desc->has_cached_pt;
 	xe->info.has_drm_ras = desc->has_drm_ras;
 	xe->info.has_fan_control = desc->has_fan_control;
+	xe->info.has_fixed_vram_channels = desc->has_fixed_vram_channels;
 	/* runtime fusing may force flat_ccs to disabled later */
 	xe->info.has_flat_ccs = desc->has_flat_ccs;
 	xe->info.has_mbx_power_limits = desc->has_mbx_power_limits;
drivers/gpu/drm/xe/xe_pci_types.h +1 -0
index 0041ec5676d3..4d1048ca7abe 100644
@@ -42,6 +42,7 @@ struct xe_device_desc {
 	u8 has_display:1;
 	u8 has_drm_ras:1;
 	u8 has_fan_control:1;
+	u8 has_fixed_vram_channels:1;
 	u8 has_flat_ccs:1;
 	u8 has_gsc_nvm:1;
 	u8 has_heci_gscfi:1;
Signature · 1 line
2.25.1
#12 lore raw

Re: [PATCH i-g-t v4 09/13] drm/xe/hwmon: Add platform-aware VRAM thermal channel support

Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider: - [Medium] hwmon: sparse msu_mask causes valid VRAM temperature channels to be dropped - [Medium] hwmon…

Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [Medium] hwmon: sparse msu_mask causes valid VRAM temperature channels to be dropped
- [Medium] hwmon: VRAM temperature register array mapping overlaps with other CRI registers --

commit 281083adfcbfcf290d339e8d6d0578c01c2d9ec1
Author: Karthik Poosa <[email protected]>

drm/xe/hwmon: Add platform-aware VRAM thermal channel support

This commit introduces dynamic VRAM temperature channel support for CRI platforms by reading the MSU enablement mask from hardware. It also increases the maximum VRAM channel count to 80.

Quoted 9 lines
drivers/gpu/drm/xe/regs/xe_pcode_regs.h +1 -0
index c63b409d7a821..11916b4f7cfc0 100644
@@ -29,5 +29,6 @@
 
 #define CRI_PACKAGE_ENERGY_STATUS		XE_REG(0x138120)
 #define CRI_PLATFORM_ENERGY_STATUS		XE_REG(0x138458)
+#define CRI_MSU_VRAM_ENABLE             XE_REG(0x138340)

[ ... ]

drivers/gpu/drm/xe/xe_hwmon.c static struct xe_reg xe_hwmon_get_reg(struct xe_hwmon *hwmon, enum xe_hwmon_reg · line 303

Quoted 12 lines
drivers/gpu/drm/xe/xe_hwmon.c +2 -1
index cf5d51c685360..1b587bd9487e1 100644
@@ -281,7 +298,8 @@ static struct xe_reg xe_hwmon_get_reg(struct xe_hwmon *hwmon, enum xe_hwmon_reg
 				return BMG_PACKAGE_TEMPERATURE;
 			else if (channel == CHANNEL_VRAM)
 				return BMG_VRAM_TEMPERATURE;
-			else if (in_range(channel, CHANNEL_VRAM_N, MAX_VRAM_CHANNELS))
+			else if (in_range(channel, CHANNEL_VRAM_N, hwmon->temp.vram_count) &&
+				 xe_hwmon_vram_channel_enabled(hwmon, channel - CHANNEL_VRAM_N))
 				return BMG_VRAM_TEMPERATURE_N(channel - CHANNEL_VRAM_N);

[Severity: Medium]
Will this return unrelated hardware registers when the channel index reaches 56 and higher?

The patch increases MAX_VRAM_CHANNELS to 80. BMG_VRAM_TEMPERATURE_N(n) calculates the register address as 0x138260 + (n * 4). If n = 56, this evaluates to 0x138340, which overlaps with the newly added CRI_MSU_VRAM_ENABLE register. If n = 57, it evaluates to 0x138344, mapping to CRI_PACKAGE_TEMPERATURE.

Should the mapping for high index channels be updated to avoid overlapping with these registers?

[Severity: Medium]
Does this code silently drop valid channels if the mask is sparse?

In xe_hwmon_pcode_read_thermal_info(), vram_count is calculated using hweight32(msu_mask) * 4, yielding the population count of active channels rather than the highest valid channel index.

If msu_mask = 0xA (bits 1 and 3 enabled), vram_count is 8. The in_range() check enforces a strict upper bound of 8 (channel - CHANNEL_VRAM_N < 8). As a result, the enabled channels for bit 3 (indices 12-15) fail the in_range() check and are dropped.

Can this bounds check be revised to use the highest active bit index?

[ ... ]

Quoted 8 lines
drivers/gpu/drm/xe/xe_hwmon.c +3 -0
@@ -805,15 +887,38 @@ static int xe_hwmon_pcode_read_thermal_info(struct xe_hwmon *hwmon)
 	struct xe_tile *root_tile = xe_device_get_root_tile(hwmon->xe);
+	struct xe_mmio *mmio = xe_root_tile_mmio(hwmon->xe);
 	u32 config = 0;
 	int ret;
 
+	/*
+	 * Only CRI reports dynamic VRAM channel state. Fixed-channel platforms

drivers/gpu/drm/xe/xe_hwmon.c static int xe_hwmon_pcode_read_thermal_info(struct xe_hwmon *hwmon) · line 903

Quoted 10 lines
drivers/gpu/drm/xe/xe_hwmon.c +10 -0
+	 * set the count up front so those sensors stay visible even if the thermal
+	 * mailbox reads below fail.
+	 */
+	if (hwmon->xe->info.has_fixed_vram_channels)
+		hwmon->temp.vram_count = FIXED_VRAM_CHANNELS;
+
+	if (hwmon->xe->info.platform == XE_CRESCENTISLAND) {
+		hwmon->temp.msu_mask = xe_mmio_read32(mmio, CRI_MSU_VRAM_ENABLE);
+		/* Each enabled MSU bit maps to VRAM_CHANNELS_PER_MSU channels. */
+		hwmon->temp.vram_count = hweight32(hwmon->temp.msu_mask) * VRAM_CHANNELS_PER_MSU;

[Severity: Medium]
Does this correctly determine the required channel count bound for sparse masks?

This calculates the upper boundary using a population count (hweight32) instead of the highest active bit index. As described above, this truncates the index space and causes valid higher-indexed channels to be ignored when lower MSUs are disabled.

Quoted 2 lines
drivers/gpu/drm/xe/xe_hwmon.c +2 -0
+		drm_dbg(&hwmon->xe->drm, "MSU VRAM enable mask 0x%x, VRAM channel count %d\n",
+			hwmon->temp.msu_mask, hwmon->temp.vram_count);
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=9
#13 lore raw

PATCH v4 10/13 drm/xe/hwmon: use CRI-specific package and VRAM temperature registers

In reply to Karthik Poosa

Crescent Island uses different MMIO offsets for package and VRAM temperature than Battlemage. Add CRI-specific register definitions and select them in xe_hwmon_get_reg() for REG_TEMP handling.

---
 drivers/gpu/drm/xe/regs/xe_pcode_regs.h |  4 +++-
 drivers/gpu/drm/xe/xe_hwmon.c           | 10 +++++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)
drivers/gpu/drm/xe/regs/xe_pcode_regs.h +3 -1
index 11916b4f7cfc..a6f13d7c3989 100644
@@ -28,7 +28,9 @@
 #define BMG_PACKAGE_TEMPERATURE			XE_REG(0x138434)
 
 #define CRI_PACKAGE_ENERGY_STATUS		XE_REG(0x138120)
-#define CRI_PLATFORM_ENERGY_STATUS		XE_REG(0x138458)
 #define CRI_MSU_VRAM_ENABLE             XE_REG(0x138340)
+#define CRI_PACKAGE_TEMPERATURE			XE_REG(0x138344)
+#define CRI_VRAM_TEMPERATURE			XE_REG(0x138348)
+#define CRI_PLATFORM_ENERGY_STATUS		XE_REG(0x138458)
 
 #endif /* _XE_PCODE_REGS_H_ */
drivers/gpu/drm/xe/xe_hwmon.c +9 -1
index 1b587bd9487e..e1cff5700e7f 100644
@@ -293,7 +293,15 @@ static struct xe_reg xe_hwmon_get_reg(struct xe_hwmon *hwmon, enum xe_hwmon_reg
 
 	switch (hwmon_reg) {
 	case REG_TEMP:
-		if (xe->info.platform == XE_BATTLEMAGE || xe->info.platform == XE_CRESCENTISLAND) {
+		if (xe->info.platform == XE_CRESCENTISLAND) {
+			if (channel == CHANNEL_PKG)
+				return CRI_PACKAGE_TEMPERATURE;
+			else if (channel == CHANNEL_VRAM)
+				return CRI_VRAM_TEMPERATURE;
+			else if (in_range(channel, CHANNEL_VRAM_N, hwmon->temp.vram_count) &&
+				 xe_hwmon_vram_channel_enabled(hwmon, channel - CHANNEL_VRAM_N))
+				return BMG_VRAM_TEMPERATURE_N(channel - CHANNEL_VRAM_N);
+		} else if (xe->info.platform == XE_BATTLEMAGE) {
 			if (channel == CHANNEL_PKG)
 				return BMG_PACKAGE_TEMPERATURE;
 			else if (channel == CHANNEL_VRAM)
Signature · 1 line
2.25.1
#14 lore raw

Re: [PATCH i-g-t v4 10/13] drm/xe/hwmon: use CRI-specific package and VRAM temperature registers

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [High] xe_hwmon: VRAM temperature register offset collision on Crescent Island --

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [High] xe_hwmon: VRAM temperature register offset collision on Crescent Island --

commit fd97330baada16c38f4cebd065bec94e97f517b7
Author: Karthik Poosa <[email protected]>

drm/xe/hwmon: use CRI-specific package and VRAM temperature registers

Crescent Island uses different MMIO offsets for package and VRAM temperature than Battlemage. Add CRI-specific register definitions and select them in xe_hwmon_get_reg() for REG_TEMP handling.

Quoted 4 lines
drivers/gpu/drm/xe/regs/xe_pcode_regs.h +0 -0
index 11916b4f7cfc0..a6f13d7c39894 100644

[ ... ]

Quoted 16 lines

#define CRI_PACKAGE_ENERGY_STATUS XE_REG(0x138120)

drivers/gpu/drm/xe/regs/xe_pcode_regs.h +3 -1
-#define CRI_PLATFORM_ENERGY_STATUS		XE_REG(0x138458)
 #define CRI_MSU_VRAM_ENABLE             XE_REG(0x138340)
+#define CRI_PACKAGE_TEMPERATURE			XE_REG(0x138344)
+#define CRI_VRAM_TEMPERATURE			XE_REG(0x138348)
+#define CRI_PLATFORM_ENERGY_STATUS		XE_REG(0x138458)
 
 #endif /* _XE_PCODE_REGS_H_ */
drivers/gpu/drm/xe/xe_hwmon.c +0 -0
index 1b587bd9487e1..e1cff5700e7f9 100644
@@ -293,7 +293,15 @@ static struct xe_reg xe_hwmon_get_reg(struct xe_hwmon *hwmon, enum xe_hwmon_reg
 
 	switch (hwmon_reg) {

drivers/gpu/drm/xe/xe_hwmon.c static struct xe_reg xe_hwmon_get_reg(struct xe_hwmon *hwmon, enum xe_hwmon_reg · line 303

Quoted 10 lines
drivers/gpu/drm/xe/xe_hwmon.c +8 -1
 	case REG_TEMP:
-		if (xe->info.platform == XE_BATTLEMAGE || xe->info.platform == XE_CRESCENTISLAND) {
+		if (xe->info.platform == XE_CRESCENTISLAND) {
+			if (channel == CHANNEL_PKG)
+				return CRI_PACKAGE_TEMPERATURE;
+			else if (channel == CHANNEL_VRAM)
+				return CRI_VRAM_TEMPERATURE;
+			else if (in_range(channel, CHANNEL_VRAM_N, hwmon->temp.vram_count) &&
+				 xe_hwmon_vram_channel_enabled(hwmon, channel - CHANNEL_VRAM_N))
+				return BMG_VRAM_TEMPERATURE_N(channel - CHANNEL_VRAM_N);

[Severity: High]
Will using the BMG_VRAM_TEMPERATURE_N() macro for Crescent Island cause register offset collisions for higher VRAM channels?

The BMG_VRAM_TEMPERATURE_N(n) macro computes offsets as 0x138260 + (n * 4). When n >= 56, the resulting offsets overlap with the newly added CRI registers:

- n = 56 gives 0x138340 (collides with CRI_MSU_VRAM_ENABLE)
- n = 57 gives 0x138344 (collides with CRI_PACKAGE_TEMPERATURE)
- n = 58 gives 0x138348 (collides with CRI_VRAM_TEMPERATURE)

Since Crescent Island allows up to 80 VRAM channels, reading the sysfs hwmon tempX_input attributes for channels 56 and above would return data from these unrelated registers instead of VRAM temperature telemetry.

Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=10
#15 lore raw

PATCH v4 11/13 drm/xe/hwmon: Decode CRI temperature registers as IEEE-754

In reply to Karthik Poosa

CRI temperature registers encode package and VRAM temperatures as IEEE-754 floating-point values. Decode these values before exposing them through hwmon.

Use integer-based IEEE-754 decoding since kernel code does not use floating-point operations and hwmon reports integer temperatures.

v2: Reject temperatures that overflow long on 32-bit.

v3: Replace magic numbers in xe_hwmon_temperature_decode() with named
REG_GENMASK()/REG_BIT() defines and use REG_FIELD_GET() for extraction. (Rodrigo)

Assisted-by LLM
---
 drivers/gpu/drm/xe/xe_hwmon.c | 92 +++++++++++++++++++++++++++++------
 1 file changed, 78 insertions(+), 14 deletions(-)
drivers/gpu/drm/xe/xe_hwmon.c +78 -14
index e1cff5700e7f..c411cd375aa1 100644
@@ -1240,6 +1240,69 @@ xe_hwmon_temp_is_visible(struct xe_hwmon *hwmon, u32 attr, int channel)
 	}
 }
 
+#define IEEE754_SIGN		REG_BIT(31)
+#define IEEE754_EXP_MASK	REG_GENMASK(30, 23)
+#define IEEE754_MANTISSA_MASK	REG_GENMASK(22, 0)
+#define IEEE754_EXP_BIAS	127 /* Exponent bias to obtain the actual exponent */
+#define IEEE754_MANTISSA_BITS	23 /* Mantissa width and implicit leading-1 bit position */
+#define IEEE754_EXP_SPECIAL	0xff /* reserved exponent value encoding infinity or NaN */
+
+/**
+ * xe_hwmon_temperature_decode - Decode an IEEE-754 temperature register value
+ * @reg_val: The raw register value to decode
+ *
+ * IEEE-754 single-precision format:
+ *
+ *  31 30                         23 22                         0
+ * +--+-----------------------------+----------------------------+
+ * | S|          exponent           |          fraction          |
+ * +--+-----------------------------+----------------------------+
+ *
+ * value = (-1)^S * 1.fraction * 2^(exponent - 127)
+ *
+ * Return: 0 on success or an error if @reg_val is non-finite or cannot be
+ * represented in millidegrees Celsius.
+ */
+static int xe_hwmon_temperature_decode(u32 reg_val, long *temperature)
+{
+	u32 exponent = REG_FIELD_GET(IEEE754_EXP_MASK, reg_val);
+	u32 mantissa = REG_FIELD_GET(IEEE754_MANTISSA_MASK, reg_val);
+	s64 value;
+	int shift;
+
+	/* Exponent 0xff encodes infinity or NaN. */
+	if (exponent == IEEE754_EXP_SPECIAL)
+		return -EINVAL;
+
+	/* Subnormal values are smaller than one millidegree Celsius. */
+	if (!exponent) {
+		*temperature = 0;
+		return 0;
+	}
+
+	value = (s64)(mantissa | BIT(IEEE754_MANTISSA_BITS)) * MILLIDEGREE_PER_DEGREE;
+	shift = exponent - (IEEE754_EXP_BIAS + IEEE754_MANTISSA_BITS);
+	if (shift >= 0) {
+		if (shift >= BITS_PER_LONG || value > (LONG_MAX >> shift))
+			return -ERANGE;
+		value <<= shift;
+	} else if (shift > -64) {
+		value >>= -shift;
+	} else {
+		value = 0;
+	}
+
+	/* Ensure the magnitude fits in long, which is 32-bit on some arches. */
+	if (value > LONG_MAX)
+		return -ERANGE;
+
+	if (reg_val & IEEE754_SIGN)
+		value = -value;
+
+	*temperature = value;
+	return 0;
+}
+
 static int
 xe_hwmon_temp_read(struct xe_hwmon *hwmon, u32 attr, int channel, long *val)
 {
@@ -1249,26 +1312,27 @@ xe_hwmon_temp_read(struct xe_hwmon *hwmon, u32 attr, int channel, long *val)
 	switch (attr) {
 	case hwmon_temp_input:
 		switch (channel) {
-		case CHANNEL_PKG:
-		case CHANNEL_VRAM:
-			reg_val = xe_mmio_read32(mmio, xe_hwmon_get_reg(hwmon, REG_TEMP, channel));
-
-			/* HW register value is in degrees Celsius, convert to millidegrees. */
-			*val = REG_FIELD_GET(TEMP_MASK, reg_val) * MILLIDEGREE_PER_DEGREE;
-			return 0;
 		case CHANNEL_MCTRL:
 			return get_mc_temp(hwmon, val);
 		case CHANNEL_PCIE:
 			return get_pcie_temp(hwmon, val);
+		case CHANNEL_PKG:
+		case CHANNEL_VRAM:
 		case CHANNEL_VRAM_N...CHANNEL_VRAM_N_MAX:
 			reg_val = xe_mmio_read32(mmio, xe_hwmon_get_reg(hwmon, REG_TEMP, channel));
-			/*
-			 * This temperature format is 24 bit [31:8] signed integer and 8 bit
-			 * [7:0] fraction.
-			 */
-			*val = (s32)(REG_FIELD_GET(TEMP_MASK_VRAM_N, reg_val)) *
-				(REG_FIELD_GET(TEMP_SIGN_MASK, reg_val) ? -1 : 1) *
-				 MILLIDEGREE_PER_DEGREE;
+			if (hwmon->xe->info.platform >= XE_CRESCENTISLAND) {
+				return xe_hwmon_temperature_decode((u32)reg_val, val);
+			} else if (channel >= CHANNEL_VRAM_N) {
+				/*
+				 * This temperature format is 24 bit [31:8] signed integer and 8 bit
+				 * [7:0] fraction for platforms before CRI.
+				 */
+				*val = (s32)REG_FIELD_GET(TEMP_MASK_VRAM_N, reg_val) *
+					(REG_FIELD_GET(TEMP_SIGN_MASK, reg_val) ? -1 : 1) *
+					MILLIDEGREE_PER_DEGREE;
+			} else {
+				*val = REG_FIELD_GET(TEMP_MASK, reg_val) * MILLIDEGREE_PER_DEGREE;
+			}
 			return 0;
 		default:
 			return -EOPNOTSUPP;
Signature · 1 line
2.25.1
#16 lore raw

Re: [PATCH i-g-t v4 11/13] drm/xe/hwmon: Decode CRI temperature registers as IEEE-754

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [Medium] hwmon: Incorrect IEEE-754 decoding applied to CHANNEL_VRAM_N --

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] hwmon: Incorrect IEEE-754 decoding applied to CHANNEL_VRAM_N
--

commit 4017413f8095f651034d897f32ec30cb3740f4f1
Author: Karthik Poosa <[email protected]>

drm/xe/hwmon: Decode CRI temperature registers as IEEE-754

This commit decodes the package and VRAM temperature registers for Crescent Island platforms as IEEE-754 floating-point values instead of the previous fixed-point formats. It implements integer-based decoding to be exposed through hwmon.

Quoted 4 lines
drivers/gpu/drm/xe/xe_hwmon.c +0 -0
index e1cff5700e7f9..c411cd375aa1b 100644

[ ... ]

Quoted 4 lines
drivers/gpu/drm/xe/xe_hwmon.c +0 -0
@@ -1249,26 +1312,27 @@ xe_hwmon_temp_read(struct xe_hwmon *hwmon, u32 attr, int channel, long *val)
 	switch (attr) {
 	case hwmon_temp_input:
 		switch (channel) {

[ ... ]

drivers/gpu/drm/xe/xe_hwmon.c xe_hwmon_temp_read(struct xe_hwmon *hwmon, u32 attr, int channel, long *val) · line 1324

Quoted 13 lines
drivers/gpu/drm/xe/xe_hwmon.c +4 -7
+		case CHANNEL_PKG:
+		case CHANNEL_VRAM:
 		case CHANNEL_VRAM_N...CHANNEL_VRAM_N_MAX:
 			reg_val = xe_mmio_read32(mmio, xe_hwmon_get_reg(hwmon, REG_TEMP, channel));
-			/*
-			 * This temperature format is 24 bit [31:8] signed integer and 8 bit
-			 * [7:0] fraction.
-			 */
-			*val = (s32)(REG_FIELD_GET(TEMP_MASK_VRAM_N, reg_val)) *
-				(REG_FIELD_GET(TEMP_SIGN_MASK, reg_val) ? -1 : 1) *
-				 MILLIDEGREE_PER_DEGREE;
+			if (hwmon->xe->info.platform >= XE_CRESCENTISLAND) {
+				return xe_hwmon_temperature_decode((u32)reg_val, val);

[Severity: Medium]
Will this incorrectly apply IEEE-754 decoding to CHANNEL_VRAM_N registers on Crescent Island?

Looking at xe_hwmon_get_reg(), when the platform is XE_CRESCENTISLAND, CHANNEL_VRAM_N still maps to the legacy BMG_VRAM_TEMPERATURE_N:

drivers/gpu/drm/xe/xe_hwmon.c:xe_hwmon_get_reg() {
	...
	case REG_TEMP:
		if (xe->info.platform == XE_CRESCENTISLAND) {
			if (channel == CHANNEL_PKG)
				return CRI_PACKAGE_TEMPERATURE;
			else if (channel == CHANNEL_VRAM)
				return CRI_VRAM_TEMPERATURE;
			else if (in_range(channel, CHANNEL_VRAM_N, hwmon->temp.vram_count) &&
				 xe_hwmon_vram_channel_enabled(hwmon, channel - CHANNEL_VRAM_N))
				return BMG_VRAM_TEMPERATURE_N(channel - CHANNEL_VRAM_N);
	...
}

Since BMG_VRAM_TEMPERATURE_N uses a 24.8 fixed-point format, decoding it as IEEE-754 will cause the exponent bits to evaluate to 0 for most normal temperatures. This could result in the function returning 0 degrees instead of the correct value.

Should CHANNEL_VRAM_N bypass the IEEE-754 decoding even on Crescent Island?

Quoted 14 lines
drivers/gpu/drm/xe/xe_hwmon.c +11 -0
+			} else if (channel >= CHANNEL_VRAM_N) {
+				/*
+				 * This temperature format is 24 bit [31:8] signed integer and 8 bit
+				 * [7:0] fraction for platforms before CRI.
+				 */
+				*val = (s32)REG_FIELD_GET(TEMP_MASK_VRAM_N, reg_val) *
+					(REG_FIELD_GET(TEMP_SIGN_MASK, reg_val) ? -1 : 1) *
+					MILLIDEGREE_PER_DEGREE;
+			} else {
+				*val = REG_FIELD_GET(TEMP_MASK, reg_val) * MILLIDEGREE_PER_DEGREE;
+			}
 			return 0;
 		default:
 			return -EOPNOTSUPP;
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=11
#17 lore raw

PATCH v4 12/13 drm/xe/hwmon: Update memory controller temperature offset for CRI

In reply to Karthik Poosa

On CRI the memory controller temperatures moved in the READ_THERMAL_DATA
output: they now occupy bytes 16..19 instead of starting at byte 2.

Read and average the CRI memory controller sensors from bytes 16..19, keeping the existing byte 2..count-1 range for earlier platforms. Only the group(s) covering the used bytes are fetched.

---
 drivers/gpu/drm/xe/xe_hwmon.c | 19 ++++++++++++++++---
 1 file changed, 16 insertions(+), 3 deletions(-)
drivers/gpu/drm/xe/xe_hwmon.c +16 -3
index c411cd375aa1..fef2166989ba 100644
@@ -109,6 +109,10 @@ enum sensor_attr_power {
 /* Index of memory controller in READ_THERMAL_DATA output */
 #define TEMP_INDEX_MCTRL	2
 
+/* On CRI the memory controller temperatures are READ_THERMAL_DATA bytes 16..19. */
+#define CRI_TEMP_INDEX_MCTRL	16
+#define CRI_TEMP_MCTRL_COUNT	4
+
 /* Mailbox sentinel reported for an unavailable temperature sensor */
 #define TEMP_MBX_INVALID	0xFF
 
@@ -964,10 +968,19 @@ static int mbx_temp_decode(u8 value)
 static int get_mc_temp(struct xe_hwmon *hwmon, long *val)
 {
 	struct xe_tile *root_tile = xe_device_get_root_tile(hwmon->xe);
-	int ret, i, count = 0;
+	int ret, i, start, end, count = 0;
 	s32 average = 0;
 
-	for (i = 0; i < DIV_ROUND_UP(hwmon->temp.count, sizeof(u32)); i++) {
+	/* CRI relocated the memory controller temperatures to READ_THERMAL_DATA bytes 16..19. */
+	if (hwmon->xe->info.platform >= XE_CRESCENTISLAND) {
+		start = CRI_TEMP_INDEX_MCTRL;
+		end = CRI_TEMP_INDEX_MCTRL + CRI_TEMP_MCTRL_COUNT;
+	} else {
+		start = TEMP_INDEX_MCTRL;
+		end = hwmon->temp.count - 1;
+	}
+
+	for (i = start / sizeof(u32); i < DIV_ROUND_UP(end, sizeof(u32)); i++) {
 		ret = xe_pcode_read(root_tile, PCODE_MBOX(PCODE_THERMAL_INFO, READ_THERMAL_DATA, i),
 				    &hwmon->temp.dword[i], NULL);
 		if (ret)
@@ -976,7 +989,7 @@ static int get_mc_temp(struct xe_hwmon *hwmon, long *val)
 			hwmon->temp.dword[i]);
 	}
 
-	for (i = TEMP_INDEX_MCTRL; i < hwmon->temp.count - 1; i++) {
+	for (i = start; i < end; i++) {
 		if (!mbx_temp_valid(hwmon, hwmon->temp.value[i]))
 			continue;
 		average += mbx_temp_decode(hwmon->temp.value[i]);
Signature · 1 line
2.25.1
#18 lore raw

PATCH v4 13/13 drm/xe/hwmon: Update PCIE temperature sensor offset for CRI

In reply to Karthik Poosa

On Crescent Island, the PCIe temperature sensor is reported in READ_THERMAL_DATA group 5, byte 0. Add support for reading the sensor from this mailbox location.

---
 drivers/gpu/drm/xe/xe_hwmon.c | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)
drivers/gpu/drm/xe/xe_hwmon.c +11 -3
index fef2166989ba..f6860da0bf0c 100644
@@ -113,6 +113,9 @@ enum sensor_attr_power {
 #define CRI_TEMP_INDEX_MCTRL	16
 #define CRI_TEMP_MCTRL_COUNT	4
 
+/* On CRI the PCIe temperature is READ_THERMAL_DATA byte 20 (group 5, low byte). */
+#define CRI_PCIE_SENSOR_GROUP_ID	5
+
 /* Mailbox sentinel reported for an unavailable temperature sensor */
 #define TEMP_MBX_INVALID	0xFF
 
@@ -1012,16 +1015,21 @@ static int get_mc_temp(struct xe_hwmon *hwmon, long *val)
 static int get_pcie_temp(struct xe_hwmon *hwmon, long *val)
 {
 	struct xe_tile *root_tile = xe_device_get_root_tile(hwmon->xe);
+	u32 group = PCIE_SENSOR_GROUP_ID;
 	u32 data = 0;
 	int ret;
 
+	/* CRI relocated the PCIe temperature to a different data group. */
+	if (hwmon->xe->info.platform == XE_CRESCENTISLAND)
+		group = CRI_PCIE_SENSOR_GROUP_ID;
+
 	ret = xe_pcode_read(root_tile, PCODE_MBOX(PCODE_THERMAL_INFO, READ_THERMAL_DATA,
-						  PCIE_SENSOR_GROUP_ID), &data, NULL);
+						  group), &data, NULL);
 	if (ret)
 		return ret;
 
-	/* Sensor offset is different for G21 */
-	if (hwmon->xe->info.subplatform != XE_SUBPLATFORM_BATTLEMAGE_G21)
+	if (hwmon->xe->info.subplatform != XE_SUBPLATFORM_BATTLEMAGE_G21 &&
+	    hwmon->xe->info.platform != XE_CRESCENTISLAND)
 		data = REG_FIELD_GET(PCIE_SENSOR_MASK, data);
 
 	data = REG_FIELD_GET(TEMP_MASK, data);
Signature · 1 line
2.25.1
#19 lore raw

✓ CI.KUnit: success for drm/xe/hwmon: Update hwmon thermal mailbox

In reply to Karthik Poosa
== Series Details ==

== Series Details ==

Series: drm/xe/hwmon: Update hwmon thermal mailbox
URL : https://patchwork.freedesktop.org/series/174898/
State : success

== Summary ==

+ trap cleanup EXIT
+ kunitconfigs=('/kernel/drivers/gpu/tests/.kunitconfig' '/kernel/drivers/gpu/drm/xe/.kunitconfig' '/kernel/drivers/gpu/drm/tests/.kunitconfig' '/kernel/drivers/gpu/drm/ttm/tests/.kunitconfig' '/kernel/drivers/dma-buf/.kunitconfig')
+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/tests/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/tests/.kunitconfig
[10:58:19] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:

$ make ARCH=um O=.kunit olddefconfig
[10:58:24] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48
[10:58:45] Starting KUnit Kernel (1/1)...
[10:58:45] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[10:58:45] ============= refcount_interrupt (4 subtests) ==============
[10:58:45] [PASSED] test_single_irq_change
[10:58:45] [PASSED] test_nested_irq_change
[10:58:45] [PASSED] test_multiple_irq_change
[10:58:45] [PASSED] test_irq_save
[10:58:45] =============== [PASSED] refcount_interrupt ================
[10:58:45] ================= gpu_buddy (14 subtests) ==================
[10:58:45] [PASSED] gpu_test_buddy_alloc_limit
[10:58:45] [PASSED] gpu_test_buddy_alloc_optimistic
[10:58:45] [PASSED] gpu_test_buddy_alloc_pessimistic
[10:58:45] [PASSED] gpu_test_buddy_alloc_pathological
[10:58:45] [PASSED] gpu_test_buddy_alloc_contiguous
[10:58:45] [PASSED] gpu_test_buddy_alloc_clear
[10:58:45] [PASSED] gpu_test_buddy_alloc_range
[10:58:45] [PASSED] gpu_test_buddy_alloc_range_bias
[10:58:46] [PASSED] gpu_test_buddy_fragmentation_performance
[10:58:47] [PASSED] gpu_test_buddy_dirty_tracker_performance
[10:58:47] [PASSED] gpu_test_buddy_alloc_exceeds_max_order
[10:58:47] [PASSED] gpu_test_buddy_offset_aligned_allocation
[10:58:47] [PASSED] gpu_test_buddy_subtree_offset_alignment_stress
[10:58:47] [PASSED] gpu_test_buddy_addr_to_block
[10:58:47] ==================== [PASSED] gpu_buddy ====================
[10:58:47] ============================================================
[10:58:47] Testing complete. Ran 18 tests: passed: 18
[10:58:47] Elapsed time: 27.077s total, 4.406s configuring, 20.803s building, 1.826s running

+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/drm/xe/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig [10:58:47] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:

$ make ARCH=um O=.kunit olddefconfig
[10:58:49] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48
[10:59:23] Starting KUnit Kernel (1/1)...
[10:59:23] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[10:59:23] ============= refcount_interrupt (4 subtests) ==============
[10:59:23] [PASSED] test_single_irq_change
[10:59:23] [PASSED] test_nested_irq_change
[10:59:23] [PASSED] test_multiple_irq_change
[10:59:23] [PASSED] test_irq_save
[10:59:23] =============== [PASSED] refcount_interrupt ================
[10:59:23] ================== guc_buf (11 subtests) ===================
[10:59:23] [PASSED] test_smallest
[10:59:23] [PASSED] test_largest
[10:59:23] [PASSED] test_granular
[10:59:23] [PASSED] test_unique
[10:59:23] [PASSED] test_overlap
[10:59:23] [PASSED] test_reusable
[10:59:23] [PASSED] test_too_big
[10:59:23] [PASSED] test_flush
[10:59:23] [PASSED] test_lookup
[10:59:23] [PASSED] test_data
[10:59:23] [PASSED] test_class
[10:59:23] ===================== [PASSED] guc_buf =====================
[10:59:23] =================== guc_dbm (7 subtests) ===================
[10:59:23] [PASSED] test_empty
[10:59:23] [PASSED] test_default
[10:59:23] ======================== test_size  ========================
[10:59:23] [PASSED] 4
[10:59:23] [PASSED] 8
[10:59:23] [PASSED] 32
[10:59:23] [PASSED] 256
[10:59:23] ==================== [PASSED] test_size ====================
[10:59:23] ======================= test_reuse  ========================
[10:59:23] [PASSED] 4
[10:59:23] [PASSED] 8
[10:59:23] [PASSED] 32
[10:59:23] [PASSED] 256
[10:59:23] =================== [PASSED] test_reuse ====================
[10:59:23] =================== test_range_overlap  ====================
[10:59:23] [PASSED] 4
[10:59:23] [PASSED] 8
[10:59:23] [PASSED] 32
[10:59:23] [PASSED] 256
[10:59:23] =============== [PASSED] test_range_overlap ================
[10:59:23] =================== test_range_compact  ====================
[10:59:23] [PASSED] 4
[10:59:23] [PASSED] 8
[10:59:23] [PASSED] 32
[10:59:23] [PASSED] 256
[10:59:23] =============== [PASSED] test_range_compact ================
[10:59:23] ==================== test_range_spare  =====================
[10:59:23] [PASSED] 4
[10:59:23] [PASSED] 8
[10:59:23] [PASSED] 32
[10:59:23] [PASSED] 256
[10:59:23] ================ [PASSED] test_range_spare =================
[10:59:23] ===================== [PASSED] guc_dbm =====================
[10:59:23] =================== guc_idm (6 subtests) ===================
[10:59:23] [PASSED] bad_init
[10:59:23] [PASSED] no_init
[10:59:23] [PASSED] init_fini
[10:59:23] [PASSED] check_used
[10:59:23] [PASSED] check_quota
[10:59:23] [PASSED] check_all
[10:59:23] ===================== [PASSED] guc_idm =====================
[10:59:23] ============== guc_klv_helpers (13 subtests) ===============
[10:59:23] [PASSED] test_count
[10:59:23] [PASSED] test_encode_u32
[10:59:23] [PASSED] test_encode_u64
[10:59:23] [PASSED] test_encode_string
[10:59:23] [PASSED] test_encode_object_raw
[10:59:23] [PASSED] test_encode_object_klv
[10:59:23] [PASSED] test_encode_object_nested
[10:59:23] [PASSED] test_encode_object_basic
[10:59:23] ===================== test_decode_u16  =====================
[10:59:23] [PASSED] empty
[10:59:23] [PASSED] valid
[10:59:23] [PASSED] max
[10:59:23] [PASSED] big
[10:59:23] [PASSED] long
[10:59:23] ================= [PASSED] test_decode_u16 =================
[10:59:23] ===================== test_decode_u32  =====================
[10:59:23] [PASSED] empty
[10:59:23] [PASSED] valid
[10:59:23] [PASSED] max
[10:59:23] [PASSED] long
[10:59:23] ================= [PASSED] test_decode_u32 =================
[10:59:23] ===================== test_decode_u64  =====================
[10:59:23] [PASSED] empty
[10:59:23] [PASSED] short
[10:59:23] [PASSED] valid
[10:59:23] [PASSED] max
[10:59:23] [PASSED] long
[10:59:23] ================= [PASSED] test_decode_u64 =================
[10:59:23] ===================== test_decode_str  =====================
[10:59:23] [PASSED] empty
[10:59:23] [PASSED] one
[10:59:23] [PASSED] one_trash
[10:59:23] [PASSED] two
[10:59:23] [PASSED] two_trash
[10:59:23] [PASSED] three
[10:59:23] [PASSED] dword
[10:59:23] [PASSED] four
[10:59:23] [PASSED] five
[10:59:23] [PASSED] six
[10:59:23] [PASSED] seven
[10:59:23] [PASSED] qword
[10:59:23] ================= [PASSED] test_decode_str =================
[10:59:23] [PASSED] test_print
[10:59:23] ================= [PASSED] guc_klv_helpers =================
[10:59:23] =================== xe_log (4 subtests) ====================
[10:59:23] [PASSED] demo_cper
[10:59:23] [PASSED] demo_dmesg
[10:59:23] ======================= test_dmesg  ========================
[10:59:23] [PASSED] test_fatal
[10:59:23] [PASSED] test_fatal_tile
[10:59:23] [PASSED] test_fatal_gt
[10:59:23] [PASSED] test_fatal_comp
[10:59:23] [PASSED] test_fatal_comp_tile
[10:59:23] [PASSED] test_fatal_comp_gt
[10:59:23] [PASSED] test_fatal_all
[10:59:23] [PASSED] test_recoverable
[10:59:23] [PASSED] test_recoverable_tile
[10:59:23] [PASSED] test_recoverable_gt
[10:59:23] [PASSED] test_recoverable_comp
[10:59:23] [PASSED] test_recoverable_comp_tile
[10:59:23] [PASSED] test_recoverable_comp_gt
[10:59:23] [PASSED] test_recoverable_all
[10:59:23] [PASSED] test_info
[10:59:23] [PASSED] test_info_tile
[10:59:23] [PASSED] test_info_gt
[10:59:23] [PASSED] test_info_err
[10:59:23] [PASSED] test_info_comp
[10:59:23] [PASSED] test_info_comp_tile
[10:59:23] [PASSED] test_info_comp_gt
[10:59:23] [PASSED] test_info_all
[10:59:23] [PASSED] test_hw_fatal
[10:59:23] [PASSED] test_hw_recoverable
[10:59:23] [PASSED] test_hw_corrected
[10:59:23] [PASSED] test_hw_informational
[10:59:23] =================== [PASSED] test_dmesg ====================
[10:59:23] ====================== test_invalid  =======================
[10:59:23] [SKIPPED] no-component no-location no-warn (requires CONFIG_DRM_XE_DEBUG)
[10:59:23] [SKIPPED] reserved location (requires CONFIG_DRM_XE_DEBUG)
[10:59:23] [SKIPPED] unknown location (requires CONFIG_DRM_XE_DEBUG)
[10:59:23] [SKIPPED] nonzero-device-id location (requires CONFIG_DRM_XE_DEBUG)
[10:59:23] [SKIPPED] invalid-tile-id location (requires CONFIG_DRM_XE_DEBUG)
[10:59:23] [SKIPPED] invalid-gt-id location (requires CONFIG_DRM_XE_DEBUG)
[10:59:23] [SKIPPED] unknown component class (requires CONFIG_DRM_XE_DEBUG)
[10:59:23] [SKIPPED] unknown system component (requires CONFIG_DRM_XE_DEBUG)
[10:59:23] [SKIPPED] unknown hardware component (requires CONFIG_DRM_XE_DEBUG)
[10:59:23] [SKIPPED] unknown component and location (requires CONFIG_DRM_XE_DEBUG)
[10:59:23] ================== [SKIPPED] test_invalid ==================
[10:59:23] ===================== [PASSED] xe_log ======================
[10:59:23] ================== no_relay (3 subtests) ===================
[10:59:23] [PASSED] xe_drops_guc2pf_if_not_ready
[10:59:23] [PASSED] xe_drops_guc2vf_if_not_ready
[10:59:23] [PASSED] xe_rejects_send_if_not_ready
[10:59:23] ==================== [PASSED] no_relay =====================
[10:59:23] ================== pf_relay (14 subtests) ==================
[10:59:23] [PASSED] pf_rejects_guc2pf_too_short
[10:59:23] [PASSED] pf_rejects_guc2pf_too_long
[10:59:23] [PASSED] pf_rejects_guc2pf_no_payload
[10:59:23] [PASSED] pf_fails_no_payload
[10:59:23] [PASSED] pf_fails_bad_origin
[10:59:23] [PASSED] pf_fails_bad_type
[10:59:23] [PASSED] pf_txn_reports_error
[10:59:23] [PASSED] pf_txn_sends_pf2guc
[10:59:23] [PASSED] pf_sends_pf2guc
[10:59:23] [SKIPPED] pf_loopback_nop (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[10:59:23] [SKIPPED] pf_loopback_echo (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[10:59:23] [SKIPPED] pf_loopback_fail (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[10:59:23] [SKIPPED] pf_loopback_busy (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[10:59:23] [SKIPPED] pf_loopback_retry (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[10:59:23] ==================== [PASSED] pf_relay =====================
[10:59:23] ================== vf_relay (3 subtests) ===================
[10:59:23] [PASSED] vf_rejects_guc2vf_too_short
[10:59:23] [PASSED] vf_rejects_guc2vf_too_long
[10:59:23] [PASSED] vf_rejects_guc2vf_no_payload
[10:59:23] ==================== [PASSED] vf_relay =====================
[10:59:23] ================ pf_gt_config (9 subtests) =================
[10:59:23] [PASSED] fair_contexts_1vf
[10:59:23] [PASSED] fair_doorbells_1vf
[10:59:23] [PASSED] fair_ggtt_1vf
[10:59:23] ====================== fair_vram_1vf  ======================
[10:59:23] [PASSED] 3.50 GiB
[10:59:23] [PASSED] 11.5 GiB
[10:59:23] [PASSED] 15.5 GiB
[10:59:23] [PASSED] 31.5 GiB
[10:59:23] [PASSED] 63.5 GiB
[10:59:23] [PASSED] 1.91 GiB
[10:59:23] ================== [PASSED] fair_vram_1vf ==================
[10:59:23] ================ fair_vram_1vf_admin_only  =================
[10:59:23] [PASSED] 3.50 GiB
[10:59:23] [PASSED] 11.5 GiB
[10:59:23] [PASSED] 15.5 GiB
[10:59:23] [PASSED] 31.5 GiB
[10:59:23] [PASSED] 63.5 GiB
[10:59:23] [PASSED] 1.91 GiB
[10:59:23] ============ [PASSED] fair_vram_1vf_admin_only =============
[10:59:23] ====================== fair_contexts  ======================
[10:59:23] [PASSED] 1 VF
[10:59:23] [PASSED] 2 VFs
[10:59:23] [PASSED] 3 VFs
[10:59:23] [PASSED] 4 VFs
[10:59:23] [PASSED] 5 VFs
[10:59:23] [PASSED] 6 VFs
[10:59:23] [PASSED] 7 VFs
[10:59:23] [PASSED] 8 VFs
[10:59:23] [PASSED] 9 VFs
[10:59:23] [PASSED] 10 VFs
[10:59:23] [PASSED] 11 VFs
[10:59:23] [PASSED] 12 VFs
[10:59:23] [PASSED] 13 VFs
[10:59:23] [PASSED] 14 VFs
[10:59:23] [PASSED] 15 VFs
[10:59:23] [PASSED] 16 VFs
[10:59:23] [PASSED] 17 VFs
[10:59:23] [PASSED] 18 VFs
[10:59:23] [PASSED] 19 VFs
[10:59:23] [PASSED] 20 VFs
[10:59:23] [PASSED] 21 VFs
[10:59:23] [PASSED] 22 VFs
[10:59:23] [PASSED] 23 VFs
[10:59:23] [PASSED] 24 VFs
[10:59:23] [PASSED] 25 VFs
[10:59:23] [PASSED] 26 VFs
[10:59:23] [PASSED] 27 VFs
[10:59:23] [PASSED] 28 VFs
[10:59:23] [PASSED] 29 VFs
[10:59:23] [PASSED] 30 VFs
[10:59:23] [PASSED] 31 VFs
[10:59:23] [PASSED] 32 VFs
[10:59:23] [PASSED] 33 VFs
[10:59:23] [PASSED] 34 VFs
[10:59:23] [PASSED] 35 VFs
[10:59:23] [PASSED] 36 VFs
[10:59:23] [PASSED] 37 VFs
[10:59:23] [PASSED] 38 VFs
[10:59:23] [PASSED] 39 VFs
[10:59:23] [PASSED] 40 VFs
[10:59:23] [PASSED] 41 VFs
[10:59:23] [PASSED] 42 VFs
[10:59:23] [PASSED] 43 VFs
[10:59:23] [PASSED] 44 VFs
[10:59:23] [PASSED] 45 VFs
[10:59:23] [PASSED] 46 VFs
[10:59:23] [PASSED] 47 VFs
[10:59:23] [PASSED] 48 VFs
[10:59:23] [PASSED] 49 VFs
[10:59:23] [PASSED] 50 VFs
[10:59:23] [PASSED] 51 VFs
[10:59:23] [PASSED] 52 VFs
[10:59:23] [PASSED] 53 VFs
[10:59:23] [PASSED] 54 VFs
[10:59:23] [PASSED] 55 VFs
[10:59:23] [PASSED] 56 VFs
[10:59:23] [PASSED] 57 VFs
[10:59:23] [PASSED] 58 VFs
[10:59:23] [PASSED] 59 VFs
[10:59:23] [PASSED] 60 VFs
[10:59:23] [PASSED] 61 VFs
[10:59:23] [PASSED] 62 VFs
[10:59:23] [PASSED] 63 VFs
[10:59:23] ================== [PASSED] fair_contexts ==================
[10:59:23] ===================== fair_doorbells  ======================
[10:59:23] [PASSED] 1 VF
[10:59:23] [PASSED] 2 VFs
[10:59:23] [PASSED] 3 VFs
[10:59:23] [PASSED] 4 VFs
[10:59:23] [PASSED] 5 VFs
[10:59:23] [PASSED] 6 VFs
[10:59:23] [PASSED] 7 VFs
[10:59:23] [PASSED] 8 VFs
[10:59:23] [PASSED] 9 VFs
[10:59:23] [PASSED] 10 VFs
[10:59:23] [PASSED] 11 VFs
[10:59:23] [PASSED] 12 VFs
[10:59:23] [PASSED] 13 VFs
[10:59:23] [PASSED] 14 VFs
[10:59:23] [PASSED] 15 VFs
[10:59:23] [PASSED] 16 VFs
[10:59:23] [PASSED] 17 VFs
[10:59:23] [PASSED] 18 VFs
[10:59:23] [PASSED] 19 VFs
[10:59:23] [PASSED] 20 VFs
[10:59:23] [PASSED] 21 VFs
[10:59:23] [PASSED] 22 VFs
[10:59:23] [PASSED] 23 VFs
[10:59:23] [PASSED] 24 VFs
[10:59:23] [PASSED] 25 VFs
[10:59:23] [PASSED] 26 VFs
[10:59:23] [PASSED] 27 VFs
[10:59:23] [PASSED] 28 VFs
[10:59:23] [PASSED] 29 VFs
[10:59:23] [PASSED] 30 VFs
[10:59:23] [PASSED] 31 VFs
[10:59:23] [PASSED] 32 VFs
[10:59:23] [PASSED] 33 VFs
[10:59:23] [PASSED] 34 VFs
[10:59:23] [PASSED] 35 VFs
[10:59:23] [PASSED] 36 VFs
[10:59:23] [PASSED] 37 VFs
[10:59:23] [PASSED] 38 VFs
[10:59:23] [PASSED] 39 VFs
[10:59:23] [PASSED] 40 VFs
[10:59:23] [PASSED] 41 VFs
[10:59:23] [PASSED] 42 VFs
[10:59:23] [PASSED] 43 VFs
[10:59:23] [PASSED] 44 VFs
[10:59:23] [PASSED] 45 VFs
[10:59:23] [PASSED] 46 VFs
[10:59:23] [PASSED] 47 VFs
[10:59:23] [PASSED] 48 VFs
[10:59:23] [PASSED] 49 VFs
[10:59:23] [PASSED] 50 VFs
[10:59:23] [PASSED] 51 VFs
[10:59:23] [PASSED] 52 VFs
[10:59:23] [PASSED] 53 VFs
[10:59:23] [PASSED] 54 VFs
[10:59:23] [PASSED] 55 VFs
[10:59:23] [PASSED] 56 VFs
[10:59:23] [PASSED] 57 VFs
[10:59:23] [PASSED] 58 VFs
[10:59:23] [PASSED] 59 VFs
[10:59:23] [PASSED] 60 VFs
[10:59:23] [PASSED] 61 VFs
[10:59:23] [PASSED] 62 VFs
[10:59:23] [PASSED] 63 VFs
[10:59:23] ================= [PASSED] fair_doorbells ==================
[10:59:23] ======================== fair_ggtt  ========================
[10:59:23] [PASSED] 1 VF
[10:59:23] [PASSED] 2 VFs
[10:59:23] [PASSED] 3 VFs
[10:59:23] [PASSED] 4 VFs
[10:59:23] [PASSED] 5 VFs
[10:59:23] [PASSED] 6 VFs
[10:59:23] [PASSED] 7 VFs
[10:59:23] [PASSED] 8 VFs
[10:59:23] [PASSED] 9 VFs
[10:59:23] [PASSED] 10 VFs
[10:59:23] [PASSED] 11 VFs
[10:59:23] [PASSED] 12 VFs
[10:59:23] [PASSED] 13 VFs
[10:59:23] [PASSED] 14 VFs
[10:59:23] [PASSED] 15 VFs
[10:59:23] [PASSED] 16 VFs
[10:59:23] [PASSED] 17 VFs
[10:59:23] [PASSED] 18 VFs
[10:59:23] [PASSED] 19 VFs
[10:59:23] [PASSED] 20 VFs
[10:59:23] [PASSED] 21 VFs
[10:59:23] [PASSED] 22 VFs
[10:59:23] [PASSED] 23 VFs
[10:59:23] [PASSED] 24 VFs
[10:59:23] [PASSED] 25 VFs
[10:59:23] [PASSED] 26 VFs
[10:59:23] [PASSED] 27 VFs
[10:59:23] [PASSED] 28 VFs
[10:59:23] [PASSED] 29 VFs
[10:59:23] [PASSED] 30 VFs
[10:59:23] [PASSED] 31 VFs
[10:59:23] [PASSED] 32 VFs
[10:59:23] [PASSED] 33 VFs
[10:59:23] [PASSED] 34 VFs
[10:59:23] [PASSED] 35 VFs
[10:59:23] [PASSED] 36 VFs
[10:59:23] [PASSED] 37 VFs
[10:59:23] [PASSED] 38 VFs
[10:59:23] [PASSED] 39 VFs
[10:59:23] [PASSED] 40 VFs
[10:59:23] [PASSED] 41 VFs
[10:59:23] [PASSED] 42 VFs
[10:59:23] [PASSED] 43 VFs
[10:59:23] [PASSED] 44 VFs
[10:59:23] [PASSED] 45 VFs
[10:59:23] [PASSED] 46 VFs
[10:59:23] [PASSED] 47 VFs
[10:59:23] [PASSED] 48 VFs
[10:59:23] [PASSED] 49 VFs
[10:59:23] [PASSED] 50 VFs
[10:59:23] [PASSED] 51 VFs
[10:59:23] [PASSED] 52 VFs
[10:59:23] [PASSED] 53 VFs
[10:59:23] [PASSED] 54 VFs
[10:59:23] [PASSED] 55 VFs
[10:59:23] [PASSED] 56 VFs
[10:59:23] [PASSED] 57 VFs
[10:59:23] [PASSED] 58 VFs
[10:59:23] [PASSED] 59 VFs
[10:59:23] [PASSED] 60 VFs
[10:59:23] [PASSED] 61 VFs
[10:59:23] [PASSED] 62 VFs
[10:59:23] [PASSED] 63 VFs
[10:59:23] ==================== [PASSED] fair_ggtt ====================
[10:59:23] ======================== fair_vram  ========================
[10:59:23] [PASSED] 1 VF
[10:59:23] [PASSED] 2 VFs
[10:59:23] [PASSED] 3 VFs
[10:59:23] [PASSED] 4 VFs
[10:59:23] [PASSED] 5 VFs
[10:59:23] [PASSED] 6 VFs
[10:59:23] [PASSED] 7 VFs
[10:59:23] [PASSED] 8 VFs
[10:59:23] [PASSED] 9 VFs
[10:59:23] [PASSED] 10 VFs
[10:59:23] [PASSED] 11 VFs
[10:59:23] [PASSED] 12 VFs
[10:59:23] [PASSED] 13 VFs
[10:59:23] [PASSED] 14 VFs
[10:59:23] [PASSED] 15 VFs
[10:59:23] [PASSED] 16 VFs
[10:59:23] [PASSED] 17 VFs
[10:59:23] [PASSED] 18 VFs
[10:59:23] [PASSED] 19 VFs
[10:59:23] [PASSED] 20 VFs
[10:59:23] [PASSED] 21 VFs
[10:59:23] [PASSED] 22 VFs
[10:59:23] [PASSED] 23 VFs
[10:59:23] [PASSED] 24 VFs
[10:59:23] [PASSED] 25 VFs
[10:59:23] [PASSED] 26 VFs
[10:59:23] [PASSED] 27 VFs
[10:59:23] [PASSED] 28 VFs
[10:59:23] [PASSED] 29 VFs
[10:59:23] [PASSED] 30 VFs
[10:59:23] [PASSED] 31 VFs
[10:59:23] [PASSED] 32 VFs
[10:59:23] [PASSED] 33 VFs
[10:59:23] [PASSED] 34 VFs
[10:59:23] [PASSED] 35 VFs
[10:59:23] [PASSED] 36 VFs
[10:59:23] [PASSED] 37 VFs
[10:59:23] [PASSED] 38 VFs
[10:59:23] [PASSED] 39 VFs
[10:59:23] [PASSED] 40 VFs
[10:59:23] [PASSED] 41 VFs
[10:59:23] [PASSED] 42 VFs
[10:59:23] [PASSED] 43 VFs
[10:59:23] [PASSED] 44 VFs
[10:59:23] [PASSED] 45 VFs
[10:59:23] [PASSED] 46 VFs
[10:59:23] [PASSED] 47 VFs
[10:59:23] [PASSED] 48 VFs
[10:59:23] [PASSED] 49 VFs
[10:59:23] [PASSED] 50 VFs
[10:59:23] [PASSED] 51 VFs
[10:59:23] [PASSED] 52 VFs
[10:59:23] [PASSED] 53 VFs
[10:59:23] [PASSED] 54 VFs
[10:59:23] [PASSED] 55 VFs
[10:59:23] [PASSED] 56 VFs
[10:59:23] [PASSED] 57 VFs
[10:59:23] [PASSED] 58 VFs
[10:59:23] [PASSED] 59 VFs
[10:59:23] [PASSED] 60 VFs
[10:59:23] [PASSED] 61 VFs
[10:59:23] [PASSED] 62 VFs
[10:59:23] [PASSED] 63 VFs
[10:59:23] ==================== [PASSED] fair_vram ====================
[10:59:23] ================== [PASSED] pf_gt_config ===================
[10:59:23] ===================== lmtt (1 subtest) =====================
[10:59:23] ======================== test_ops  =========================
[10:59:23] [PASSED] 2-level
[10:59:23] [PASSED] multi-level
[10:59:23] ==================== [PASSED] test_ops =====================
[10:59:23] ====================== [PASSED] lmtt =======================
[10:59:23] ================= sriov_packet (1 subtest) =================
[10:59:23] [PASSED] test_descriptor_init
[10:59:23] ================== [PASSED] sriov_packet ===================
[10:59:23] ================= pf_service (11 subtests) =================
[10:59:23] [PASSED] pf_negotiate_any
[10:59:23] [PASSED] pf_negotiate_base_match
[10:59:23] [PASSED] pf_negotiate_base_newer
[10:59:23] [PASSED] pf_negotiate_base_next
[10:59:23] [SKIPPED] pf_negotiate_base_older (no older minor)
[10:59:23] [PASSED] pf_negotiate_base_prev
[10:59:23] [PASSED] pf_negotiate_latest_match
[10:59:23] [PASSED] pf_negotiate_latest_newer
[10:59:23] [PASSED] pf_negotiate_latest_next
[10:59:23] [SKIPPED] pf_negotiate_latest_older (no older minor)
[10:59:23] [SKIPPED] pf_negotiate_latest_prev (no prev major)
[10:59:23] =================== [PASSED] pf_service ====================
[10:59:23] ================= xe_guc_g2g (2 subtests) ==================
[10:59:23] ============== xe_live_guc_g2g_kunit_default  ==============
[10:59:23] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ==========
[10:59:23] ============== xe_live_guc_g2g_kunit_allmem  ===============
[10:59:23] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ==========
[10:59:23] =================== [SKIPPED] xe_guc_g2g ===================
[10:59:23] =================== xe_mocs (2 subtests) ===================
[10:59:23] ================ xe_live_mocs_kernel_kunit  ================
[10:59:23] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============
[10:59:23] ================ xe_live_mocs_reset_kunit  =================
[10:59:23] ============ [SKIPPED] xe_live_mocs_reset_kunit ============
[10:59:23] ==================== [SKIPPED] xe_mocs =====================
[10:59:23] ================= xe_migrate (2 subtests) ==================
[10:59:23] ================= xe_migrate_sanity_kunit  =================
[10:59:23] ============ [SKIPPED] xe_migrate_sanity_kunit =============
[10:59:23] ================== xe_validate_ccs_kunit  ==================
[10:59:23] ============= [SKIPPED] xe_validate_ccs_kunit ==============
[10:59:23] =================== [SKIPPED] xe_migrate ===================
[10:59:23] ================== xe_dma_buf (1 subtest) ==================
[10:59:23] ==================== xe_dma_buf_kunit  =====================
[10:59:23] ================ [SKIPPED] xe_dma_buf_kunit ================
[10:59:23] =================== [SKIPPED] xe_dma_buf ===================
[10:59:23] ================= xe_bo_shrink (1 subtest) =================
[10:59:23] =================== xe_bo_shrink_kunit  ====================
[10:59:23] =============== [SKIPPED] xe_bo_shrink_kunit ===============
[10:59:23] ================== [SKIPPED] xe_bo_shrink ==================
[10:59:23] ==================== xe_bo (2 subtests) ====================
[10:59:23] ================== xe_ccs_migrate_kunit  ===================
[10:59:23] ============== [SKIPPED] xe_ccs_migrate_kunit ==============
[10:59:23] ==================== xe_bo_evict_kunit  ====================
[10:59:23] =============== [SKIPPED] xe_bo_evict_kunit ================
[10:59:23] ===================== [SKIPPED] xe_bo ======================
[10:59:23] =================== xe_any (9 subtests) ====================
[10:59:23] [PASSED] test_to_xe
[10:59:23] [PASSED] test_to_dev
[10:59:23] [PASSED] test_to_pdev
[10:59:23] [PASSED] test_to_drm
[10:59:23] [PASSED] test_if_pdev
[10:59:23] [PASSED] test_if_xe
[10:59:23] [PASSED] test_if_tile
[10:59:23] [PASSED] test_if_gt
[10:59:23] [PASSED] test_to_id
[10:59:23] ===================== [PASSED] xe_any ======================
[10:59:23] ==================== args (13 subtests) ====================
[10:59:23] [PASSED] count_args_test
[10:59:23] [PASSED] call_args_example
[10:59:23] [PASSED] call_args_test
[10:59:23] [PASSED] drop_first_arg_example
[10:59:23] [PASSED] drop_first_arg_test
[10:59:23] [PASSED] first_arg_example
[10:59:23] [PASSED] first_arg_test
[10:59:23] [PASSED] last_arg_example
[10:59:23] [PASSED] last_arg_test
[10:59:23] [PASSED] pick_arg_example
[10:59:23] [PASSED] if_args_example
[10:59:23] [PASSED] if_args_test
[10:59:23] [PASSED] sep_comma_example
[10:59:23] ====================== [PASSED] args =======================
[10:59:23] =================== xe_pci (3 subtests) ====================
[10:59:23] ==================== check_graphics_ip  ====================
[10:59:23] [PASSED] 12.00 Xe_LP
[10:59:23] [PASSED] 12.10 Xe_LP+
[10:59:23] [PASSED] 12.55 Xe_HPG
[10:59:23] [PASSED] 12.60 Xe_HPC
[10:59:23] [PASSED] 12.70 Xe_LPG
[10:59:23] [PASSED] 12.71 Xe_LPG
[10:59:23] [PASSED] 12.74 Xe_LPG+
[10:59:23] [PASSED] 20.01 Xe2_HPG
[10:59:23] [PASSED] 20.02 Xe2_HPG
[10:59:23] [PASSED] 20.04 Xe2_LPG
[10:59:23] [PASSED] 30.00 Xe3_LPG
[10:59:23] [PASSED] 30.01 Xe3_LPG
[10:59:23] [PASSED] 30.03 Xe3_LPG
[10:59:23] [PASSED] 30.04 Xe3_LPG
[10:59:23] [PASSED] 30.05 Xe3_LPG
[10:59:23] [PASSED] 35.10 Xe3p_LPG
[10:59:23] [PASSED] 35.11 Xe3p_XPC
[10:59:23] ================ [PASSED] check_graphics_ip ================
[10:59:23] ===================== check_media_ip  ======================
[10:59:23] [PASSED] 12.00 Xe_M
[10:59:23] [PASSED] 12.55 Xe_HPM
[10:59:23] [PASSED] 13.00 Xe_LPM+
[10:59:23] [PASSED] 13.01 Xe2_HPM
[10:59:23] [PASSED] 20.00 Xe2_LPM
[10:59:23] [PASSED] 30.00 Xe3_LPM
[10:59:23] [PASSED] 30.02 Xe3_LPM
[10:59:23] [PASSED] 35.00 Xe3p_LPM
[10:59:23] [PASSED] 35.03 Xe3p_HPM
[10:59:23] ================= [PASSED] check_media_ip ==================
[10:59:23] =================== check_platform_desc  ===================
[10:59:23] [PASSED] 0x9A60 (TIGERLAKE)
[10:59:23] [PASSED] 0x9A68 (TIGERLAKE)
[10:59:23] [PASSED] 0x9A70 (TIGERLAKE)
[10:59:23] [PASSED] 0x9A40 (TIGERLAKE)
[10:59:23] [PASSED] 0x9A49 (TIGERLAKE)
[10:59:23] [PASSED] 0x9A59 (TIGERLAKE)
[10:59:23] [PASSED] 0x9A78 (TIGERLAKE)
[10:59:23] [PASSED] 0x9AC0 (TIGERLAKE)
[10:59:23] [PASSED] 0x9AC9 (TIGERLAKE)
[10:59:23] [PASSED] 0x9AD9 (TIGERLAKE)
[10:59:23] [PASSED] 0x9AF8 (TIGERLAKE)
[10:59:23] [PASSED] 0x4C80 (ROCKETLAKE)
[10:59:23] [PASSED] 0x4C8A (ROCKETLAKE)
[10:59:23] [PASSED] 0x4C8B (ROCKETLAKE)
[10:59:23] [PASSED] 0x4C8C (ROCKETLAKE)
[10:59:23] [PASSED] 0x4C90 (ROCKETLAKE)
[10:59:23] [PASSED] 0x4C9A (ROCKETLAKE)
[10:59:23] [PASSED] 0x4680 (ALDERLAKE_S)
[10:59:23] [PASSED] 0x4682 (ALDERLAKE_S)
[10:59:23] [PASSED] 0x4688 (ALDERLAKE_S)
[10:59:23] [PASSED] 0x468A (ALDERLAKE_S)
[10:59:23] [PASSED] 0x468B (ALDERLAKE_S)
[10:59:23] [PASSED] 0x4690 (ALDERLAKE_S)
[10:59:23] [PASSED] 0x4692 (ALDERLAKE_S)
[10:59:23] [PASSED] 0x4693 (ALDERLAKE_S)
[10:59:23] [PASSED] 0x46A0 (ALDERLAKE_P)
[10:59:23] [PASSED] 0x46A1 (ALDERLAKE_P)
[10:59:23] [PASSED] 0x46A2 (ALDERLAKE_P)
[10:59:23] [PASSED] 0x46A3 (ALDERLAKE_P)
[10:59:23] [PASSED] 0x46A6 (ALDERLAKE_P)
[10:59:23] [PASSED] 0x46A8 (ALDERLAKE_P)
[10:59:23] [PASSED] 0x46AA (ALDERLAKE_P)
[10:59:23] [PASSED] 0x462A (ALDERLAKE_P)
[10:59:23] [PASSED] 0x4626 (ALDERLAKE_P)
[10:59:23] [PASSED] 0x4628 (ALDERLAKE_P)
[10:59:23] [PASSED] 0x46B0 (ALDERLAKE_P)
[10:59:23] [PASSED] 0x46B1 (ALDERLAKE_P)
[10:59:23] [PASSED] 0x46B2 (ALDERLAKE_P)
[10:59:23] [PASSED] 0x46B3 (ALDERLAKE_P)
[10:59:23] [PASSED] 0x46C0 (ALDERLAKE_P)
[10:59:23] [PASSED] 0x46C1 (ALDERLAKE_P)
[10:59:23] [PASSED] 0x46C2 (ALDERLAKE_P)
[10:59:23] [PASSED] 0x46C3 (ALDERLAKE_P)
[10:59:23] [PASSED] 0x46D0 (ALDERLAKE_N)
[10:59:23] [PASSED] 0x46D1 (ALDERLAKE_N)
[10:59:23] [PASSED] 0x46D2 (ALDERLAKE_N)
[10:59:23] [PASSED] 0x46D3 (ALDERLAKE_N)
[10:59:23] [PASSED] 0x46D4 (ALDERLAKE_N)
[10:59:23] [PASSED] 0xA721 (ALDERLAKE_P)
[10:59:23] [PASSED] 0xA7A1 (ALDERLAKE_P)
[10:59:23] [PASSED] 0xA7A9 (ALDERLAKE_P)
[10:59:23] [PASSED] 0xA7AC (ALDERLAKE_P)
[10:59:23] [PASSED] 0xA7AD (ALDERLAKE_P)
[10:59:23] [PASSED] 0xA720 (ALDERLAKE_P)
[10:59:23] [PASSED] 0xA7A0 (ALDERLAKE_P)
[10:59:23] [PASSED] 0xA7A8 (ALDERLAKE_P)
[10:59:23] [PASSED] 0xA7AA (ALDERLAKE_P)
[10:59:23] [PASSED] 0xA7AB (ALDERLAKE_P)
[10:59:23] [PASSED] 0xA780 (ALDERLAKE_S)
[10:59:23] [PASSED] 0xA781 (ALDERLAKE_S)
[10:59:23] [PASSED] 0xA782 (ALDERLAKE_S)
[10:59:23] [PASSED] 0xA783 (ALDERLAKE_S)
[10:59:23] [PASSED] 0xA788 (ALDERLAKE_S)
[10:59:23] [PASSED] 0xA789 (ALDERLAKE_S)
[10:59:23] [PASSED] 0xA78A (ALDERLAKE_S)
[10:59:23] [PASSED] 0xA78B (ALDERLAKE_S)
[10:59:23] [PASSED] 0x4905 (DG1)
[10:59:23] [PASSED] 0x4906 (DG1)
[10:59:23] [PASSED] 0x4907 (DG1)
[10:59:23] [PASSED] 0x4908 (DG1)
[10:59:23] [PASSED] 0x4909 (DG1)
[10:59:23] [PASSED] 0x56C0 (DG2)
[10:59:23] [PASSED] 0x56C2 (DG2)
[10:59:23] [PASSED] 0x56C1 (DG2)
[10:59:23] [PASSED] 0x7D51 (METEORLAKE)
[10:59:23] [PASSED] 0x7DD1 (METEORLAKE)
[10:59:23] [PASSED] 0x7D41 (METEORLAKE)
[10:59:23] [PASSED] 0x7D67 (METEORLAKE)
[10:59:23] [PASSED] 0xB640 (METEORLAKE)
[10:59:23] [PASSED] 0x56A0 (DG2)
[10:59:23] [PASSED] 0x56A1 (DG2)
[10:59:23] [PASSED] 0x56A2 (DG2)
[10:59:23] [PASSED] 0x56BE (DG2)
[10:59:23] [PASSED] 0x56BF (DG2)
[10:59:23] [PASSED] 0x5690 (DG2)
[10:59:23] [PASSED] 0x5691 (DG2)
[10:59:23] [PASSED] 0x5692 (DG2)
[10:59:23] [PASSED] 0x56A5 (DG2)
[10:59:23] [PASSED] 0x56A6 (DG2)
[10:59:23] [PASSED] 0x56B0 (DG2)
[10:59:23] [PASSED] 0x56B1 (DG2)
[10:59:23] [PASSED] 0x56BA (DG2)
[10:59:23] [PASSED] 0x56BB (DG2)
[10:59:23] [PASSED] 0x56BC (DG2)
[10:59:23] [PASSED] 0x56BD (DG2)
[10:59:23] [PASSED] 0x5693 (DG2)
[10:59:23] [PASSED] 0x5694 (DG2)
[10:59:23] [PASSED] 0x5695 (DG2)
[10:59:23] [PASSED] 0x56A3 (DG2)
[10:59:23] [PASSED] 0x56A4 (DG2)
[10:59:23] [PASSED] 0x56B2 (DG2)
[10:59:23] [PASSED] 0x56B3 (DG2)
[10:59:23] [PASSED] 0x5696 (DG2)
[10:59:23] [PASSED] 0x5697 (DG2)
[10:59:23] [PASSED] 0xB69 (PVC)
[10:59:23] [PASSED] 0xB6E (PVC)
[10:59:23] [PASSED] 0xBD4 (PVC)
[10:59:23] [PASSED] 0xBD5 (PVC)
[10:59:23] [PASSED] 0xBD6 (PVC)
[10:59:23] [PASSED] 0xBD7 (PVC)
[10:59:23] [PASSED] 0xBD8 (PVC)
[10:59:23] [PASSED] 0xBD9 (PVC)
[10:59:23] [PASSED] 0xBDA (PVC)
[10:59:23] [PASSED] 0xBDB (PVC)
[10:59:23] [PASSED] 0xBE0 (PVC)
[10:59:23] [PASSED] 0xBE1 (PVC)
[10:59:23] [PASSED] 0xBE5 (PVC)
[10:59:23] [PASSED] 0x7D40 (METEORLAKE)
[10:59:23] [PASSED] 0x7D45 (METEORLAKE)
[10:59:23] [PASSED] 0x7D55 (METEORLAKE)
[10:59:23] [PASSED] 0x7D60 (METEORLAKE)
[10:59:23] [PASSED] 0x7DD5 (METEORLAKE)
[10:59:23] [PASSED] 0x6420 (LUNARLAKE)
[10:59:23] [PASSED] 0x64A0 (LUNARLAKE)
[10:59:23] [PASSED] 0x64B0 (LUNARLAKE)
[10:59:23] [PASSED] 0xE202 (BATTLEMAGE)
[10:59:23] [PASSED] 0xE209 (BATTLEMAGE)
[10:59:23] [PASSED] 0xE20B (BATTLEMAGE)
[10:59:23] [PASSED] 0xE20C (BATTLEMAGE)
[10:59:23] [PASSED] 0xE20D (BATTLEMAGE)
[10:59:23] [PASSED] 0xE210 (BATTLEMAGE)
[10:59:23] [PASSED] 0xE211 (BATTLEMAGE)
[10:59:23] [PASSED] 0xE212 (BATTLEMAGE)
[10:59:23] [PASSED] 0xE216 (BATTLEMAGE)
[10:59:23] [PASSED] 0xE220 (BATTLEMAGE)
[10:59:23] [PASSED] 0xE221 (BATTLEMAGE)
[10:59:23] [PASSED] 0xE222 (BATTLEMAGE)
[10:59:23] [PASSED] 0xE223 (BATTLEMAGE)
[10:59:23] [PASSED] 0xB080 (PANTHERLAKE)
[10:59:23] [PASSED] 0xB081 (PANTHERLAKE)
[10:59:23] [PASSED] 0xB082 (PANTHERLAKE)
[10:59:23] [PASSED] 0xB083 (PANTHERLAKE)
[10:59:23] [PASSED] 0xB084 (PANTHERLAKE)
[10:59:23] [PASSED] 0xB085 (PANTHERLAKE)
[10:59:23] [PASSED] 0xB086 (PANTHERLAKE)
[10:59:23] [PASSED] 0xB087 (PANTHERLAKE)
[10:59:23] [PASSED] 0xB08F (PANTHERLAKE)
[10:59:23] [PASSED] 0xB090 (PANTHERLAKE)
[10:59:23] [PASSED] 0xB0A0 (PANTHERLAKE)
[10:59:23] [PASSED] 0xB0B0 (PANTHERLAKE)
[10:59:23] [PASSED] 0xFD80 (PANTHERLAKE)
[10:59:23] [PASSED] 0xFD81 (PANTHERLAKE)
[10:59:23] [PASSED] 0xD740 (NOVALAKE_S)
[10:59:23] [PASSED] 0xD741 (NOVALAKE_S)
[10:59:23] [PASSED] 0xD742 (NOVALAKE_S)
[10:59:23] [PASSED] 0xD743 (NOVALAKE_S)
[10:59:23] [PASSED] 0xD745 (NOVALAKE_S)
[10:59:23] [PASSED] 0xD74A (NOVALAKE_S)
[10:59:23] [PASSED] 0xD74B (NOVALAKE_S)
[10:59:23] [PASSED] 0x674C (CRESCENTISLAND)
[10:59:23] [PASSED] 0x674D (CRESCENTISLAND)
[10:59:23] [PASSED] 0x674E (CRESCENTISLAND)
[10:59:23] [PASSED] 0x674F (CRESCENTISLAND)
[10:59:23] [PASSED] 0x6750 (CRESCENTISLAND)
[10:59:23] [PASSED] 0xD750 (NOVALAKE_P)
[10:59:23] [PASSED] 0xD751 (NOVALAKE_P)
[10:59:23] [PASSED] 0xD752 (NOVALAKE_P)
[10:59:23] [PASSED] 0xD753 (NOVALAKE_P)
[10:59:23] [PASSED] 0xD754 (NOVALAKE_P)
[10:59:23] [PASSED] 0xD755 (NOVALAKE_P)
[10:59:23] [PASSED] 0xD756 (NOVALAKE_P)
[10:59:23] [PASSED] 0xD757 (NOVALAKE_P)
[10:59:23] [PASSED] 0xD75F (NOVALAKE_P)
[10:59:23] =============== [PASSED] check_platform_desc ===============
[10:59:23] ===================== [PASSED] xe_pci ======================
[10:59:23] ============= xe_rtp_tables_test (5 subtests) ==============
[10:59:23] ================== xe_rtp_table_gt_test  ===================
[10:59:23] [PASSED] gt_was/14011060649
[10:59:23] [PASSED] gt_was/14011059788
[10:59:23] [PASSED] gt_was/14015795083
[10:59:23] [PASSED] gt_was/16021867713
[10:59:23] [PASSED] gt_was/14019449301
[10:59:23] [PASSED] gt_was/16028005424
[10:59:23] [PASSED] gt_was/14026578760
[10:59:23] [PASSED] gt_was/1409420604
[10:59:23] [PASSED] gt_was/1408615072
[10:59:23] [PASSED] gt_was/22010523718
[10:59:23] [PASSED] gt_was/14011006942
[10:59:23] [PASSED] gt_was/14014830051
[10:59:23] [PASSED] gt_was/18018781329
[10:59:23] [PASSED] gt_was/1509235366
[10:59:23] [PASSED] gt_was/18018781329
[10:59:23] [PASSED] gt_was/16016694945
[10:59:23] [PASSED] gt_was/14018575942
[10:59:23] [PASSED] gt_was/22016670082
[10:59:23] [PASSED] gt_was/22016670082
[10:59:23] [PASSED] gt_was/14017421178
[10:59:23] [PASSED] gt_was/16025250150
[10:59:23] [PASSED] gt_was/14021871409
[10:59:23] [PASSED] gt_was/16021865536
[10:59:23] [PASSED] gt_was/14021486841
[10:59:23] [PASSED] gt_was/14025160223
[10:59:23] [PASSED] gt_was/14026144927, 16029437861, 14026127056
[10:59:23] [PASSED] gt_was/14025635424
[10:59:23] [PASSED] gt_was/16028005424
[10:59:23] ============== [PASSED] xe_rtp_table_gt_test ===============
[10:59:23] ================== xe_rtp_table_gt_test  ===================
[10:59:23] [PASSED] gt_tunings/Tuning: Blend Fill Caching Optimization Disable
[10:59:23] [PASSED] gt_tunings/Tuning: 32B Access Enable
[10:59:23] [PASSED] gt_tunings/Tuning: L3 cache
[10:59:23] [PASSED] gt_tunings/Tuning: L3 cache - media
[10:59:23] [PASSED] gt_tunings/Tuning: Compression Overfetch
[10:59:23] [PASSED] gt_tunings/Tuning: Compression Overfetch - media
[10:59:23] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3
[10:59:23] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3 - media
[10:59:23] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only
[10:59:23] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only - media
[10:59:23] [PASSED] gt_tunings/Tuning: Stateless compression control
[10:59:23] [PASSED] gt_tunings/Tuning: Stateless compression control - media
[10:59:23] [PASSED] gt_tunings/Tuning: L3 RW flush all Cache
[10:59:23] [PASSED] gt_tunings/Tuning: L3 RW flush all cache - media
[10:59:23] [PASSED] gt_tunings/Tuning: Set STLB Bank Hash Mode to 4KB
[10:59:23] ============== [PASSED] xe_rtp_table_gt_test ===============
[10:59:23] ================== xe_rtp_table_oob_test  ==================
[10:59:23] [PASSED] oob_was/1607983814
[10:59:23] [PASSED] oob_was/16010904313
[10:59:23] [PASSED] oob_was/18022495364
[10:59:23] [PASSED] oob_was/22012773006
[10:59:23] [PASSED] oob_was/14014475959
[10:59:23] [PASSED] oob_was/22011391025
[10:59:23] [PASSED] oob_was/22012727170
[10:59:23] [PASSED] oob_was/22012727685
[10:59:23] [PASSED] oob_was/22016596838
[10:59:23] [PASSED] oob_was/18020744125
[10:59:23] [PASSED] oob_was/1409600907
[10:59:23] [PASSED] oob_was/22014953428
[10:59:23] [PASSED] oob_was/16017236439
[10:59:23] [PASSED] oob_was/14019821291
[10:59:23] [PASSED] oob_was/14015076503
[10:59:23] [PASSED] oob_was/14018913170
[10:59:23] [PASSED] oob_was/14018094691
[10:59:23] [PASSED] oob_was/18024947630
[10:59:23] [PASSED] oob_was/16022287689
[10:59:23] [PASSED] oob_was/13011645652
[10:59:23] [PASSED] oob_was/14022293748
[10:59:23] [PASSED] oob_was/22019794406
[10:59:23] [PASSED] oob_was/22019338487
[10:59:23] [PASSED] oob_was/16023588340
[10:59:23] [PASSED] oob_was/14019789679
[10:59:23] [PASSED] oob_was/14022866841
[10:59:23] [PASSED] oob_was/16021333562
[10:59:23] [PASSED] oob_was/14016712196
[10:59:23] [PASSED] oob_was/14015568240
[10:59:23] [PASSED] oob_was/18013179988
[10:59:23] [PASSED] oob_was/1508761755
[10:59:23] [PASSED] oob_was/16023105232
[10:59:23] [PASSED] oob_was/16026508708
[10:59:23] [PASSED] oob_was/14020001231
[10:59:23] [PASSED] oob_was/16023683509
[10:59:23] [PASSED] oob_was/14025515070
[10:59:23] [PASSED] oob_was/15015404425_disable
[10:59:23] [PASSED] oob_was/16026007364
[10:59:23] [PASSED] oob_was/14020316580
[10:59:23] [PASSED] oob_was/14025883347
[10:59:23] [PASSED] oob_was/16029380221
[10:59:23] [PASSED] oob_was/22022079272
[10:59:23] [PASSED] oob_was/16029897822
[10:59:23] [PASSED] oob_was/14027054324
[10:59:23] [PASSED] oob_was/14025941587
[10:59:23] ============== [PASSED] xe_rtp_table_oob_test ==============
[10:59:23] ================ xe_rtp_table_dev_oob_test  ================
[10:59:23] [PASSED] device_oob_was/22010954014
[10:59:23] [PASSED] device_oob_was/15015404425
[10:59:23] [PASSED] device_oob_was/22019338487_display
[10:59:23] [PASSED] device_oob_was/14022085890
[10:59:23] [PASSED] device_oob_was/14026539277
[10:59:23] [PASSED] device_oob_was/14026633728
[10:59:23] [PASSED] device_oob_was/14026746987
[10:59:23] [PASSED] device_oob_was/14026779378
[10:59:23] ============ [PASSED] xe_rtp_table_dev_oob_test ============
[10:59:23] ========== xe_rtp_table_missing_upper_bound_test  ==========
[10:59:23] [PASSED] register_whitelist/WaAllowPMDepthAndInvocationCountAccessFromUMD, 1408556865
[10:59:23] [PASSED] register_whitelist/1508744258, 14012131227, 1808121037
[10:59:23] [PASSED] register_whitelist/1806527549
[10:59:23] [PASSED] register_whitelist/allow_read_ctx_timestamp
[10:59:23] [PASSED] register_whitelist/allow_read_queue_timestamp
[10:59:23] [PASSED] register_whitelist/16014440446
[10:59:23] [PASSED] register_whitelist/16017236439
[10:59:23] [PASSED] register_whitelist/16020183090
[10:59:23] [PASSED] register_whitelist/14024997852
[10:59:23] [PASSED] register_whitelist/14024997852
[10:59:23] ====== [PASSED] xe_rtp_table_missing_upper_bound_test ======
[10:59:23] =============== [PASSED] xe_rtp_tables_test ================
[10:59:23] =================== xe_rtp (3 subtests) ====================
[10:59:23] =================== xe_rtp_rules_tests  ====================
[10:59:23] [PASSED] no
[10:59:23] [PASSED] yes
[10:59:23] [PASSED] no-and-no
[10:59:23] [PASSED] no-and-yes
[10:59:23] [PASSED] yes-and-no
[10:59:23] [PASSED] yes-and-yes
[10:59:23] [PASSED] no-or-no
[10:59:23] [PASSED] no-or-yes
[10:59:23] [PASSED] yes-or-no
[10:59:23] [PASSED] yes-or-yes
[10:59:23] [PASSED] no-yes-or-yes-no
[10:59:23] [PASSED] no-yes-or-yes-yes
[10:59:23] [PASSED] yes-yes-or-no-yes
[10:59:23] [PASSED] yes-yes-or-yes-yes
[10:59:23] [PASSED] no-no-or-yes-or-no
[10:59:23] [PASSED] or
[10:59:23] [PASSED] or-yes
[10:59:23] [PASSED] or-no
[10:59:23] [PASSED] yes-or
[10:59:23] [PASSED] no-or
[10:59:23] [PASSED] no-or-or-yes
[10:59:23] [PASSED] yes-or-or-no
[10:59:23] [PASSED] no-or-or-no
[10:59:23] [PASSED] missing-context-engine-class
[10:59:23] [PASSED] missing-context-engine-class-or-yes
[10:59:23] [PASSED] missing-context-engine-class-or-or-yes
[10:59:23] =============== [PASSED] xe_rtp_rules_tests ================
[10:59:23] =============== xe_rtp_process_to_sr_tests  ================
[10:59:23] [PASSED] coalesce-same-reg
[10:59:23] [PASSED] coalesce-same-reg-literal-and-func
[10:59:23] [PASSED] no-match-no-add
[10:59:23] [PASSED] two-regs-two-entries
[10:59:23] [PASSED] clr-one-set-other
[10:59:23] [PASSED] set-field
[10:59:23] [PASSED] conflict-duplicate
[10:59:23] [PASSED] conflict-not-disjoint
[10:59:23] [PASSED] conflict-not-disjoint-literal-and-func
[10:59:23] [PASSED] conflict-reg-type
[10:59:23] [PASSED] bad-mcr-reg-forced-to-regular
[10:59:23] [PASSED] bad-regular-reg-forced-to-mcr
[10:59:23] =========== [PASSED] xe_rtp_process_to_sr_tests ============
[10:59:23] ================== xe_rtp_process_tests  ===================
[10:59:23] [PASSED] active1
[10:59:23] [PASSED] active2
[10:59:23] [PASSED] active-inactive
[10:59:23] [PASSED] inactive-active
[10:59:23] [PASSED] inactive-active-inactive
[10:59:23] [PASSED] inactive-inactive-inactive
[10:59:23] ============== [PASSED] xe_rtp_process_tests ===============
[10:59:23] ===================== [PASSED] xe_rtp ======================
[10:59:23] ==================== xe_wa (1 subtest) =====================
[10:59:23] ======================== xe_wa_gt  =========================
[10:59:23] [PASSED] TIGERLAKE B0
[10:59:23] [PASSED] DG1 A0
[10:59:23] [PASSED] DG1 B0
[10:59:23] [PASSED] ALDERLAKE_S A0
[10:59:23] [PASSED] ALDERLAKE_S B0
[10:59:23] [PASSED] ALDERLAKE_S C0
[10:59:23] [PASSED] ALDERLAKE_S D0
[10:59:23] [PASSED] ALDERLAKE_P A0
[10:59:23] [PASSED] ALDERLAKE_P B0
[10:59:23] [PASSED] ALDERLAKE_P C0
[10:59:23] [PASSED] ALDERLAKE_S RPLS D0
[10:59:23] [PASSED] ALDERLAKE_P RPLU E0
[10:59:23] [PASSED] DG2 G10 C0
[10:59:23] [PASSED] DG2 G11 B1
[10:59:23] [PASSED] DG2 G12 A1
[10:59:23] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0
[10:59:23] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0
[10:59:23] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0
[10:59:23] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0
[10:59:23] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0
[10:59:23] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1
[10:59:23] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0
[10:59:23] ==================== [PASSED] xe_wa_gt =====================
[10:59:23] ====================== [PASSED] xe_wa ======================
[10:59:23] ============================================================
[10:59:23] Testing complete. Ran 820 tests: passed: 792, skipped: 28
[10:59:23] Elapsed time: 36.778s total, 1.848s configuring, 34.214s building, 0.706s running

+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/drm/tests/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig [10:59:24] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:

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

+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig [10:59:51] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:

$ make ARCH=um O=.kunit olddefconfig
[10:59:53] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48
[11:00:03] Starting KUnit Kernel (1/1)...
[11:00:03] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[11:00:03] ============= refcount_interrupt (4 subtests) ==============
[11:00:03] [PASSED] test_single_irq_change
[11:00:03] [PASSED] test_nested_irq_change
[11:00:03] [PASSED] test_multiple_irq_change
[11:00:03] [PASSED] test_irq_save
[11:00:03] =============== [PASSED] refcount_interrupt ================
[11:00:03] ================= ttm_device (5 subtests) ==================
[11:00:03] [PASSED] ttm_device_init_basic
[11:00:03] [PASSED] ttm_device_init_multiple
[11:00:03] [PASSED] ttm_device_fini_basic
[11:00:03] [PASSED] ttm_device_init_no_vma_man
[11:00:03] ================== ttm_device_init_pools  ==================
[11:00:03] [PASSED] No DMA allocations, no DMA32 required
[11:00:03] [PASSED] DMA allocations, DMA32 required
[11:00:03] [PASSED] No DMA allocations, DMA32 required
[11:00:03] [PASSED] DMA allocations, no DMA32 required
[11:00:03] ============== [PASSED] ttm_device_init_pools ==============
[11:00:03] =================== [PASSED] ttm_device ====================
[11:00:03] ================== ttm_pool (8 subtests) ===================
[11:00:03] ================== ttm_pool_alloc_basic  ===================
[11:00:03] [PASSED] One page
[11:00:03] [PASSED] More than one page
[11:00:03] [PASSED] Above the allocation limit
[11:00:03] [PASSED] One page, with coherent DMA mappings enabled
[11:00:03] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[11:00:03] ============== [PASSED] ttm_pool_alloc_basic ===============
[11:00:03] ============== ttm_pool_alloc_basic_dma_addr  ==============
[11:00:03] [PASSED] One page
[11:00:03] [PASSED] More than one page
[11:00:03] [PASSED] Above the allocation limit
[11:00:03] [PASSED] One page, with coherent DMA mappings enabled
[11:00:03] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[11:00:03] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ==========
[11:00:03] [PASSED] ttm_pool_alloc_order_caching_match
[11:00:03] [PASSED] ttm_pool_alloc_caching_mismatch
[11:00:03] [PASSED] ttm_pool_alloc_order_mismatch
[11:00:03] [PASSED] ttm_pool_free_dma_alloc
[11:00:03] [PASSED] ttm_pool_free_no_dma_alloc
[11:00:03] [PASSED] ttm_pool_fini_basic
[11:00:03] ==================== [PASSED] ttm_pool =====================
[11:00:03] ================ ttm_resource (8 subtests) =================
[11:00:03] ================= ttm_resource_init_basic  =================
[11:00:03] [PASSED] Init resource in TTM_PL_SYSTEM
[11:00:03] [PASSED] Init resource in TTM_PL_VRAM
[11:00:03] [PASSED] Init resource in a private placement
[11:00:03] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags
[11:00:03] ============= [PASSED] ttm_resource_init_basic =============
[11:00:03] [PASSED] ttm_resource_init_pinned
[11:00:03] [PASSED] ttm_resource_fini_basic
[11:00:03] [PASSED] ttm_resource_manager_init_basic
[11:00:03] [PASSED] ttm_resource_manager_usage_basic
[11:00:03] [PASSED] ttm_resource_manager_set_used_basic
[11:00:03] [PASSED] ttm_sys_man_alloc_basic
[11:00:03] [PASSED] ttm_sys_man_free_basic
[11:00:03] ================== [PASSED] ttm_resource ===================
[11:00:03] =================== ttm_tt (15 subtests) ===================
[11:00:03] ==================== ttm_tt_init_basic  ====================
[11:00:03] [PASSED] Page-aligned size
[11:00:03] [PASSED] Extra pages requested
[11:00:03] ================ [PASSED] ttm_tt_init_basic ================
[11:00:03] [PASSED] ttm_tt_init_misaligned
[11:00:03] [PASSED] ttm_tt_fini_basic
[11:00:03] [PASSED] ttm_tt_fini_sg
[11:00:03] [PASSED] ttm_tt_fini_shmem
[11:00:03] [PASSED] ttm_tt_create_basic
[11:00:03] [PASSED] ttm_tt_create_invalid_bo_type
[11:00:03] [PASSED] ttm_tt_create_ttm_exists
[11:00:03] [PASSED] ttm_tt_create_failed
[11:00:03] [PASSED] ttm_tt_destroy_basic
[11:00:03] [PASSED] ttm_tt_populate_null_ttm
[11:00:03] [PASSED] ttm_tt_populate_populated_ttm
[11:00:03] [PASSED] ttm_tt_unpopulate_basic
[11:00:03] [PASSED] ttm_tt_unpopulate_empty_ttm
[11:00:03] [PASSED] ttm_tt_swapin_basic
[11:00:03] ===================== [PASSED] ttm_tt ======================
[11:00:03] =================== ttm_bo (14 subtests) ===================
[11:00:03] =========== ttm_bo_reserve_optimistic_no_ticket  ===========
[11:00:03] [PASSED] Cannot be interrupted and sleeps
[11:00:03] [PASSED] Cannot be interrupted, locks straight away
[11:00:03] [PASSED] Can be interrupted, sleeps
[11:00:03] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket =======
[11:00:03] [PASSED] ttm_bo_reserve_locked_no_sleep
[11:00:03] [PASSED] ttm_bo_reserve_no_wait_ticket
[11:00:03] [PASSED] ttm_bo_reserve_double_resv
[11:00:03] [PASSED] ttm_bo_reserve_interrupted
[11:00:03] [PASSED] ttm_bo_reserve_deadlock
[11:00:03] [PASSED] ttm_bo_unreserve_basic
[11:00:03] [PASSED] ttm_bo_unreserve_pinned
[11:00:03] [PASSED] ttm_bo_unreserve_bulk
[11:00:03] [PASSED] ttm_bo_fini_basic
[11:00:03] [PASSED] ttm_bo_fini_shared_resv
[11:00:03] [PASSED] ttm_bo_pin_basic
[11:00:03] [PASSED] ttm_bo_pin_unpin_resource
[11:00:03] [PASSED] ttm_bo_multiple_pin_one_unpin
[11:00:03] ===================== [PASSED] ttm_bo ======================
[11:00:03] ============== ttm_bo_validate (22 subtests) ===============
[11:00:03] ============== ttm_bo_init_reserved_sys_man  ===============
[11:00:03] [PASSED] Buffer object for userspace
[11:00:03] [PASSED] Kernel buffer object
[11:00:03] [PASSED] Shared buffer object
[11:00:03] ========== [PASSED] ttm_bo_init_reserved_sys_man ===========
[11:00:03] ============== ttm_bo_init_reserved_mock_man  ==============
[11:00:03] [PASSED] Buffer object for userspace
[11:00:03] [PASSED] Kernel buffer object
[11:00:03] [PASSED] Shared buffer object
[11:00:03] ========== [PASSED] ttm_bo_init_reserved_mock_man ==========
[11:00:03] [PASSED] ttm_bo_init_reserved_resv
[11:00:03] ================== ttm_bo_validate_basic  ==================
[11:00:03] [PASSED] Buffer object for userspace
[11:00:03] [PASSED] Kernel buffer object
[11:00:03] [PASSED] Shared buffer object
[11:00:03] ============== [PASSED] ttm_bo_validate_basic ==============
[11:00:03] [PASSED] ttm_bo_validate_invalid_placement
[11:00:03] ============= ttm_bo_validate_same_placement  ==============
[11:00:03] [PASSED] System manager
[11:00:03] [PASSED] VRAM manager
[11:00:03] ========= [PASSED] ttm_bo_validate_same_placement ==========
[11:00:03] [PASSED] ttm_bo_validate_failed_alloc
[11:00:03] [PASSED] ttm_bo_validate_pinned
[11:00:03] [PASSED] ttm_bo_validate_busy_placement
[11:00:03] ================ ttm_bo_validate_multihop  =================
[11:00:03] [PASSED] Buffer object for userspace
[11:00:03] [PASSED] Kernel buffer object
[11:00:03] [PASSED] Shared buffer object
[11:00:03] ============ [PASSED] ttm_bo_validate_multihop =============
[11:00:03] ========== ttm_bo_validate_no_placement_signaled  ==========
[11:00:03] [PASSED] Buffer object in system domain, no page vector
[11:00:03] [PASSED] Buffer object in system domain with an existing page vector
[11:00:03] ====== [PASSED] ttm_bo_validate_no_placement_signaled ======
[11:00:03] ======== ttm_bo_validate_no_placement_not_signaled  ========
[11:00:03] [PASSED] Buffer object for userspace
[11:00:03] [PASSED] Kernel buffer object
[11:00:03] [PASSED] Shared buffer object
[11:00:03] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ====
[11:00:03] [PASSED] ttm_bo_validate_move_fence_signaled
[11:00:03] ========= ttm_bo_validate_move_fence_not_signaled  =========
[11:00:03] [PASSED] Waits for GPU
[11:00:03] [PASSED] Tries to lock straight away
[11:00:03] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled =====
[11:00:03] [PASSED] ttm_bo_validate_swapout
[11:00:03] [PASSED] ttm_bo_validate_happy_evict
[11:00:03] [PASSED] ttm_bo_validate_all_pinned_evict
[11:00:03] [PASSED] ttm_bo_validate_allowed_only_evict
[11:00:03] [PASSED] ttm_bo_validate_deleted_evict
[11:00:03] [PASSED] ttm_bo_validate_busy_domain_evict
[11:00:03] [PASSED] ttm_bo_validate_evict_gutting
[11:00:03] [PASSED] ttm_bo_validate_recrusive_evict
[11:00:03] ================= [PASSED] ttm_bo_validate =================
[11:00:03] ============================================================
[11:00:03] Testing complete. Ran 106 tests: passed: 106
[11:00:04] Elapsed time: 12.066s total, 1.794s configuring, 10.007s building, 0.226s running

+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/dma-buf/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/dma-buf/.kunitconfig [11:00:04] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:

$ make ARCH=um O=.kunit olddefconfig
[11:00:05] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48
[11:00:14] Starting KUnit Kernel (1/1)...
[11:00:14] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[11:00:14] ============= refcount_interrupt (4 subtests) ==============
[11:00:14] [PASSED] test_single_irq_change
[11:00:14] [PASSED] test_nested_irq_change
[11:00:14] [PASSED] test_multiple_irq_change
[11:00:14] [PASSED] test_irq_save
[11:00:14] =============== [PASSED] refcount_interrupt ================
[11:00:14] =============== dma-buf-fence (12 subtests) ================
[11:00:14] [PASSED] test_sanitycheck
[11:00:14] [PASSED] test_signaling
[11:00:14] [PASSED] test_add_callback
[11:00:14] [PASSED] test_late_add_callback
[11:00:14] [PASSED] test_rm_callback
[11:00:14] [PASSED] test_late_rm_callback
[11:00:14] [PASSED] test_status
[11:00:14] [PASSED] test_error
[11:00:14] [PASSED] test_wait
[11:00:14] [PASSED] test_wait_timeout
[11:00:14] [PASSED] test_stub
[11:00:14] [SKIPPED] test_race_signal_callback (requires at least 2 CPUs)
[11:00:14] ================== [PASSED] dma-buf-fence ==================
[11:00:14] ============ dma-buf-fence-chain (11 subtests) =============
[11:00:14] [PASSED] test_sanitycheck
[11:00:14] [PASSED] test_find_seqno
[11:00:14] [PASSED] test_find_signaled
[11:00:14] [PASSED] test_find_out_of_order
[11:00:19] [PASSED] test_find_gap
[11:00:19] [PASSED] test_find_race
[11:00:19] [PASSED] test_signal_forward
[11:00:19] [PASSED] test_signal_backward
[11:00:19] [PASSED] test_wait_forward
[11:00:19] [PASSED] test_wait_backward
[11:00:19] [PASSED] test_wait_random
[11:00:19] =============== [PASSED] dma-buf-fence-chain ===============
[11:00:19] ============ dma-buf-fence-unwrap (10 subtests) ============
[11:00:19] [PASSED] test_sanitycheck
[11:00:19] [PASSED] test_unwrap_array
[11:00:19] [PASSED] test_unwrap_chain
[11:00:19] [PASSED] test_unwrap_chain_array
[11:00:19] [PASSED] test_unwrap_merge
[11:00:19] [PASSED] test_unwrap_merge_duplicate
[11:00:19] [PASSED] test_unwrap_merge_seqno
[11:00:19] [PASSED] test_unwrap_merge_order
[11:00:19] [PASSED] test_unwrap_merge_complex
[11:00:19] [PASSED] test_unwrap_merge_complex_seqno
[11:00:19] ============== [PASSED] dma-buf-fence-unwrap ===============
[11:00:19] ================ dma-buf-resv (5 subtests) =================
[11:00:19] [PASSED] test_sanitycheck
[11:00:19] ===================== test_signaling  ======================
[11:00:19] [PASSED] kernel
[11:00:19] [PASSED] write
[11:00:19] [PASSED] read
[11:00:19] [PASSED] bookkeep
[11:00:19] ================= [PASSED] test_signaling ==================
[11:00:19] ====================== test_for_each  ======================
[11:00:19] [PASSED] kernel
[11:00:19] [PASSED] write
[11:00:19] [PASSED] read
[11:00:19] [PASSED] bookkeep
[11:00:19] ================== [PASSED] test_for_each ==================
[11:00:19] ================= test_for_each_unlocked  ==================
[11:00:19] [PASSED] kernel
[11:00:19] [PASSED] write
[11:00:19] [PASSED] read
[11:00:19] [PASSED] bookkeep
[11:00:19] ============= [PASSED] test_for_each_unlocked ==============
[11:00:19] ===================== test_get_fences  =====================
[11:00:19] [PASSED] kernel
[11:00:19] [PASSED] write
[11:00:19] [PASSED] read
[11:00:19] [PASSED] bookkeep
[11:00:19] ================= [PASSED] test_get_fences =================
[11:00:19] ================== [PASSED] dma-buf-resv ===================
[11:00:19] ============================================================
[11:00:19] Testing complete. Ran 54 tests: passed: 53, skipped: 1
[11:00:20] Elapsed time: 15.855s total, 1.792s configuring, 8.691s building, 5.356s running

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

#20 lore raw

✓ Xe.CI.BAT: success for drm/xe/hwmon: Update hwmon thermal mailbox

In reply to Karthik Poosa
== Series Details ==

== Series Details ==

Series: drm/xe/hwmon: Update hwmon thermal mailbox
URL : https://patchwork.freedesktop.org/series/174898/
State : success

== Summary ==

CI Bug Log - changes from xe-5819-a61293e633b18c618fd2f7d508cf558db0f42227_BAT -> xe-pw-174898v1_BAT
====================================================

Summary
-------

**SUCCESS**

No regressions found.

Participating hosts (15 -> 15)
------------------------------

No changes in participating hosts

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

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

### IGT changes ###

#### Issues hit ####

* igt@xe_waitfence@reltime:
- bat-bmg-2: [PASS][1] -> [FAIL][2] ([Intel XE#9115])
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5819-a61293e633b18c618fd2f7d508cf558db0f42227/bat-bmg-2/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174898v1/bat-bmg-2/igt@[email protected]

#### Possible fixes ####

* igt@xe_waitfence@reltime:
- bat-wcl-1: [FAIL][3] ([Intel XE#9115]) -> [PASS][4]
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5819-a61293e633b18c618fd2f7d508cf558db0f42227/bat-wcl-1/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174898v1/bat-wcl-1/igt@[email protected]

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

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

* Linux: xe-5819-a61293e633b18c618fd2f7d508cf558db0f42227 -> xe-pw-174898v1

IGT_9111: 4aeabf104b136437d0ccc57caf32a752587d595c @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-5819-a61293e633b18c618fd2f7d508cf558db0f42227: a61293e633b18c618fd2f7d508cf558db0f42227
xe-pw-174898v1: 174898v1

== Logs ==

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