diff mbox

[igt] igt/drv_module_reload: Reload with full mmio-debugging

Message ID 20171212110304.32315-1-chris@chris-wilson.co.uk (mailing list archive)
State New, archived
Headers show

Commit Message

Chris Wilson Dec. 12, 2017, 11:03 a.m. UTC
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(+)

Comments

Chris Wilson Dec. 12, 2017, 5:24 p.m. UTC | #1
Quoting Patchwork (2017-12-12 17:17:42)
> == Series Details ==
> 
> Series: igt/drv_module_reload: Reload with full mmio-debugging (rev2)
> URL   : https://patchwork.freedesktop.org/series/35218/
> State : success
> 
> == Summary ==
> 
> IGT patchset tested on top of latest successful build
> 74407418720ff7a9de7caabec05d4c3afe9a5c51 igt/kms_flip: Allow very large bo to fail pageflips with E2BIG
> 
> with latest DRM-Tip kernel build CI_DRM_3501
> f49a92217adc drm-tip: 2017y-12m-12d-12h-12m-26s UTC integration manifest
> 
> Testlist changes:
> +igt@drv_module_reload@basic-mmio-debug
> 
> Test gem_exec_suspend:
>         Subgroup basic-s3:
>                 incomplete -> PASS       (fi-glk-1) fdo#103326
> Test gem_mmap_gtt:
>         Subgroup basic-small-bo-tiledx:
>                 pass       -> FAIL       (fi-gdg-551) fdo#102575
> 
> fdo#103326 https://bugs.freedesktop.org/show_bug.cgi?id=103326
> fdo#102575 https://bugs.freedesktop.org/show_bug.cgi?id=102575
> 
> fi-bdw-5557u     total:289  pass:268  dwarn:0   dfail:0   fail:0   skip:21  time:447s
> fi-blb-e6850     total:289  pass:224  dwarn:1   dfail:0   fail:0   skip:64  time:388s
> fi-bsw-n3050     total:289  pass:243  dwarn:0   dfail:0   fail:0   skip:46  time:526s
> fi-bwr-2160      total:289  pass:184  dwarn:0   dfail:0   fail:0   skip:105 time:283s
> fi-bxt-dsi       total:289  pass:259  dwarn:0   dfail:0   fail:0   skip:30  time:509s
> fi-bxt-j4205     total:289  pass:260  dwarn:0   dfail:0   fail:0   skip:29  time:511s
> fi-byt-j1900     total:289  pass:254  dwarn:0   dfail:0   fail:0   skip:35  time:493s
> fi-byt-n2820     total:289  pass:250  dwarn:0   dfail:0   fail:0   skip:39  time:476s
> fi-elk-e7500     total:224  pass:163  dwarn:15  dfail:0   fail:0   skip:45 
> fi-gdg-551       total:289  pass:179  dwarn:1   dfail:0   fail:1   skip:108 time:274s
> fi-glk-1         total:289  pass:261  dwarn:0   dfail:0   fail:0   skip:28  time:544s
> fi-hsw-4770      total:289  pass:262  dwarn:0   dfail:0   fail:0   skip:27  time:375s
> fi-hsw-4770r     total:289  pass:225  dwarn:0   dfail:0   fail:0   skip:64  time:262s
> fi-ilk-650       total:289  pass:229  dwarn:0   dfail:0   fail:0   skip:60  time:401s
> fi-ivb-3520m     total:289  pass:260  dwarn:0   dfail:0   fail:0   skip:29  time:487s
> fi-ivb-3770      total:289  pass:260  dwarn:0   dfail:0   fail:0   skip:29  time:448s
> fi-kbl-7500u     total:289  pass:264  dwarn:1   dfail:0   fail:0   skip:24  time:494s
> fi-kbl-7560u     total:289  pass:270  dwarn:0   dfail:0   fail:0   skip:19  time:532s
> fi-kbl-7567u     total:289  pass:269  dwarn:0   dfail:0   fail:0   skip:20  time:479s
> fi-kbl-r         total:289  pass:261  dwarn:1   dfail:0   fail:0   skip:27  time:536s
> fi-pnv-d510      total:289  pass:223  dwarn:1   dfail:0   fail:0   skip:65  time:596s
> fi-skl-6260u     total:289  pass:269  dwarn:0   dfail:0   fail:0   skip:20  time:466s
> fi-skl-6600u     total:289  pass:262  dwarn:0   dfail:0   fail:0   skip:27  time:543s
> fi-skl-6700hq    total:289  pass:263  dwarn:0   dfail:0   fail:0   skip:26  time:571s
> fi-skl-6700k     total:289  pass:265  dwarn:0   dfail:0   fail:0   skip:24  time:520s
> fi-skl-6770hq    total:289  pass:269  dwarn:0   dfail:0   fail:0   skip:20  time:497s
> fi-skl-gvtdvm    total:289  pass:266  dwarn:0   dfail:0   fail:0   skip:23  time:455s
> fi-snb-2520m     total:289  pass:250  dwarn:0   dfail:0   fail:0   skip:39  time:552s
> fi-snb-2600      total:289  pass:249  dwarn:0   dfail:0   fail:0   skip:40  time:416s
> Blacklisted hosts:
> fi-cfl-s2        total:289  pass:263  dwarn:0   dfail:0   fail:0   skip:26  time:614s
> fi-cnl-y         total:289  pass:263  dwarn:0   dfail:0   fail:0   skip:26  time:650s
> 
> == Logs ==
> 
> For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_657/issues.html

Annoying, so this is only affecting my bsw? Maybe because mine is
headless?
-Chris
diff mbox

Patch

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);