<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [IGT] kms_pipe_crc_basic fails due to PM early wake event detected."
   href="https://bugs.freedesktop.org/show_bug.cgi?id=103520#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [IGT] kms_pipe_crc_basic fails due to PM early wake event detected."
   href="https://bugs.freedesktop.org/show_bug.cgi?id=103520">bug 103520</a>
              from <span class="vcard"><a class="email" href="mailto:krisman@collabora.co.uk" title="krisman@collabora.co.uk">krisman@collabora.co.uk</a>
</span></b>
        <pre>(In reply to Elizabeth from <a href="show_bug.cgi?id=103520#c4">comment #4</a>)
<span class="quote">> (In reply to krisman from <a href="show_bug.cgi?id=103520#c3">comment #3</a>)
> > (In reply to Elizabeth from <a href="show_bug.cgi?id=103520#c0">comment #0</a>)
> > >
> > If I'm not mistaken, that is from USB.  Do you have any gadgets connected to
> > the box?  Try unplugging those prior to running the test.  Looks like you
> > have a misbehaving gadget.
> Sorry for the delay, I tested without anything besides Ethernet cable
> connected to the laptop. I tried with and without external monitor
> connected, and result keeps being the same, once pass, twice fails with PM
> error message each time it fails.

> $ : sudo -E ./kms_pipe_crc_basic --r suspend-read-crc-pipe-A
> IGT-Version: 1.20-g88d6550 (x86_64) (Linux:
> 4.14.0-drm-intel-qa-ww46-commit-1fc4fe8+ x86_64)
> suspend-read-crc-pipe-A: Testing connector LVDS-1 using pipe A
> suspend-read-crc-pipe-A: Testing connector VGA-1 using pipe A
> suspend-read-crc-pipe-A: Testing connector DP-3 using pipe A
> [cmd] rtcwake: assuming RTC uses UTC ...
> rtcwake: wakeup from "mem" using /dev/rtc0 at Thu Nov 16 07:20:01 2017
> (kms_pipe_crc_basic:3923) igt-core-WARNING: [cmd] rtcwake: write error
> (kms_pipe_crc_basic:3923) igt-aux-CRITICAL: Test assertion failure function
> suspend_via_rtcwake, file igt_aux.c:809:
> (kms_pipe_crc_basic:3923) igt-aux-CRITICAL: Failed assertion: ret == 0
> (kms_pipe_crc_basic:3923) igt-aux-CRITICAL: rtcwake failed with 1
> Check dmesg for further details.
> Stack trace:
>   #0 [__igt_fail_assert+0x101]
>   #1 [igt_system_suspend_autoresume+0x5ae]
>   #2 [<unknown>+0x5ae]
>   #3 [<unknown>+0x5ae]
> Subtest suspend-read-crc-pipe-A failed.

> $ : sudo -E ./kms_pipe_crc_basic --r suspend-read-crc-pipe-A
> IGT-Version: 1.20-g88d6550 (x86_64) (Linux:
> 4.14.0-drm-intel-qa-ww46-commit-1fc4fe8+ x86_64)
> suspend-read-crc-pipe-A: Testing connector LVDS-1 using pipe A
> suspend-read-crc-pipe-A: Testing connector VGA-1 using pipe A
> suspend-read-crc-pipe-A: Testing connector DP-3 using pipe A
> [cmd] rtcwake: assuming RTC uses UTC ...
> rtcwake: wakeup from "mem" using /dev/rtc0 at Thu Nov 16 07:20:08 2017
> suspend-read-crc-pipe-A: Testing connector LVDS-1 using pipe A
> suspend-read-crc-pipe-A: Testing connector VGA-1 using pipe A
> suspend-read-crc-pipe-A: Testing connector DP-3 using pipe A
> Subtest suspend-read-crc-pipe-A: SUCCESS (4.138s)

> $ : dmesg | grep PM:
> [   42.019984] PM: suspend entry (deep)
> [   42.019986] PM: Syncing filesystems ... done.
> [   42.120102] PM: Device 0000:00:1d.0 failed to suspend async: error -16
> [   42.570211] PM: Some devices failed to suspend, or early wake event
> detected
> [   43.011696] PM: suspend exit
> [   48.781766] PM: suspend entry (deep)
> [   48.781769] PM: Syncing filesystems ... done.
> [   49.416702] PM: Saving platform NVS memory
> [   49.484019] PM: Restoring platform NVS memory
> [   50.880846] PM: suspend exit</span >

I would suggest enabling dyn_dbg for xhci and trying again.  Since this is not
graphics related, what is the procedure?  should we create a bug in kernel.org?</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>