Skip to contentSkip to conversation

Linux 4.8-rc?: WARNING: at drivers/gpu/drm/i915/intel_pm.c:7866 sandybridge_pcode_write Missing switch case (16) in gen6_check_mailbox_status

DISCUSSION [email protected] 2 participants 6 messages Sep 6, 2016 – Sep 7, 2016

lore
Share & tools
lore
#0 lore raw

L.S.,

Since one of the last 4.8 RC's i'm getting the warning below when booting on my sandybridge based thinkpad. From what it seems the machine still works fine though.

--
Sander

[    2.846265] ------------[ cut here ]------------
[    2.846280] WARNING: CPU: 0 PID: 4 at drivers/gpu/drm/i915/intel_pm.c:7866 sandybridge_pcode_write+0x104/0x1e0
[    2.846282] Missing switch case (16) in gen6_check_mailbox_status
[    2.846284] Modules linked in:
[    2.846289] CPU: 0 PID: 4 Comm: kworker/0:0 Not tainted 4.8.0-rc5-x220-20160905+ #1
[    2.846290] Hardware name: LENOVO 42912ZU/42912ZU, BIOS 8DET69WW (1.39 ) 07/18/2013
[    2.846297] Workqueue: events intel_gen6_powersave_work
[    2.846302]  0000000000000000 ffffffff8138bd84 ffff88030fd7bd78 0000000000000000
[    2.846305]  ffffffff81062d84 ffff88030d490000 ffff88030fd7bdc8 0000000000000000
[    2.846308]  ffff88030d49a438 ffff88030d498830 0000000000000000 ffffffff81062dea
[    2.846309] Call Trace:
[    2.846319]  [<ffffffff8138bd84>] ? dump_stack+0x5c/0x78
[    2.846324]  [<ffffffff81062d84>] ? __warn+0xb4/0xd0
[    2.846328]  [<ffffffff81062dea>] ? warn_slowpath_fmt+0x4a/0x50
[    2.846333]  [<ffffffff814edf44>] ? sandybridge_pcode_write+0x104/0x1e0
[    2.846338]  [<ffffffff814eefd3>] ? intel_gen6_powersave_work+0x2a3/0x1400
[    2.846344]  [<ffffffff810781ea>] ? process_one_work+0x1ba/0x3d0
[    2.846348]  [<ffffffff81078445>] ? worker_thread+0x45/0x4e0
[    2.846351]  [<ffffffff81078400>] ? process_one_work+0x3d0/0x3d0
[    2.846355]  [<ffffffff8107d678>] ? kthread+0xb8/0xd0
[    2.846362]  [<ffffffff817cc8df>] ? ret_from_fork+0x1f/0x40
[    2.846365]  [<ffffffff8107d5c0>] ? kthread_worker_fn+0x180/0x180
[    2.846368] ---[ end trace da7b2ca8a6654bfa ]---
#1 lore raw

Lyude, this is due to

commit 87660502f1a4d51fb043e89a45d30c9917787c22

Author: Lyude <[email protected]>
Date:   Wed Aug 17 15:55:53 2016 -0400

drm/i915/gen6+: Interpret mailbox error flags

and on its way to stable.

BR,
Jani.

Quoted 44 lines · On Tue, 06 Sep 2016, [email protected] wrote:

L.S.,

Since one of the last 4.8 RC's i'm getting the warning below when booting on my sandybridge based thinkpad.
From what it seems the machine still works fine though.

--
Sander

