<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/HSW Regression]igt/drv_module_reload causes "WARNING: CPU: 5 PID: 3993 at drivers/gpu/drm/i915/i915_irq.c:154 ironlake_disable_vblank+0x40/0x52 [i915]()""
   href="https://bugs.freedesktop.org/show_bug.cgi?id=83868">83868</a>
          </td>
        </tr>

        <tr>
          <th>Keywords</th>
          <td>bisect_pending
          </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/HSW Regression]igt/drv_module_reload causes "WARNING: CPU: 5 PID: 3993 at drivers/gpu/drm/i915/i915_irq.c:154 ironlake_disable_vblank+0x40/0x52 [i915]()"
          </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=106296" name="attach_106296" title="dmesg">attachment 106296</a> <a href="attachment.cgi?id=106296&action=edit" title="dmesg">[details]</a></span>
dmesg

==System Environment==
--------------------------
Regression: Yes.
Good commit on drm-next: 58b21c22c66dd223d27405d54b47102a27bda0b7

Non-working platforms: SNB HSW

==kernel==
--------------------------
origin/drm-intel-nightly:43df30da20447e2856b2761215ff274886a9f931(fails)
    drm-intel-nightly: 2014y-09m-12d-15h-35m-20s UTC integration manifest
origin/drm-intel-next-queued:648fb42d1e77cf90cddea2b1cf1f4ac4453e65e6(works)
    drm/i915: Extend BIOS stolen mem handling to all platform
origin/drm-intel-fixes: e76c8c5979021483a3a6b480cfe360c644a403c0(works)
    drm/i915: Fix SRC_COPY width on 830/845g
origin/drm-fixes: 83502a5d34386f7c6973bc70e1c423f55f5a2e3a(works)
    drm/ast: AST2000 cannot be detected correctly
origin/drm-next: edbaae5a5cab89de0e64b8c03ebd9a8d5d266550(fails)
    Merge tag 'topic/vblank-rework-2014-09-12' of
git://anongit.freedesktop.org/drm-intel into drm-next

==Bug detailed description==
-----------------------------
igt/drv_module_reload causes "WARNING: CPU: 5 PID: 3993 at
drivers/gpu/drm/i915/i915_irq.c:154 ironlake_disable_vblank+0x40/0x52 [i915]()"

