[PATCH 0/5] PM: runtime: Autosuspend race condition fixes + tests
From: Brian Norris
Date: Tue Sep 29 2026 - 14:48:18 EST
This series includes a few semi-related bugfixes for race conditions
around autosuspend and asynchronous suspend, as well as KUnit tests.
They don't all have to go together, but because their tests are added to
the same file, it helps to group them to avoid conflicts.
- Brian
Brian Norris (5):
PM: runtime: Cancel pending only during non-transient suspend failure
PM: runtime: Avoid racy clock checks for autosuspend-retry
PM: runtime: Add test for autosuspend-rearm
PM: runtime: Synchronous suspend when updating autosuspend
PM: runtime: Add test for pending-autosuspend + teardown
drivers/base/power/runtime-test.c | 97 +++++++++++++++++++++++++++++++
drivers/base/power/runtime.c | 52 +++++++++++------
include/linux/pm_runtime.h | 7 ++-
3 files changed, 138 insertions(+), 18 deletions(-)
--
2.56.0.rc1.315.gc6ed9934b7-goog