Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1477127 > unrolled thread

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

Started bylinux@eikelenboom.it
First post2016-09-06 09:50 +0200
Last post2016-09-07 23:20 +0200
Articles 6 — 3 participants

Back to article view | Back to linux.kernel


Contents

  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@eikelenboom.it - 2016-09-06 09:50 +0200
    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 Jani Nikula <jani.nikula@linux.intel.com> - 2016-09-06 11:20 +0200
    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 Jani Nikula <jani.nikula@linux.intel.com> - 2016-09-06 11:30 +0200
      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 linux@eikelenboom.it - 2016-09-06 12:20 +0200
        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 Jani Nikula <jani.nikula@linux.intel.com> - 2016-09-07 17:00 +0200
          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 Sander Eikelenboom <linux@eikelenboom.it> - 2016-09-07 23:20 +0200

#1477127 — 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

Fromlinux@eikelenboom.it
Date2016-09-06 09:50 +0200
SubjectLinux 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
Message-ID<sejiO-7mF-33@gated-at.bofh.it>
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 ]---

[toc] | [next] | [standalone]


#1477198 — 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

FromJani Nikula <jani.nikula@linux.intel.com>
Date2016-09-06 11:20 +0200
SubjectRe: [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
Message-ID<sekHT-8tW-7@gated-at.bofh.it>
In reply to#1477127
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

[toc] | [prev] | [next] | [standalone]


#1477220 — 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

FromJani Nikula <jani.nikula@linux.intel.com>
Date2016-09-06 11:30 +0200
SubjectRe: [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
Message-ID<sekRF-5Z-27@gated-at.bofh.it>
In reply to#1477127
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

[toc] | [prev] | [next] | [standalone]


#1477247 — 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

Fromlinux@eikelenboom.it
Date2016-09-06 12:20 +0200
SubjectRe: [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
Message-ID<selDX-HZ-15@gated-at.bofh.it>
In reply to#1477220
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

[toc] | [prev] | [next] | [standalone]


#1478358 — 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

FromJani Nikula <jani.nikula@linux.intel.com>
Date2016-09-07 17:00 +0200
SubjectRe: [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
Message-ID<seMuu-13P-25@gated-at.bofh.it>
In reply to#1477247
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

[toc] | [prev] | [next] | [standalone]


#1478612 — 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

FromSander Eikelenboom <linux@eikelenboom.it>
Date2016-09-07 23:20 +0200
SubjectRe: [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
Message-ID<seSqd-5fu-11@gated-at.bofh.it>
In reply to#1478358
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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web