All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH igt] igt/drv_module_reload: Reload with full mmio-debugging
@ 2017-12-12 11:03 Chris Wilson
  2017-12-12 13:39 ` ✓ Fi.CI.BAT: success for " Patchwork
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Chris Wilson @ 2017-12-12 11:03 UTC (permalink / raw)
  To: intel-gfx

mmio-debugging is lazy, we only turn on per-access checking after
a periodic check to see if an error has been flagged. If we load the
module with mmio_debug, we can validate that no such errors occur during
module_init, which is one of the trickier times to get right (having to
balance sanitization of existing HW state with our own).

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
 tests/drv_module_reload.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/drv_module_reload.c b/tests/drv_module_reload.c
index 3046d8227..092982960 100644
--- a/tests/drv_module_reload.c
+++ b/tests/drv_module_reload.c
@@ -316,6 +316,9 @@ igt_main
 		gem_exec_store();
 	}
 
+	igt_subtest("basic-mmio-debug")
+		igt_assert_eq(reload("mmio_debug=2147483647"), 0);
+
 	igt_subtest("basic-no-display")
 		igt_assert_eq(reload("disable_display=1"), 0);
 
-- 
2.15.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

end of thread, other threads:[~2017-12-12 18:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-12 11:03 [PATCH igt] igt/drv_module_reload: Reload with full mmio-debugging Chris Wilson
2017-12-12 13:39 ` ✓ Fi.CI.BAT: success for " Patchwork
2017-12-12 15:54 ` ✓ Fi.CI.IGT: " Patchwork
2017-12-12 16:58 ` [PATCH igt] " Chris Wilson
2017-12-12 17:17 ` ✓ Fi.CI.BAT: success for igt/drv_module_reload: Reload with full mmio-debugging (rev2) Patchwork
2017-12-12 17:24   ` Chris Wilson
2017-12-12 18:32 ` ✗ Fi.CI.IGT: warning " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.