Commit 5a4c7859 authored by Guenter Roeck's avatar Guenter Roeck

Revert "MIPS: csrc-r4k: Apply verification clocksource flags"

This reverts commit 7190401f.

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: default avatarGuenter Roeck <linux@roeck-us.net>
parent 0075df28
...@@ -21,9 +21,7 @@ static struct clocksource clocksource_mips = { ...@@ -21,9 +21,7 @@ static struct clocksource clocksource_mips = {
.name = "MIPS", .name = "MIPS",
.read = c0_hpt_read, .read = c0_hpt_read,
.mask = CLOCKSOURCE_MASK(32), .mask = CLOCKSOURCE_MASK(32),
.flags = CLOCK_SOURCE_IS_CONTINUOUS | .flags = CLOCK_SOURCE_IS_CONTINUOUS,
CLOCK_SOURCE_MUST_VERIFY |
CLOCK_SOURCE_VERIFY_PERCPU,
}; };
static u64 __maybe_unused notrace r4k_read_sched_clock(void) static u64 __maybe_unused notrace r4k_read_sched_clock(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment