Bug 103070 - [BAT] igt@gem_exec_suspend@basic-s3 - dmesg-warn - CSR SSP Base Not fine / CSR HTP Not fine
Summary: [BAT] igt@gem_exec_suspend@basic-s3 - dmesg-warn - CSR SSP Base Not fine / CS...
Status: CLOSED WORKSFORME
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: Other All
: high normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: ReadyForDev
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-03 06:03 UTC by Marta Löfstedt
Modified: 2017-11-01 08:39 UTC (History)
1 user (show)

See Also:
i915 platform: CNL
i915 features: power/runtime PM


Attachments
Fix CSR not loaded WARN. (1.04 KB, patch)
2017-10-03 08:56 UTC, Imre Deak
no flags Details | Splinter Review

Description Marta Löfstedt 2017-10-03 06:03:07 UTC
Starting at CI_DRM_5152 for fi-cnl-y:

WARNING: CPU: 3 PID: 3224 at drivers/gpu/drm/i915/intel_runtime_pm.c:577 assert_csr_loaded+0x8e/0xc0 [i915]
WARNING: CPU: 3 PID: 3224 at drivers/gpu/drm/i915/intel_runtime_pm.c:578 assert_csr_loaded+0xae/0xc0 [i915]


[  326.112575] HDA: we are doing full chip reset now
[  326.127439] snd_hda_codec_hdmi hdaudioC0D2: Unable to sync register 0x2f0d00. -5
[  326.148655] CSR SSP Base Not fine
[  326.148679] ------------[ cut here ]------------
[  326.148704] WARNING: CPU: 3 PID: 3224 at drivers/gpu/drm/i915/intel_runtime_pm.c:577 assert_csr_loaded+0x8e/0xc0 [i915]
[  326.148725] Modules linked in: snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic i915 snd_hda_intel snd_hda_codec x86_pkg_temp_thermal e1000e intel_powerclamp coretemp crct10dif_pclmul asix crc32_pclmul snd_hwdep snd_hda_core ghash_clmulni_intel usbnet mii snd_pcm ptp pps_core prime_numbers i2c_hid
[  326.148822] CPU: 3 PID: 3224 Comm: kworker/u8:8 Tainted: G     U          4.14.0-rc3-CI-CI_DRM_3159+ #1
[  326.148826] Hardware name: Intel Corporation CannonLake Client Platform/CannonLake Y LPDDR4 RVP, BIOS CNLSFWR1.R00.X095.A01.1707101424 07/10/2017
[  326.148832] Workqueue: events_unbound async_run_entry_fn
[  326.148839] task: ffff88026309b080 task.stack: ffffc90000454000
[  326.148863] RIP: 0010:assert_csr_loaded+0x8e/0xc0 [i915]
[  326.148867] RSP: 0000:ffffc90000457ac0 EFLAGS: 00010282
[  326.148874] RAX: 0000000000000015 RBX: ffff88025b8b0000 RCX: 0000000000000006
[  326.148878] RDX: 0000000000001513 RSI: ffffffff81d0e20c RDI: ffffffff81cc2046
[  326.148882] RBP: ffffc90000457ac8 R08: 0000000000000000 R09: 0000000000000001
[  326.148886] R10: 0000000000000000 R11: 0000000000000000 R12: ffff88025b8b0000
[  326.148889] R13: ffffffffa025ed38 R14: ffff88025b8b0000 R15: 0000000400000000
[  326.148899] FS:  0000000000000000(0000) GS:ffff880271180000(0000) knlGS:0000000000000000
[  326.148902] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  326.148906] CR2: 0000000000000000 CR3: 0000000003e10001 CR4: 00000000006606e0
[  326.148910] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  326.148913] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  326.148917] PKRU: 00000000
[  326.148920] Call Trace:
[  326.148947]  skl_enable_dc6+0x40/0xb0 [i915]
[  326.148972]  gen9_dc_off_power_well_disable+0x31/0x40 [i915]
[  326.148995]  intel_power_well_disable+0x3e/0x50 [i915]
[  326.149028]  intel_display_power_put+0xb5/0x110 [i915]
[  326.149055]  intel_display_set_init_power+0x2a/0x40 [i915]
[  326.149086]  intel_modeset_setup_hw_state+0xc5b/0xda0 [i915]
[  326.149092]  ? ww_mutex_lock+0x42/0xb0
[  326.149127]  __intel_display_resume+0x1f/0xc0 [i915]
[  326.149163]  intel_display_resume+0xc7/0x100 [i915]
[  326.149193]  i915_pm_restore+0xf4/0x190 [i915]
[  326.149218]  i915_pm_resume+0xe/0x10 [i915]
[  326.149224]  pci_pm_resume+0x74/0xb0
[  326.149231]  dpm_run_callback+0x6f/0x310
[  326.149236]  ? pci_pm_suspend+0x140/0x140
[  326.149242]  device_resume+0xb4/0x1e0
[  326.149248]  ? dpm_watchdog_set+0x70/0x70
[  326.149257]  async_resume+0x1d/0x50
[  326.149263]  async_run_entry_fn+0x38/0x160
[  326.149269]  process_one_work+0x233/0x660
[  326.149278]  worker_thread+0x4e/0x3b0
[  326.149287]  kthread+0x152/0x190
[  326.149291]  ? process_one_work+0x660/0x660
[  326.149295]  ? kthread_create_on_node+0x40/0x40
[  326.149302]  ret_from_fork+0x27/0x40
[  326.149313] Code: 05 9b 7d 15 00 01 e8 d3 2c fb e0 0f ff eb af 80 3d 8a 7d 15 00 00 75 bd 48 c7 c7 f7 e2 24 a0 c6 05 7a 7d 15 00 01 e8 b3 2c fb e0 <0f> ff eb a6 80 3d 69 7d 15 00 00 75 b4 48 c7 c7 0e e3 24 a0 c6 
[  326.149624] ---[ end trace eacb0a81851617af ]---
[  326.149639] CSR HTP Not fine
[  326.149666] ------------[ cut here ]------------
[  326.149691] WARNING: CPU: 3 PID: 3224 at drivers/gpu/drm/i915/intel_runtime_pm.c:578 assert_csr_loaded+0xae/0xc0 [i915]
[  326.149695] Modules linked in: snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic i915 snd_hda_intel snd_hda_codec x86_pkg_temp_thermal e1000e intel_powerclamp coretemp crct10dif_pclmul asix crc32_pclmul snd_hwdep snd_hda_core ghash_clmulni_intel usbnet mii snd_pcm ptp pps_core prime_numbers i2c_hid
[  326.149815] CPU: 3 PID: 3224 Comm: kworker/u8:8 Tainted: G     U  W       4.14.0-rc3-CI-CI_DRM_3159+ #1
[  326.149819] Hardware name: Intel Corporation CannonLake Client Platform/CannonLake Y LPDDR4 RVP, BIOS CNLSFWR1.R00.X095.A01.1707101424 07/10/2017
[  326.149824] Workqueue: events_unbound async_run_entry_fn
[  326.149831] task: ffff88026309b080 task.stack: ffffc90000454000
[  326.149855] RIP: 0010:assert_csr_loaded+0xae/0xc0 [i915]
[  326.149859] RSP: 0000:ffffc90000457ac0 EFLAGS: 00010282
[  326.149866] RAX: 0000000000000010 RBX: ffff88025b8b0000 RCX: 0000000000000006
[  326.149870] RDX: 0000000000001513 RSI: ffffffff81d0e20c RDI: ffffffff81cc2046
[  326.149874] RBP: ffffc90000457ac8 R08: 0000000000000000 R09: 0000000000000001
[  326.149877] R10: 0000000000000000 R11: 0000000000000000 R12: ffff88025b8b0000
[  326.149881] R13: ffffffffa025ed38 R14: ffff88025b8b0000 R15: 0000000400000000
[  326.149886] FS:  0000000000000000(0000) GS:ffff880271180000(0000) knlGS:0000000000000000
[  326.149889] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  326.149898] CR2: 0000000000000000 CR3: 0000000003e10001 CR4: 00000000006606e0
[  326.149902] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  326.149906] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  326.149909] PKRU: 00000000
[  326.149912] Call Trace:
[  326.149937]  skl_enable_dc6+0x40/0xb0 [i915]
[  326.149962]  gen9_dc_off_power_well_disable+0x31/0x40 [i915]
[  326.149986]  intel_power_well_disable+0x3e/0x50 [i915]
[  326.150012]  intel_display_power_put+0xb5/0x110 [i915]
[  326.150046]  intel_display_set_init_power+0x2a/0x40 [i915]
[  326.150083]  intel_modeset_setup_hw_state+0xc5b/0xda0 [i915]
[  326.150088]  ? ww_mutex_lock+0x42/0xb0
[  326.150122]  __intel_display_resume+0x1f/0xc0 [i915]
[  326.150151]  intel_display_resume+0xc7/0x100 [i915]
[  326.150187]  i915_pm_restore+0xf4/0x190 [i915]
[  326.150212]  i915_pm_resume+0xe/0x10 [i915]
[  326.150218]  pci_pm_resume+0x74/0xb0
[  326.150224]  dpm_run_callback+0x6f/0x310
[  326.150229]  ? pci_pm_suspend+0x140/0x140
[  326.150235]  device_resume+0xb4/0x1e0
[  326.150242]  ? dpm_watchdog_set+0x70/0x70
[  326.150250]  async_resume+0x1d/0x50
[  326.150255]  async_run_entry_fn+0x38/0x160
[  326.150261]  process_one_work+0x233/0x660
[  326.150270]  worker_thread+0x4e/0x3b0
[  326.150279]  kthread+0x152/0x190
[  326.150289]  ? process_one_work+0x660/0x660
[  326.150293]  ? kthread_create_on_node+0x40/0x40
[  326.150299]  ret_from_fork+0x27/0x40
[  326.150310] Code: 05 7a 7d 15 00 01 e8 b3 2c fb e0 0f ff eb a6 80 3d 69 7d 15 00 00 75 b4 48 c7 c7 0e e3 24 a0 c6 05 59 7d 15 00 01 e8 93 2c fb e0 <0f> ff eb 9d 0f 1f 40 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 
[  326.150538] ---[ end trace eacb0a81851617b0 ]---
[  326.378895] atkbd serio0: Failed to deactivate keyboard on isa0060/serio0
[  326.393188] snd_hda_codec_realtek hdaudioC0D0: Unable to sync register 0x2b8000. -5
[  326.393312] snd_hda_codec_realtek hdaudioC0D0: Unable to sync register 0x2b8000. -5

Note: Between CI_DRM_3152 and until CI_DRM_3158 there was a lockdep warn captured close to these warns. The lockdeps dissappeared on CI_DRM_3159 when we stepped up to 4.14.0-rc3.
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3152/fi-cnl-y/igt@gem_exec_suspend@basic-s3.html
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3159/fi-cnl-y/igt@gem_exec_suspend@basic-s3.html
Comment 1 Marta Löfstedt 2017-10-03 06:04:52 UTC
See BUG 103036 for discussion abot the previous lockdep issue.
Comment 2 Imre Deak 2017-10-03 08:56:26 UTC
Created attachment 134633 [details] [review]
Fix CSR not loaded WARN.

Could you try the attached fix?
Comment 3 Marta Löfstedt 2017-11-01 08:39:30 UTC
This has not been reproduced, I close the bug.


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.