Re: [PATCH 7/7] rtc: cmos: Add suspend/resume endurance testing hook

From
Rafael J. Wysocki <rafael@kernel.org>
Date
2022-05-17 15:14:39
Also in
linux-acpi, linux-pm, linux-wireless
Reply to
Zhang Rui, 2022-05-05
On Thu, May 5, 2022 at 3:58 AM Zhang Rui [off-list ref] wrote:
Automated suspend/resume testing uses the RTC for wakeup.
A short rtcwake period is desirable, so that more suspend/resume
cycles can be completed, while the machine is available for testing.

But if too short a wake interval is specified, the event can occur,
while still suspending, and then no event wakes the suspended system
until the user notices that testing has stalled, and manually intervenes.
If the wakeup event occurs while still suspending, it should abort the
suspend in progress, shouldn't it?  But the above implies that it
doesn't do that.

If this is fixed, wouldn't it address the issue at hand?
Thread (26 messages) 26 messages, 5 authors, last reply 2022-05-19
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help