linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* i915 WARNING: Missing switch case (16) in gen6_check_mailbox_status
@ 2016-08-29  9:42 Meelis Roos
  2016-09-06  9:14 ` Jani Nikula
  2016-09-07 14:50 ` Jani Nikula
  0 siblings, 2 replies; 5+ messages in thread
From: Meelis Roos @ 2016-08-29  9:42 UTC (permalink / raw)
  To: Linux Kernel list, dri-devel, intel-gfx

Tried 4.8-rc4 on my i5-2400 PC, got this warning:

[   14.579557] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[   15.847321] ------------[ cut here ]------------
[   15.847346] WARNING: CPU: 0 PID: 208 at drivers/gpu/drm/i915/intel_pm.c:7866 sandybridge_pcode_write+0x109/0x1f0 [i915]
[   15.847348] Missing switch case (16) in gen6_check_mailbox_status
[   15.847349] Modules linked in: cpufreq_powersave cpufreq_userspace cpufreq_conservative joydev hid_generic usbhid hid x86_pkg_temp_thermal kvm_intel kvm irqbypass crc32c_intel aesni_intel snd_hda_codec_realtek snd_hda_codec_generic iTCO_wdt i915 aes_x86_64 iTCO_vendor_support glue_helper lrw ablk_helper cryptd video i2c_algo_bit drm_kms_helper psmouse pcspkr syscopyarea sysfillrect sysimgblt fb_sys_fops ehci_pci ehci_hcd snd_hda_intel xhci_pci xhci_hcd e1000e snd_hda_codec snd_hwdep usbcore drm snd_hda_core usb_common i2c_i801 ptp pps_core i2c_smbus snd_pcm_oss snd_mixer_oss snd_pcm snd_timer evdev snd tpm_tis lpc_ich parport_pc tpm_tis_core mfd_core parport nuvoton_cir rc_core tpm soundcore floppy w83627ehf hwmon_vid coretemp hwmon eeprom i2c_core loop ip_tables x_tables autofs4
[   15.847395] CPU: 0 PID: 208 Comm: kworker/0:2 Not tainted 4.8.0-rc4 #213
[   15.847396] Hardware name:                  /DQ67OW, BIOS SWQ6710H.86A.0066.2012.1105.1504 11/05/2012
[   15.847412] Workqueue: events intel_gen6_powersave_work [i915]
[   15.847414]  0000000000000000 ffffffff812d8198 ffff88023191fd70 0000000000000000
[   15.847417]  ffffffff81056d1e ffff88022ea40000 ffff88023191fdc0 0000000000000000
[   15.847419]  ffff88022ea4a3c8 ffff88022ea487c0 0ffff88023e21ba0 ffffffff81056d8f
[   15.847422] Call Trace:
[   15.847427]  [<ffffffff812d8198>] ? dump_stack+0x46/0x5e
[   15.847429]  [<ffffffff81056d1e>] ? __warn+0xbe/0xe0
[   15.847431]  [<ffffffff81056d8f>] ? warn_slowpath_fmt+0x4f/0x60
[   15.847446]  [<ffffffffa0311a09>] ? sandybridge_pcode_write+0x109/0x1f0 [i915]
[   15.847459]  [<ffffffffa0313308>] ? intel_gen6_powersave_work+0x2a8/0x1400 [i915]
[   15.847462]  [<ffffffff8106e4db>] ? process_one_work+0x1eb/0x480
[   15.847465]  [<ffffffff8106e7b7>] ? worker_thread+0x47/0x4c0
[   15.847467]  [<ffffffff815649f7>] ? __schedule+0x1d7/0x660
[   15.847469]  [<ffffffff8106e770>] ? process_one_work+0x480/0x480
[   15.847472]  [<ffffffff8107398d>] ? kthread+0xbd/0xe0
[   15.847475]  [<ffffffff8156903f>] ? ret_from_fork+0x1f/0x40
[   15.847478]  [<ffffffff810738d0>] ? kthread_worker_fn+0x160/0x160
[   15.847487] ---[ end trace ad9e991297d99be1 ]---