[    2.846265] ------------[ cut here ]------------
[    2.846280] WARNING: CPU: 0 PID: 4 at 
drivers/gpu/drm/i915/intel_pm.c:7866 sandybridge_pcode_write+0x104/0x1e0
[    2.846282] Missing switch case (16) in gen6_check_mailbox_status
[    2.846284] Modules linked in:
[    2.846289] CPU: 0 PID: 4 Comm: kworker/0:0 Not tainted 
4.8.0-rc5-x220-20160905+ #1
[    2.846290] Hardware name: LENOVO 42912ZU/42912ZU, BIOS 8DET69WW 
(1.39 ) 07/18/2013
[    2.846297] Workqueue: events intel_gen6_powersave_work
[    2.846302]  0000000000000000 ffffffff8138bd84 ffff88030fd7bd78 
0000000000000000
[    2.846305]  ffffffff81062d84 ffff88030d490000 ffff88030fd7bdc8 
0000000000000000
[    2.846308]  ffff88030d49a438 ffff88030d498830 0000000000000000 
ffffffff81062dea
[    2.846309] Call Trace:
[    2.846319]  [<ffffffff8138bd84>] ? dump_stack+0x5c/0x78
[    2.846324]  [<ffffffff81062d84>] ? __warn+0xb4/0xd0
[    2.846328]  [<ffffffff81062dea>] ? warn_slowpath_fmt+0x4a/0x50
[    2.846333]  [<ffffffff814edf44>] ? 
sandybridge_pcode_write+0x104/0x1e0
[    2.846338]  [<ffffffff814eefd3>] ? 
intel_gen6_powersave_work+0x2a3/0x1400
[    2.846344]  [<ffffffff810781ea>] ? process_one_work+0x1ba/0x3d0
[    2.846348]  [<ffffffff81078445>] ? worker_thread+0x45/0x4e0
[    2.846351]  [<ffffffff81078400>] ? process_one_work+0x3d0/0x3d0
[    2.846355]  [<ffffffff8107d678>] ? kthread+0xb8/0xd0
[    2.846362]  [<ffffffff817cc8df>] ? ret_from_fork+0x1f/0x40
[    2.846365]  [<ffffffff8107d5c0>] ? kthread_worker_fn+0x180/0x180
[    2.846368] ---[ end trace da7b2ca8a6654bfa ]---

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Signature · 5 lines
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw
In reply to [email protected]
Quoted 5 lines · On Tue, 06 Sep 2016, [email protected] wrote:

L.S.,

Since one of the last 4.8 RC's i'm getting the warning below when booting on my sandybridge based thinkpad.
From what it seems the machine still works fine though.

What does 'lspci -nns 2' say for you?

BR,
Jani.

Quoted 39 lines

--
Sander

[    2.846265] ------------[ cut here ]------------
[    2.846280] WARNING: CPU: 0 PID: 4 at 
drivers/gpu/drm/i915/intel_pm.c:7866 sandybridge_pcode_write+0x104/0x1e0
[    2.846282] Missing switch case (16) in gen6_check_mailbox_status
[    2.846284] Modules linked in:
[    2.846289] CPU: 0 PID: 4 Comm: kworker/0:0 Not tainted 
4.8.0-rc5-x220-20160905+ #1
[    2.846290] Hardware name: LENOVO 42912ZU/42912ZU, BIOS 8DET69WW 
(1.39 ) 07/18/2013
[    2.846297] Workqueue: events intel_gen6_powersave_work
[    2.846302]  0000000000000000 ffffffff8138bd84 ffff88030fd7bd78 
0000000000000000
[    2.846305]  ffffffff81062d84 ffff88030d490000 ffff88030fd7bdc8 
0000000000000000
[    2.846308]  ffff88030d49a438 ffff88030d498830 0000000000000000 
ffffffff81062dea
[    2.846309] Call Trace:
[    2.846319]  [<ffffffff8138bd84>] ? dump_stack+0x5c/0x78
[    2.846324]  [<ffffffff81062d84>] ? __warn+0xb4/0xd0
[    2.846328]  [<ffffffff81062dea>] ? warn_slowpath_fmt+0x4a/0x50
[    2.846333]  [<ffffffff814edf44>] ? 
sandybridge_pcode_write+0x104/0x1e0
[    2.846338]  [<ffffffff814eefd3>] ? 
intel_gen6_powersave_work+0x2a3/0x1400
[    2.846344]  [<ffffffff810781ea>] ? process_one_work+0x1ba/0x3d0
[    2.846348]  [<ffffffff81078445>] ? worker_thread+0x45/0x4e0
[    2.846351]  [<ffffffff81078400>] ? process_one_work+0x3d0/0x3d0
[    2.846355]  [<ffffffff8107d678>] ? kthread+0xb8/0xd0
[    2.846362]  [<ffffffff817cc8df>] ? ret_from_fork+0x1f/0x40
[    2.846365]  [<ffffffff8107d5c0>] ? kthread_worker_fn+0x180/0x180
[    2.846368] ---[ end trace da7b2ca8a6654bfa ]---

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Signature · 5 lines
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#3 lore raw
Quoted 8 lines · Jani Nikula
Quoted 5 lines · On Tue, 06 Sep 2016, [email protected] wrote:

