Skip to contentSkip to conversation

drm/i915/selftest: Add move poison patterns

PATCH In review Chris Wilson 3 participants 3 messages Mar 13, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/i915/selftest: Add move poison patterns

Throw in the inverse patterns to create more examples of poison to use against the LRC state.

---
 drivers/gpu/drm/i915/gt/selftest_lrc.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
drivers/gpu/drm/i915/gt/selftest_lrc.c +6 -1
index e9e71c52b34d..6f06ba750a0a 100644
@@ -5290,8 +5290,9 @@ static int live_lrc_isolation(void *arg)
 	const u32 poison[] = {
 		STACK_MAGIC,
 		0x3a3a3a3a,
-		0xc5c5c5c5,
+		0x5c5c5c5c,
 		0xffffffff,
+		0xffff0000,
 	};
 
 	/*
@@ -5317,6 +5318,10 @@ static int live_lrc_isolation(void *arg)
 				err = __lrc_isolation(engine, poison[i]);
 				if (err)
 					break;
+
+				err = __lrc_isolation(engine, ~poison[i]);
+				if (err)
+					break;
 			}
 		}
 		intel_engine_pm_put(engine);
Signature · 6 lines
2.20.1

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Chris Wilson

Throw in the inverse patterns to create more examples of poison to use against the LRC state.

Quoted 32 lines
---
 drivers/gpu/drm/i915/gt/selftest_lrc.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
drivers/gpu/drm/i915/gt/selftest_lrc.c +6 -1
index e9e71c52b34d..6f06ba750a0a 100644
@@ -5290,8 +5290,9 @@ static int live_lrc_isolation(void *arg)
 	const u32 poison[] = {
 		STACK_MAGIC,
 		0x3a3a3a3a,
-		0xc5c5c5c5,
+		0x5c5c5c5c,
 		0xffffffff,
+		0xffff0000,
 	};
 
 	/*
@@ -5317,6 +5318,10 @@ static int live_lrc_isolation(void *arg)
 				err = __lrc_isolation(engine, poison[i]);
 				if (err)
 					break;
+
+				err = __lrc_isolation(engine, ~poison[i]);
+				if (err)
+					break;
 			}
 		}
 		intel_engine_pm_put(engine);
Signature · 1 line
2.20.1

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

#2 lore raw

[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/selftest: Add move poison patterns

In reply to Chris Wilson
== Series Details ==

== Series Details ==

Series: drm/i915/selftest: Add move poison patterns
URL : https://patchwork.freedesktop.org/series/74668/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_8132 -> Patchwork_16962
====================================================

Summary
-------

**FAILURE**

Serious unknown changes coming with Patchwork_16962 absolutely need to be verified manually.

If you think the reported changes have nothing to do with the changes introduced in Patchwork_16962, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.

External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16962/index.html

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

Here are the unknown changes that may have been introduced in Patchwork_16962:

### IGT changes ###

#### Possible regressions ####

* igt@i915_selftest@live@execlists:
- fi-skl-6770hq: [PASS][1] -> [INCOMPLETE][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8132/fi-skl-6770hq/igt@i915_selftest@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16962/fi-skl-6770hq/igt@i915_selftest@[email protected]

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

Here are the changes found in Patchwork_16962 that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@i915_selftest@live@execlists:
- fi-skl-6600u: [PASS][3] -> [INCOMPLETE][4] ([i915#1430] / [i915#656])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8132/fi-skl-6600u/igt@i915_selftest@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16962/fi-skl-6600u/igt@i915_selftest@[email protected]

* igt@kms_chamelium@hdmi-hpd-fast:
- fi-icl-u2: [PASS][5] -> [FAIL][6] ([i915#217])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8132/fi-icl-u2/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16962/fi-icl-u2/igt@[email protected]

#### Possible fixes ####

* igt@gem_exec_suspend@basic-s4-devices:
- fi-icl-y: [INCOMPLETE][7] ([i915#1373]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8132/fi-icl-y/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16962/fi-icl-y/igt@[email protected]

* igt@i915_module_load@reload:
- fi-skl-6770hq: [DMESG-WARN][9] ([i915#92]) -> [PASS][10] +1 similar issue
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8132/fi-skl-6770hq/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16962/fi-skl-6770hq/igt@[email protected]

* igt@i915_selftest@live@execlists:
- fi-bxt-dsi: [INCOMPLETE][11] ([fdo#103927] / [i915#656]) -> [PASS][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8132/fi-bxt-dsi/igt@i915_selftest@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16962/fi-bxt-dsi/igt@i915_selftest@[email protected]

* igt@kms_chamelium@hdmi-hpd-fast:
- fi-kbl-7500u: [FAIL][13] ([i915#323]) -> [PASS][14]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8132/fi-kbl-7500u/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16962/fi-kbl-7500u/igt@[email protected]

* igt@kms_pipe_crc_basic@read-crc-pipe-a-frame-sequence:
- fi-skl-6770hq: [SKIP][15] ([fdo#109271]) -> [PASS][16] +5 similar issues
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8132/fi-skl-6770hq/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16962/fi-skl-6770hq/igt@[email protected]

* igt@kms_pipe_crc_basic@read-crc-pipe-b:
- fi-skl-6770hq: [DMESG-WARN][17] ([i915#106]) -> [PASS][18]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8132/fi-skl-6770hq/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16962/fi-skl-6770hq/igt@[email protected]

[fdo#103927]: https://bugs.freedesktop.org/show_bug.cgi?id=103927
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[i915#106]: https://gitlab.freedesktop.org/drm/intel/issues/106
[i915#1373]: https://gitlab.freedesktop.org/drm/intel/issues/1373
[i915#1430]: https://gitlab.freedesktop.org/drm/intel/issues/1430
[i915#217]: https://gitlab.freedesktop.org/drm/intel/issues/217
[i915#323]: https://gitlab.freedesktop.org/drm/intel/issues/323
[i915#656]: https://gitlab.freedesktop.org/drm/intel/issues/656
[i915#92]: https://gitlab.freedesktop.org/drm/intel/issues/92

Participating hosts (48 -> 44)
------------------------------

Additional (1): fi-bdw-gvtdvm
Missing (5): fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-byt-clapper fi-bdw-samus

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

* CI: CI-20190529 -> None
* Linux: CI_DRM_8132 -> Patchwork_16962

CI-20190529: 20190529
CI_DRM_8132: 72014335c2758a20db6107314352afb5951f1c55 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5506: 59fd8a0d01dac58dc6c7d86ef391ed4393ab5aae @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_16962: 514141831ca270e3960d21fa1c42bc783ec229e1 @ git://anongit.freedesktop.org/gfx-ci/linux

== Linux commits ==

514141831ca2 drm/i915/selftest: Add move poison patterns

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16962/index.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx