Bug 111337 - [CI][SHARDS] igt@i915_selftest@mock_requests - incomplete - kernel BUG at drivers/gpu/drm/i915/selftests/i915_request.c:203!
Summary: [CI][SHARDS] igt@i915_selftest@mock_requests - incomplete - kernel BUG at dri...
Status: RESOLVED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: Other All
: high normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: ReadyForDev
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-09 10:05 UTC by Lakshmi
Modified: 2019-08-09 10:32 UTC (History)
1 user (show)

See Also:
i915 platform: SKL
i915 features: GEM/Other


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lakshmi 2019-08-09 10:05:58 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6658/shard-skl9/igt@i915_selftest@mock_requests.html

 ------------[ cut here ]------------
<2> [2336.923481] kernel BUG at drivers/gpu/drm/i915/selftests/i915_request.c:203!
<4> [2336.923725] invalid opcode: 0000 [#1] PREEMPT SMP PTI
<4> [2336.923789] CPU: 3 PID: 5147 Comm: i915_selftest Tainted: G     U            5.3.0-rc3-CI-CI_DRM_6658+ #1
<4> [2336.923875] Hardware name: Google Caroline/Caroline, BIOS MrChromebox 08/27/2018
<4> [2336.924467] RIP: 0010:igt_request_rewind+0x74e/0x860 [i915]
<4> [2336.924533] Code: 51 11 e8 e0 48 8b 35 f9 1a 1d 00 49 c7 c0 6a 9d 3e a0 b9 cb 00 00 00 48 c7 c2 f0 15 39 a0 48 c7 c7 c9 d3 2a a0 e8 82 f4 ee e0 <0f> 0b 4c 8b 65 d0 49 8b 84 24 b0 01 00 00 4c 89 e7 48 8b 58 28 e8
<4> [2336.924684] RSP: 0018:ffffc90000313b68 EFLAGS: 00010286
<4> [2336.924743] RAX: 0000000000000009 RBX: ffffffffffffffea RCX: 0000000000000000
<4> [2336.924809] RDX: 0000000000000001 RSI: 0000000000000008 RDI: 0000000000000718
<4> [2336.924875] RBP: ffffc90000313ba8 R08: 0000000000000000 R09: 0000000000000718
<4> [2336.924942] R10: 00000000abb2727a R11: ffff88817a336a48 R12: ffffffffa0391690
<4> [2336.925007] R13: ffff888123540978 R14: ffff8881235409e0 R15: ffff8881728946a8
<4> [2336.925075] FS:  00007f13f3c8ee40(0000) GS:ffff88817ab80000(0000) knlGS:0000000000000000
<4> [2336.925151] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
<4> [2336.925210] CR2: 0000560791ac83e0 CR3: 00000001596c6001 CR4: 00000000003606e0
<4> [2336.925275] Call Trace:
<4> [2336.925857]  __i915_subtests+0xb8/0x210 [i915]
<4> [2336.926401]  ? i915_live_selftests+0x60/0x60 [i915]
<4> [2336.926926]  ? __i915_nop_setup+0x10/0x10 [i915]
<4> [2336.927473]  i915_request_mock_selftests+0x66/0x80 [i915]
<4> [2336.928022]  __run_selftests+0x134/0x170 [i915]
<4> [2336.928080]  ? 0xffffffffa0509000
<4> [2336.928593]  i915_mock_selftests+0x27/0x50 [i915]
<4> [2336.929046]  i915_init+0x12/0x73 [i915]
<4> [2336.929103]  ? 0xffffffffa0509000
<4> [2336.929151]  do_one_initcall+0x58/0x300
<4> [2336.929205]  ? do_init_module+0x1d/0x1f6
<4> [2336.929262]  ? rcu_read_lock_sched_held+0x6f/0x80
<4> [2336.929322]  ? kmem_cache_alloc_trace+0x2d1/0x300
<4> [2336.929391]  do_init_module+0x56/0x1f6
<4> [2336.929446]  load_module+0x25bd/0x2a40
<4> [2336.929548]  ? __se_sys_finit_module+0xd3/0xf0
<4> [2336.929603]  __se_sys_finit_module+0xd3/0xf0
<4> [2336.929686]  do_syscall_64+0x55/0x1c0
<4> [2336.929745]  entry_SYSCALL_64_after_hwframe+0x49/0xbe
<4> [2336.929802] RIP: 0033:0x7f13f3347839
<4> [2336.929850] Code: 00 f3 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 1f f6 2c 00 f7 d8 64 89 01 48
<4> [2336.930001] RSP: 002b:00007fff311d6d78 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
<4> [2336.930079] RAX: ffffffffffffffda RBX: 0000555db4c8fd90 RCX: 00007f13f3347839
<4> [2336.930146] RDX: 0000000000000000 RSI: 0000555db4c9a620 RDI: 0000000000000006
<4> [2336.930213] RBP: 0000555db4c9a620 R08: 0000000000000004 R09: 0000000000000000
<4> [2336.930280] R10: 00007fff311d6fc0 R11: 0000000000000246 R12: 0000000000000000
<4> [2336.930347] R13: 0000555db4c8c000 R14: 0000000000000020 R15: 0000000000000047
<4> [2336.930441] Modules linked in: i915(+) vgem snd_hda_codec_hdmi snd_intel_nhlt x86_pkg_temp_thermal snd_hda_codec coretemp crct10dif_pclmul crc32_pclmul snd_hwdep snd_hda_core ghash_clmulni_intel cdc_ether snd_pcm usbnet btusb btrtl btbcm btintel bluetooth r8152 mii ecdh_generic ecc i2c_hid pinctrl_sunrisepoint pinctrl_intel prime_numbers [last unloaded: i915]
<0> [2336.930779] Dumping ftrace buffer:
<0> [2336.930821] ---------------------------------
Comment 1 Chris Wilson 2019-08-09 10:13:38 UTC
commit cbb153c50ebe4f635d970a1685302288e3f573fe
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu Aug 8 20:45:25 2019 +0100

    drm/i915/selftests: Fixup a missing legacy_idx
    
    Grr, missed one*. For using the legacy engine map, we should use
    engine->legacy_idx. Ideally, we should know the intel_context in the
    selftest and avoid all the fiddling around with unwanted GEM contexts.
    
    * In my defence, the conflict was added in another patch after it was
    tested by CI.
    
    v2: mock engines needs legacy love as well
    
    Fixes: f1c4d157ab9b ("drm/i915: Fix up the inverse mapping for default ctx->engines[]")
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
    Cc: Matthew Auld <matthew.auld@intel.com>
    Reviewed-by: Matthew Auld <matthew.auld@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20190808194525.9410-2-chris@chris-wilson.co.uk
Comment 2 CI Bug Log 2019-08-09 10:15:16 UTC
The CI Bug Log issue associated to this bug has been updated.

### New filters associated

* SKL: igt@i915_selftest@mock_requests - incomplete - kernel BUG at drivers/gpu/drm/i915/selftests/i915_request.c:203!
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6657/shard-skl10/igt@i915_selftest@mock_requests.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5126/shard-skl6/igt@i915_selftest@mock_requests.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5127/shard-skl9/igt@i915_selftest@mock_requests.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13919/shard-skl7/igt@i915_selftest@mock_requests.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13920/shard-skl8/igt@i915_selftest@mock_requests.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13921/shard-skl4/igt@i915_selftest@mock_requests.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13922/shard-skl4/igt@i915_selftest@mock_requests.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13923/shard-skl4/igt@i915_selftest@mock_requests.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13924/shard-skl9/igt@i915_selftest@mock_requests.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6658/shard-skl9/igt@i915_selftest@mock_requests.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13925/shard-skl8/igt@i915_selftest@mock_requests.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13926/shard-skl8/igt@i915_selftest@mock_requests.html
Comment 3 CI Bug Log 2019-08-09 10:30:09 UTC
A CI Bug Log filter associated to this bug has been updated:

{- SKL: igt@i915_selftest@mock_requests - incomplete - kernel BUG at drivers/gpu/drm/i915/selftests/i915_request.c:203! -}
{+ SKL: igt@i915_selftest@mock_requests - incomplete - kernel BUG at drivers/gpu/drm/i915/selftests/i915_request.c:203! +}


  No new failures caught with the new filter
Comment 4 CI Bug Log 2019-08-09 10:30:21 UTC
A CI Bug Log filter associated to this bug has been updated:

{- SKL: igt@i915_selftest@mock_requests - incomplete - kernel BUG at drivers/gpu/drm/i915/selftests/i915_request.c:203! -}
{+ APL SKL: igt@i915_selftest@mock_requests - incomplete - kernel BUG at drivers/gpu/drm/i915/selftests/i915_request.c:203! +}


  No new failures caught with the new filter
Comment 6 CI Bug Log 2019-08-09 10:32:12 UTC
The CI Bug Log issue associated to this bug has been updated.

### Removed filters

* APL SKL: igt@i915_selftest@mock_requests - incomplete - kernel BUG at drivers/gpu/drm/i915/selftests/i915_request.c:203! (added on 2 minutes ago)

### New filters associated

* APL: igt@runner@aborted - fail - Previous test: i915_selftest (mock_requests)
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13884/shard-apl1/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6657/shard-apl1/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5126/shard-apl3/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5127/shard-apl4/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13919/shard-apl5/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13920/shard-apl4/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13921/shard-apl5/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13922/shard-apl2/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13923/shard-apl6/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13924/shard-apl4/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6658/shard-apl2/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13925/shard-apl6/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13926/shard-apl2/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4599/shard-apl5/igt@runner@aborted.html


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.