[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CAL=B37kDS1A_Brpg_6eCxPnUrcLPhmF911Bahd8=etdQkyN2rw@mail.gmail.com>
Date: Fri, 17 Jan 2025 19:27:03 +0100
From: Damian Tometzki <damian@...cv-rocks.de>
To: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: i915 RPM wakelock ref not held during HW access
Hello together,
i got the following kernel warning from i915 with 6.13.0-rc7. The
problem exist since 6.13.0-rc1.
Any idea ?
Damian
[38478.439195] ------------[ cut here ]------------
[38478.439201] RPM raw-wakeref not held
[38478.439283] WARNING: CPU: 5 PID: 58840 at
drivers/gpu/drm/i915/intel_runtime_pm.h:116 fwtable_read32+0x22e/0x290
[i915]
[38478.439537] Modules linked in: uinput xt_comment wireguard
curve25519_x86_64 libcurve25519_generic ip6_udp_tunnel udp_tunnel
rfcomm snd_seq_dummy snd_hrtimer nf_conntrack_netlink veth
xt_conntrack xt_MASQUERADE bridge stp llc xt_addrtype nft_compat
nls_utf8 cifs cifs_arc4 nls_ucs2_utils cifs_md4 dns_resolver netfs
overlay nf_conntrack_netbios_ns nf_conntrack_broadcast nft_fib_inet
nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4
nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack
nf_defrag_ipv6 nf_defrag_ipv4 ip_set sunrpc nf_tables qrtr bnep
snd_soc_skl_hda_dsp snd_soc_intel_sof_board_helpers snd_sof_probes
snd_soc_intel_hda_dsp_common binfmt_misc vfat fat snd_hda_codec_hdmi
snd_hda_codec_realtek snd_hda_codec_generic snd_hda_scodec_component
snd_soc_dmic snd_sof_pci_intel_tgl snd_sof_pci_intel_cnl
snd_sof_intel_hda_generic soundwire_intel soundwire_cadence
snd_sof_intel_hda_common snd_soc_hdac_hda snd_sof_intel_hda_mlink
snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_sof
[38478.439621] snd_sof_utils snd_soc_acpi_intel_match
snd_soc_acpi_intel_sdca_quirks soundwire_generic_allocation
snd_soc_acpi soundwire_bus snd_soc_sdca snd_soc_avs snd_soc_hda_codec
snd_hda_ext_core snd_soc_core snd_compress ac97_bus snd_pcm_dmaengine
iwlmvm iTCO_wdt spi_nor intel_pmc_bxt snd_hda_intel
intel_uncore_frequency mei_pxp mei_hdcp mtd snd_intel_dspcfg
iTCO_vendor_support intel_uncore_frequency_common mac80211
intel_rapl_msr snd_intel_sdw_acpi libarc4 intel_tcc_cooling
x86_pkg_temp_thermal intel_powerclamp uvcvideo uvc videobuf2_vmalloc
snd_hda_codec videobuf2_memops snd_hda_core videobuf2_v4l2 btusb btrtl
snd_hwdep videobuf2_common coretemp
processor_thermal_device_pci_legacy snd_seq btintel iwlwifi
snd_seq_device btbcm processor_thermal_device videodev think_lmi
processor_thermal_wt_hint rapl btmtk intel_cstate intel_uncore pcspkr
bluetooth mc snd_ctl_led firmware_attributes_class
processor_thermal_rfim wmi_bmof snd_pcm mei_me spi_intel_pci
processor_thermal_rapl intel_rapl_common i2c_i801 cfg80211 idma64
[38478.439704] snd_timer spi_intel mei thunderbolt i2c_smbus
processor_thermal_wt_req processor_thermal_power_floor
processor_thermal_mbox thinkpad_acpi igen6_edac intel_soc_dts_iosf
platform_profile rfkill snd int3403_thermal soc_button_array soundcore
int340x_thermal_zone intel_pmc_core int3400_thermal intel_vsec
acpi_thermal_rel intel_hid pmt_telemetry sparse_keymap pmt_class
acpi_tad acpi_pad joydev loop nfnetlink zram lz4hc_compress
lz4_compress xe drm_ttm_helper gpu_sched drm_suballoc_helper drm_gpuvm
drm_exec i915 nvme i2c_algo_bit crct10dif_pclmul drm_buddy
crc32_pclmul crc32c_intel ttm polyval_clmulni polyval_generic
nvme_core ghash_clmulni_intel drm_display_helper sha512_ssse3 video
hid_multitouch ucsi_acpi sha256_ssse3 sha1_ssse3 typec_ucsi nvme_auth
cec typec i2c_hid_acpi i2c_hid wmi pinctrl_tigerlake serio_raw fuse
[38478.439784] CPU: 5 UID: 0 PID: 58840 Comm: kworker/u32:4 Not
tainted 6.13.0-rc7 #272
[38478.439791] Hardware name: LENOVO 20XWCTO1WW/20XWCTO1WW, BIOS
N32ET95W (1.71 ) 10/24/2024
[38478.439795] Workqueue: kec acpi_ec_event_handler
[38478.439805] RIP: 0010:fwtable_read32+0x22e/0x290 [i915]
[38478.440022] Code: 49 03 07 8b 28 e9 54 ff ff ff 80 3d 6f 43 ef ff
00 0f 85 24 fe ff ff 48 c7 c7 de cd c9 c0 c6 05 5b 43 ef ff 01 e8 d2
21 9a fa <0f> 0b e9 0a fe ff ff 49 8b 47 08 48 8b 78 08 48 8b 57 50 48
85 d2
[38478.440026] RSP: 0018:ffffafd74028cee8 EFLAGS: 00010082
[38478.440031] RAX: 0000000000000000 RBX: 00000000000444f8 RCX: 0000000000000027
[38478.440034] RDX: ffff97f6cf6a1908 RSI: 0000000000000001 RDI: ffff97f6cf6a1900
[38478.440037] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
[38478.440039] R10: 0000000000000503 R11: 0000000000000000 R12: ffff97f390020618
[38478.440041] R13: 0000000000000001 R14: ffff97f38ab8fc00 R15: ffff97f390021aa8
[38478.440044] FS: 0000000000000000(0000) GS:ffff97f6cf680000(0000)
knlGS:0000000000000000
[38478.440047] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[38478.440050] CR2: 00003310017c5000 CR3: 000000004802c002 CR4: 0000000000f70ef0
[38478.440054] PKRU: 55555554
[38478.440056] Call Trace:
[38478.440062] <IRQ>
[38478.440066] ? fwtable_read32+0x22e/0x290 [i915]
[38478.440336] ? __warn.cold+0x93/0xfa
[38478.440343] ? fwtable_read32+0x22e/0x290 [i915]
[38478.440557] ? report_bug+0xff/0x140
[38478.440561] ? console_unlock+0x9d/0x140
[38478.440567] ? handle_bug+0x58/0x90
[38478.440574] ? exc_invalid_op+0x17/0x70
[38478.440580] ? asm_exc_invalid_op+0x1a/0x20
[38478.440588] ? fwtable_read32+0x22e/0x290 [i915]
[38478.440795] ? fwtable_read32+0x22e/0x290 [i915]
[38478.441000] ? timerqueue_add+0xa3/0xc0
[38478.441007] gen11_gu_misc_irq_ack+0x5a/0xc0 [i915]
[38478.441364] gen11_irq_handler+0x6f/0xc0 [i915]
[38478.441570] __handle_irq_event_percpu+0x47/0x190
[38478.441577] handle_irq_event+0x38/0x90
[38478.441583] handle_edge_irq+0x8b/0x230
[38478.441588] __common_interrupt+0x49/0xd0
[38478.441597] common_interrupt+0x80/0xa0
[38478.441605] </IRQ>
[38478.441606] <TASK>
[38478.441608] asm_common_interrupt+0x26/0x40
[38478.441615] RIP: 0010:_raw_spin_unlock_irqrestore+0x1d/0x40
[38478.441621] Code: 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e
fa 0f 1f 44 00 00 c6 07 00 0f 1f 00 f7 c6 00 02 00 00 74 06 fb 0f 1f
44 00 00 <65> ff 0d 14 3f e3 43 74 05 c3 cc cc cc cc e8 d0 b5 ec fe c3
cc cc
[38478.441624] RSP: 0018:ffffafd76423bd88 EFLAGS: 00000206
[38478.441628] RAX: 00000000000000bf RBX: 0000000000000282 RCX: 0000000000000001
[38478.441631] RDX: 0000000000000001 RSI: 0000000000000282 RDI: ffff97f380d42088
[38478.441634] RBP: ffff97f380d42000 R08: 0000000000000060 R09: 0000000000000000
[38478.441637] R10: ffffafd76423be08 R11: 0000000000000000 R12: ffff97f380d42088
[38478.441639] R13: 00000001017a994c R14: ffff97f381b89360 R15: 0000000000000005
[38478.441645] acpi_ec_transaction_unlocked+0x110/0x300
[38478.441653] acpi_ec_transaction+0x62/0xd0
[38478.441659] acpi_ec_submit_query+0xbd/0x220
[38478.441666] acpi_ec_event_handler+0x3e/0x100
[38478.441672] process_one_work+0x176/0x330
[38478.441680] worker_thread+0x252/0x390
[38478.441687] ? __pfx_worker_thread+0x10/0x10
[38478.441694] kthread+0xcf/0x100
[38478.441698] ? __pfx_kthread+0x10/0x10
[38478.441703] ret_from_fork+0x31/0x50
[38478.441709] ? __pfx_kthread+0x10/0x10
[38478.441713] ret_from_fork_asm+0x1a/0x30
[38478.441720] </TASK>
[38478.441722] ---[ end trace 0000000000000000 ]---
Powered by blists - more mailing lists