Output:
[root@x-hsw24 tests]# ./drv_module_reload
unbinding /sys/class/vtconsole/vtcon0/: (M) frame buffer device
module successfully unloaded
[root@x-hsw24 tests]# echo $?
0
[root@x-hsw24 tests]# dmesg -r|egrep ""<[1-4]>""|grep drm
<4>[   65.503283] WARNING: CPU: 5 PID: 3993 at
drivers/gpu/drm/i915/i915_irq.c:154 ironlake_disable_vblank+0x40/0x52 [i915]()
<4>[   65.503285] Modules linked in: dm_mod snd_hda_codec_realtek
snd_hda_codec_generic iTCO_wdt iTCO_vendor_support snd_hda_codec_hdmi dcdbas
serio_raw pcspkr i2c_i801 snd_hda_controller lpc_ich snd_hda_codec mfd_core
snd_hwdep shpchp snd_pcm snd_timer snd soundcore battery acpi_cpufreq i915(-)
button video drm_kms_helper drm cfbfillrect cfbimgblt cfbcopyarea [last
unloaded: snd_hda_intel]
<4>[   65.503301] CPU: 5 PID: 3993 Comm: rmmod Not tainted
3.17.0-rc4_drm-intel-nightly_43df30_20140915+ #2476
<4>[   65.503339]  [<ffffffffa0010fa4>] ? vblank_disable_and_save+0x74/0x17f
[drm]
<4>[   65.503347]  [<ffffffffa00121f3>] ? drm_vblank_cleanup+0x48/0x7c [drm]
<4>[   65.503359]  [<ffffffffa0013117>] ? drm_dev_unregister+0x1e/0x8b [drm]
<4>[   65.503363]  [<ffffffffa00139a3>] ? drm_put_dev+0x45/0x4e [drm]
<4>[   65.503381]  [<ffffffffa0015221>] ? drm_pci_exit+0x39/0x9c [drm]
<4>[   65.503403] WARNING: CPU: 5 PID: 3993 at
drivers/gpu/drm/i915/i915_irq.c:154 ironlake_disable_vblank+0x40/0x52 [i915]()
<4>[   65.503404] Modules linked in: dm_mod snd_hda_codec_realtek
snd_hda_codec_generic iTCO_wdt iTCO_vendor_support snd_hda_codec_hdmi dcdbas
serio_raw pcspkr i2c_i801 snd_hda_controller lpc_ich snd_hda_codec mfd_core
snd_hwdep shpchp snd_pcm snd_timer snd soundcore battery acpi_cpufreq i915(-)
button video drm_kms_helper drm cfbfillrect cfbimgblt cfbcopyarea [last
unloaded: snd_hda_intel]
<4>[   65.503418] CPU: 5 PID: 3993 Comm: rmmod Tainted: G        W     
3.17.0-rc4_drm-intel-nightly_43df30_20140915+ #2476
<4>[   65.503449]  [<ffffffffa0010fa4>] ? vblank_disable_and_save+0x74/0x17f
[drm]
<4>[   65.503455]  [<ffffffffa00121f3>] ? drm_vblank_cleanup+0x48/0x7c [drm]
<4>[   65.503466]  [<ffffffffa0013117>] ? drm_dev_unregister+0x1e/0x8b [drm]
<4>[   65.503470]  [<ffffffffa00139a3>] ? drm_put_dev+0x45/0x4e [drm]
<4>[   65.503486]  [<ffffffffa0015221>] ? drm_pci_exit+0x39/0x9c [drm]
<4>[   65.503505] WARNING: CPU: 5 PID: 3993 at
drivers/gpu/drm/i915/i915_irq.c:154 ironlake_disable_vblank+0x40/0x52 [i915]()
<4>[   65.503506] Modules linked in: dm_mod snd_hda_codec_realtek
snd_hda_codec_generic iTCO_wdt iTCO_vendor_support snd_hda_codec_hdmi dcdbas
serio_raw pcspkr i2c_i801 snd_hda_controller lpc_ich snd_hda_codec mfd_core
snd_hwdep shpchp snd_pcm snd_timer snd soundcore battery acpi_cpufreq i915(-)
button video drm_kms_helper drm cfbfillrect cfbimgblt cfbcopyarea [last
unloaded: snd_hda_intel]
<4>[   65.503520] CPU: 5 PID: 3993 Comm: rmmod Tainted: G        W     
3.17.0-rc4_drm-intel-nightly_43df30_20140915+ #2476
<4>[   65.503550]  [<ffffffffa0010fa4>] ? vblank_disable_and_save+0x74/0x17f
[drm]
<4>[   65.503556]  [<ffffffffa00121f3>] ? drm_vblank_cleanup+0x48/0x7c [drm]
<4>[   65.503567]  [<ffffffffa0013117>] ? drm_dev_unregister+0x1e/0x8b [drm]
<4>[   65.503571]  [<ffffffffa00139a3>] ? drm_put_dev+0x45/0x4e [drm]
<4>[   65.503586]  [<ffffffffa0015221>] ? drm_pci_exit+0x39/0x9c [drm]