-- 
Meelis Roos (mroos@linux.ee)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: i915 WARNING: Missing switch case (16) in gen6_check_mailbox_status
  2016-08-29  9:42 i915 WARNING: Missing switch case (16) in gen6_check_mailbox_status Meelis Roos
@ 2016-09-06  9:14 ` Jani Nikula
  2016-09-06  9:24   ` Jani Nikula
  2016-09-07 14:50 ` Jani Nikula
  1 sibling, 1 reply; 5+ messages in thread
From: Jani Nikula @ 2016-09-06  9:14 UTC (permalink / raw)
  To: Meelis Roos, Linux Kernel list, dri-devel, intel-gfx, Lyude


Lyude, this is due to

commit 87660502f1a4d51fb043e89a45d30c9917787c22
Author: Lyude <cpaul@redhat.com>
Date:   Wed Aug 17 15:55:53 2016 -0400

    drm/i915/gen6+: Interpret mailbox error flags

and on its way to stable.

BR,
Jani.


On Mon, 29 Aug 2016, Meelis Roos <mroos@linux.ee> wrote:
> Tried 4.8-rc4 on my i5-2400 PC, got this warning:
>
> [   14.579557] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
> [   15.847321] ------------[ cut here ]------------
> [   15.847346] WARNING: CPU: 0 PID: 208 at drivers/gpu/drm/i915/intel_pm.c:7866 sandybridge_pcode_write+0x109/0x1f0 [i915]
> [   15.847348] Missing switch case (16) in gen6_check_mailbox_status
> [   15.847349] Modules linked in: cpufreq_powersave cpufreq_userspace cpufreq_conservative joydev hid_generic usbhid hid x86_pkg_temp_thermal kvm_intel kvm irqbypass crc32c_intel aesni_intel snd_hda_codec_realtek snd_hda_codec_generic iTCO_wdt i915 aes_x86_64 iTCO_vendor_support glue_helper lrw ablk_helper cryptd video i2c_algo_bit drm_kms_helper psmouse pcspkr syscopyarea sysfillrect sysimgblt fb_sys_fops ehci_pci ehci_hcd snd_hda_intel xhci_pci xhci_hcd e1000e snd_hda_codec snd_hwdep usbcore drm snd_hda_core usb_common i2c_i801 ptp pps_core i2c_smbus snd_pcm_oss snd_mixer_oss snd_pcm snd_timer evdev snd tpm_tis lpc_ich parport_pc tpm_tis_core mfd_core parport nuvoton_cir rc_core tpm soundcore floppy w83627ehf hwmon_vid coretemp hwmon eeprom i2c_core loop ip_tables x_tables autofs4
> [   15.847395] CPU: 0 PID: 208 Comm: kworker/0:2 Not tainted 4.8.0-rc4 #213
> [   15.847396] Hardware name:                  /DQ67OW, BIOS SWQ6710H.86A.0066.2012.1105.1504 11/05/2012
> [   15.847412] Workqueue: events intel_gen6_powersave_work [i915]
> [   15.847414]  0000000000000000 ffffffff812d8198 ffff88023191fd70 0000000000000000
> [   15.847417]  ffffffff81056d1e ffff88022ea40000 ffff88023191fdc0 0000000000000000
> [   15.847419]  ffff88022ea4a3c8 ffff88022ea487c0 0ffff88023e21ba0 ffffffff81056d8f
> [   15.847422] Call Trace:
> [   15.847427]  [<ffffffff812d8198>] ? dump_stack+0x46/0x5e
> [   15.847429]  [<ffffffff81056d1e>] ? __warn+0xbe/0xe0
> [   15.847431]  [<ffffffff81056d8f>] ? warn_slowpath_fmt+0x4f/0x60
> [   15.847446]  [<ffffffffa0311a09>] ? sandybridge_pcode_write+0x109/0x1f0 [i915]
> [   15.847459]  [<ffffffffa0313308>] ? intel_gen6_powersave_work+0x2a8/0x1400 [i915]
> [   15.847462]  [<ffffffff8106e4db>] ? process_one_work+0x1eb/0x480
> [   15.847465]  [<ffffffff8106e7b7>] ? worker_thread+0x47/0x4c0
> [   15.847467]  [<ffffffff815649f7>] ? __schedule+0x1d7/0x660
> [   15.847469]  [<ffffffff8106e770>] ? process_one_work+0x480/0x480
> [   15.847472]  [<ffffffff8107398d>] ? kthread+0xbd/0xe0
> [   15.847475]  [<ffffffff8156903f>] ? ret_from_fork+0x1f/0x40
> [   15.847478]  [<ffffffff810738d0>] ? kthread_worker_fn+0x160/0x160
> [   15.847487] ---[ end trace ad9e991297d99be1 ]---

-- 
Jani Nikula, Intel Open Source Technology Center

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: i915 WARNING: Missing switch case (16) in gen6_check_mailbox_status
  2016-09-06  9:14 ` Jani Nikula
