Bug 100761 - warning on pci pm resume
Summary: warning on pci pm resume
Status: RESOLVED OBSOLETE
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(DRI - Intel) (show other bugs)
Hardware: All Linux
: P3 normal
Assignee: intel-gfx-bugs@lists.freedesktop.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-01 08:59 UTC by Lidong Chen
Modified: 2015-10-07 11:04 UTC (History)
1 user (show)

See Also:
Kernel Version: 4.1.0+
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Lidong Chen 2015-07-01 08:59:36 UTC
[ 4788.823602] ------------[ cut here ]------------
[ 4788.823632] WARNING: CPU: 0 PID: 3740 at drivers/gpu/drm/i915/intel_display.c:6316 __intel_set_mode+0xb07/0xbc0 [i915]()
[ 4788.823726] WARN_ON(!crtc->state->enable)
[ 4788.823726] Kernel panic - not syncing: panic_on_warn set ...

[ 4788.823729] CPU: 0 PID: 3740 Comm: kworker/u16:10 Not tainted 4.1.0+ #4
[ 4788.823729] Hardware name: LENOVO 2356BG6/2356BG6, BIOS G7ET94WW (2.54 ) 04/30/2013
[ 4788.823734] Workqueue: events_unbound async_run_entry_fn
[ 4788.823737]  0000000000000000 00000000b60cb81c ffff88011a033928 ffffffff81732990
[ 4788.823739]  0000000000000000 ffffffff81a5a32b ffff88011a0339a8 ffffffff8172fa39
[ 4788.823741]  ffff880100000008 ffff88011a0339b8 ffff88011a033958 00000000b60cb81c
[ 4788.823741] Call Trace:
[ 4788.823745]  [<ffffffff81732990>] dump_stack+0x4c/0x65
[ 4788.823748]  [<ffffffff8172fa39>] panic+0xd3/0x208
[ 4788.823752]  [<ffffffff8108adba>] warn_slowpath_common+0xba/0xc0
[ 4788.823754]  [<ffffffff8108ae15>] warn_slowpath_fmt+0x55/0x70
[ 4788.823776]  [<ffffffffa025e597>] __intel_set_mode+0xb07/0xbc0 [i915]
[ 4788.823798]  [<ffffffffa026466e>] intel_set_mode+0x2e/0x60 [i915]
[ 4788.823819]  [<ffffffffa02655af>] intel_crtc_restore_mode+0x13f/0x1f0 [i915]
[ 4788.823839]  [<ffffffffa0243140>] ? gen6_write64+0x250/0x250 [i915]
[ 4788.823859]  [<ffffffffa0266423>] intel_modeset_setup_hw_state+0x8d3/0xd20 [i915]
[ 4788.823871]  [<ffffffffa01e6220>] i915_drm_resume+0xd0/0x160 [i915]
[ 4788.823883]  [<ffffffffa01e62d7>] i915_pm_resume+0x27/0x30 [i915]
[ 4788.823886]  [<ffffffff813dca88>] pci_pm_resume+0x68/0xb0
[ 4788.823888]  [<ffffffff813dca20>] ? pci_pm_thaw+0x90/0x90
[ 4788.823892]  [<ffffffff814d48a1>] dpm_run_callback+0x71/0x3f0
[ 4788.823894]  [<ffffffff814d4fda>] device_resume+0x8a/0x190
[ 4788.823897]  [<ffffffff814d5101>] async_resume+0x21/0x50
[ 4788.823898]  [<ffffffff810b35bc>] async_run_entry_fn+0x4c/0x160
[ 4788.823900]  [<ffffffff810a9036>] process_one_work+0x1f6/0x790
[ 4788.823902]  [<ffffffff810a8fa1>] ? process_one_work+0x161/0x790
[ 4788.823903]  [<ffffffff810a96a5>] ? worker_thread+0xd5/0x460
[ 4788.823905]  [<ffffffff810a961e>] worker_thread+0x4e/0x460
[ 4788.823907]  [<ffffffff810a95d0>] ? process_one_work+0x790/0x790
[ 4788.823909]  [<ffffffff810b00b4>] kthread+0x104/0x120
[ 4788.823913]  [<ffffffff810affb0>] ? kthread_create_on_node+0x260/0x260
[ 4788.823915]  [<ffffffff8173c8df>] ret_from_fork+0x3f/0x70
[ 4788.823917]  [<ffffffff810affb0>] ? kthread_create_on_node+0x260/0x260
Comment 1 Jani Nikula 2015-07-01 11:45:54 UTC
Please provide full dmesg from early boot to the problem, with drm.debug=14 module parameter set. Use log_buf_len=4M or similar as necessary to capture everything.

Warnings are warnings, and we employ them quite a bit to improve our driver. I don't personally think panic_on_warn is a sensible thing to use.
Comment 2 Jani Nikula 2015-10-07 11:04:07 UTC
Long time no updates, closing.

If the problem persists with latest kernels, please file a bug at the freedesktop.org bugzilla [1], referencing this bug. Thank you.

[1] https://bugs.freedesktop.org/enter_bug.cgi?product=DRI&component=DRM/Intel

Note You need to log in before you can comment on or make changes to this bug.