<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>high
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [SNB Regression]igt/pm_rpm subcases causes "WARNING: CPU: 2 PID: 3795 at drivers/gpu/drm/i915/intel_uncore.c:47 assert_device_not_suspended+0x39/0x3d [i915]()" sporadically"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=80465">80465</a>
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[SNB Regression]igt/pm_rpm subcases causes "WARNING: CPU: 2 PID: 3795 at drivers/gpu/drm/i915/intel_uncore.c:47 assert_device_not_suspended+0x39/0x3d [i915]()" sporadically
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jinxianx.guo@intel.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

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

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

        <tr>
          <th>Component</th>
          <td>DRM/Intel
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=101658" name="attach_101658" title="dmesg">attachment 101658</a> <a href="attachment.cgi?id=101658&action=edit" title="dmesg">[details]</a></span>
dmesg

==System Environment==
--------------------------
Regression: Yes. 
The fail rate is about 1 out of 3
I unable to find good commit

Non-working platforms: SNB

==kernel==
--------------------------
origin/drm-intel-nightly: 794975a476b0b5e16d04ed1e5d082b9e2b54b4fb(fails)
    drm-intel-nightly: 2014y-06m-23d-10h-38m-48s integration manifest
origin/drm-intel-next-queued: 9c33baa6b3bbb01c1a88dceba986b20e6642cf31(fails)
    drivers/i915: Fix unnoticed failure of init_ring_common()    
origin/drm-intel-fixes: bfafe93a1cd466ef318b7e5f6c65f59aee147791(fails)
    drm/i915: cache hw power well enabled state

==Bug detailed description==
-----------------------------
igt/pm_rpm subcases causes "WARNING: CPU: 2 PID: 3795 at
drivers/gpu/drm/i915/intel_uncore.c:47 assert_device_not_suspended+0x39/0x3d
[i915]()" sporadically 

Case list:
igt/pm_rpm/modeset-non-lpsp-stress
igt/pm_rpm/modeset-non-lpsp-stress-no-wait
igt/pm_rpm/modeset-stress-extra-wait
igt/pm_rpm/pci-d3-state
igt/pm_rpm/reg-read-ioctl
igt/pm_rpm/rte
igt/pm_rpm/sysfs-read
igt/pm_rpm/system-suspend

Output:
[root@x-sgb4 tests]# ./pm_rpm --run-subtest modeset-non-lpsp-stress-no-wait
IGT-Version: 1.7-gfedb9b6 (i686) (Linux:
3.16.0-rc2_drm-intel-nightly_794975_20140624+ i686)
Runtime PM support: 1
PC8 residency support: 0
Subtest modeset-non-lpsp-stress-no-wait: SUCCESS

Dmesg shows:
[  465.280940] WARNING: CPU: 2 PID: 3795 at
drivers/gpu/drm/i915/intel_uncore.c:47 assert_device_not_suspended+0x39/0x3d
[i915]()
[  465.280940] Device suspended
[  465.280941] Modules linked in: dm_mod snd_hda_codec_hdmi
snd_hda_codec_realtek snd_hda_codec_generic iTCO_wdt iTCO_vendor_support ppdev
dcdbas serio_raw pcspkr i2c_i801 snd_hda_intel snd_hda_controller snd_hda_codec
snd_hwdep snd_pcm lpc_ich mfd_core snd_timer snd soundcore tpm_tis parport_pc
tpm parport acpi_cpufreq i915 video button drm_kms_helper drm
[  465.280952] CPU: 2 PID: 3795 Comm: pm_rpm Tainted: G        W    
3.16.0-rc2_drm-intel-nightly_794975_20140624+ #3850
[  465.280953] Hardware name: Dell Inc. OptiPlex 990/0DXWW6, BIOS A02
02/26/2011
[  465.280954]  00000000 c16f4ae7 f4d5bd38 c10311b0 f81df53b c28a8000 c28a8058
f4d5bdb4
[  465.280957]  000c6014 c103122b 00000009 f4d5bd38 f822e727 f4d5bd50 f81df53b
f822e58c
[  465.280959]  0000002f f822e727 f81e02ca f4d5bd60 01094325 c28a8000 f4d5bda4
f4d5bdb4
[  465.280973] Call Trace:
[  465.280980]  [<c16f4ae7>] ? dump_stack+0x3e/0x4e
[  465.280986]  [<c10311b0>] ? warn_slowpath_common+0x65/0x78
[  465.280999]  [<f81df53b>] ? assert_device_not_suspended+0x39/0x3d [i915]
[  465.281005]  [<c103122b>] ? warn_slowpath_fmt+0x29/0x2d
[  465.281017]  [<f81df53b>] ? assert_device_not_suspended+0x39/0x3d [i915]
[  465.281029]  [<f81e02ca>] ? gen6_read32+0x17/0xb4 [i915]
[  465.281042]  [<f81e4b61>] ? ibx_pch_dpll_get_hw_state+0x21/0x67 [i915]
[  465.281055]  [<f81f35d4>] ? intel_modeset_check_state+0x35b/0x56f [i915]
[  465.281061]  [<c16f201e>] ? printk+0x16/0x1a
[  465.281073]  [<f81f3808>] ? intel_set_mode+0x20/0x25 [i915]
[  465.281085]  [<f81f4288>] ? intel_crtc_set_config+0x62f/0x92c [i915]
[  465.281092]  [<f809aef7>] ? drm_mode_setplane+0x136/0x136 [drm]
[  465.281097]  [<f809aef7>] ? drm_mode_setplane+0x136/0x136 [drm]
[  465.281105]  [<f8098219>] ? drm_mode_set_config_internal+0x39/0x8a [drm]
[  465.281110]  [<f809aef7>] ? drm_mode_setplane+0x136/0x136 [drm]
[  465.281116]  [<f809b26a>] ? drm_mode_setcrtc+0x373/0x405 [drm]
[  465.281122]  [<f809aef7>] ? drm_mode_setplane+0x136/0x136 [drm]
[  465.281128]  [<f80908cb>] ? drm_ioctl+0x22e/0x35f [drm]
[  465.281134]  [<f809aef7>] ? drm_mode_setplane+0x136/0x136 [drm]
[  465.281140]  [<f809069d>] ? drm_copy_field+0x47/0x47 [drm]
[  465.281143]  [<c10ed665>] ? do_vfs_ioctl+0x3fa/0x444
[  465.281147]  [<c1073b56>] ? clockevents_program_event+0xe6/0x107
[  465.281150]  [<c1074d88>] ? tick_program_event+0x1c/0x1f
[  465.281153]  [<c1048580>] ? hrtimer_interrupt+0x14d/0x205
[  465.281156]  [<c10ed6f1>] ? SyS_ioctl+0x42/0x6d
[  465.281159]  [<c16f99e8>] ? sysenter_do_call+0x12/0x22
[  465.281160] ---[ end trace 40dd835f1176ec27 ]---

==Reproduce steps==
---------------------------- 
1.  ./pm_rpm --run-subtest modeset-non-lpsp-stress-no-wait</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>