Skip to content
Snippets Groups Projects
  1. Jun 02, 2021
    • Michael Zhivich's avatar
      x86/tsc: Respect tsc command line paraemeter for clocksource_tsc_early · a83b988c
      Michael Zhivich authored
      mainline inclusion
      from mainline-v5.4-rc4
      commit 63ec58b4
      category: bugfix
      bugzilla: https://gitee.com/openeuler/kernel/issues/I3T8ZP?from=project-issue
      CVE: NA
      
      --------------------------------
      
      The introduction of clocksource_tsc_early broke the functionality of
      "tsc=reliable" and "tsc=nowatchdog" command line parameters, since
      clocksource_tsc_early is unconditionally registered with
      CLOCK_SOURCE_MUST_VERIFY and thus put on the watchdog list.
      
      This can cause the TSC to be declared unstable during boot:
      
        clocksource: timekeeping watchdog on CPU0: Marking clocksource
                     'tsc-early' as unstable because the skew is too large:
        clocksource: 'refined-jiffies' wd_now: fffb7018 wd_last: fffb6e9d
                     mask: ffffffff
        clocksource: 'tsc-early' cs_now: 68a6a7070f6a0 cs_last: 68a69ab6f74d6
                     mask: ffffffffffffffff
        tsc: Marking TSC unstable due to clocksource watchdog
      
      The co...
      a83b988c
  2. Jun 01, 2021
  3. May 31, 2021