lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20210117135204.GD30300@xsang-OptiPlex-9020>
Date:   Sun, 17 Jan 2021 21:52:04 +0800
From:   kernel test robot <oliver.sang@...el.com>
To:     Imre Deak <imre.deak@...el.com>
Cc:     Chris Wilson <chris@...is-wilson.co.uk>,
        LKML <linux-kernel@...r.kernel.org>,
        Linux Memory Management List <linux-mm@...ck.org>,
        lkp@...ts.01.org, lkp@...el.com
Subject: [drm/i915/ddi]  a4550977a0:
 WARNING:at_drivers/gpu/drm/i915/display/intel_ddi.c:#intel_ddi_pre_enable_hdmi[i915]


Greeting,

FYI, we noticed the following commit (built with gcc-9):

commit: a4550977a0fa4e4e927be07f5a21f31e62aedbe6 ("drm/i915/ddi: Track power reference taken for encoder DDI IO use")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master


in testcase: power-idle
version: 
with following parameters:

	sleep_time: 600
	idle_time: 600
	cpufreq_governor: performance



on test machine: 4 threads Broadwell-Y with 8G memory

caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):


If you fix the issue, kindly add following tag
Reported-by: kernel test robot <oliver.sang@...el.com>


kern  :warn  : [   13.174575] ------------[ cut here ]------------
kern  :warn  : [   13.174576] i915 0000:00:02.0: drm_WARN_ON_ONCE(level >= n_entries)
kern  :warn  : [   13.174707] WARNING: CPU: 2 PID: 31 at drivers/gpu/drm/i915/display/intel_ddi.c:1390 intel_ddi_pre_enable_hdmi+0x54f/0x5e0 [i915]
kern  :warn  : [   13.174708] Modules linked in: sd_mod t10_pi sg i915 intel_gtt drm_kms_helper ahci syscopyarea x86_pkg_temp_thermal sysfillrect sysimgblt in
tel_powerclamp fb_sys_fops libahci hid_rmi rmi_core coretemp hid_multitouch crct10dif_pclmul crc32_pclmul intel_rapl_msr wmi_bmof crc32c_intel libata ghash_cl
mulni_intel mei_me rapl drm mei intel_cstate intel_uncore serio_raw intel_pch_thermal hid_sensor_custom bcma joydev processor_thermal_device intel_soc_dts_ios
f intel_rapl_common int340x_thermal_zone i2c_hid ideapad_laptop sparse_keymap wmi rfkill i2c_designware_platform int3400_thermal acpi_thermal_rel acpi_pad vid
eo dw_dmac i2c_designware_core ip_tables
kern  :warn  : [   13.174747] CPU: 2 PID: 31 Comm: kworker/u8:2 Tainted: G          I       5.10.0-rc2-ga4550977a0fa #1
kern  :warn  : [   13.174748] Hardware name: LENOVO 80HE/VIUU4, BIOS A6CN38WW 09/30/2014
kern  :warn  : [   13.174753] Workqueue: events_unbound async_run_entry_fn
kern  :warn  : [   13.174822] RIP: 0010:intel_ddi_pre_enable_hdmi+0x54f/0x5e0 [i915]
kern  :warn  : [   13.174824] Code: 4c 8b 6f 50 4d 85 ed 75 03 4c 8b 2f e8 6a 6b 22 c1 48 c7 c1 38 be 5b c0 4c 89 ea 48 c7 c7 84 63 5d c0 48 89 c6 e8 d2 09 66
 c1 <0f> 0b 8b 44 24 24 e9 46 ff ff ff 49 8b 78 18 c6 05 64 b5 15 00 01
