Skip to content

Commit 5a4c785

Browse files
committed
Revert "MIPS: csrc-r4k: Apply verification clocksource flags"
This reverts commit 7190401. Verifying the clock source sometimes deems the MIPS clock to be unstable, at least in qemu. clocksource: timekeeping watchdog on CPU0: Marking clocksource 'MIPS' as unstable because the skew is too large: clocksource: 'jiffies' wd_nsec: 500000000 wd_now: ffff8bde wd_last: ffff8bac mask: ffffffff clocksource: 'MIPS' cs_nsec: 940634468 cs_now: 310181c4 cs_last: 28090a09 mask: ffffffff clocksource: Clocksource 'MIPS' skewed 440634468 ns (440 ms) over watchdog 'jiffies' interval of 500000000 ns (500 ms) clocksource: 'MIPS' is current clocksource. If this happens, network interfaces fail to come online. Signed-off-by: Guenter Roeck <linux@roeck-us.net>
1 parent 0075df2 commit 5a4c785

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

arch/mips/kernel/csrc-r4k.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ static struct clocksource clocksource_mips = {
2121
.name = "MIPS",
2222
.read = c0_hpt_read,
2323
.mask = CLOCKSOURCE_MASK(32),
24-
.flags = CLOCK_SOURCE_IS_CONTINUOUS |
25-
CLOCK_SOURCE_MUST_VERIFY |
26-
CLOCK_SOURCE_VERIFY_PERCPU,
24+
.flags = CLOCK_SOURCE_IS_CONTINUOUS,
2725
};
2826

2927
static u64 __maybe_unused notrace r4k_read_sched_clock(void)

0 commit comments

Comments
 (0)