• Linus Torvalds's avatar
    Merge tag 'timers-core-2023-06-26' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/tip/tip · cd336f65
    Linus Torvalds authored
    Pull timer updates from Thomas Gleixner:
     "Time, timekeeping and related device driver updates:
    
      Core:
    
       - A set of fixes, cleanups and enhancements to the posix timer code:
    
           - Prevent another possible live lock scenario in the exit() path,
             which affects POSIX_CPU_TIMERS_TASK_WORK enabled architectures.
    
           - Fix a loop termination issue which was reported syzcaller/KSAN
             in the posix timer ID allocation code.
    
             That triggered a deeper look into the posix-timer code which
             unearthed more small issues.
    
           - Add missing READ/WRITE_ONCE() annotations
    
           - Fix or remove completely outdated comments
    
           - Document places which are subtle and completely undocumented.
    
       - Add missing hrtimer modes to the trace event decoder
    
       - Small cleanups and enhancements all over the place
    
      Drivers:
    
       - Rework the Hyper-V clocksource and sched clock setup code
    
       - Remove a deprecated clocksource driver
    
       - Small fixes and enhancements all over the place"
    
    * tag 'timers-core-2023-06-26' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/tip/tip: (39 commits)
      clocksource/drivers/cadence-ttc: Fix memory leak in ttc_timer_probe
      dt-bindings: timers: Add Ralink SoCs timer
      clocksource/drivers/hyper-v: Rework clocksource and sched clock setup
      dt-bindings: timer: brcm,kona-timer: convert to YAML
      clocksource/drivers/imx-gpt: Fold <soc/imx/timer.h> into its only user
      clk: imx: Drop inclusion of unused header <soc/imx/timer.h>
      hrtimer: Add missing sparse annotations to hrtimer locking
      clocksource/drivers/imx-gpt: Use only a single name for functions
      clocksource/drivers/loongson1: Move PWM timer to clocksource framework
      dt-bindings: timer: Add Loongson-1 clocksource
      MIPS: Loongson32: Remove deprecated PWM timer clocksource
      clocksource/drivers/ingenic-timer: Use pm_sleep_ptr() macro
      tracing/timer: Add missing hrtimer modes to decode_hrtimer_mode().
      posix-timers: Add sys_ni_posix_timers() prototype
      tick/rcu: Fix bogus ratelimit condition
      alarmtimer: Remove unnecessary (void *) cast
      alarmtimer: Remove unnecessary initialization of variable 'ret'
      posix-timers: Refer properly to CONFIG_HIGH_RES_TIMERS
      posix-timers: Polish coding style in a few places
      posix-timers: Remove pointless comments
      ...
    cd336f65
tick-sched.c 40.2 KB