Warning at drivers/gpu/drm/i915/intel_runtime_pm.c:638
Since 5.13.0-rcX I get that warning below when shutting down or reboot. There is only this warning I have no other problems with the driver. Shutdown or reboot is successful. This is Haswell.
I bisected it down to:
commit 7962893ecb853aa7c8925ce237ab6c4274cfc1c7 Author: Imre Deak imre.deak@intel.com Date: Wed Jan 27 20:19:09 2021 +0200
drm/i915: Disable runtime power management during shutdown
With CONFIG_DRM_I915_DEBUG_RUNTIME_PM=y and bootet with drm.debug=0xe, I see this:
[ OK ] Reached target Shutdown.
[ 60.717444] ------------[ cut here ]------------
[ 60.722079] i915 0000:00:02.0: i915 raw-wakerefs=1 wakelocks=1 on cleanup
[ 60.728873] WARNING: CPU: 0 PID: 1 at drivers/gpu/drm/i915/intel_runtime_pm.c:638 intel_runtime_pm_driver_release+0x53/0x70
[ 60.740000] CPU: 0 PID: 1 Comm: systemd-shutdow Not tainted 5.13.0-rc6-i5 #335
[ 60.747220] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./H81 Pro BTC R2.0, BIOS P1.20 07/22/2014
[ 60.757385] RIP: 0010:intel_runtime_pm_driver_release+0x53/0x70
[ 60.763303] Code: e9 41 c1 fd 10 4c 8b 67 50 4d 85 e4 74 2c e8 f4 d3 10 00 45 89 e8 89 e9 4c 89 e2 48 89 c6 48 c7 c7 68 9c 07 82 e8 3d 7f b6 ff <0f> 0b 48 89 df 5b 5d 41 5c 41 5d e9 fd f6 ff ff 4c 8b 27 eb cf 0f
[ 60.782068] RSP: 0018:ffff9e304002bcb0 EFLAGS: 00010286
[ 60.787294] RAX: 0000000000000000 RBX: ffff8ef7013766a0 RCX: 00000000ffff7fff
[ 60.794426] RDX: ffff9e304002bad0 RSI: 00000000ffff7fff RDI: 0000000000000003
[ 60.801560] RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000001
[ 60.808691] R10: 0000000000000000 R11: ffff9e304002bac8 R12: ffff8ef70098c550
[ 60.815834] R13: 0000000000000001 R14: ffff8ef700a2a148 R15: 0000000000000000
[ 60.822965] FS: 00007fd90ffd01c0(0000) GS:ffff8ef913600000(0000) knlGS:0000000000000000
[ 60.831050] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 60.836805] CR2: 00007ffe48cdd328 CR3: 00000001072b6001 CR4: 00000000001706f0
[ 60.843949] Call Trace:
[ 60.846409] device_shutdown+0x149/0x1f0
[ 60.850336] kernel_power_off+0x2c/0x70
[ 60.854175] __do_sys_reboot+0x12f/0x1d0
[ 60.858099] ? devkmsg_write+0xdc/0x170
[ 60.861941] ? do_iter_write+0x161/0x1e0
[ 60.865867] ? do_iter_write+0x161/0x1e0
[ 60.869801] ? vfs_writev+0xb4/0x150
[ 60.873379] do_syscall_64+0x5d/0x70
[ 60.876967] ? do_writev+0xa9/0xe0
[ 60.880372] ? syscall_exit_to_user_mode+0x20/0x40
[ 60.885166] ? do_writev+0xa9/0xe0
[ 60.888572] ? do_syscall_64+0x69/0x70
[ 60.892323] ? syscall_exit_to_user_mode+0x20/0x40
[ 60.897116] ? do_syscall_64+0x69/0x70
[ 60.900872] ? asm_exc_page_fault+0x8/0x30
[ 60.904969] entry_SYSCALL_64_after_hwframe+0x44/0xae
[ 60.910030] RIP: 0033:0x7fd90f4ad7d6
[ 60.913612] Code: 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 63 d7 be 69 19 12 28 48 c7 c7 ad de e1 fe b8 a9 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 02 f3 c3 48 8b 15 91 06 2c 00 f7 d8 64 89 02
[ 60.932365] RSP: 002b:00007ffe48cdd328 EFLAGS: 00000206 ORIG_RAX: 00000000000000a9
[ 60.939930] RAX: ffffffffffffffda RBX: 000000004321fedc RCX: 00007fd90f4ad7d6
[ 60.947064] RDX: 000000004321fedc RSI: 0000000028121969 RDI: fffffffffee1dead
[ 60.954205] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
[ 60.961338] R10: 0000000000000002 R11: 0000000000000206 R12: 0000000000000000
[ 60.968479] R13: 00007ffe48cdd4d8 R14: 0000000000000000 R15: 0000000000000000
[ 60.975613] ---[ end trace 8eb1514757f136ac ]---
[ 61.188715] reboot: Power down
Edited by Thomas Voegtle