<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [BAT] gem_exec_suspend subtest basic-s3 failed with assertion: ret == 0 / rtcwake failed with 1"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=105130#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [BAT] gem_exec_suspend subtest basic-s3 failed with assertion: ret == 0 / rtcwake failed with 1"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=105130">bug 105130</a>
              from <span class="vcard"><a class="email" href="mailto:imre.deak@intel.com" title="Imre Deak <imre.deak@intel.com>"> <span class="fn">Imre Deak</span></a>
</span></b>
        <pre>Elizabeth, could you open an upstream USB bug with a comment based on the
following and attach the dmesg?

Thanks.

(In reply to Elizabeth from <a href="show_bug.cgi?id=105130#c2">comment #2</a>)
<span class="quote">> Test outputs:

> igt@gem_exec_suspend@basic-s3:
> [...]
> Subtest basic-S3: FAIL (1.372s)
> [...]
> (gem_exec_suspend:12804) igt-core-INFO: [cmd] rtcwake: wakeup from "mem"
> using /dev/rtc0 at Thu Jan 25 06:10:24 2018
> (gem_exec_suspend:12804) igt-core-WARNING: [cmd] rtcwake: write error
> (gem_exec_suspend:12804) igt-aux-WARNING: rtcwake failed with 1
> Check dmesg for further details.
> (gem_exec_suspend:12804) igt-aux-DEBUG: suspend_stats:
> success: 0
> fail: 1
> failed_freeze: 0
> failed_prepare: 0
> failed_suspend: 1
> failed_suspend_late: 0
> failed_suspend_noirq: 0
> failed_resume: 0
> failed_resume_early: 0
> failed_resume_noirq: 0
> failures:
>   last_failed_dev: 0000:00:1d.0
>                    
>   last_failed_errno:       -16
>                    0
>   last_failed_step:        suspend</span >

based on the above:

$ lspci -s 0000:00:1d.0

00:1d.0 USB controller

from dmesg:

[  133.856853] pci_pm_suspend(): hcd_pci_suspend+0x0/0x30 returns -16
[  133.856863] dpm_run_callback(): pci_pm_suspend+0x0/0x150 returns -16
[  133.856873] PM: Device 0000:00:1d.0 failed to suspend async: error -16
[  133.957621] hp_wmi: Unknown event_id - 14 - 0x0
[  134.341326] PM: Some devices failed to suspend, or early wake event detected</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 the assignee for the bug.</li>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>