Bug 103938

Summary: [BAT] igt@debugfs_test@read_all_entries - dmesg-warn - WARNING: CPU: 0 PID: 1278 at drivers/gpu/drm/i915/intel_cdclk.c:708 bdw_set_cdclk+0x390/0x3b0 [i915] -trying to change cdclk frequency with cdclk not enabled
Product: DRI Reporter: Marta Löfstedt <marta.lofstedt>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED WORKSFORME QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: intel-gfx-bugs
Version: DRI git   
Hardware: Other   
OS: All   
Whiteboard: ReadyForDev
i915 platform: BDW i915 features:

Description Marta Löfstedt 2017-11-27 12:38:43 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3394/fi-bdw-gvtdvm/igt@debugfs_test@read_all_entries.html


<7>[   27.226970] [drm:intel_dump_cdclk_state [i915]] Changing CDCLK to 337500 kHz, VCO 0 kHz, ref 0 kHz, voltage level 2
<4>[   27.226974] ------------[ cut here ]------------
<4>[   27.226977] trying to change cdclk frequency with cdclk not enabled
<4>[   27.227052] WARNING: CPU: 0 PID: 1278 at drivers/gpu/drm/i915/intel_cdclk.c:708 bdw_set_cdclk+0x390/0x3b0 [i915]
<4>[   27.227055] Modules linked in: i915 crct10dif_pclmul crc32_pclmul ghash_clmulni_intel e1000 i2c_piix4 prime_numbers
<4>[   27.227080] CPU: 0 PID: 1278 Comm: debugfs_test Tainted: G        W        4.15.0-rc1-CI-CI_DRM_3394+ #1
<4>[   27.227083] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.10.1-0-g8891697-prebuilt.qemu-project.org 04/01/2014
<4>[   27.227086] task: ffff88007bf6d2c0 task.stack: ffffc90000778000
<4>[   27.227133] RIP: 0010:bdw_set_cdclk+0x390/0x3b0 [i915]
<4>[   27.227136] RSP: 0018:ffffc9000077bb30 EFLAGS: 00010282
<4>[   27.227141] RAX: 0000000000000037 RBX: ffff8800739c0000 RCX: 0000000000000001
<4>[   27.227144] RDX: 0000000080000001 RSI: ffffffff81ca998d RDI: 00000000ffffffff
<4>[   27.227147] RBP: ffff8800739c60d4 R08: ffff88007bf6dbb8 R09: 00000000b3c031e0
<4>[   27.227150] R10: 0000000000000000 R11: 0000000000000000 R12: ffff88007d320958
<4>[   27.227153] R13: ffff8800739c0000 R14: ffff8800738fdd28 R15: 0000000000000003
<4>[   27.227157] FS:  00007fbec1951a40(0000) GS:ffff88007fc00000(0000) knlGS:0000000000000000
<4>[   27.227163] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
<4>[   27.227166] CR2: 00007f46b078f028 CR3: 000000007533b002 CR4: 00000000003606f0
<4>[   27.227168] Call Trace:
<4>[   27.227221]  intel_set_cdclk+0x3b/0x100 [i915]
<4>[   27.227270]  intel_atomic_commit_tail+0xa08/0xd10 [i915]
<4>[   27.227306]  ? __i915_sw_fence_complete+0x175/0x230 [i915]
<4>[   27.227357]  intel_atomic_commit+0x22a/0x2e0 [i915]
<4>[   27.227368]  drm_mode_atomic_ioctl+0x827/0x9d0
<4>[   27.227390]  ? drm_atomic_set_property+0x480/0x480
<4>[   27.227395]  drm_ioctl_kernel+0x60/0xa0
<4>[   27.227402]  drm_ioctl+0x290/0x330
<4>[   27.227410]  ? drm_atomic_set_property+0x480/0x480
<4>[   27.227419]  ? remove_vma+0x56/0x60
<4>[   27.227424]  ? remove_vma+0x56/0x60
<4>[   27.227428]  ? rcu_read_lock_sched_held+0x6f/0x80
<4>[   27.227436]  do_vfs_ioctl+0x8a/0x680
<4>[   27.227442]  ? entry_SYSCALL_64_fastpath+0x5/0x89
<4>[   27.227448]  ? trace_hardirqs_on_caller+0xde/0x1c0
<4>[   27.227455]  SyS_ioctl+0x36/0x70
<4>[   27.227462]  entry_SYSCALL_64_fastpath+0x1c/0x89
<4>[   27.227466] RIP: 0033:0x7fbebfb49f07
<4>[   27.227469] RSP: 002b:00007fff14876838 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
<4>[   27.227474] RAX: ffffffffffffffda RBX: 000055ce3a349830 RCX: 00007fbebfb49f07
<4>[   27.227477] RDX: 00007fff14876890 RSI: 00000000c03864bc RDI: 0000000000000003
<4>[   27.227480] RBP: 0000000000000050 R08: 000055ce3a34bdf0 R09: 000055ce3a34b510
<4>[   27.227483] R10: 000000000000000e R11: 0000000000000246 R12: 00007fff148767a8
<4>[   27.227485] R13: 0000000000000051 R14: 00007fff14876698 R15: 0000000000000001
<4>[   27.227499] Code: 24 04 48 c7 c2 60 e0 17 a0 48 c7 c7 08 2d 1b a0 89 04 24 e8 43 0e f9 e0 0f ff 8b 04 24 eb d4 48 c7 c7 90 31 1b a0 e8 30 0e f9 e0 <0f> ff 48 83 c4 10 5b 5d 41 5c 41 5d 41 5e 41 5f c3 0f 1f 44 00 
<4>[   27.227647] ---[ end trace 56053a8fdac7f1f3 ]---
<4>[   27.229522] ------------[ cut here ]------------
<4>[   27.229524] cdclk state doesn't match!
<4>[   27.229571] WARNING: CPU: 0 PID: 1278 at drivers/gpu/drm/i915/intel_cdclk.c:1859 intel_set_cdclk+0x52/0x100 [i915]
<4>[   27.229573] Modules linked in: i915 crct10dif_pclmul crc32_pclmul ghash_clmulni_intel e1000 i2c_piix4 prime_numbers
<4>[   27.229588] CPU: 0 PID: 1278 Comm: debugfs_test Tainted: G        W        4.15.0-rc1-CI-CI_DRM_3394+ #1
<4>[   27.229589] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.10.1-0-g8891697-prebuilt.qemu-project.org 04/01/2014
<4>[   27.229591] task: ffff88007bf6d2c0 task.stack: ffffc90000778000
<4>[   27.229619] RIP: 0010:intel_set_cdclk+0x52/0x100 [i915]
<4>[   27.229621] RSP: 0018:ffffc9000077bb78 EFLAGS: 00010296
<4>[   27.229624] RAX: 000000000000001a RBX: ffff8800739c0000 RCX: 0000000000000001
<4>[   27.229626] RDX: 0000000080000001 RSI: ffffffff81ca998d RDI: 00000000ffffffff
<4>[   27.229628] RBP: ffff8800739c60d4 R08: ffff88007bf6dbb8 R09: 00000000b3c031e0
<4>[   27.229629] R10: 0000000000000000 R11: 0000000000000000 R12: ffff88007d320958
<4>[   27.229631] R13: ffff8800739c0000 R14: ffff8800738fdd28 R15: 0000000000000003
<4>[   27.229633] FS:  00007fbec1951a40(0000) GS:ffff88007fc00000(0000) knlGS:0000000000000000
<4>[   27.229637] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
<4>[   27.229639] CR2: 00007f46b075e000 CR3: 000000007533b002 CR4: 00000000003606f0
<4>[   27.229640] Call Trace:
<4>[   27.229683]  intel_atomic_commit_tail+0xa08/0xd10 [i915]
<4>[   27.229715]  ? __i915_sw_fence_complete+0x175/0x230 [i915]
<4>[   27.229745]  intel_atomic_commit+0x22a/0x2e0 [i915]
<4>[   27.229752]  drm_mode_atomic_ioctl+0x827/0x9d0
<4>[   27.229765]  ? drm_atomic_set_property+0x480/0x480
<4>[   27.229768]  drm_ioctl_kernel+0x60/0xa0
<4>[   27.229772]  drm_ioctl+0x290/0x330
<4>[   27.229776]  ? drm_atomic_set_property+0x480/0x480
<4>[   27.229782]  ? remove_vma+0x56/0x60
<4>[   27.229785]  ? remove_vma+0x56/0x60
<4>[   27.229787]  ? rcu_read_lock_sched_held+0x6f/0x80
<4>[   27.229792]  do_vfs_ioctl+0x8a/0x680
<4>[   27.229796]  ? entry_SYSCALL_64_fastpath+0x5/0x89
<4>[   27.229800]  ? trace_hardirqs_on_caller+0xde/0x1c0
<4>[   27.229804]  SyS_ioctl+0x36/0x70
<4>[   27.229808]  entry_SYSCALL_64_fastpath+0x1c/0x89
<4>[   27.229810] RIP: 0033:0x7fbebfb49f07
<4>[   27.229812] RSP: 002b:00007fff14876838 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
<4>[   27.229815] RAX: ffffffffffffffda RBX: 000055ce3a349830 RCX: 00007fbebfb49f07
<4>[   27.229817] RDX: 00007fff14876890 RSI: 00000000c03864bc RDI: 0000000000000003
<4>[   27.229818] RBP: 0000000000000050 R08: 000055ce3a34bdf0 R09: 000055ce3a34b510
<4>[   27.229820] R10: 000000000000000e R11: 0000000000000246 R12: 00007fff148767a8
<4>[   27.229821] R13: 0000000000000051 R14: 00007fff14876698 R15: 0000000000000001
<4>[   27.229829] Code: 48 89 ef e8 a1 ff ff ff 48 89 ee 48 89 df ff 93 08 61 00 00 8b 45 00 39 83 e4 60 00 00 74 5e 48 c7 c7 d1 2d 19 a0 e8 9e 2f f9 e0 <0f> ff 48 8d bb e4 60 00 00 48 c7 c6 ed 2d 19 a0 e8 69 ff ff ff 
<4>[   27.229916] ---[ end trace 56053a8fdac7f1f4 ]---
Comment 1 Marta Löfstedt 2017-11-27 13:21:53 UTC
Shards CI_DRM_3393, I'll just file all new incompletes on this bug.
Comment 2 Marta Löfstedt 2017-11-27 13:22:36 UTC
(In reply to Marta Löfstedt from comment #1)
> Shards CI_DRM_3393, I'll just file all new incompletes on this bug.
disregard this comment belong to another bug
Comment 3 Marta Löfstedt 2017-11-28 15:31:58 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3399/fi-bdw-gvtdvm/igt@gem_exec_suspend@basic-s3.html

	

[  211.948923] Setting dangerous option reset - tainting kernel
[  213.290393] Suspending console(s) (use no_console_suspend to debug)
[  213.296544] sd 0:0:1:0: [sdb] Synchronizing SCSI cache
[  213.297045] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[  213.297423] sd 0:0:1:0: [sdb] Stopping disk
[  213.306293] sd 0:0:0:0: [sda] Stopping disk
[  213.314998] ------------[ cut here ]------------
[  213.315001] trying to change cdclk frequency with cdclk not enabled
[  213.315077] WARNING: CPU: 0 PID: 2879 at drivers/gpu/drm/i915/intel_cdclk.c:708 bdw_set_cdclk+0x390/0x3b0 [i915]
[  213.315080] Modules linked in: i915 crct10dif_pclmul crc32_pclmul ghash_clmulni_intel e1000 prime_numbers i2c_piix4
[  213.315101] CPU: 0 PID: 2879 Comm: kworker/u2:6 Tainted: G     U  W        4.15.0-rc1-CI-CI_DRM_3399+ #1
[  213.315103] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.10.1-0-g8891697-prebuilt.qemu-project.org 04/01/2014
[  213.315109] Workqueue: events_unbound async_run_entry_fn
[  213.315114] task: ffff880074000040 task.stack: ffffc90000250000
[  213.315160] RIP: 0010:bdw_set_cdclk+0x390/0x3b0 [i915]
[  213.315163] RSP: 0018:ffffc90000253ac8 EFLAGS: 00010296
[  213.315168] RAX: 0000000000000037 RBX: ffff880075460000 RCX: 0000000000000006
[  213.315170] RDX: 00000000000014b9 RSI: ffffffff81d060b1 RDI: ffffffff81cb74ee
[  213.315173] RBP: ffff8800754660d4 R08: 0000000000000000 R09: 0000000000000001
[  213.315175] R10: 0000000000000000 R11: 0000000000000000 R12: ffff880072d66fc8
[  213.315178] R13: ffff880075460000 R14: ffff880078be37e8 R15: 0000000000000003
[  213.315181] FS:  0000000000000000(0000) GS:ffff88007fc00000(0000) knlGS:0000000000000000
[  213.315187] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  213.315189] CR2: 00007f55a027c878 CR3: 0000000001e10005 CR4: 00000000003606f0
[  213.315192] Call Trace:
[  213.315246]  intel_set_cdclk+0x3b/0x100 [i915]
[  213.315295]  intel_atomic_commit_tail+0xa08/0xd10 [i915]
[  213.315331]  ? __i915_sw_fence_complete+0x175/0x230 [i915]
[  213.315382]  intel_atomic_commit+0x22a/0x2e0 [i915]
[  213.315393]  drm_atomic_helper_disable_all+0x167/0x1a0
[  213.315402]  drm_atomic_helper_suspend+0x3c/0xb0
[  213.315460]  intel_display_suspend+0xd/0x50 [i915]
[  213.315492]  i915_drm_suspend+0x79/0x160 [i915]
[  213.315500]  ? pci_pm_freeze+0xd0/0xd0
[  213.315503]  pci_pm_suspend+0x74/0x140
[  213.315510]  dpm_run_callback+0x5f/0x310
[  213.315519]  __device_suspend+0xf3/0x5a0
[  213.315526]  ? dpm_watchdog_set+0x60/0x60
[  213.315539]  async_suspend+0x15/0x90
[  213.315544]  async_run_entry_fn+0x2e/0x160
[  213.315551]  process_one_work+0x227/0x650
[  213.315565]  worker_thread+0x48/0x3a0
[  213.315575]  kthread+0x139/0x170
[  213.315578]  ? process_one_work+0x650/0x650
[  213.315581]  ? kthread_create_on_node+0x40/0x40
[  213.315589]  ret_from_fork+0x24/0x30
[  213.315605] Code: 24 04 48 c7 c2 60 e0 17 a0 48 c7 c7 f8 2c 1b a0 89 04 24 e8 43 0e f9 e0 0f ff 8b 04 24 eb d4 48 c7 c7 80 31 1b a0 e8 30 0e f9 e0 <0f> ff 48 83 c4 10 5b 5d 41 5c 41 5d 41 5e 41 5f c3 0f 1f 44 00 
[  213.315732] ---[ end trace 4a84b2a41f6be850 ]---
[  213.316411] ------------[ cut here ]------------
[  213.316413] cdclk state doesn't match!
[  213.316473] WARNING: CPU: 0 PID: 2879 at drivers/gpu/drm/i915/intel_cdclk.c:1859 intel_set_cdclk+0x52/0x100 [i915]
[  213.316475] Modules linked in: i915 crct10dif_pclmul crc32_pclmul ghash_clmulni_intel e1000 prime_numbers i2c_piix4
[  213.316491] CPU: 0 PID: 2879 Comm: kworker/u2:6 Tainted: G     U  W        4.15.0-rc1-CI-CI_DRM_3399+ #1
[  213.316494] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.10.1-0-g8891697-prebuilt.qemu-project.org 04/01/2014
[  213.316498] Workqueue: events_unbound async_run_entry_fn
[  213.316502] task: ffff880074000040 task.stack: ffffc90000250000
[  213.316538] RIP: 0010:intel_set_cdclk+0x52/0x100 [i915]
[  213.316541] RSP: 0018:ffffc90000253b10 EFLAGS: 00010286
[  213.316544] RAX: 000000000000001a RBX: ffff880075460000 RCX: 0000000000000006
[  213.316546] RDX: 00000000000014b9 RSI: ffffffff81d060b1 RDI: ffffffff81cb74ee
[  213.316548] RBP: ffff8800754660d4 R08: 0000000000000000 R09: 0000000000000001
[  213.316550] R10: 0000000000000000 R11: 0000000000000000 R12: ffff880072d66fc8
[  213.316552] R13: ffff880075460000 R14: ffff880078be37e8 R15: 0000000000000003
[  213.316555] FS:  0000000000000000(0000) GS:ffff88007fc00000(0000) knlGS:0000000000000000
[  213.316559] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  213.316561] CR2: 00007f55a027c878 CR3: 0000000001e10005 CR4: 00000000003606f0
[  213.316563] Call Trace:
[  213.316604]  intel_atomic_commit_tail+0xa08/0xd10 [i915]
[  213.316633]  ? __i915_sw_fence_complete+0x175/0x230 [i915]
[  213.316673]  intel_atomic_commit+0x22a/0x2e0 [i915]
[  213.316682]  drm_atomic_helper_disable_all+0x167/0x1a0
[  213.316689]  drm_atomic_helper_suspend+0x3c/0xb0
[  213.316736]  intel_display_suspend+0xd/0x50 [i915]
[  213.316761]  i915_drm_suspend+0x79/0x160 [i915]
[  213.316767]  ? pci_pm_freeze+0xd0/0xd0
[  213.316769]  pci_pm_suspend+0x74/0x140
[  213.316775]  dpm_run_callback+0x5f/0x310
[  213.316782]  __device_suspend+0xf3/0x5a0
[  213.316788]  ? dpm_watchdog_set+0x60/0x60
[  213.316798]  async_suspend+0x15/0x90
[  213.316802]  async_run_entry_fn+0x2e/0x160
[  213.316808]  process_one_work+0x227/0x650
[  213.316818]  worker_thread+0x48/0x3a0
[  213.316826]  kthread+0x139/0x170
[  213.316829]  ? process_one_work+0x650/0x650
[  213.316832]  ? kthread_create_on_node+0x40/0x40
[  213.316837]  ret_from_fork+0x24/0x30
[  213.316850] Code: 48 89 ef e8 a1 ff ff ff 48 89 ee 48 89 df ff 93 08 61 00 00 8b 45 00 39 83 e4 60 00 00 74 5e 48 c7 c7 d1 2d 19 a0 e8 9e 2f f9 e0 <0f> ff 48 8d bb e4 60 00 00 48 c7 c6 ed 2d 19 a0 e8 69 ff ff ff 
[  213.316952] ---[ end trace 4a84b2a41f6be851 ]---
[  213.433593] usb usb1: root hub lost power or was reset
[  213.449399] sd 0:0:1:0: [sdb] Starting disk
[  213.450801] sd 0:0:0:0: [sda] Starting disk
Comment 4 Marta Löfstedt 2018-02-09 07:23:27 UTC
Last seen CI_DRM_3609: 2018-01-09 / 137 runs ago

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.