Here has another warnings below on drm-intel-fixes and drm-fixes:
[root@x-hsw24 tests]# dmesg -r|egrep ""<[1-4]>""|grep drm
<4>[   90.242620] WARNING: CPU: 0 PID: 3998 at drivers/gpu/drm/drm_crtc.c:5113
drm_mode_config_cleanup+0x165/0x23f [drm]()
<4>[   90.242623] Modules linked in: dm_mod snd_hda_codec_realtek
snd_hda_codec_generic iTCO_wdt snd_hda_codec_hdmi iTCO_vendor_support dcdbas
serio_raw pcspkr i2c_i801 snd_hda_controller snd_hda_codec lpc_ich snd_hwdep
mfd_core snd_pcm shpchp snd_timer snd soundcore battery acpi_cpufreq i915(-)
button video drm_kms_helper drm cfbfillrect cfbimgblt cfbcopyarea [last
unloaded: snd_hda_intel]
<4>[   90.242648] CPU: 0 PID: 3998 Comm: rmmod Not tainted
3.17.0-rc4_drm-intel-fixes_e76c8c_20140915+ #2484
<4>[   90.242682]  [<ffffffffa001a78f>] ? drm_mode_config_cleanup+0x165/0x23f
[drm]
<4>[   90.242688]  [<ffffffffa001a78f>] ? drm_mode_config_cleanup+0x165/0x23f
[drm]
<4>[   90.242718]  [<ffffffffa00130d7>] ? drm_dev_unregister+0x1e/0x8b [drm]
<4>[   90.242724]  [<ffffffffa00139bb>] ? drm_put_dev+0x45/0x4e [drm]
<4>[   90.242751]  [<ffffffffa0015061>] ? drm_pci_exit+0x39/0x9c [drm]
<4>[   90.244256] WARNING: CPU: 0 PID: 3998 at
drivers/gpu/drm/i915/i915_dma.c:1905 i915_driver_unload+0x1a0/0x276 [i915]()
<4>[   90.244258] Modules linked in: dm_mod snd_hda_codec_realtek
snd_hda_codec_generic iTCO_wdt snd_hda_codec_hdmi iTCO_vendor_support dcdbas
serio_raw pcspkr i2c_i801 snd_hda_controller snd_hda_codec lpc_ich snd_hwdep
mfd_core snd_pcm shpchp snd_timer snd soundcore battery acpi_cpufreq i915(-)
button video drm_kms_helper drm cfbfillrect cfbimgblt cfbcopyarea [last
unloaded: snd_hda_intel]
<4>[   90.244273] CPU: 0 PID: 3998 Comm: rmmod Tainted: G        W     
3.17.0-rc4_drm-intel-fixes_e76c8c_20140915+ #2484
<4>[   90.244305]  [<ffffffffa00130d7>] ? drm_dev_unregister+0x1e/0x8b [drm]
<4>[   90.244309]  [<ffffffffa00139bb>] ? drm_put_dev+0x45/0x4e [drm]
<4>[   90.244325]  [<ffffffffa0015061>] ? drm_pci_exit+0x39/0x9c [drm]
<4>[   90.244341] WARNING: CPU: 0 PID: 3998 at
drivers/gpu/drm/i915/i915_dma.c:1913 i915_driver_unload+0x1e3/0x276 [i915]()
<4>[   90.244343] Modules linked in: dm_mod snd_hda_codec_realtek
snd_hda_codec_generic iTCO_wdt snd_hda_codec_hdmi iTCO_vendor_support dcdbas
serio_raw pcspkr i2c_i801 snd_hda_controller snd_hda_codec lpc_ich snd_hwdep
mfd_core snd_pcm shpchp snd_timer snd soundcore battery acpi_cpufreq i915(-)
button video drm_kms_helper drm cfbfillrect cfbimgblt cfbcopyarea [last
unloaded: snd_hda_intel]
<4>[   90.244356] CPU: 0 PID: 3998 Comm: rmmod Tainted: G        W     
3.17.0-rc4_drm-intel-fixes_e76c8c_20140915+ #2484
<4>[   90.244387]  [<ffffffffa00130d7>] ? drm_dev_unregister+0x1e/0x8b [drm]
<4>[   90.244391]  [<ffffffffa00139bb>] ? drm_put_dev+0x45/0x4e [drm]
<4>[   90.244406]  [<ffffffffa0015061>] ? drm_pci_exit+0x39/0x9c [drm]


==Reproduce steps==
---------------------------- 
1. ./drv_module_reload</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>