@ 2016-09-06  9:24   ` Jani Nikula
  2016-09-06 10:58     ` Meelis Roos
  0 siblings, 1 reply; 5+ messages in thread
From: Jani Nikula @ 2016-09-06  9:24 UTC (permalink / raw)
  To: Meelis Roos, Linux Kernel list, dri-devel, intel-gfx, Lyude


Meelis, what does 'lspci -nns 2' say for you?

BR,
Jani.

On Tue, 06 Sep 2016, Jani Nikula <jani.nikula@linux.intel.com> wrote:
> Lyude, this is due to
>
> commit 87660502f1a4d51fb043e89a45d30c9917787c22
> Author: Lyude <cpaul@redhat.com>
> Date:   Wed Aug 17 15:55:53 2016 -0400
>
>     drm/i915/gen6+: Interpret mailbox error flags
>
> and on its way to stable.
>
> BR,
> Jani.
>
>
> On Mon, 29 Aug 2016, Meelis Roos <mroos@linux.ee> wrote:
>> Tried 4.8-rc4 on my i5-2400 PC, got this warning:
>>
>> [   14.579557] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
>> [   15.847321] ------------[ cut here ]------------
>> [   15.847346] WARNING: CPU: 0 PID: 208 at drivers/gpu/drm/i915/intel_pm.c:7866 sandybridge_pcode_write+0x109/0x1f0 [i915]
>> [   15.847348] Missing switch case (16) in gen6_check_mailbox_status
>> [   15.847349] Modules linked in: cpufreq_powersave cpufreq_userspace cpufreq_conservative joydev hid_generic usbhid hid x86_pkg_temp_thermal kvm_intel kvm irqbypass crc32c_intel aesni_intel snd_hda_codec_realtek snd_hda_codec_generic iTCO_wdt i915 aes_x86_64 iTCO_vendor_support glue_helper lrw ablk_helper cryptd video i2c_algo_bit drm_kms_helper psmouse pcspkr syscopyarea sysfillrect sysimgblt fb_sys_fops ehci_pci ehci_hcd snd_hda_intel xhci_pci xhci_hcd e1000e snd_hda_codec snd_hwdep usbcore drm snd_hda_core usb_common i2c_i801 ptp pps_core i2c_smbus snd_pcm_oss snd_mixer_oss snd_pcm snd_timer evdev snd tpm_tis lpc_ich parport_pc tpm_tis_core mfd_core parport nuvoton_cir rc_core tpm soundcore floppy w83627ehf hwmon_vid coretemp hwmon eeprom i2c_core loop ip_tables x_tables autofs4
>> [   15.847395] CPU: 0 PID: 208 Comm: kworker/0:2 Not tainted 4.8.0-rc4 #213
>> [   15.847396] Hardware name:                  /DQ67OW, BIOS SWQ6710H.86A.0066.2012.1105.1504 11/05/2012
>> [   15.847412] Workqueue: events intel_gen6_powersave_work [i915]
>> [   15.847414]  0000000000000000 ffffffff812d8198 ffff88023191fd70 0000000000000000
>> [   15.847417]  ffffffff81056d1e ffff88022ea40000 ffff88023191fdc0 0000000000000000
>> [   15.847419]  ffff88022ea4a3c8 ffff88022ea487c0 0ffff88023e21ba0 ffffffff81056d8f
>> [   15.847422] Call Trace:
>> [   15.847427]  [<ffffffff812d8198>] ? dump_stack+0x46/0x5e
>> [   15.847429]  [<ffffffff81056d1e>] ? __warn+0xbe/0xe0
>> [   15.847431]  [<ffffffff81056d8f>] ? warn_slowpath_fmt+0x4f/0x60
>> [   15.847446]  [<ffffffffa0311a09>] ? sandybridge_pcode_write+0x109/0x1f0 [i915]
>> [   15.847459]  [<ffffffffa0313308>] ? intel_gen6_powersave_work+0x2a8/0x1400 [i915]
>> [   15.847462]  [<ffffffff8106e4db>] ? process_one_work+0x1eb/0x480
>> [   15.847465]  [<ffffffff8106e7b7>] ? worker_thread+0x47/0x4c0
>> [   15.847467]  [<ffffffff815649f7>] ? __schedule+0x1d7/0x660
>> [   15.847469]  [<ffffffff8106e770>] ? process_one_work+0x480/0x480
>> [   15.847472]  [<ffffffff8107398d>] ? kthread+0xbd/0xe0
>> [   15.847475]  [<ffffffff8156903f>] ? ret_from_fork+0x1f/0x40
>> [   15.847478]  [<ffffffff810738d0>] ? kthread_worker_fn+0x160/0x160
>> [   15.847487] ---[ end trace ad9e991297d99be1 ]---

