diff options
author | Guenter Roeck <linux@roeck-us.net> | 2024-08-05 18:13:41 -0700 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2024-08-25 15:26:30 -0700 |
commit | 5a4c785905fd9361d067127b42564c08893f2a6f (patch) | |
tree | 5c4f17b25d73c0ff0367d40dd7755834a640c09d /arch | |
parent | 0075df288dd8a7abfe03b3766176c393063591dd (diff) | |
download | lwn-5a4c785905fd9361d067127b42564c08893f2a6f.tar.gz lwn-5a4c785905fd9361d067127b42564c08893f2a6f.zip |
Revert "MIPS: csrc-r4k: Apply verification clocksource flags"
This reverts commit 7190401fc56fb5f02ee3d04476778ab000bbaf32.
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/kernel/csrc-r4k.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/mips/kernel/csrc-r4k.c b/arch/mips/kernel/csrc-r4k.c index bdb1fa8931f4..59eca397f297 100644 --- a/arch/mips/kernel/csrc-r4k.c +++ b/arch/mips/kernel/csrc-r4k.c @@ -21,9 +21,7 @@ static struct clocksource clocksource_mips = { .name = "MIPS", .read = c0_hpt_read, .mask = CLOCKSOURCE_MASK(32), - .flags = CLOCK_SOURCE_IS_CONTINUOUS | - CLOCK_SOURCE_MUST_VERIFY | - CLOCK_SOURCE_VERIFY_PERCPU, + .flags = CLOCK_SOURCE_IS_CONTINUOUS, }; static u64 __maybe_unused notrace r4k_read_sched_clock(void) |