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

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [HSW ULT]Some subcases of igt/drv_suspend cause system hang sporadically"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=78650">78650</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>[HSW ULT]Some subcases of igt/drv_suspend cause system hang sporadically
          </td>
        </tr>

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

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

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

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jinxianx.guo@intel.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </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=98961" name="attach_98961" title="dmesg">attachment 98961</a> <a href="attachment.cgi?id=98961&action=edit" title="dmesg">[details]</a></span>
dmesg

==System Environment==
--------------------------
Regression: No. 

Non-working platforms: HSW ULT

==kernel==
--------------------------
-nightly: 18a7661946082f5a3b353e50d1ced5d89f864024 (fails)
-queued: ca26115df8a2ed25b2c0ed1b7c9557c7779d1556 (fails)
    Author: Ville Syrjälä <<a href="mailto:ville.syrjala@linux.intel.com">ville.syrjala@linux.intel.com</a>>
    Date:   Thu May 8 22:19:42 2014 +0300

    x86/gpu: Sprinkle const, __init and __initconst to stolen memory quirks

    gen8_stolen_size() is missing __init, so add it.

    Also all the intel_stolen_funcs structures can be marked
    __initconst.

    intel_stolen_ids[] can also be made const if we replace the
    __initdata with __initconst.

    Cc: Ingo Molnar <<a href="mailto:mingo@kernel.org">mingo@kernel.org</a>>
    Cc: H. Peter Anvin <<a href="mailto:hpa@zytor.com">hpa@zytor.com</a>>
    Signed-off-by: Ville Syrjälä <<a href="mailto:ville.syrjala@linux.intel.com">ville.syrjala@linux.intel.com</a>>
    Signed-off-by: Daniel Vetter <<a href="mailto:daniel.vetter@ffwll.ch">daniel.vetter@ffwll.ch</a>>

-fixes: 05adaf1f101f25f40f12c29403e6488f0e45f6b6 (fails)
    Author: Jani Nikula <<a href="mailto:jani.nikula@intel.com">jani.nikula@intel.com</a>>
    Date:   Fri May 9 14:52:34 2014 +0300

    drm/i915/vlv: reset VLV media force wake request register

    Media force wake get hangs the machine when the system is booted without
    displays attached. The assumption is that (at least some versions of)
    the firmware has skipped some initialization in that case.

    Empirical evidence suggests we need to reset the media force wake
    request register in addition to the render one to avoid hangs.

    Bugzilla: <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [BYT] Media forcewake timeout with no displays connected"
   href="show_bug.cgi?id=75895">https://bugs.freedesktop.org/show_bug.cgi?id=75895</a>
    Reported-by: Imre Deak <<a href="mailto:imre.deak@intel.com">imre.deak@intel.com</a>>
    Reported-by: Darren Hart <<a href="mailto:dvhart@linux.intel.com">dvhart@linux.intel.com</a>>
    Tested-by: Darren Hart <<a href="mailto:dvhart@linux.intel.com">dvhart@linux.intel.com</a>>
    Reviewed-by: Mika Kuoppala <<a href="mailto:mika.kuoppala@intel.com">mika.kuoppala@intel.com</a>>
    Cc: <a href="mailto:stable@vger.kernel.org">stable@vger.kernel.org</a>
    Signed-off-by: Jani Nikula <<a href="mailto:jani.nikula@intel.com">jani.nikula@intel.com</a>>

==Bug detailed description==
-----------------------------
Some subcases of igt/drv_suspend below hang sporadically, the hang rate was
about 1 out of 3, and the cases fail sometimes.
igt/drv_suspend/debugfs-reader
igt/drv_suspend/fence-restore-tiled2untiled
igt/drv_suspend/fence-restore-untiled
igt/drv_suspend/forcewake
igt/drv_suspend/sysfs-reader


Output:
./drv_suspend --run-subtest debugfs-reader
IGT-Version: 1.6-gd848a36 (x86_64) (Linux:
3.15.0-rc3_drm-intel-next-queued_ca2611_20140513+ x86_64)
rtcwake: wakeup from "mem" using /dev/rtc0 at Tue May 13 05:48:36 2014
sh: line 1:  4459 Done                    find /sys/kernel/debug/dri/0/ -type f
      4460 Segmentation fault      (core dumped) | xargs cat > /dev/null 2>&1
Test assertion failure function igt_stop_helper, file igt_core.c:791:
Last errno: 0, Success
Failed assertion: WIFSIGNALED(status) && WTERMSIG(status) == (proc->use_SIGKILL
? SIGKILL : SIGQUIT)
Subtest debugfs-reader: FAIL
drv_suspend: igt_core.c:726: fork_helper_exit_handler: Assertion `ret == 0'
failed.
Aborted (core dumped)

./drv_suspend --run-subtest forcewake
IGT-Version: 1.6-gd848a36 (x86_64) (Linux:
3.15.0-rc3_drm-intel-next-queued_ca2611_20140513+ x86_64)
rtcwake: wakeup from "mem" using /dev/rtc0 at Tue May 13 05:51:56 2014
rtcwake: write error
Test assertion failure function igt_system_suspend_autoresume, file
igt_aux.c:327:
Last errno: 0, Success
Failed assertion: ret == 0
Subtest forcewake: FAIL

==Reproduce steps==
---------------------------- 
1. ./drv_suspend --run-subtest forcewake</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>