1. 23 May, 2008 2 commits
    • Thomas Gleixner's avatar
      x86: distangle user disabled TSC from unstable · 9ccc906c
      Thomas Gleixner authored
      tsc_enabled is set to 0 from the command line switch "notsc" and from
      the mark_tsc_unstable code. Seperate those functionalities and replace
      tsc_enable with tsc_disable. This makes also the native_sched_clock()
      decision when to use TSC understandable.
      
      Preparatory patch to solve the sched_clock() issue on 32 bit.
      Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
      9ccc906c
    • Thomas Gleixner's avatar
      x86: fix setup of cyc2ns in tsc_64.c · b6db80ee
      Thomas Gleixner authored
      When the TSC is calibrated against the PIT due to the nonavailability
      of PMTIMER/HPET or due to SMI interference then the setup of the per
      CPU cyc2ns variables is skipped. This is unlikely to happen but it
      would definitely render sched_clock() unusable.
      
      This was introduced with commit 53d517cd
      
          x86: scale cyc_2_nsec according to CPU frequency
      
      Update the per CPU cyc2ns variables in all exit pathes of tsc_calibrate.
      Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Cc: stable@kernel.org
      b6db80ee
  2. 22 May, 2008 14 commits
  3. 21 May, 2008 24 commits