linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 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
@ 2016-09-06  7:49 linux
  2016-09-06  9:12 ` [Intel-gfx] " Jani Nikula
  2016-09-06  9:25 ` Jani Nikula
  0 siblings, 2 replies; 6+ messages in thread
From: linux @ 2016-09-06  7:49 UTC (permalink / raw)
  To: Daniel Vetter; +Cc: intel-gfx, dri-devel, linux-kernel

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 ]---

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

* Re: [Intel-gfx] 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
  2016-09-06  7:49 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 linux
@ 2016-09-06  9:12 ` Jani Nikula
  2016-09-06  9:25 ` Jani Nikula
  1 sibling, 0 replies; 6+ messages in thread
From: Jani Nikula @ 2016-09-06  9:12 UTC (permalink / raw)
  To: linux, Daniel Vetter, Lyude; +Cc: intel-gfx, linux-kernel, dri-devel


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 Tue, 06 Sep 2016, linux@eikelenboom.it 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
> Intel-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Jani Nikula, Intel Open Source Technology Center

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

* Re: [Intel-gfx] 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
  2016-09-06  7:49 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 linux
  2016-09-06  9:12 ` [Intel-gfx] " Jani Nikula
@ 2016-09-06  9:25 ` Jani Nikula
  2016-09-06 10:11   ` linux
  1 sibling, 1 reply; 6+ messages in thread
From: Jani Nikula @ 2016-09-06  9:25 UTC (permalink / raw)
  To: linux, Daniel Vetter; +Cc: intel-gfx, linux-kernel, dri-devel

On Tue, 06 Sep 2016, linux@eikelenboom.it 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.


>
> --
> 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
> Intel-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Jani Nikula, Intel Open Source Technology Center

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

* Re: [Intel-gfx] 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
  2016-09-06  9:25 ` Jani Nikula
@ 2016-09-06 10:11   ` linux
  2016-09-07 14:49     ` Jani Nikula
  0 siblings, 1 reply; 6+ messages in thread
From: linux @ 2016-09-06 10:11 UTC (permalink / raw)
  To: Jani Nikula; +Cc: Daniel Vetter, intel-gfx, linux-kernel, dri-devel

On 2016-09-06 11:25, Jani Nikula wrote:
> On Tue, 06 Sep 2016, linux@eikelenboom.it 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

> BR,
> Jani.
> 
> 
>> 
>> --
>> 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
>> Intel-gfx@lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

* Re: [Intel-gfx] 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
  2016-09-06 10:11   ` linux
@ 2016-09-07 14:49     ` Jani Nikula
  2016-09-07 21:18       ` Sander Eikelenboom
  0 siblings, 1 reply; 6+ messages in thread
From: Jani Nikula @ 2016-09-07 14:49 UTC (permalink / raw)
  To: linux; +Cc: Daniel Vetter, intel-gfx, linux-kernel, dri-devel, Lyude

On Tue, 06 Sep 2016, linux@eikelenboom.it wrote:
> On 2016-09-06 11:25, Jani Nikula wrote:
>> On Tue, 06 Sep 2016, linux@eikelenboom.it 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)

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.


-- 
Jani Nikula, Intel Open Source Technology Center

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

* Re: [Intel-gfx] 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
  2016-09-07 14:49     ` Jani Nikula
@ 2016-09-07 21:18       ` Sander Eikelenboom
  0 siblings, 0 replies; 6+ messages in thread
From: Sander Eikelenboom @ 2016-09-07 21:18 UTC (permalink / raw)
  To: Jani Nikula; +Cc: Daniel Vetter, intel-gfx, linux-kernel, dri-devel, Lyude

On 2016-09-07 16:49, Jani Nikula wrote:
> On Tue, 06 Sep 2016, linux@eikelenboom.it wrote:
>> On 2016-09-06 11:25, Jani Nikula wrote:
>>> On Tue, 06 Sep 2016, linux@eikelenboom.it 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)
> 
> 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.

Works-for-me, thx!

--
Sander

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

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

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-06  7:49 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 linux
2016-09-06  9:12 ` [Intel-gfx] " Jani Nikula
2016-09-06  9:25 ` Jani Nikula
2016-09-06 10:11   ` linux
2016-09-07 14:49     ` Jani Nikula
2016-09-07 21:18       ` Sander Eikelenboom

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).