<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>high
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [BDW]igt/while run twice gem_reset_stats subcase system will hang"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=74007">74007</a>
          </td>
        </tr>

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

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

        <tr>
          <th>Summary</th>
          <td>[BDW]igt/while run twice gem_reset_stats subcase system will hang
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>critical
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>huax.lu@intel.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

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

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=92707" name="attach_92707" title="dmesg">attachment 92707</a> <a href="attachment.cgi?id=92707&action=edit" title="dmesg">[details]</a></span>
dmesg

System Environment:
--------------------------
Platform: Broadwell
Kernel(drm-intel-nightly)83ac01f486397fd8d319a3e31d1f95beb05037c5

Bug detailed description:
-------------------------
Run one gem_reset_stats subcase then run other gem_reset_stats subcase, or run
one gem_reset_stats subcase twice, system will hang. gem_reset_stats is a new
case.

run ./gem_reset_stats --run-subtest reset-count-vebox twice.
output:
#./gem_reset_stats --run-subtest reset-count-vebox
IGT-Version: 1.5-g1bbb607 (x86_64) (Linux:
3.13.0-rc8_drm-intel-nightly_83ac01_20140123+ x86_64)
Test assertion failure function gem_set_domain, file drmtest.c:535:
Last errno: 5, Input/output error
Failed assertion: drmIoctl((fd), ((((1U) << (((0+8)+8)+14)) | ((('d')) <<
(0+8)) | (((0x40 + 0x1f)) << 0) | ((((sizeof(struct drm_i915_gem_set_domain))))
<< ((0+8)+8)))), (&set_domain)) == 0
Subtest reset-count-vebox: FAIL
# ./gem_reset_stats --run-subtest reset-count-vebox
IGT-Version: 1.5-g1bbb607 (x86_64) (Linux:
3.13.0-rc8_drm-intel-nightly_83ac01_20140123+ x86_64)

Reproduce steps:
-------------------------
1. run ./gem_reset_stats --run-subtest reset-count-vebox twice</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>