<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 - [BAT SNB] Missing switch case (16) in gen6_check_mailbox_status dmesg WARNING by intel_pm"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=97491">97491</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[BAT SNB] Missing switch case (16) in gen6_check_mailbox_status dmesg WARNING by intel_pm
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>DRI git
          </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>DRM/Intel
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>jari.tahvanainen@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=126051" name="attach_126051" title="dmesg (boot)">attachment 126051</a> <a href="attachment.cgi?id=126051&action=edit" title="dmesg (boot)">[details]</a></span>
dmesg (boot)

On the latest CI execution round (IGT-Version: 1.15-g3a3c0fa (x86_64) (Linux:
4.8.0-rc3-CI-CI_DRM_1589+ x86_64)) one can see this same dmesg on several
cases:

./drv_hangman --run-subtest error-state-basic
- last success: 
"IGT-Version: 1.15-g3a3c0fa (x86_64) (Linux: 4.8.0-rc3-CI-CI_DRM_1588+ x86_64)
Subtest error-state-basic: SUCCESS (10.372s)"

./drv_module_reload_basic
- has been failing for ~week

./gem_exec_suspend --run-subtest basic-S3
- has been failing for ~week

./gem_ringfill --run-subtest basic-default-forked
- last success: 
"IGT-Version: 1.15-g65a9987 (x86_64) (Linux: 4.8.0-rc3-CI-CI_DRM_1587+ x86_64)
Subtest basic-default-forked: SUCCESS (1.600s)"

./kms_pipe_crc_basic --run-subtest hang-read-crc-pipe-A
- last success: 
"IGT-Version: 1.15-g65a9987 (x86_64) (Linux: 4.8.0-rc3-CI-CI_DRM_1586+ x86_64)
hang-read-crc-pipe-A: Testing connector VGA-1 using pipe A
hang-read-crc-pipe-A: Testing connector HDMI-A-1 using pipe A
hang-read-crc-pipe-A: Testing connector VGA-1 using pipe A
hang-read-crc-pipe-A: Testing connector HDMI-A-1 using pipe A
Subtest hang-read-crc-pipe-A: SUCCESS (11.900s)"

./kms_pipe_crc_basic --run-subtest hang-read-crc-pipe-B
- last success:
"IGT-Version: 1.15-g65a9987 (x86_64) (Linux: 4.8.0-rc3-CI-CI_DRM_1586+ x86_64)
hang-read-crc-pipe-B: Testing connector VGA-1 using pipe B
hang-read-crc-pipe-B: Testing connector HDMI-A-1 using pipe B
hang-read-crc-pipe-B: Testing connector VGA-1 using pipe B
hang-read-crc-pipe-B: Testing connector HDMI-A-1 using pipe B
Subtest hang-read-crc-pipe-B: SUCCESS (12.426s)"

./kms_pipe_crc_basic --run-subtest suspend-read-crc-pipe-A
- has been failing for ~week

./kms_pipe_crc_basic --run-subtest suspend-read-crc-pipe-B
- has been failing for ~week

Here is copy-paste from dmesg related to ./drv_hangman - and as attachment
there is full dmesg files (one for boot and another igt execution) for this
same case.

Detail  Value
Returncode      0
Time    0:00:11.043401
Stdout  
IGT-Version: 1.15-g3a3c0fa (x86_64) (Linux: 4.8.0-rc3-CI-CI_DRM_1589+ x86_64)
Subtest error-state-basic: SUCCESS (10.895s)
Stderr  
Environment     
PIGLIT_PLATFORM="mixed_glx_egl" PIGLIT_SOURCE_DIR="/opt/igt/piglit"
Command /opt/igt/tests/drv_hangman --run-subtest error-state-basic
dmesg   
[  157.742584] drm/i915: Resetting chip after gpu hang
[  157.744617] ------------[ cut here ]------------
[  157.744641] WARNING: CPU: 5 PID: 9238 at
drivers/gpu/drm/i915/intel_pm.c:7760 sandybridge_pcode_write+0x141/0x200 [i915]
[  157.744642] Missing switch case (16) in gen6_check_mailbox_status
[  157.744642] Modules linked in: snd_hda_intel i915 ax88179_178a usbnet mii
x86_pkg_temp_thermal intel_powerclamp coretemp crct10dif_pclmul crc32_pclmul
ghash_clmulni_intel snd_hda_codec_hdmi snd_hda_codec_realtek
snd_hda_codec_generic snd_hda_codec snd_hwdep snd_hda_core mei_me lpc_ich
snd_pcm mei broadcom bcm_phy_lib tg3 ptp pps_core [last unloaded: vgem]
[  157.744658] CPU: 5 PID: 9238 Comm: drv_hangman Tainted: G     U  W      
4.8.0-rc3-CI-CI_DRM_1589+ #1
[  157.744658] Hardware name: Dell Inc. XPS 8300  /0Y2MRG, BIOS A06 10/17/2011
[  157.744659]  0000000000000000 ffff88011f093a98 ffffffff81426415
ffff88011f093ae8
[  157.744662]  0000000000000000 ffff88011f093ad8 ffffffff8107d2a6
00001e50810d3c9f
[  157.744663]  ffff880128680000 0000000000000008 0000000000000000
ffff88012868a650
[  157.744665] Call Trace:
[  157.744669]  [<ffffffff81426415>] dump_stack+0x67/0x92
[  157.744672]  [<ffffffff8107d2a6>] __warn+0xc6/0xe0
[  157.744673]  [<ffffffff8107d30a>] warn_slowpath_fmt+0x4a/0x50
[  157.744685]  [<ffffffffa0029831>] sandybridge_pcode_write+0x141/0x200 [i915]
[  157.744697]  [<ffffffffa002a88a>] intel_enable_gt_powersave+0x64a/0x1330
[i915]
[  157.744712]  [<ffffffffa006b4cb>] ? i9xx_emit_request+0x1b/0x80 [i915]
[  157.744725]  [<ffffffffa0055ed3>] __i915_add_request+0x1e3/0x370 [i915]
[  157.744738]  [<ffffffffa00428bd>]
i915_gem_do_execbuffer.isra.16+0xced/0x1b80 [i915]
[  157.744740]  [<ffffffff811a232e>] ? __might_fault+0x3e/0x90
[  157.744752]  [<ffffffffa0043b72>] i915_gem_execbuffer2+0xc2/0x2a0 [i915]
[  157.744753]  [<ffffffff815485b7>] drm_ioctl+0x207/0x4c0
[  157.744765]  [<ffffffffa0043ab0>] ? i915_gem_execbuffer+0x360/0x360 [i915]
[  157.744767]  [<ffffffff810ea4ad>] ? debug_lockdep_rcu_enabled+0x1d/0x20
[  157.744769]  [<ffffffff811fe09e>] do_vfs_ioctl+0x8e/0x680
[  157.744770]  [<ffffffff811a2377>] ? __might_fault+0x87/0x90
[  157.744771]  [<ffffffff811a232e>] ? __might_fault+0x3e/0x90
[  157.744773]  [<ffffffff810d3df2>] ? trace_hardirqs_on_caller+0x122/0x1b0
[  157.744774]  [<ffffffff811fe6cc>] SyS_ioctl+0x3c/0x70
[  157.744776]  [<ffffffff8180fe69>] entry_SYSCALL_64_fastpath+0x1c/0xac
[  157.744777] ---[ end trace db67199eb0eabf0b ]---</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>