Greeting,
FYI, we noticed the following commit (built with gcc-9):
commit: 952846695ebefd88b38edbc23169481f45804dae ("drm/i915/debugfs : PCU PM_REQ and PM_RES registers")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git UPDATE-20210209-213504/Saichandana-S/drm-i915-debugfs-PM_REQ-and-PM_RES-registers/20210104-183123
in testcase: igt
version: igt-x86_64-e230cd8d-1_20210106
with following parameters:
group: group-06
ucode: 0xe2
on test machine: 8 threads Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz with 28G 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 <[email protected]>
[ 598.876714] ------------[ cut here ]------------
[ 598.881339] i915 0000:00:02.0: i915 raw-wakerefs=3 wakelocks=3 on cleanup
[ 598.888198] WARNING: CPU: 1 PID: 6165 at drivers/gpu/drm/i915/intel_runtime_pm.c:616 intel_runtime_pm_driver_release+0x4a/0x60 [i915]
[ 598.900226] Modules linked in: ipmi_devintf ipmi_msghandler btrfs blake2b_generic xor zstd_compress raid6_pq libcrc32c sd_mod t10_pi sg intel_rapl_msr
intel_rapl_common x86_pkg_temp_thermal intel_powerclamp coretemp i915(-) kvm_intel mei_wdt kvm intel_gtt irqbypass drm_kms_helper dell_wmi crct10dif_pclmu
l ahci crc32_pclmul crc32c_intel syscopyarea ghash_clmulni_intel libahci sysfillrect dell_smbios mei_me sysimgblt rapl fb_sys_fops intel_cstate sparse_key
map wmi_bmof dell_wmi_descriptor dcdbas i2c_i801 intel_uncore drm libata i2c_smbus mei joydev intel_pch_thermal wmi video intel_pmc_core acpi_pad ip_table
s
[ 598.953915] CPU: 1 PID: 6165 Comm: i915_selftest Tainted: G I 5.10.0-01894-g952846695ebe #1
[ 598.963537] Hardware name: Dell Inc. OptiPlex 7040/0Y7WYT, BIOS 1.2.8 01/26/2016
[ 598.970940] RIP: 0010:intel_runtime_pm_driver_release+0x4a/0x60 [i915]
[ 598.977450] Code: 10 4c 8b 6f 50 4d 85 ed 75 03 4c 8b 2f e8 8e 63 df c0 41 89 d8 44 89 e1 4c 89 ea 48 89 c6 48 c7 c7 40 38 ab c0 e8 ec e7 22 c1 <0f> 0b
5b 41 5c 41 5d c3 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00
[ 598.996161] RSP: 0018:ffffc90001e1fda0 EFLAGS: 00010286
[ 599.001369] RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000000
[ 599.008480] RDX: ffff888759c67ba0 RSI: ffff888759c57ce0 RDI: ffff888759c57ce0
[ 599.015602] RBP: ffff88874f660000 R08: ffff888759c57ce0 R09: ffffc90001e1fbb8
[ 599.022714] R10: fffffffffff73ea0 R11: fffffffffff73ee0 R12: 0000000000000003
[ 599.029825] R13: ffff888101201ba0 R14: ffff888103e93a00 R15: ffff8881010af360
[ 599.036936] FS: 00007fceab049c00(0000) GS:ffff888759c40000(0000) knlGS:0000000000000000
[ 599.044999] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 599.050727] CR2: 00007ffecca0ff98 CR3: 0000000747520003 CR4: 00000000003706e0
[ 599.057839] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 599.064951] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 599.072062] Call Trace:
[ 599.074531] i915_driver_release+0x98/0xc0 [i915]
[ 599.079250] drm_dev_release+0x23/0x40 [drm]
[ 599.083526] release_nodes+0x225/0x280
[ 599.087265] device_release_driver_internal+0x106/0x1e0
[ 599.092473] driver_detach+0x4d/0xa0
[ 599.096038] bus_remove_driver+0x58/0xe0
[ 599.099950] pci_unregister_driver+0x29/0xc0
[ 599.104267] i915_exit+0x1b/0x26 [i915]
[ 599.108091] __x64_sys_delete_module+0x13d/0x2a0
[ 599.112696] ? exit_to_user_mode_prepare+0xed/0x120
[ 599.117565] do_syscall_64+0x33/0x40
[ 599.121202] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 599.126238] RIP: 0033:0x7fceaea0cdd7
[ 599.129800] Code: 73 01 c3 48 8b 0d b9 10 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 b0 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 89 10 0c 00 f7 d8 64 89 01 48
[ 599.148512] RSP: 002b:00007ffc7ceed0f8 EFLAGS: 00000206 ORIG_RAX: 00000000000000b0
[ 599.156059] RAX: ffffffffffffffda RBX: 0000556831fb6a80 RCX: 00007fceaea0cdd7
[ 599.163173] RDX: 000000000000c9f0 RSI: 0000000000000800 RDI: 0000556831fb6ae8
[ 599.170298] RBP: 00007fceaeb5a3c2 R08: 000000000000802f R09: 00007fceaeaced10
[ 599.177423] R10: fffffffffffff935 R11: 0000000000000206 R12: 0000000000000000
[ 599.184563] R13: 00007ffc7ceed860 R14: 0000000000000000 R15: 0000000000000000
[ 599.191687] ---[ end trace 127167c955dce780 ]---
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 split-job --compatible job.yaml
bin/lkp run compatible-job.yaml
Thanks,
Oliver Sang