<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 - [BAT ILK] list_add corruption in test drv_module_reload_basic"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94870">94870</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[BAT ILK] list_add corruption in test drv_module_reload_basic
          </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>highest
          </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>tim.gore@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>

        <tr>
          <th>i915 platform</th>
          <td>ILK
          </td>
        </tr></table>
      <p>
        <div>
        <pre>During BAT testing of a patch targeting gen9 only, igt test
drv_module_reload_basic causes "list_add corruption" warning in dmesg log on
the ilk-hp8440p target, although the test reports success.

Patch being tested is <a href="https://patchwork.freedesktop.org/series/5367/">https://patchwork.freedesktop.org/series/5367/</a>
This introduces a workaround in gen9_init_workarounds, which is also
conditional on
 (IS_SKL_REVID(dev, SKL_REVID_C0, REVID_FOREVER) || IS_BROXTON(dev))
So this patch should not be able to affect an ILK target.

Regression build. CI_DRM_1201

Dmesg:
[  200.736652] Setting dangerous option inject_load_failure - tainting kernel
[  201.274660] Setting dangerous option inject_load_failure - tainting kernel
[  201.827477] Setting dangerous option inject_load_failure - tainting kernel
[  202.341648] Setting dangerous option inject_load_failure - tainting kernel
[  205.869759] ------------[ cut here ]------------
[  205.869769] WARNING: CPU: 1 PID: 5982 at lib/list_debug.c:29
__list_add+0x65/0xc0
[  205.869771] list_add corruption. next->prev should be prev
(ffff8800b6832ce8), but was           (null). (next=ffff8801207480f8).
[  205.869773] Modules linked in: snd_hda_intel(+) i915 ax88179_178a usbnet mii
intel_powerclamp coretemp snd_hda_codec_hdmi crct10dif_pclmul crc32_pclmul
snd_hda_codec_generic ghash_clmulni_intel snd_hda_codec snd_hwdep lpc_ich
snd_hda_core snd_pcm mei_me mei sdhci_pci sdhci mmc_core e1000e ptp pps_core
[last unloaded: i915]
[  205.869795] CPU: 1 PID: 5982 Comm: modprobe Tainted: G     U         
4.6.0-rc2-gfxbench+ #1
[  205.869797] Hardware name: Hewlett-Packard HP EliteBook 8440p/172A, BIOS
68CCU Ver. F.24 09/13/2013
[  205.869798]  0000000000000000 ffff8800b497faa8 ffffffff81404e65
ffff8800b497faf8
[  205.869801]  0000000000000000 ffff8800b497fae8 ffffffff81079c7c
0000001d00000286
[  205.869804]  ffff88007ee8bb78 ffff8801207480f8 ffff8800b6832ce8
ffffffff81c52150
[  205.869807] Call Trace:
[  205.869811]  [<ffffffff81404e65>] dump_stack+0x67/0x92
[  205.869816]  [<ffffffff81079c7c>] __warn+0xcc/0xf0
[  205.869818]  [<ffffffff81079cea>] warn_slowpath_fmt+0x4a/0x50
[  205.869820]  [<ffffffff814212c5>] __list_add+0x65/0xc0
[  205.869824]  [<ffffffff811f4fc6>] d_alloc+0x56/0x70
[  205.869827]  [<ffffffff811e7ebe>] __lookup_hash+0x2e/0x50
[  205.869830]  [<ffffffff811e7fad>] lookup_one_len+0xcd/0x120
[  205.869833]  [<ffffffff812e6509>] start_creating+0x69/0xf0
[  205.869835]  [<ffffffff812e6891>] __create_dir+0x11/0xf0
[  205.869837]  [<ffffffff812e6a80>] tracefs_create_dir+0x10/0x20
[  205.869840]  [<ffffffff8113926e>] event_create_dir+0x2ae/0x4d0
[  205.869842]  [<ffffffff811394b1>] __trace_add_new_event+0x21/0x30
[  205.869844]  [<ffffffff81139714>] trace_module_notify+0x154/0x1a0
[  205.869848]  [<ffffffff8109e1b9>] notifier_call_chain+0x39/0xa0
[  205.869851]  [<ffffffff8109e5b8>] __blocking_notifier_call_chain+0x48/0x70
[  205.869853]  [<ffffffff8109e5f1>] blocking_notifier_call_chain+0x11/0x20
[  205.869857]  [<ffffffff8110bff1>] load_module+0x1a81/0x24b0
[  205.869860]  [<ffffffff811e109c>] ? kernel_read+0x3c/0x50
[  205.869862]  [<ffffffff8110cc39>] SyS_finit_module+0xa9/0xd0
[  205.869867]  [<ffffffff817d13a9>] entry_SYSCALL_64_fastpath+0x1c/0xac
[  205.869869] ---[ end trace 0dbd577555177c51 ]---</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are on the CC list for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>