Multiple "drivers/gpu/drm/i915/display/intel_display_power.c" kernel logs appeared in journal when I shake the mouse to wake up the screen. kernel: ------------[ cut here ]------------ kernel: i915 0000:00:02.0: [drm] Display power well on kernel: WARNING: CPU: 3 PID: 10338 at drivers/gpu/drm/i915/display/intel_display_power.c:1186 hsw_enable_pc8+0xb15/0xbd0 [i915] kernel: Modules linked in: xt_connmark xt_mark xt_addrtype wireguard libchacha20poly1305 chacha_x86_64 poly1305_x86_64 curve25519_x86_64 libcurve25519_generic libchacha ip6_udp_tunnel udp_tunnel snd_seq_dummy snd_hrtimer snd_seq snd_seq_device zram lz4hc_compress lz4_compress xt_LOG nf_log_syslog xt_multiport xt_owner xt_comment xt_tcpmss xt_conntrack nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 xt_tcpudp nft_compat nf_tables libcrc32c binfmt_misc snd_hda_codec_hdmi intel_rapl_msr intel_rapl_common snd_hda_codec_realtek x86_pkg_temp_thermal i915 intel_powerclamp snd_hda_codec_generic snd_hda_scodec_component coretemp snd_hda_intel kvm_intel snd_intel_dspcfg drm_buddy snd_intel_sdw_acpi kvm snd_hda_codec drm_display_helper irqbypass usblp cec mei_pxp rc_core mei_hdcp ttm drm_kms_helper mei_me rapl intel_cstate mei intel_uncore i2c_algo_bit snd_hda_core snd_hwdep snd_pcm snd_timer snd toshiba_acpi sparse_keymap industrialio sg soundcore evdev rfkill vga16fb ac button vgastate toshiba_haps wmi_bmof tcp_bbr sch_fq kernel: parport_pc ppdev lp parport drm efi_pstore configfs nfnetlink ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 crc32c_generic dm_crypt dm_mod hid_generic usbhid hid sr_mod sd_mod cdrom crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel sha512_ssse3 ahci sha256_ssse3 libahci xhci_pci sha1_ssse3 iTCO_wdt libata xhci_hcd aesni_intel intel_pmc_bxt ehci_pci gf128mul iTCO_vendor_support ehci_hcd crypto_simd cryptd watchdog psmouse r8169 scsi_mod usbcore serio_raw realtek mdio_devres libphy scsi_common lpc_ich usb_common video battery wmi kernel: CPU: 3 UID: 0 PID: 10338 Comm: kworker/3:3 Tainted: G W 6.12.90+deb13.1-amd64 #1 Debian 6.12.90-2 kernel: Tainted: [W]=WARN kernel: Hardware name: [REDACTED], BIOS Version [REDACTED] kernel: Workqueue: pm pm_runtime_work kernel: RIP: 0010:hsw_enable_pc8+0xb15/0xbd0 [i915] kernel: Code: 5e 10 00 48 8b 7d 08 4c 8b 67 50 4d 85 e4 75 03 4c 8b 27 e8 bd 83 e1 e2 4c 89 e2 48 c7 c7 50 4b 33 c1 48 89 c6 e8 4b 70 5c e2 <0f> 0b e9 cb f5 ff ff 80 bd e3 17 00 00 00 0f 84 2e 5e 10 00 48 8b kernel: RSP: 0018:ffffd201a140bce0 EFLAGS: 00010286 kernel: RAX: 0000000000000000 RBX: ffff898018c58618 RCX: 0000000000000027 kernel: RDX: ffff8983113a1788 RSI: 0000000000000001 RDI: ffff8983113a1780 kernel: RBP: ffff898018c58000 R08: 0000000000000000 R09: ffffd201a140bb60 kernel: R10: ffffffffa5299ed0 R11: 0000000000000003 R12: ffff8980014d8e80 kernel: R13: ffff898018c582e0 R14: ffff898018c58618 R15: ffff898018c58000 kernel: FS: 0000000000000000(0000) GS:ffff898311380000(0000) knlGS:0000000000000000 kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 kernel: CR2: 00007fd3ce247dc8 CR3: 00000001c878e004 CR4: 00000000003726f0 kernel: Call Trace: kernel: <TASK> kernel: intel_runtime_suspend+0xdc/0x230 [i915] kernel: pci_pm_runtime_suspend+0x6a/0x1a0 kernel: ? __pfx_pci_pm_runtime_suspend+0x10/0x10 kernel: __rpm_callback+0x44/0x170 kernel: ? __pfx_pci_pm_runtime_suspend+0x10/0x10 kernel: rpm_callback+0x55/0x60 kernel: ? __pfx_pci_pm_runtime_suspend+0x10/0x10 kernel: rpm_suspend+0xe6/0x5f0 kernel: ? finish_task_switch.isra.0+0x97/0x2c0 kernel: pm_runtime_work+0x98/0xb0 kernel: process_one_work+0x177/0x330 kernel: worker_thread+0x191/0x2f0 kernel: ? __pfx_worker_thread+0x10/0x10 kernel: kthread+0xd2/0x100 kernel: ? __pfx_kthread+0x10/0x10 kernel: ret_from_fork+0x34/0x50 kernel: ? __pfx_kthread+0x10/0x10 kernel: ret_from_fork_asm+0x1a/0x30 kernel: </TASK> kernel: ---[ end trace 0000000000000000 ]--- kernel: ------------[ cut here ]------------ kernel: i915 0000:00:02.0: [drm] Display power well on kernel: WARNING: CPU: 2 PID: 10670 at drivers/gpu/drm/i915/display/intel_display_power.c:1186 hsw_enable_pc8+0xb15/0xbd0 [i915] kernel: Modules linked in: xt_connmark xt_mark xt_addrtype wireguard libchacha20poly1305 chacha_x86_64 poly1305_x86_64 curve25519_x86_64 libcurve25519_generic libchacha ip6_udp_tunnel udp_tunnel snd_seq_dummy snd_hrtimer snd_seq snd_seq_device zram lz4hc_compress lz4_compress xt_LOG nf_log_syslog xt_multiport xt_owner xt_comment xt_tcpmss xt_conntrack nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 xt_tcpudp nft_compat nf_tables libcrc32c binfmt_misc snd_hda_codec_hdmi intel_rapl_msr intel_rapl_common snd_hda_codec_realtek x86_pkg_temp_thermal i915 intel_powerclamp snd_hda_codec_generic snd_hda_scodec_component coretemp snd_hda_intel kvm_intel snd_intel_dspcfg drm_buddy snd_intel_sdw_acpi kvm snd_hda_codec drm_display_helper irqbypass usblp cec mei_pxp rc_core mei_hdcp ttm drm_kms_helper mei_me rapl intel_cstate mei intel_uncore i2c_algo_bit snd_hda_core snd_hwdep snd_pcm snd_timer snd toshiba_acpi sparse_keymap industrialio sg soundcore evdev rfkill vga16fb ac button vgastate toshiba_haps wmi_bmof tcp_bbr sch_fq kernel: parport_pc ppdev lp parport drm efi_pstore configfs nfnetlink ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 crc32c_generic dm_crypt dm_mod hid_generic usbhid hid sr_mod sd_mod cdrom crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel sha512_ssse3 ahci sha256_ssse3 libahci xhci_pci sha1_ssse3 iTCO_wdt libata xhci_hcd aesni_intel intel_pmc_bxt ehci_pci gf128mul iTCO_vendor_support ehci_hcd crypto_simd cryptd watchdog psmouse r8169 scsi_mod usbcore serio_raw realtek mdio_devres libphy scsi_common lpc_ich usb_common video battery wmi kernel: CPU: 2 UID: 0 PID: 10670 Comm: kworker/2:3 Tainted: G W 6.12.90+deb13.1-amd64 #1 Debian 6.12.90-2 kernel: Tainted: [W]=WARN kernel: Hardware name: [REDACTED], BIOS Version [REDACTED] kernel: Workqueue: pm pm_runtime_work kernel: RIP: 0010:hsw_enable_pc8+0xb15/0xbd0 [i915] kernel: Code: 5e 10 00 48 8b 7d 08 4c 8b 67 50 4d 85 e4 75 03 4c 8b 27 e8 bd 83 e1 e2 4c 89 e2 48 c7 c7 50 4b 33 c1 48 89 c6 e8 4b 70 5c e2 <0f> 0b e9 cb f5 ff ff 80 bd e3 17 00 00 00 0f 84 2e 5e 10 00 48 8b kernel: RSP: 0018:ffffd2018bce3ce0 EFLAGS: 00010286 kernel: RAX: 0000000000000000 RBX: ffff898018c58618 RCX: 0000000000000027 kernel: RDX: ffff898311321788 RSI: 0000000000000001 RDI: ffff898311321780 kernel: RBP: ffff898018c58000 R08: 0000000000000000 R09: ffffd2018bce3b60 kernel: R10: ffffffffa529ad40 R11: 0000000000000003 R12: ffff8980014d8e80 kernel: R13: ffff898018c582e0 R14: ffff898018c58618 R15: ffff898018c58000 kernel: FS: 0000000000000000(0000) GS:ffff898311300000(0000) knlGS:0000000000000000 kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 kernel: CR2: 000055c4e38ab388 CR3: 000000033c222006 CR4: 00000000003726f0 kernel: Call Trace: kernel: <TASK> kernel: intel_runtime_suspend+0xdc/0x230 [i915] kernel: pci_pm_runtime_suspend+0x6a/0x1a0 kernel: ? __pfx_pci_pm_runtime_suspend+0x10/0x10 kernel: __rpm_callback+0x44/0x170 kernel: ? __pfx_pci_pm_runtime_suspend+0x10/0x10 kernel: rpm_callback+0x55/0x60 kernel: ? __pfx_pci_pm_runtime_suspend+0x10/0x10 kernel: rpm_suspend+0xe6/0x5f0 kernel: ? finish_task_switch.isra.0+0x97/0x2c0 kernel: pm_runtime_work+0x98/0xb0 kernel: process_one_work+0x177/0x330 kernel: worker_thread+0x191/0x2f0 kernel: ? __pfx_worker_thread+0x10/0x10 kernel: kthread+0xd2/0x100 kernel: ? __pfx_kthread+0x10/0x10 kernel: ret_from_fork+0x34/0x50 kernel: ? __pfx_kthread+0x10/0x10 kernel: ret_from_fork_asm+0x1a/0x30 kernel: </TASK> kernel: ---[ end trace 0000000000000000 ]--- and so on.
Hi,
We would need more context information on those. Can you followup to
this bug with the information gathered on HW when filling 'reportbug
kernel' please? (I understand you redacted above some information).
Is this a regression from a previous 6.12.y kernel? Which was the last
one which worked? If it worked before, can you please bisect the
issue? Doing so would involve compiling a couple of kernels. Assume
6.12.88-1 was okay and so 6.12.90-2 was the first Debian kernel which
exposes the issue, then proceed as follows:
git clone --single-branch -b linux-6.12.y https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
cd linux-stable
git checkout v6.12.88
cp /boot/config-$(uname -r) .config
yes '' | make localmodconfig
make savedefconfig
mv defconfig arch/x86/configs/my_defconfig
# test 6.12.88 to ensure this is "good"
make my_defconfig
make -j $(nproc) bindeb-pkg
... install the resulting .deb package and confirm problem does not exist
# test 6.12.90 to ensure this is "bad"
git checkout v6.12.90
make my_defconfig
make -j $(nproc) bindeb-pkg
... install the resulting .deb package and confirm problem exists
With that confirmed, the bisection can start:
git bisect start
git bisect good v6.12.88
git bisect bad v6.12.90
In each bisection step git checks out a state between the oldest
known-bad and the newest known-good commit. In each step test using:
make my_defconfig
make -j $(nproc) bindeb-pkg
... install, verify if problem exists
and if the problem is hit run:
git bisect bad
and if the problem doesn't trigger run:
git bisect good
. Please pay attention to always select the just built kernel for
booting, it won't always be the default kernel picked up by grub.
Iterate until git announces to have identified the first bad commit.
Then provide the output of
git bisect log
In the course of the bisection you might have to uninstall previous
kernels again to not exhaust the disk space in /boot. Also in the end
uninstall all self-built kernels again.
Again the 6.12.88 above is hypotetical, would need to be the last one
working for you.
Regards,
Salvatore