-- 
Jani Nikula, Intel Open Source Technology Center

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: i915 WARNING: Missing switch case (16) in gen6_check_mailbox_status
  2016-09-06  9:24   ` Jani Nikula
@ 2016-09-06 10:58     ` Meelis Roos
  0 siblings, 0 replies; 5+ messages in thread
From: Meelis Roos @ 2016-09-06 10:58 UTC (permalink / raw)
  To: Jani Nikula; +Cc: Linux Kernel list, dri-devel, intel-gfx, Lyude

> Meelis, what does 'lspci -nns 2' say for you?

00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0102] (rev 09)

> 
> BR,
> Jani.
> 
> On Tue, 06 Sep 2016, Jani Nikula <jani.nikula@linux.intel.com> wrote:
> > Lyude, this is due to
> >
> > commit 87660502f1a4d51fb043e89a45d30c9917787c22
> > Author: Lyude <cpaul@redhat.com>
> > Date:   Wed Aug 17 15:55:53 2016 -0400
> >
> >     drm/i915/gen6+: Interpret mailbox error flags
> >
> > and on its way to stable.
> >
> > BR,
> > Jani.
> >
> >
> > On Mon, 29 Aug 2016, Meelis Roos <mroos@linux.ee> wrote:
> >> Tried 4.8-rc4 on my i5-2400 PC, got this warning:
> >>
> >> [   14.579557] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
> >> [   15.847321] ------------[ cut here ]------------
> >> [   15.847346] WARNING: CPU: 0 PID: 208 at drivers/gpu/drm/i915/intel_pm.c:7866 sandybridge_pcode_write+0x109/0x1f0 [i915]
> >> [   15.847348] Missing switch case (16) in gen6_check_mailbox_status
> >> [   15.847349] Modules linked in: cpufreq_powersave cpufreq_userspace cpufreq_conservative joydev hid_generic usbhid hid x86_pkg_temp_thermal kvm_intel kvm irqbypass crc32c_intel aesni_intel snd_hda_codec_realtek snd_hda_codec_generic iTCO_wdt i915 aes_x86_64 iTCO_vendor_support glue_helper lrw ablk_helper cryptd video i2c_algo_bit drm_kms_helper psmouse pcspkr syscopyarea sysfillrect sysimgblt fb_sys_fops ehci_pci ehci_hcd snd_hda_intel xhci_pci xhci_hcd e1000e snd_hda_codec snd_hwdep usbcore drm snd_hda_core usb_common i2c_i801 ptp pps_core i2c_smbus snd_pcm_oss snd_mixer_oss snd_pcm snd_timer evdev snd tpm_tis lpc_ich parport_pc tpm_tis_core mfd_core parport nuvoton_cir rc_core tpm soundcore floppy w83627ehf hwmon_vid coretemp hwmon eeprom i2c_core loop ip_tables x_tables autofs4
> >> [   15.847395] CPU: 0 PID: 208 Comm: kworker/0:2 Not tainted 4.8.0-rc4 #213
> >> [   15.847396] Hardware name:                  /DQ67OW, BIOS SWQ6710H.86A.0066.2012.1105.1504 11/05/2012
> >> [   15.847412] Workqueue: events intel_gen6_powersave_work [i915]
> >> [   15.847414]  0000000000000000 ffffffff812d8198 ffff88023191fd70 0000000000000000
> >> [   15.847417]  ffffffff81056d1e ffff88022ea40000 ffff88023191fdc0 0000000000000000
> >> [   15.847419]  ffff88022ea4a3c8 ffff88022ea487c0 0ffff88023e21ba0 ffffffff81056d8f
> >> [   15.847422] Call Trace:
> >> [   15.847427]  [<ffffffff812d8198>] ? dump_stack+0x46/0x5e
> >> [   15.847429]  [<ffffffff81056d1e>] ? __warn+0xbe/0xe0
> >> [   15.847431]  [<ffffffff81056d8f>] ? warn_slowpath_fmt+0x4f/0x60
> >> [   15.847446]  [<ffffffffa0311a09>] ? sandybridge_pcode_write+0x109/0x1f0 [i915]
> >> [   15.847459]  [<ffffffffa0313308>] ? intel_gen6_powersave_work+0x2a8/0x1400 [i915]
> >> [   15.847462]  [<ffffffff8106e4db>] ? process_one_work+0x1eb/0x480
> >> [   15.847465]  [<ffffffff8106e7b7>] ? worker_thread+0x47/0x4c0
> >> [   15.847467]  [<ffffffff815649f7>] ? __schedule+0x1d7/0x660
> >> [   15.847469]  [<ffffffff8106e770>] ? process_one_work+0x480/0x480
> >> [   15.847472]  [<ffffffff8107398d>] ? kthread+0xbd/0xe0
> >> [   15.847475]  [<ffffffff8156903f>] ? ret_from_fork+0x1f/0x40
> >> [   15.847478]  [<ffffffff810738d0>] ? kthread_worker_fn+0x160/0x160
> >> [   15.847487] ---[ end trace ad9e991297d99be1 ]---
> 
> 