L.S.,

Since one of the last 4.8 RC's i'm getting the warning below when booting on my sandybridge based thinkpad.
From what it seems the machine still works fine though.

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:0126] (rev 09)

--
Sander

Quoted 43 lines

BR,
Jani.

Quoted 39 lines

--
Sander

[    2.846265] ------------[ cut here ]------------
[    2.846280] WARNING: CPU: 0 PID: 4 at
drivers/gpu/drm/i915/intel_pm.c:7866 sandybridge_pcode_write+0x104/0x1e0
[    2.846282] Missing switch case (16) in gen6_check_mailbox_status
[    2.846284] Modules linked in:
[    2.846289] CPU: 0 PID: 4 Comm: kworker/0:0 Not tainted
4.8.0-rc5-x220-20160905+ #1
[    2.846290] Hardware name: LENOVO 42912ZU/42912ZU, BIOS 8DET69WW
(1.39 ) 07/18/2013
[    2.846297] Workqueue: events intel_gen6_powersave_work
[    2.846302]  0000000000000000 ffffffff8138bd84 ffff88030fd7bd78
0000000000000000
[    2.846305]  ffffffff81062d84 ffff88030d490000 ffff88030fd7bdc8
0000000000000000
[    2.846308]  ffff88030d49a438 ffff88030d498830 0000000000000000
ffffffff81062dea
[    2.846309] Call Trace:
[    2.846319]  [<ffffffff8138bd84>] ? dump_stack+0x5c/0x78
[    2.846324]  [<ffffffff81062d84>] ? __warn+0xb4/0xd0
[    2.846328]  [<ffffffff81062dea>] ? warn_slowpath_fmt+0x4a/0x50
[    2.846333]  [<ffffffff814edf44>] ?
sandybridge_pcode_write+0x104/0x1e0
[    2.846338]  [<ffffffff814eefd3>] ?
intel_gen6_powersave_work+0x2a3/0x1400
[    2.846344]  [<ffffffff810781ea>] ? process_one_work+0x1ba/0x3d0
[    2.846348]  [<ffffffff81078445>] ? worker_thread+0x45/0x4e0
[    2.846351]  [<ffffffff81078400>] ? process_one_work+0x3d0/0x3d0
[    2.846355]  [<ffffffff8107d678>] ? kthread+0xb8/0xd0
[    2.846362]  [<ffffffff817cc8df>] ? ret_from_fork+0x1f/0x40
[    2.846365]  [<ffffffff8107d5c0>] ? kthread_worker_fn+0x180/0x180
[    2.846368] ---[ end trace da7b2ca8a6654bfa ]---

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

#4 lore raw
Quoted 8 lines · On Tue, 06 Sep 2016, [email protected] wrote:
Quoted 7 lines · Jani Nikula
Quoted 5 lines · On Tue, 06 Sep 2016, [email protected] wrote:

L.S.,

Since one of the last 4.8 RC's i'm getting the warning below when booting on my sandybridge based thinkpad.
From what it seems the machine still works fine though.

Quoted 5 lines
Quoted 1 line

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:0126] (rev 09)

Fixed in drm-intel-fixes by

commit fc2780b66b15092ac68272644a522c1624c48547

Author: Chris Wilson <[email protected]>
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.

Signature · 5 lines
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#5 lore raw
Quoted 18 lines · Jani Nikula
Quoted 8 lines · On Tue, 06 Sep 2016, [email protected] wrote:
Quoted 7 lines · Jani Nikula
Quoted 5 lines · On Tue, 06 Sep 2016, [email protected] wrote:

L.S.,

Since one of the last 4.8 RC's i'm getting the warning below when booting on my sandybridge based thinkpad.
From what it seems the machine still works fine though.

Quoted 5 lines
Quoted 1 line

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:0126] (rev 09)

Fixed in drm-intel-fixes by

commit fc2780b66b15092ac68272644a522c1624c48547

Quoted 8 lines
Author: Chris Wilson <[email protected]>
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.

Works-for-me, thx!

--
Sander