<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [hsw] GPU hang on first context use (after long uptime)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=97020#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [hsw] GPU hang on first context use (after long uptime)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=97020">bug 97020</a>
              from <span class="vcard"><a class="email" href="mailto:yann.argotti@intel.com" title="yann <yann.argotti@intel.com>"> <span class="fn">yann</span></a>
</span></b>
        <pre>Could it be linked to gem/gtt ?

Seeing in kernel log several message on alignment:

[143743.427883] i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus
alignment
[143743.427932] i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus
alignment
[143743.428074] i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus
alignment

and in dump (if I am correct about current render ring HEAD) we have IPEHR
0x0c000000

0x0080dc34:      0x11000005: MI_LOAD_REGISTER_IMM
0x0080dc38:      0x00012050:    dword 1
0x0080dc3c:      0x00010001:    dword 2
0x0080dc40:      0x00022050:    dword 3
0x0080dc44:      0x00010001:    dword 4
0x0080dc48:      0x0001a050:    dword 5
0x0080dc4c:      0x00010001:    dword 6
0x0080dc50:      0x00000000: MI_NOOP
0x0080dc54:      0x0c000000: MI_SET_CONTEXT
0x0080dc58:      0x798dd10c:    gtt offset = 0x798dd000
0x0080dc5c: HEAD     0x00000000: MI_NOOP
Bad length (7) in MI_LOAD_REGISTER_IMM, [3, 3]
0x0080dc60:      0x11000005: MI_LOAD_REGISTER_IMM
0x0080dc64:      0x00012050:    dword 1
0x0080dc68:      0x00010000:    dword 2
0x0080dc6c:      0x00022050:    dword 3
0x0080dc70:      0x00010000:    dword 4
0x0080dc74:      0x0001a050:    dword 5
0x0080dc78:      0x00010000:    dword 6
0x0080dc7c:      0x04000001: MI_ARB_ON_OFF</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>