[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-08 Thread Sander Eikelenboom
On 2016-09-07 16:49, Jani Nikula wrote:
> On Tue, 06 Sep 2016, linux at eikelenboom.it wrote:
>> On 2016-09-06 11:25, Jani Nikula wrote:
>>> On Tue, 06 Sep 2016, linux at 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 
> 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


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


[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 Thread Jani Nikula
On Tue, 06 Sep 2016, linux at 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]   8138bd84 88030fd7bd78 
> 
> [2.846305]  81062d84 88030d49 88030fd7bdc8 
> 
> [2.846308]  88030d49a438 88030d498830  
> 81062dea
> [2.846309] Call Trace:
> [2.846319]  [] ? dump_stack+0x5c/0x78
> [2.846324]  [] ? __warn+0xb4/0xd0
> [2.846328]  [] ? warn_slowpath_fmt+0x4a/0x50
> [2.846333]  [] ? 
> sandybridge_pcode_write+0x104/0x1e0
> [2.846338]  [] ? 
> intel_gen6_powersave_work+0x2a3/0x1400
> [2.846344]  [] ? process_one_work+0x1ba/0x3d0
> [2.846348]  [] ? worker_thread+0x45/0x4e0
> [2.846351]  [] ? process_one_work+0x3d0/0x3d0
> [2.846355]  [] ? kthread+0xb8/0xd0
> [2.846362]  [] ? ret_from_fork+0x1f/0x40
> [2.846365]  [] ? kthread_worker_fn+0x180/0x180
> [2.846368] ---[ end trace da7b2ca8a6654bfa ]---
> ___
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Jani Nikula, Intel Open Source Technology Center


[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 Thread Jani Nikula

Lyude, this is due to

commit 87660502f1a4d51fb043e89a45d30c9917787c22
Author: Lyude 
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 at 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]   8138bd84 88030fd7bd78 
> 
> [2.846305]  81062d84 88030d49 88030fd7bdc8 
> 
> [2.846308]  88030d49a438 88030d498830  
> 81062dea
> [2.846309] Call Trace:
> [2.846319]  [] ? dump_stack+0x5c/0x78
> [2.846324]  [] ? __warn+0xb4/0xd0
> [2.846328]  [] ? warn_slowpath_fmt+0x4a/0x50
> [2.846333]  [] ? 
> sandybridge_pcode_write+0x104/0x1e0
> [2.846338]  [] ? 
> intel_gen6_powersave_work+0x2a3/0x1400
> [2.846344]  [] ? process_one_work+0x1ba/0x3d0
> [2.846348]  [] ? worker_thread+0x45/0x4e0
> [2.846351]  [] ? process_one_work+0x3d0/0x3d0
> [2.846355]  [] ? kthread+0xb8/0xd0
> [2.846362]  [] ? ret_from_fork+0x1f/0x40
> [2.846365]  [] ? kthread_worker_fn+0x180/0x180
> [2.846368] ---[ end trace da7b2ca8a6654bfa ]---
> ___
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Jani Nikula, Intel Open Source Technology Center


[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 Thread li...@eikelenboom.it
On 2016-09-06 11:25, Jani Nikula wrote:
> On Tue, 06 Sep 2016, linux at 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]   8138bd84 88030fd7bd78
>> 
>> [2.846305]  81062d84 88030d49 88030fd7bdc8
>> 
>> [2.846308]  88030d49a438 88030d498830 
>> 81062dea
>> [2.846309] Call Trace:
>> [2.846319]  [] ? dump_stack+0x5c/0x78
>> [2.846324]  [] ? __warn+0xb4/0xd0
>> [2.846328]  [] ? warn_slowpath_fmt+0x4a/0x50
>> [2.846333]  [] ?
>> sandybridge_pcode_write+0x104/0x1e0
>> [2.846338]  [] ?
>> intel_gen6_powersave_work+0x2a3/0x1400
>> [2.846344]  [] ? process_one_work+0x1ba/0x3d0
>> [2.846348]  [] ? worker_thread+0x45/0x4e0
>> [2.846351]  [] ? process_one_work+0x3d0/0x3d0
>> [2.846355]  [] ? kthread+0xb8/0xd0
>> [2.846362]  [] ? ret_from_fork+0x1f/0x40
>> [2.846365]  [] ? kthread_worker_fn+0x180/0x180
>> [2.846368] ---[ end trace da7b2ca8a6654bfa ]---
>> ___
>> Intel-gfx mailing list
>> Intel-gfx at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/intel-gfx