Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2182291pxj; Sun, 13 Jun 2021 11:23:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzWw+QVPyXWV9+8BxdBQ29ktK3OJTXaHIrDRK4Hsn+vSobs6+jftxco/pEr132e01tnd/vX X-Received: by 2002:a17:906:5049:: with SMTP id e9mr12010444ejk.30.1623608580421; Sun, 13 Jun 2021 11:23:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623608580; cv=none; d=google.com; s=arc-20160816; b=ih9hLfquPs2su/JdBNWwsxzarP3+N7zQrgt6oBebrZLAfuFdOShto4vejNJcAhdnDo XaOtWbR0Z0LYNE/LiDvBtbFB6lCBWz5CzZeGdbvvZnMJzliz8L+8BJew8Dj8eZYYEJJo zNHlh6ZWb4yATrOCij5POshcJqB/wm4nfDryafMuQDcVHJ/z7BAIXrf6/Gtxrt2jfJws Ptb5xQeHRSbYuNdQ3s01mB2qwYnzrGeX2f8GF/7lcY9yzePwXk1UkyGsJYn2cXZ4Y57j +INiR8+eq0EpUctZE40rUogfLDA+AJIO47Ym1uIYe0HOIFk+vQ7NEixylk5JNoAWIkEL ug3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:subject:to:from:date; bh=KvITqLxW1P+SzHMhjObYqL34v3ptDl+KPpVPKD3VTo8=; b=ikUVKDVVNb0mXxlKQcTwVivmKDSSfblss0RJs6hOOd3UGiZ3eVciwJ2Hz7kzxdfcR/ MwtqqUl6j9e55p9SyL67Vp4JIf7alJcOcSItTOkNrBoRVH+8IF+B4ko2z/1CTBiOYh/u mprETtxDo0O/hJLYM+t2o3akr+85DgWc0eCtGSMz5jg1QYdDvMBBZGh17ARB3I1ne8w/ vcvmh4UpgDYYEs/DDA+s9obnTEbDGmGW8UC9PfGxBtepCkcBD/W8VWgsNbD9fW77H0mk Iz4IfJ5BxIQqUw/QOwNBVfnMUg7QI2QHnyLOPNg02oHa6xT4kB5ET48OArulMjiPR+M+ CEkw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c6si9566520edv.157.2021.06.13.11.22.37; Sun, 13 Jun 2021 11:23:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232034AbhFMSWu (ORCPT + 99 others); Sun, 13 Jun 2021 14:22:50 -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) X-Spam-Checker-Version: SpamAssassin 3.4.5 (2021-03-20) on er-systems.de X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.5 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