• Linus Torvalds's avatar
    Merge branch 'x86-timers-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 3ad918e6
    Linus Torvalds authored
    Pull x86 timers updates from Thomas Gleixner:
     "This update contains:
    
       - The solution for the TSC deadline timer borkage, which is caused by
         a hardware problem in the TSC_ADJUST/TSC_DEADLINE_TIMER logic.
    
         The problem is documented now and fixed with a microcode update, so
         we can remove the workaround and just check for the microcode version.
    
         If the microcode is not up to date, then the TSC deadline timer is
         disabled. If the borkage is fixed by the proper microcode version,
         then the deadline timer can be used. In both cases the restrictions
         to the range of the TSC_ADJUST value, which were added as
         workarounds, are removed.
    
      - A few simple fixes and updates to the timer related x86 code"
    
    * 'x86-timers-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      x86/tsc: Call check_system_tsc_reliable() before unsynchronized_tsc()
      x86/hpet: Do not use smp_processor_id() in preemptible code
      x86/time: Make setup_default_timer_irq() static
      x86/tsc: Remove the TSC_ADJUST clamp
      x86/apic: Add TSC_DEADLINE quirk due to errata
      x86/apic: Change the lapic name in deadline mode
    3ad918e6
tsc.c 34.3 KB