Bug 215075 - BUG: scheduling while atomic: cpuhp/1/21/0x00000002 when going out of sleep S3 state
Summary: BUG: scheduling while atomic: cpuhp/1/21/0x00000002 when going out of sleep S...
Status: NEW
Alias: None
Product: Process Management
Classification: Unclassified
Component: Scheduler (show other bugs)
Hardware: x86-64 Linux
: P1 normal
Assignee: drivers_platform_x86@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-19 13:38 UTC by Lahfa Samy
Modified: 2022-08-31 14:09 UTC (History)
3 users (show)

See Also:
Kernel Version: 5.15.2-arch1-1
Subsystem:
Regression: No
Bisected commit-id:


Attachments
Dmesg log of the bug when going out of sleep S3 state (52.16 KB, text/plain)
2021-11-19 13:38 UTC, Lahfa Samy
Details
Complete/exhaustive dmesg logs for kernel 5.15.7-arch1-1 (46.98 KB, text/plain)
2021-12-11 19:40 UTC, Lahfa Samy
Details

Description Lahfa Samy 2021-11-19 13:38:21 UTC
Created attachment 299641 [details]
Dmesg log of the bug when going out of sleep S3 state

This bug has begun to happen recently, I do not remember however what was the exact kernel that introduced this bug.

My computer is a Thinkpad T495 with a Ryzen Pro 7 3700U with a integrated graphics card a Vega RX 10.
Comment 1 Lahfa Samy 2021-12-11 19:40:31 UTC
Created attachment 299997 [details]
Complete/exhaustive dmesg logs for kernel 5.15.7-arch1-1

This bug is still happening on kernel 5.15.7-arch1-1 #1 SMP PREEMPT Wed, 08 Dec 2021 14:33:16 +0000 x86_64 GNU/Linux, this bug does not seem to affect the usability of the laptop.
Comment 2 Ricardo T.Liu 2022-07-13 09:25:14 UTC
Hi, I've looked at the log you gave, and I think there was an error checking the atomic state of the cpu.
/*
 * The former STARTING/DYING states, ran with IRQs disabled and must not fail.
 */
static bool cpuhp_is_atomic_state(enum cpuhp_state state)
{
	return CPUHP_AP_IDLE_DEAD <= state && state < CPUHP_AP_ONLINE;
}
And I found a computer similar to yours and did not reproduce the problem, I guess you may need to overhaul your hardware.
Comment 3 Lahfa Samy 2022-07-13 11:28:50 UTC
So you recommmend me to ask for a warranty covered repair, my laptop is still under warranty for any hardware issue/default

Note You need to log in before you can comment on or make changes to this bug.