<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [HSW]drv_selftest/mock_requests - ida_remove called for id=1 which is not allocated."
   href="https://bugs.freedesktop.org/show_bug.cgi?id=101627">101627</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[HSW]drv_selftest/mock_requests - ida_remove called for id=1 which is not allocated.
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>DRI git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>DRM/Intel
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>matthew.auld@intel.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>[  502.196556] [IGT] drv_selftest: starting subtest mock_requests
[  503.482723] Setting dangerous option mock_selftests - tainting kernel
[  503.523225] i915: Performing mock selftests with st_random_seed=0x1f3b31ec
st_timeout=1000
[  504.560235] ida_remove called for id=1 which is not allocated.
[  504.560329] ------------[ cut here ]------------
[  504.560389] WARNING: CPU: 0 PID: 126 at lib/idr.c:383 ida_remove+0x1c0/0x1d0
[  504.560444] Modules linked in: i915(+) drm_kms_helper drm netconsole
xt_CHECKSUM ipt_MASQUERADE nf_nat_masquerade_ipv4 tun ip6t_rpfilter ip6t_REJECT
nf_reject_ipv6 xt_conntrack ip_set nfnetlink ebtable_broute bridge stp llc
ebtable_nat ip6table_raw ip6table_security ip6table_nat nf_conntrack_ipv6
nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle iptable_raw iptable_security
iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack
iptable_mangle ebtable_filter ebtables ip6table_filter ip6_tables snd_usb_audio
snd_usbmidi_lib intel_rapl snd_rawmidi eeepc_wmi x86_pkg_temp_thermal asus_wmi
sparse_keymap iTCO_wdt coretemp rfkill crct10dif_pclmul iTCO_vendor_support
crc32_pclmul ghash_clmulni_intel snd_hda_codec_realtek snd_hda_codec_generic
snd_hda_codec_hdmi gspca_zc3xx gspca_main i2c_i801
[  504.560762]  v4l2_common snd_hda_codec videodev snd_hwdep snd_hda_core media
joydev snd_seq snd_seq_device snd_pcm mei_me snd_timer lpc_ich snd mei
soundcore shpchp wmi tpm_tis tpm_tis_core tpm nfsd auth_rpcgss nfs_acl lockd
grace sunrpc prime_numbers crc32c_intel i2c_algo_bit r8169 mii video [last
unloaded: i915]
[  504.560923] CPU: 0 PID: 126 Comm: kworker/u8:4 Tainted: G    BU  W      
4.12.0-rc7-drm-intel-debug+ #25
[  504.560995] Hardware name: ASUS All Series/Z87-K, BIOS 1401 07/29/2014
[  504.561157] Workqueue: mock contexts_free_worker [i915]
[  504.561214] task: ffff8801b52ea840 task.stack: ffff8801b5310000
[  504.561276] RIP: 0010:ida_remove+0x1c0/0x1d0
[  504.561330] RSP: 0018:ffff8801b5317ac8 EFLAGS: 00010082
[  504.561385] RAX: 0000000000000032 RBX: 1ffff10036a62f5b RCX:
ffffffff9ba1208a
[  504.561446] RDX: 0000000000000000 RSI: ffff8801d7e17448 RDI:
ffff8801d7e17448
[  504.561504] RBP: ffff8801b5317b80 R08: 0000000000000003 R09:
0000000000000000
[  504.561561] R10: ffff8801b5317af0 R11: ffffed0036a62e9d R12:
ffff88016ca78418
[  504.561617] R13: 0000000000000202 R14: ffff88016ca78418 R15:
0000000000000001
[  504.561674] FS:  0000000000000000(0000) GS:ffff8801d7e00000(0000)
knlGS:0000000000000000
[  504.561741] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  504.561795] CR2: 00007f83089f1000 CR3: 000000012ee13000 CR4:
00000000001406f0
[  504.561853] Call Trace:
[  504.561907]  ? ida_get_new_above+0x570/0x570
[  504.561964]  ? do_raw_spin_lock+0x9c/0x140
[  504.562024]  ida_simple_remove+0x2b/0x50
[  504.562177]  i915_gem_context_free+0x365/0x5d0 [i915]
[  504.562336]  ? needs_pd_load_pre+0x140/0x140 [i915]
[  504.562398]  ? lock_acquire+0x14a/0x340
[  504.562555]  contexts_free+0x4a/0xb0 [i915]
[  504.562711]  contexts_free_worker+0x29/0x40 [i915]
[  504.562771]  process_one_work+0x581/0xe70
[  504.562832]  ? pwq_dec_nr_in_flight+0x200/0x200
[  504.562907]  ? lock_acquire+0x14a/0x340
[  504.562979]  ? lock_acquire+0x14a/0x340
[  504.563040]  ? do_raw_spin_lock+0x9c/0x140
[  504.563102]  worker_thread+0x396/0x9a0
[  504.563187]  ? process_one_work+0xe70/0xe70
[  504.563243]  ? trace_hardirqs_on_caller+0x18e/0x390
[  504.563307]  kthread+0x1fc/0x2f0
[  504.563362]  ? process_one_work+0xe70/0xe70
[  504.563420]  ? kthread_create_on_node+0xc0/0xc0
[  504.563481]  ret_from_fork+0x2a/0x40
[  504.563543] Code: 39 ff ff ff 4c 89 e7 e8 8f 65 b7 ff 49 8b 04 24 48 83 f8
02 0f 85 79 ff ff ff eb ba 44 89 fe 48 c7 c7 80 a9 83 9c e8 aa 9b a5 ff <0f> ff
e9 61 ff ff ff e8 94 01 78 ff 0f 1f 40 00 55 48 b8 00 00
[  504.563711] ---[ end trace 23c7f67e1f726055 ]---</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
          <li>You are the assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>