kern  :warn  : [   13.174826] RSP: 0018:ffffc90000177968 EFLAGS: 00010286
kern  :warn  : [   13.174827] RAX: 0000000000000000 RBX: ffff8881449a0000 RCX: 0000000000000027
kern  :warn  : [   13.174828] RDX: 0000000000000027 RSI: 0000000000000002 RDI: ffff88825ed17c28
kern  :warn  : [   13.174829] RBP: ffff888115e27000 R08: ffff88825ed17c20 R09: 0000000000000001
kern  :warn  : [   13.174830] R10: 0000000000000001 R11: ffffffff8265bfe8 R12: ffff888101e5a000
kern  :warn  : [   13.174831] R13: ffff888100eff780 R14: ffff888115e27000 R15: ffff888144becf00
kern  :warn  : [   13.174833] FS:  0000000000000000(0000) GS:ffff88825ed00000(0000) knlGS:0000000000000000
kern  :warn  : [   13.174834] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kern  :warn  : [   13.174835] CR2: 000055e51061ed60 CR3: 0000000004c0a001 CR4: 00000000003706e0
kern  :warn  : [   13.174836] Call Trace:
kern  :warn  : [   13.174909]  intel_encoders_pre_enable+0x7e/0xa0 [i915]
kern  :warn  : [   13.174977]  hsw_crtc_enable+0x96/0x720 [i915]
kern  :warn  : [   13.175045]  intel_enable_crtc+0x59/0x80 [i915]
kern  :warn  : [   13.175115]  intel_commit_modeset_enables+0x53/0x80 [i915]
kern  :warn  : [   13.175182]  intel_atomic_commit_tail+0x37e/0xfa0 [i915]
kern  :warn  : [   13.175252]  intel_atomic_commit+0x31c/0x3a0 [i915]
kern  :warn  : [   13.175293]  drm_client_modeset_commit_atomic+0x1e4/0x220 [drm]
kern  :warn  : [   13.175313]  drm_client_modeset_commit_locked+0x52/0x160 [drm]
kern  :warn  : [   13.175332]  drm_client_modeset_commit+0x24/0x40 [drm]
kern  :warn  : [   13.175355]  __drm_fb_helper_restore_fbdev_mode_unlocked+0x94/0xc0 [drm_kms_helper]
kern  :warn  : [   13.175366]  drm_fb_helper_set_par+0x3c/0x60 [drm_kms_helper]
kern  :warn  : [   13.175438]  intel_fbdev_set_par+0x16/0x40 [i915]
kern  :warn  : [   13.175445]  ? con_is_visible+0x27/0x40
kern  :warn  : [   13.175447]  fbcon_init+0x2b1/0x5a0
kern  :warn  : [   13.175451]  visual_init+0xce/0x140
kern  :warn  : [   13.175484]  do_bind_con_driver+0x1ba/0x2a0
kern  :warn  : [   13.175488]  do_take_over_console+0x115/0x180
kern  :warn  : [   13.175490]  do_fbcon_takeover+0x58/0xc0
kern  :warn  : [   13.175493]  register_framebuffer+0x1e4/0x300
kern  :warn  : [   13.175506]  __drm_fb_helper_initial_config_and_unlock+0x8e/0xc0 [drm_kms_helper]
kern  :warn  : [   13.175571]  intel_fbdev_initial_config+0x14/0x40 [i915]
kern  :warn  : [   13.175575]  async_run_entry_fn+0x39/0x160
kern  :warn  : [   13.175579]  process_one_work+0x1b7/0x380
kern  :warn  : [   13.175582]  worker_thread+0x50/0x3c0
kern  :warn  : [   13.175585]  ? process_one_work+0x380/0x380
kern  :warn  : [   13.175588]  kthread+0x116/0x160
kern  :warn  : [   13.175590]  ? kthread_park+0xa0/0xa0
kern  :warn  : [   13.175594]  ret_from_fork+0x22/0x30
kern  :warn  : [   13.175599] CPU: 2 PID: 31 Comm: kworker/u8:2 Tainted: G          I       5.10.0-rc2-ga4550977a0fa #1
kern  :warn  : [   13.175600] Hardware name: LENOVO 80HE/VIUU4, BIOS A6CN38WW 09/30/2014
kern  :warn  : [   13.175603] Workqueue: events_unbound async_run_entry_fn
kern  :warn  : [   13.175605] Call Trace:
kern  :warn  : [   13.175611]  dump_stack+0x57/0x6a
kern  :warn  : [   13.175614]  __warn.cold+0x24/0x3d
kern  :warn  : [   13.175681]  ? intel_ddi_pre_enable_hdmi+0x54f/0x5e0 [i915]
kern  :warn  : [   13.175685]  report_bug+0xd1/0x100
kern  :warn  : [   13.175689]  handle_bug+0x41/0x80
kern  :warn  : [   13.175692]  exc_invalid_op+0x14/0x80
kern  :warn  : [   13.175695]  asm_exc_invalid_op+0x12/0x20
kern  :warn  : [   13.175761] RIP: 0010:intel_ddi_pre_enable_hdmi+0x54f/0x5e0 [i915]
kern  :warn  : [   13.175763] Code: 4c 8b 6f 50 4d 85 ed 75 03 4c 8b 2f e8 6a 6b 22 c1 48 c7 c1 38 be 5b c0 4c 89 ea 48 c7 c7 84 63 5d c0 48 89 c6 e8 d2 09 66 c1 <0f> 0b 8b 44 24 24 e9 46 ff ff ff 49 8b 78 18 c6 05 64 b5 15 00 01
kern  :warn  : [   13.175765] RSP: 0018:ffffc90000177968 EFLAGS: 00010286
kern  :warn  : [   13.175769] RAX: 0000000000000000 RBX: ffff8881449a0000 RCX: 0000000000000027
kern  :warn  : [   13.175770] RDX: 0000000000000027 RSI: 0000000000000002 RDI: ffff88825ed17c28
kern  :warn  : [   13.175772] RBP: ffff888115e27000 R08: ffff88825ed17c20 R09: 0000000000000001
kern  :warn  : [   13.175774] R10: 0000000000000001 R11: ffffffff8265bfe8 R12: ffff888101e5a000
kern  :warn  : [   13.175776] R13: ffff888100eff780 R14: ffff888115e27000 R15: ffff888144becf00
kern  :warn  : [   13.175843]  ? intel_ddi_pre_enable_hdmi+0x54f/0x5e0 [i915]
kern  :warn  : [   13.175909]  intel_encoders_pre_enable+0x7e/0xa0 [i915]
kern  :warn  : [   13.175975]  hsw_crtc_enable+0x96/0x720 [i915]
kern  :warn  : [   13.176042]  intel_enable_crtc+0x59/0x80 [i915]
kern  :warn  : [   13.176108]  intel_commit_modeset_enables+0x53/0x80 [i915]
kern  :warn  : [   13.176174]  intel_atomic_commit_tail+0x37e/0xfa0 [i915]
kern  :warn  : [   13.176241]  intel_atomic_commit+0x31c/0x3a0 [i915]
kern  :warn  : [   13.176265]  drm_client_modeset_commit_atomic+0x1e4/0x220 [drm]
kern  :warn  : [   13.176284]  drm_client_modeset_commit_locked+0x52/0x160 [drm]
kern  :warn  : [   13.176302]  drm_client_modeset_commit+0x24/0x40 [drm]
kern  :warn  : [   13.176313]  __drm_fb_helper_restore_fbdev_mode_unlocked+0x94/0xc0 [drm_kms_helper]
kern  :warn  : [   13.176324]  drm_fb_helper_set_par+0x3c/0x60 [drm_kms_helper]
kern  :warn  : [   13.176392]  intel_fbdev_set_par+0x16/0x40 [i915]
kern  :warn  : [   13.176396]  ? con_is_visible+0x27/0x40
kern  :warn  : [   13.176398]  fbcon_init+0x2b1/0x5a0
kern  :warn  : [   13.176401]  visual_init+0xce/0x140
kern  :warn  : [   13.176404]  do_bind_con_driver+0x1ba/0x2a0
kern  :warn  : [   13.176407]  do_take_over_console+0x115/0x180
kern  :warn  : [   13.176410]  do_fbcon_takeover+0x58/0xc0
kern  :warn  : [   13.176413]  register_framebuffer+0x1e4/0x300
kern  :warn  : [   13.176426]  __drm_fb_helper_initial_config_and_unlock+0x8e/0xc0 [drm_kms_helper]
kern  :warn  : [   13.176493]  intel_fbdev_initial_config+0x14/0x40 [i915]
kern  :warn  : [   13.176496]  async_run_entry_fn+0x39/0x160
kern  :warn  : [   13.176499]  process_one_work+0x1b7/0x380
kern  :warn  : [   13.176502]  worker_thread+0x50/0x3c0
kern  :warn  : [   13.176505]  ? process_one_work+0x380/0x380
kern  :warn  : [   13.176507]  kthread+0x116/0x160
kern  :warn  : [   13.176510]  ? kthread_park+0xa0/0xa0
kern  :warn  : [   13.176513]  ret_from_fork+0x22/0x30
kern  :warn  : [   13.176521] ---[ end trace e1181ceebc4fc863 ]---



To reproduce:

        git clone https://github.com/intel/lkp-tests.git
        cd lkp-tests
        bin/lkp install job.yaml  # job file is attached in this email
        bin/lkp run     job.yaml



Thanks,
Oliver Sang


View attachment "config-5.10.0-rc2-ga4550977a0fa" of type "text/plain" (171049 bytes)

View attachment "job-script" of type "text/plain" (7791 bytes)

Download attachment "kmsg.xz" of type "application/x-xz" (21044 bytes)

View attachment "power-idle" of type "text/plain" (34 bytes)

View attachment "job.yaml" of type "text/plain" (5195 bytes)

View attachment "reproduce" of type "text/plain" (254 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