Bugzilla – Bug 1215602
WARNING at drivers/acpi/platform_profile.c:74 platform_profile_show+0xa6/0xd0
Last modified: 2024-03-04 08:05:06 UTC
Happens for quite some time. > WARNING: CPU: 9 PID: 936 at drivers/acpi/platform_profile.c:74 platform_profile_show+0xa6/0xd0 [platform_profile] > Modules linked in: usblp rpcsec_gss_krb5 ... > CPU: 9 PID: 936 Comm: power-profiles- Kdump: loaded Tainted: G W 6.5.0-3.gf17167b-default #1 openSUSE Tumbleweed (u> > Hardware name: LENOVO 21CRS0K83K/21CRS0K83K, BIOS R22ET60W (1.30 ) 02/09/2023 > RIP: 0010:platform_profile_show+0xa6/0xd0 [platform_profile] > Code: c6 b0 90 b4 c0 48 89 ef e8 07 aa 37 ca 48 98 48 8b 54 24 08 65 48 2b 14 25 28 00 00 00 75 2b 48 83 c4 10 5b 5d e9 5a c1 b9 ca> > RSP: 0018:ffffb8e8c2f57d50 EFLAGS: 00010216 > RAX: 000000000eaefaf0 RBX: 0000000000000000 RCX: ffffffffc0b47060 > RDX: 0000000000000000 RSI: ffffb8e8c2f57d54 RDI: ffffffffc0b470a0 > RBP: ffff9af8144b8000 R08: ffff9afc5f173180 R09: ffff9af540eade00 > R10: 000000010696c009 R11: 000000000003f680 R12: ffffb8e8c2f57e10 > R13: ffffb8e8c2f57de8 R14: 0000000000000001 R15: ffffb8e8c2f57e80 > FS: 00007f91830698c0(0000) GS:ffff9afc5ee80000(0000) knlGS:0000000000000000 > CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > CR2: 00007ffa73d181e8 CR3: 0000000103226000 CR4: 0000000000750ee0 > PKRU: 55555554 > Call Trace: > <TASK> > sysfs_kf_seq_show+0xab/0x100 > seq_read_iter+0x123/0x480 > vfs_read+0x1b8/0x300 Here: if (WARN_ON((profile < 0) || (profile >= ARRAY_SIZE(profile_names)))) { Added a printk to dump profile and cur_profile->profile_get (I assume dytc_profile_get()).
(In reply to Jiri Slaby from comment #0) > Happens for quite some time. Since 6.3 according to logs.
Reported at: https://lore.kernel.org/all/047d3c51-0a9e-4c3e-beef-625a7aa4f3c3@kernel.org/
Should be fixed now by: commit 427c70dec738318b7f71e1b9d829ff0e9771d493 Author: Mario Limonciello <mario.limonciello@amd.com> Date: Fri Feb 16 20:23:11 2024 -0600 platform/x86: thinkpad_acpi: Only update profile if successfully converted In v6.7.7 already.