Lines Matching +full:skew +full:- +full:delay
1 // SPDX-License-Identifier: GPL-2.0+
18 #include <linux/delay.h>
22 #include "tick-internal.h"
41 .name = "wdtest-jiffies",
62 udelay(cs->uncertainty_margin / 250); in wdtest_ktime_read()
63 WRITE_ONCE(wdtest_ktime_read_ndelays, wkrn - 1); in wdtest_ktime_read()
67 sign = -sign; in wdtest_ktime_read()
75 pr_info("--- Marking %s unstable due to clocksource watchdog.\n", cs->name); in wdtest_ktime_cs_mark_unstable()
84 .name = "wdtest-ktime",
114 * Verify that jiffies-like clocksources get the manually in wdtest_func()
117 pr_info("--- Verify jiffies-like uncertainty margin.\n"); in wdtest_func()
129 * Verify that tsc-like clocksources are assigned a reasonable in wdtest_func()
132 pr_info("--- Verify tsc-like uncertainty margin.\n"); in wdtest_func()
139 pr_info("--- tsc-like times: %lu - %lu = %lu.\n", j2, j1, j2 - j1); in wdtest_func()
141 "Expected at least 1000ns, got %lu.\n", j2 - j1); in wdtest_func()
143 /* Verify tsc-like stability with various numbers of errors injected. */ in wdtest_func()
151 s = ", expect clock skew"; in wdtest_func()
152 pr_info("--- Watchdog with %dx error injection, %d retries%s.\n", i, max_retries, s); in wdtest_func()
161 /* Verify tsc-like stability with clock-value-fuzz error injection. */ in wdtest_func()
162 …pr_info("--- Watchdog clock-value-fuzz error injection, expect clock skew and per-CPU mismatches.\… in wdtest_func()
171 pr_info("--- Done with test.\n"); in wdtest_func()
177 pr_alert("--- holdoff=%d\n", holdoff); in wdtest_print_module_parms()
191 /* Create watchdog-test task. */ in clocksource_wdtest_init()