<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 - [HSW Regression]igt/drv_module_reload causes "WARNING: CPU: 5 PID: 4025 at drivers/gpu/drm/drm_mm.c:765 i915_global_gtt_cleanup+0x3a/0x80 [i915]()""
   href="https://bugs.freedesktop.org/show_bug.cgi?id=86507">86507</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[HSW Regression]igt/drv_module_reload causes "WARNING: CPU: 5 PID: 4025 at drivers/gpu/drm/drm_mm.c:765 i915_global_gtt_cleanup+0x3a/0x80 [i915]()"
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>XOrg git
          </td>
        </tr>

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

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

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

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

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

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

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

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

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

        <tr>
          <th>CC</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=109787" name="attach_109787" title="dmesg">attachment 109787</a> <a href="attachment.cgi?id=109787&action=edit" title="dmesg">[details]</a></span>
dmesg

==System Environment==
--------------------------
Regression: Yes,
Good commit on -next-queued:
77c1aa84de0096792de673aa1c64c36b38553cf5(2014_11_19)

Non-working platforms: HSW

==kernel==
--------------------------
origin/drm-intel-nightly: 18748be7c96accc27327423c384f86a8fae99c35(fails)
    drm-intel-nightly: 2014y-11m-20d-21h-58m-44s UTC integration manifest
origin/drm-intel-next-queued: 89a35ecdc6aa5a88165313ca5cfd52b8e8e7fbbd(fails)
    drm/i915/g4x: fix g4x infoframe readout
origin/drm-intel-fixes: 0485c9dc24ec0939b42ca5104c0373297506b555(another <a class="bz_bug_link 
          bz_status_VERIFIED  bz_closed"
   title="VERIFIED FIXED - [HSW Regression]igt/pm_rpm/system-suspend cause " WARNING: CPU: 0 PID: 786 at drivers/gpu/drm/i915/i915_irq.c:209 gen6_enable_rps_interrupts+0x39/0x5c [i915]()""
   href="show_bug.cgi?id=80517">bug
80517</a>)
    drm/i915: Kick fbdev before vgacon

==Bug detailed description==
igt/drv_module_reload causes "WARNING: CPU: 5 PID: 4025 at
drivers/gpu/drm/drm_mm.c:765 i915_global_gtt_cleanup+0x3a/0x80 [i915]()"

Output:
[root@x-hsw24 tests]# ./drv_module_reload
unbinding /sys/class/vtconsole/vtcon0/: (M) frame buffer device
module successfully unloaded
module successfully loaded again
[root@x-hsw24 tests]# echo $?
0
[root@x-hsw24 tests]# dmesg -r|egrep ""<[1-4]>""|grep drm
<4>[  198.502172] WARNING: CPU: 5 PID: 4025 at drivers/gpu/drm/drm_mm.c:765
i915_global_gtt_cleanup+0x3a/0x80 [i915]()
<4>[  198.502175] Modules linked in: ip6table_filter ip6_tables ebtable_nat
ebtables nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT
nf_reject_ipv4 iptable_mangle xt_tcpudp iptable_filter ip_tables x_tables
bridge stp llc ipv6 dm_mod iTCO_wdt iTCO_vendor_support dcdbas
snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi 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>[  198.502199] CPU: 5 PID: 4025 Comm: rmmod Not tainted
3.18.0-rc5_drm-intel-nightly_18748b_20141121+ #1774
<4>[  198.502249]  [<ffffffffa0023959>] ? drm_modeset_unlock_all+0x41/0x50
[drm]
<4>[  198.502254]  [<ffffffffa001308d>] ? drm_dev_unregister+0x1e/0x8b [drm]
<4>[  198.502259]  [<ffffffffa001394f>] ? drm_put_dev+0x3e/0x47 [drm]
<4>[  198.502280]  [<ffffffffa00151a1>] ? drm_pci_exit+0x39/0x9c [drm]
<4>[  198.502337] CPU: 5 PID: 4025 Comm: rmmod Tainted: G    B   W     
3.18.0-rc5_drm-intel-nightly_18748b_20141121+ #1774
<4>[  198.502381]  [<ffffffffa0023959>] ? drm_modeset_unlock_all+0x41/0x50
[drm]
<4>[  198.502385]  [<ffffffffa001308d>] ? drm_dev_unregister+0x1e/0x8b [drm]
<4>[  198.502390]  [<ffffffffa001394f>] ? drm_put_dev+0x3e/0x47 [drm]
<4>[  198.502408]  [<ffffffffa00151a1>] ? drm_pci_exit+0x39/0x9c [drm]
<4>[  198.502422] CPU: 5 PID: 4025 Comm: rmmod Tainted: G    B   W     
3.18.0-rc5_drm-intel-nightly_18748b_20141121+ #1774
<4>[  198.502447]  [<ffffffffa0023959>] ? drm_modeset_unlock_all+0x41/0x50
[drm]
<4>[  198.502452]  [<ffffffffa001308d>] ? drm_dev_unregister+0x1e/0x8b [drm]
<4>[  198.502456]  [<ffffffffa001394f>] ? drm_put_dev+0x3e/0x47 [drm]
<4>[  198.502474]  [<ffffffffa00151a1>] ? 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>