-- 
Meelis Roos (mroos@linux.ee)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: i915 WARNING: Missing switch case (16) in gen6_check_mailbox_status
  2016-08-29  9:42 i915 WARNING: Missing switch case (16) in gen6_check_mailbox_status Meelis Roos
  2016-09-06  9:14 ` Jani Nikula
@ 2016-09-07 14:50 ` Jani Nikula
  1 sibling, 0 replies; 5+ messages in thread
From: Jani Nikula @ 2016-09-07 14:50 UTC (permalink / raw)
  To: Meelis Roos, Linux Kernel list, dri-devel, intel-gfx; +Cc: Lyude

On Mon, 29 Aug 2016, Meelis Roos <mroos@linux.ee> wrote:
> Tried 4.8-rc4 on my i5-2400 PC, got this warning:

Fixed in drm-intel-fixes by

commit fc2780b66b15092ac68272644a522c1624c48547
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Fri Aug 26 11:59:26 2016 +0100

    drm/i915: Add GEN7_PCODE_MIN_FREQ_TABLE_GT_RATIO_OUT_OF_RANGE to SNB

BR,
Jani.



>
> [   14.579557] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
> [   15.847321] ------------[ cut here ]------------
> [   15.847346] WARNING: CPU: 0 PID: 208 at drivers/gpu/drm/i915/intel_pm.c:7866 sandybridge_pcode_write+0x109/0x1f0 [i915]
> [   15.847348] Missing switch case (16) in gen6_check_mailbox_status
> [   15.847349] Modules linked in: cpufreq_powersave cpufreq_userspace cpufreq_conservative joydev hid_generic usbhid hid x86_pkg_temp_thermal kvm_intel kvm irqbypass crc32c_intel aesni_intel snd_hda_codec_realtek snd_hda_codec_generic iTCO_wdt i915 aes_x86_64 iTCO_vendor_support glue_helper lrw ablk_helper cryptd video i2c_algo_bit drm_kms_helper psmouse pcspkr syscopyarea sysfillrect sysimgblt fb_sys_fops ehci_pci ehci_hcd snd_hda_intel xhci_pci xhci_hcd e1000e snd_hda_codec snd_hwdep usbcore drm snd_hda_core usb_common i2c_i801 ptp pps_core i2c_smbus snd_pcm_oss snd_mixer_oss snd_pcm snd_timer evdev snd tpm_tis lpc_ich parport_pc tpm_tis_core mfd_core parport nuvoton_cir rc_core tpm soundcore floppy w83627ehf hwmon_vid coretemp hwmon eeprom i2c_core loop ip_tables x_tables autofs4
> [   15.847395] CPU: 0 PID: 208 Comm: kworker/0:2 Not tainted 4.8.0-rc4 #213
> [   15.847396] Hardware name:                  /DQ67OW, BIOS SWQ6710H.86A.0066.2012.1105.1504 11/05/2012
> [   15.847412] Workqueue: events intel_gen6_powersave_work [i915]
> [   15.847414]  0000000000000000 ffffffff812d8198 ffff88023191fd70 0000000000000000
> [   15.847417]  ffffffff81056d1e ffff88022ea40000 ffff88023191fdc0 0000000000000000
> [   15.847419]  ffff88022ea4a3c8 ffff88022ea487c0 0ffff88023e21ba0 ffffffff81056d8f
> [   15.847422] Call Trace:
> [   15.847427]  [<ffffffff812d8198>] ? dump_stack+0x46/0x5e
> [   15.847429]  [<ffffffff81056d1e>] ? __warn+0xbe/0xe0
> [   15.847431]  [<ffffffff81056d8f>] ? warn_slowpath_fmt+0x4f/0x60
> [   15.847446]  [<ffffffffa0311a09>] ? sandybridge_pcode_write+0x109/0x1f0 [i915]
> [   15.847459]  [<ffffffffa0313308>] ? intel_gen6_powersave_work+0x2a8/0x1400 [i915]
> [   15.847462]  [<ffffffff8106e4db>] ? process_one_work+0x1eb/0x480
> [   15.847465]  [<ffffffff8106e7b7>] ? worker_thread+0x47/0x4c0
> [   15.847467]  [<ffffffff815649f7>] ? __schedule+0x1d7/0x660
> [   15.847469]  [<ffffffff8106e770>] ? process_one_work+0x480/0x480
> [   15.847472]  [<ffffffff8107398d>] ? kthread+0xbd/0xe0
> [   15.847475]  [<ffffffff8156903f>] ? ret_from_fork+0x1f/0x40
> [   15.847478]  [<ffffffff810738d0>] ? kthread_worker_fn+0x160/0x160
> [   15.847487] ---[ end trace ad9e991297d99be1 ]---

-- 
Jani Nikula, Intel Open Source Technology Center

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-09-07 14:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-29  9:42 i915 WARNING: Missing switch case (16) in gen6_check_mailbox_status Meelis Roos
2016-09-06  9:14 ` Jani Nikula
2016-09-06  9:24   ` Jani Nikula
2016-09-06 10:58     ` Meelis Roos
2016-09-07 14:50 ` Jani Nikula

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).