<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Xorg fails to thaw from hibernate with intel errors"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94628">94628</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Xorg fails to thaw from hibernate with intel errors
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>xorg
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>critical
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Driver/intel
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>chris@chris-wilson.co.uk
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jhnmlkvch9@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>After a successful hibernation from X, attempting to thaw does not work.

Debugged using commands:

# echo devices > /sys/power/pm_test
# echo platform > /sys/power/disk
# echo disk > /sys/power/state

here is trace from demesg:

[  241.128358] PM: freeze of devices complete after 370.606 msecs
[  241.128361] hibernation debug: Waiting for 5 seconds.
[  246.225380] usb usb1: root hub lost power or was reset
[  246.225383] usb usb3: root hub lost power or was reset
[  246.225384] usb usb2: root hub lost power or was reset
[  246.225943] usb usb4: root hub lost power or was reset
[  246.229275] ehci-pci 0000:00:1a.0: cache line size of 64 is not supported
[  246.229824] ehci-pci 0000:00:1d.0: cache line size of 64 is not supported
[  246.230048] iwlwifi 0000:3d:00.0: L1 Enabled - LTR Enabled
[  246.230567] iwlwifi 0000:3d:00.0: L1 Enabled - LTR Enabled
[  246.231472] sd 0:0:0:0: [sda] Starting disk
[  246.231491] sd 4:0:0:0: [sdb] Starting disk
[  246.281850] ------------[ cut here ]------------
[  246.281871] WARNING: CPU: 3 PID: 85 at
drivers/gpu/drm/i915/intel_uncore.c:619 hsw_unclaimed_reg_debug+0x69/0x90
[i915]()
[  246.281872] Unclaimed register detected after reading register 0x70008
[  246.281874] Modules linked in: sha256_ssse3 sha256_generic hmac drbg
ansi_cprng ctr ccm mousedev joydev bbswitch(O) iTCO_wdt iTCO_vendor_support
hp_wmi mxm_wmi ppdev arc4 sparse_keymap intel_rapl iosf_mbi
x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass
crct10dif_pclmul crc32_pclmul crc32c_intel aesni_intel aes_x86_64 lrw gf128mul
glue_helper ablk_helper cryptd input_leds psmouse pcspkr serio_raw i2c_i801
snd_hda_codec_realtek snd_hda_codec_generic iwlmvm tpm_infineon mac80211
iwlwifi rtsx_pci_ms lpc_ich memstick cfg80211 snd_hda_intel uvcvideo
snd_hda_codec videobuf2_vmalloc snd_hda_core btusb videobuf2_memops
videobuf2_v4l2 snd_hwdep btrtl snd_pcm videobuf2_core btbcm btintel v4l2_common
bluetooth e1000e snd_timer videodev snd media rfkill soundcore ptp pps_core
mei_me mei
[  246.281909]  shpchp ie31200_edac edac_core hp_accel led_class lis3lv02d
input_polldev parport_pc thermal hp_wireless wmi parport fjes tpm_tis evdev
battery tpm mac_hid ac processor sch_fq_codel nfs lockd grace sunrpc fscache
acpi_call(O) ip_tables x_tables ext4 crc16 mbcache jbd2 sr_mod cdrom sd_mod
rtsx_pci_sdmmc mmc_core atkbd libps2 ahci ehci_pci libahci libata i915
i2c_algo_bit scsi_mod xhci_pci drm_kms_helper syscopyarea sysfillrect sysimgblt
ehci_hcd xhci_hcd fb_sys_fops rtsx_pci drm usbcore usb_common intel_gtt i8042
serio video button
[  246.281937] CPU: 3 PID: 85 Comm: kworker/u16:2 Tainted: G           O   
4.4.5-1-ARCH #1
[  246.281938] Hardware name: Hewlett-Packard HP Zbook 17 G2/2255, BIOS M70
Ver. 01.12 09/23/2015
[  246.281942] Workqueue: events_unbound async_run_entry_fn
[  246.281944]  0000000000000086 000000005ffc1828 ffff880022073b50
ffffffff812cb391
[  246.281945]  ffff880022073b98 ffffffffa02e4b30 ffff880022073b88
ffffffff810776e2
[  246.281947]  ffff880888a70000 ffff880888a70080 0000000000000000
0000000000070008
[  246.281949] Call Trace:
[  246.281954]  [<ffffffff812cb391>] dump_stack+0x63/0x82
[  246.281957]  [<ffffffff810776e2>] warn_slowpath_common+0x82/0xc0
[  246.281959]  [<ffffffff8107777c>] warn_slowpath_fmt+0x5c/0x80
[  246.281968]  [<ffffffffa0254d79>] hsw_unclaimed_reg_debug+0x69/0x90 [i915]
[  246.281976]  [<ffffffffa0259901>] gen6_read32+0xd1/0x1c0 [i915]
[  246.281984]  [<ffffffffa025b0f0>] ? hsw_write64+0x160/0x160 [i915]
[  246.281994]  [<ffffffffa028014e>] intel_modeset_setup_hw_state+0x67e/0xdd0
[i915]
[  246.282003]  [<ffffffffa028355f>] intel_display_resume+0xff/0x150 [i915]
[  246.282009]  [<ffffffffa01ff1cb>] i915_drm_resume+0xcb/0x160 [i915]
[  246.282015]  [<ffffffffa01ff285>] i915_pm_resume+0x25/0x30 [i915]
[  246.282017]  [<ffffffff813117c9>] pci_pm_restore+0x79/0xb0
[  246.282019]  [<ffffffff81311750>] ? pci_pm_suspend_noirq+0x180/0x180
[  246.282022]  [<ffffffff813fb470>] dpm_run_callback+0x50/0x170
[  246.282023]  [<ffffffff813fba43>] device_resume+0xd3/0x1f0
[  246.282025]  [<ffffffff813fbb7d>] async_resume+0x1d/0x50
[  246.282027]  [<ffffffff81097b38>] async_run_entry_fn+0x48/0x150
[  246.282029]  [<ffffffff8108f5bb>] process_one_work+0x14b/0x480
[  246.282031]  [<ffffffff8108f938>] worker_thread+0x48/0x4a0
[  246.282033]  [<ffffffff8108f8f0>] ? process_one_work+0x480/0x480
[  246.282035]  [<ffffffff810953d8>] kthread+0xd8/0xf0
[  246.282037]  [<ffffffff81095300>] ? kthread_worker_fn+0x170/0x170
[  246.282039]  [<ffffffff8159743f>] ret_from_fork+0x3f/0x70
[  246.282040]  [<ffffffff81095300>] ? kthread_worker_fn+0x170/0x170
[  246.282041] ---[ end trace 2d8b1761ab26421e ]---
[  246.328529] pciehp 0000:3c:03.0:pcie24: Device 0000:5f:00.0 already exists
at 0000:5f:00, cannot hot-add
[  246.328535] pciehp 0000:3c:03.0:pcie24: Cannot add device at 0000:5f:00
[  246.430537] iwlwifi 0000:3d:00.0: L1 Enabled - LTR Enabled
[  246.430972] iwlwifi 0000:3d:00.0: L1 Enabled - LTR Enabled
[  246.502254] [drm:intel_uncore_check_errors [i915]] *ERROR* Unclaimed
register before interrupt</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>