• Linus Torvalds's avatar
    Merge tag 'x86-timers-2024-09-17' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · fc1dc0d5
    Linus Torvalds authored
    Pull x86 timer updates from Thomas Gleixner:
    
     - Use the topology information of number of packages for making the
       decision about TSC trust instead of using the number of online nodes
       which is not reflecting the real topology.
    
     - Stop the PIT timer 0 when its not in use as to stop pointless
       emulation in the VMM.
    
     - Fix the PIT timer stop sequence for timer 0 so it truly stops both
       real hardware and buggy VMM emulations.
    
    * tag 'x86-timers-2024-09-17' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      x86/tsc: Check for sockets instead of CPUs to make code match comment
      clockevents/drivers/i8253: Fix stop sequence for timer 0
      x86/i8253: Disable PIT timer 0 when not in use
      x86/tsc: Use topology_max_packages() to get package number
    fc1dc0d5
mshyperv.c 18.1 KB