<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:bugs@mblankhorst.nl" title="Maarten Lankhorst <bugs@mblankhorst.nl>"> <span class="fn">Maarten Lankhorst</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - [CI] igt@* - incomplete - timeout/Softdog - *ERROR* [CRTC:37:pipe A] flip_done timed out - WARNING: CPU: 7 PID: 2601 at drivers/gpu/drm/drm_vblank.c:1071 drm_wait_one_vblank+0x179/0x180"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=103712">bug 103712</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Assignee</td>
           <td>intel-gfx-bugs@lists.freedesktop.org
           </td>
           <td>bugs@mblankhorst.nl
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>ASSIGNED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - [CI] igt@* - incomplete - timeout/Softdog - *ERROR* [CRTC:37:pipe A] flip_done timed out - WARNING: CPU: 7 PID: 2601 at drivers/gpu/drm/drm_vblank.c:1071 drm_wait_one_vblank+0x179/0x180"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=103712#c30">Comment # 30</a>
              on <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - [CI] igt@* - incomplete - timeout/Softdog - *ERROR* [CRTC:37:pipe A] flip_done timed out - WARNING: CPU: 7 PID: 2601 at drivers/gpu/drm/drm_vblank.c:1071 drm_wait_one_vblank+0x179/0x180"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=103712">bug 103712</a>
              from <span class="vcard"><a class="email" href="mailto:bugs@mblankhorst.nl" title="Maarten Lankhorst <bugs@mblankhorst.nl>"> <span class="fn">Maarten Lankhorst</span></a>
</span></b>
        <pre>I found the issue on shard-snb7 using blind bisection. No idea why it triggers
yet, can confirm that a merge commit is actually the issue here..

first bad commit: [fb0255fb2941ef6f21742b2bc146d6b9aef4fedc] Merge tag
'tty-4.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty

Minimal testcase:
Compile kernel with debug_kernel.config

BUT, when I compile with all compile options enabled including KASAN it passes.
With just KASAN disabled I get the vblank wait timeout.

One thing I do find curious is DPM_WATCHDOG and device resume before image is
even written..

Added
CONFIG_GENERIC_IRQ_DEBUGFS=y and found this for the i915 irq:

>From /proc/interrupts:
 28:        562          0          0          0         28          0         
0          0   PCI-MSI 32768-edge      i915

Vector: 33


This confirms that the do_IRQ is failing because irq 28 is not sent to the
driver, explaining everything breaking.

Recall from the dmesg log:
<0>[  894.599830] do_IRQ: 4.33 No irq handler for vector

Reverting
commit b18d62891aaff49d0ee8367d4b6bb9452469f807
Merge: 7d58e1c9059e 141d3b1daacd
Author: Linus Torvalds <<a href="mailto:torvalds@linux-foundation.org">torvalds@linux-foundation.org</a>>
Date:   Mon Nov 13 18:29:23 2017 -0800

    Merge branch 'x86-apic-for-linus' of
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Makes the thing work again..

Lets see if the error occurs when I bisect from there..</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>