From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 55435C48BDF for ; Sun, 13 Jun 2021 18:20:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 17588611CE for ; Sun, 13 Jun 2021 18:20:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232040AbhFMSWx (ORCPT ); Sun, 13 Jun 2021 14:22:53 -0400 Received: from er-systems.de ([148.251.68.21]:58366 "EHLO er-systems.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231997AbhFMSWs (ORCPT ); Sun, 13 Jun 2021 14:22:48 -0400 X-Greylist: delayed 534 seconds by postgrey-1.27 at vger.kernel.org; Sun, 13 Jun 2021 14:22:47 EDT Received: from localhost.localdomain (localhost [127.0.0.1]) by er-systems.de (Postfix) with ESMTP id E46F3D6006F; Sun, 13 Jun 2021 20:11:49 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by er-systems.de (Postfix) with ESMTPS id C2012D6006E; Sun, 13 Jun 2021 20:11:49 +0200 (CEST) Date: Sun, 13 Jun 2021 20:11:48 +0200 (CEST) From: Thomas Voegtle To: Imre Deak , linux-kernel@vger.kernel.org, Khaled Almahallawy , =?ISO-8859-15?Q?Ville_Syrj=E4l=E4?= Subject: Warning at drivers/gpu/drm/i915/intel_runtime_pm.c:638 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Virus-Status: No X-Virus-Checker-Version: clamassassin 1.2.4 with clamdscan / ClamAV 0.103.2/26200/Sun Jun 13 13:14:45 2021 signatures . Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, 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. I bisected it down to: commit 7962893ecb853aa7c8925ce237ab6c4274cfc1c7 Author: Imre Deak Date: Wed Jan 27 20:19:09 2021 +0200 drm/i915: Disable runtime power management during shutdown ... [ OK ] Reached target Shutdown. [ 43.142532] ------------[ cut here ]------------ [ 43.147160] i915 0000:00:02.0: i915 raw-wakerefs=1 wakelocks=1 on cleanup [ 43.153949] WARNING: CPU: 3 PID: 1 at drivers/gpu/drm/i915/intel_runtime_pm.c:638 intel_runtime_pm_driver_release+0x42/0x50 [ 43.165069] CPU: 3 PID: 1 Comm: systemd-shutdow Not tainted 5.13.0-rc5-i5-00235-g43cb5d49a99b #333 [ 43.174019] 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 [ 43.184176] RIP: 0010:intel_runtime_pm_driver_release+0x42/0x50 [ 43.190096] Code: fc 10 0f b7 d9 48 8b 6f 50 48 85 ed 74 23 e8 05 c4 10 00 45 89 e0 89 d9 48 89 ea 48 89 c6 48 c7 c7 c0 96 07 94 e8 0e 8c b6 ff <0f> 0b 5b 5d 41 5c c3 48 8b 2f eb d8 66 90 48 8b 87 68 99 ff ff 48 [ 43.208842] RSP: 0018:ffffb2028002bd30 EFLAGS: 00010282 [ 43.214069] RAX: 0000000000000000 RBX: 0000000000000001 RCX: 00000000ffff7fff [ 43.221200] RDX: ffffb2028002bb50 RSI: 00000000ffff7fff RDI: 0000000000000003 [ 43.228324] RBP: ffff971840982e80 R08: 0000000000000000 R09: 0000000000000001 [ 43.235448] R10: 0000000000000000 R11: ffffb2028002bb48 R12: 0000000000000001 [ 43.242572] R13: ffffffff940a33d3 R14: ffff971840a22948 R15: 0000000000000000 [ 43.249696] FS: 00007f1bba03a1c0(0000) GS:ffff971a53780000(0000) knlGS:0000000000000000 [ 43.257776] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 43.263519] CR2: 00007f1bb97d94a0 CR3: 00000001080b8002 CR4: 00000000001706e0 [ 43.270645] Call Trace: [ 43.273089] device_shutdown+0x149/0x1f0 [ 43.277015] kernel_restart+0x9/0x50 [ 43.280593] __do_sys_reboot+0xe7/0x1d0 [ 43.284433] ? vfs_writev+0xb4/0x150 [ 43.288014] ? __cond_resched+0x10/0x40 [ 43.291851] ? task_work_run+0x6c/0xa0 [ 43.295604] do_syscall_64+0x5d/0x70 [ 43.299185] ? syscall_exit_to_user_mode+0x20/0x40 [ 43.303978] ? do_syscall_64+0x69/0x70 [ 43.307730] ? exc_page_fault+0x201/0x600 [ 43.311741] ? asm_exc_page_fault+0x8/0x30 [ 43.315841] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 43.320894] RIP: 0033:0x7f1bb95177d6 [ 43.324475] 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 [ 43.343218] RSP: 002b:00007fffea4c3cc8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a9 [ 43.350785] RAX: ffffffffffffffda RBX: 0000000001234567 RCX: 00007f1bb95177d6 [ 43.357909] RDX: 0000000001234567 RSI: 0000000028121969 RDI: fffffffffee1dead [ 43.365041] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 43.372166] R10: 0000000000000002 R11: 0000000000000202 R12: 0000000000000000 [ 43.379291] R13: 00007fffea4c3e78 R14: 0000000000000000 R15: 0000000000000000 [ 43.386422] ---[ end trace be6a3ef0677f3d04 ]--- [ 43.391174] reboot: Restarting system Hope this useful for you, Thomas