diff options
| author | Anirudh Srinivasan <asrinivasan@oss.tenstorrent.com> | 2026-10-02 16:54:46 -0500 |
|---|---|---|
| committer | Shuah Khan <skhan@linuxfoundation.org> | 2026-10-19 18:05:00 -0600 |
| commit | 368e5d4d12a802ee3708800319cd13904721286f (patch) | |
| tree | 45a0adafd6e02998243460f46d5649e07bd4b46e /scripts/Makefile.vmlinux_a | |
| parent | 39261b797f40e5ac29d1bb85a676f74cbfd55e9e (diff) | |
selftests: breakpoints: Skip step_after_suspend_test on systems without a wakeup capable RTC
This test puts a system into suspend state and uses CLOCK_BOOTTIME_ALARM
to wake the system up. This alarm can only wake up systems that have a
wakeup capable RTC source. On systems without such an RTC (for example,
most RISC-V boards), this test puts the system into suspend and just
hangs, requiring power cycling.
clock_getres(CLOCK_BOOTTIME_ALARM) fails with EINVAL on such systems,
so add a check based on that to skip this test on systems without a
wakeup capable RTC source.
Link: https://lore.kernel.org/r/20261002-breakpoints_rtc-v1-1-a3b6542a0fdf@oss.tenstorrent.com
Signed-off-by: Anirudh Srinivasan <asrinivasan@oss.tenstorrent.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'scripts/Makefile.vmlinux_a')
0 files changed, 0 insertions, 0 deletions
