• Linus Torvalds's avatar
    Merge tag 'timers-core-2021-04-26' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 87dcebff
    Linus Torvalds authored
    Pull timer updates from Thomas Gleixner:
     "The time and timers updates contain:
    
      Core changes:
    
       - Allow runtime power management when the clocksource is changed.
    
       - A correctness fix for clock_adjtime32() so that the return value on
         success is not overwritten by the result of the copy to user.
    
       - Allow late installment of broadcast clockevent devices which was
         broken because nothing switched them over to oneshot mode. This
         went unnoticed so far because clockevent devices used to be built
         in, but now people started to make them modular.
    
       - Debugfs related simplifications
    
       - Small cleanups and improvements here and there
    
      Driver changes:
    
       - The usual set of device tree binding updates for a wide range of
         drivers/devices.
    
       - The usual updates and improvements for drivers all over the place
         but nothing outstanding.
    
       - No new clocksource/event drivers. They'll come back next time"
    
    * tag 'timers-core-2021-04-26' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (24 commits)
      posix-timers: Preserve return value in clock_adjtime32()
      tick/broadcast: Allow late registered device to enter oneshot mode
      tick: Use tick_check_replacement() instead of open coding it
      time/timecounter: Mark 1st argument of timecounter_cyc2time() as const
      dt-bindings: timer: nuvoton,npcm7xx: Add wpcm450-timer
      clocksource/drivers/arm_arch_timer: Add __ro_after_init and __init
      clocksource/drivers/timer-ti-dm: Handle dra7 timer wrap errata i940
      clocksource/drivers/timer-ti-dm: Prepare to handle dra7 timer wrap issue
      clocksource/drivers/dw_apb_timer_of: Add handling for potential memory leak
      clocksource/drivers/npcm: Add support for WPCM450
      clocksource/drivers/sh_cmt: Don't use CMTOUT_IE with R-Car Gen2/3
      clocksource/drivers/pistachio: Fix trivial typo
      clocksource/drivers/ingenic_ost: Fix return value check in ingenic_ost_probe()
      clocksource/drivers/timer-ti-dm: Add missing set_state_oneshot_stopped
      clocksource/drivers/timer-ti-dm: Fix posted mode status check order
      dt-bindings: timer: renesas,cmt: Document R8A77961
      dt-bindings: timer: renesas,cmt: Add r8a779a0 CMT support
      clocksource/drivers/ingenic-ost: Add support for the JZ4760B
      clocksource/drivers/ingenic: Add support for the JZ4760
      dt-bindings: timer: ingenic: Add compatible strings for JZ4760(B)
      ...
    87dcebff
tick-sched.c 36.6 KB