Created attachment 127374 [details] dmesg.log Description: Only do the device test mode test, will find Call Trace in dmesg. Other test mode or directly do echo freeze > /sys/power/state, will not have Call Trace in dmesg. Dmesg log attached. Failed kernel image: mainline v4.8 and v4.9-rc1 Test Machine: Platform: ThinkPad L450 Ultrabook Product Name : 20DS0001GE CPU: Intel® Core i5 5300-U @ 2.30 GHz (family: 6, model: 61 stepping: 4 ) Software Linux kernel: v4.8 or v4.9-rc1 mainline from git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git Linux distribution: Ubuntu 14.04.4 LTS 64 bits BIOS: JDET46WW (1.08) ME FW : 10.0.30.1072 Ksc (EC) : JDHT46WW (1.08) Reproduce steps: 1. echo device > /sys/power/pm_test 2. echo freeze > /sys/power/state 3. wake up SUT from freeze, will find Call Trace in dmesg. [ 10.821968] ------------[ cut here ]------------ [ 10.822013] WARNING: CPU: 0 PID: 6 at drivers/gpu/drm/i915/intel_dp.c:1062 intel_dp_aux_transfer+0x1db/0x220 [i915] [ 10.822020] WARN_ON(!msg->buffer != !msg->size) [ 10.822023] Modules linked in: [ 10.822028] i915 uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core snd_hda_codec_realtek videodev snd_hda_codec_generic snd_hda_intel snd_hda_codec snd_hda_core drm_kms_helper snd_hwdep snd_pcm thinkpad_acpi nvram snd_seq_midi drm i2c_algo_bit snd_seq_midi_event rtsx_pci_ms memstick fb_sys_fops syscopyarea snd_rawmidi snd_seq snd_seq_device snd_timer intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp btusb btrtl joydev serio_raw btbcm kvm btintel mei_me bluetooth snd mei intel_pch_thermal irqbypass sysfillrect crct10dif_pclmul crc32_pclmul sysimgblt ghash_clmulni_intel soundcore cryptd wmi shpchp lpc_ich video mac_hid parport_pc ppdev lp parport rtsx_pci_sdmmc e1000e psmouse ptp rtsx_pci pps_core [ 10.822094] CPU: 0 PID: 6 Comm: kworker/u16:0 Not tainted 4.9.0-rc1-mainline-bat-v4.9-rc1-again+ #1 [ 10.822100] Hardware name: LENOVO 20DSA060CD/Intel powered classmate PC, BIOS JDET50WW (1.12 ) 03/25/2015 [ 10.822108] Workqueue: events_unbound async_run_entry_fn [ 10.822112] ffffc9000067bac0 ffffffff813c180c ffffc9000067bb10 0000000000000000 [ 10.822120] ffffc9000067bb00 ffffffff8107d051 0000042626fa2940 ffffc9000067bbd0 [ 10.822127] ffff8801244e60e0 ffff8801244e6158 0000000000000003 0000000000000000 [ 10.822134] Call Trace: [ 10.822141] [<ffffffff813c180c>] dump_stack+0x63/0x87 [ 10.822147] [<ffffffff8107d051>] __warn+0xd1/0xf0 [ 10.822152] [<ffffffff8107d0bf>] warn_slowpath_fmt+0x4f/0x60 [ 10.822187] [<ffffffffa055a0fb>] ? intel_dp_aux_transfer+0xcb/0x220 [i915] [ 10.822216] [<ffffffffa055a20b>] intel_dp_aux_transfer+0x1db/0x220 [i915] [ 10.822226] [<ffffffffa0416b4d>] drm_dp_dpcd_access+0x5d/0xf0 [drm_kms_helper] [ 10.822235] [<ffffffffa0416bfb>] drm_dp_dpcd_write+0x1b/0x20 [drm_kms_helper] [ 10.822263] [<ffffffffa055512d>] intel_dp_start_link_train+0x2bd/0x4d0 [i915] [ 10.822291] [<ffffffffa055668b>] intel_dp_check_link_status+0xbb/0xf0 [i915] [ 10.822314] [<ffffffffa055aea0>] intel_dp_detect+0x700/0xb30 [i915] [ 10.822321] [<ffffffff810b00dd>] ? select_task_rq_fair+0x18d/0x760 [ 10.822329] [<ffffffffa0417e55>] drm_helper_probe_single_connector_modes+0x3d5/0x4c0 [drm_kms_helper] [ 10.822336] [<ffffffff810b33ce>] ? dequeue_entity+0x26e/0xa90 [ 10.822345] [<ffffffffa0423e9d>] drm_fb_helper_probe_connector_modes.isra.5+0x4d/0x70 [drm_kms_helper] [ 10.822355] [<ffffffffa0425db3>] drm_fb_helper_initial_config+0x63/0x3b2 [drm_kms_helper] [ 10.822362] [<ffffffff810adafe>] ? vtime_account_idle+0xe/0x50 [ 10.822366] [<ffffffff810adbd4>] ? vtime_common_task_switch+0x34/0x40 [ 10.822394] [<ffffffffa054cf78>] intel_fbdev_initial_config+0x18/0x30 [i915] [ 10.822399] [<ffffffff8109fb17>] async_run_entry_fn+0x37/0x150 [ 10.822403] [<ffffffff81096713>] process_one_work+0x153/0x3f0 [ 10.822407] [<ffffffff81096edb>] worker_thread+0x12b/0x4b0 [ 10.822412] [<ffffffff81096db0>] ? rescuer_thread+0x350/0x350 [ 10.822418] [<ffffffff81520310>] ? dmar_enable_qi+0x50/0x140 [ 10.822422] [<ffffffff8109c6aa>] kthread+0xca/0xe0 [ 10.822427] [<ffffffff8109c5e0>] ? kthread_park+0x60/0x60 [ 10.822433] [<ffffffff8181a865>] ret_from_fork+0x25/0x30 [ 10.822447] ---[ end trace b047f590bcbeb0d0 ]---
The warning was added by commit dd788090822300a66ff469ae9e50f6d28d124eb8 Author: Ville Syrjälä <ville.syrjala@linux.intel.com> Date: Thu Jul 28 17:55:04 2016 +0300 drm/i915: Warn about aux msg buffer vs. size mismatch but that's the messenger, not the scapegoat.
*** This bug has been marked as a duplicate of bug 97344 ***
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.