Merge tag 'timers-core-2021-08-30' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull timer updates from Thomas Gleixner:
"Updates for timekeeping, timers and related drivers:
Core code:
- Cure a couple of correctness issues in the posix CPU timer code to
prevent that the tick dependency for NOHZ full is kept alive for no
reason.
- Avoid expensive double reprogramming of the clockevent device in
hrtimer_start_range_ns().
- Avoid pointless SMP function calls when the clock was set to avoid
disturbing CPUs which do not have any affected timers queued.
- Make the clocksource watchdog test work correctly when CONFIG_HZ is
less than 100.
Drivers:
- Prefer the ARM architected timer over the Exynos timer which is way
more expensive to access.
- Add device tree bindings for new Ingenic SoCs
- The usual improvements and cleanups all over the place"
* tag 'timers-core-2021-08-30' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (29 commits)
clocksource: Make clocksource watchdog test safe for slow-HZ systems
dt-bindings: timer: Add ABIs for new Ingenic SoCs
clocksource/drivers/fttmr010: Pass around less pointers
clocksource/drivers/mediatek: Optimize systimer irq clear flow on shutdown
clocksource/drivers/ingenic: Use bitfield macro helpers
clocksource/drivers/sh_cmt: Fix wrong setting if don't request IRQ for clock source channel
dt-bindings: timer: convert rockchip,rk-timer.txt to YAML
clocksource/drivers/exynos_mct: Mark MCT device as CLOCK_EVT_FEAT_PERCPU
clocksource/drivers/exynos_mct: Prioritise Arm arch timer on arm64
hrtimer: Unbreak hrtimer_force_reprogram()
hrtimer: Use raw_cpu_ptr() in clock_was_set()
hrtimer: Avoid more SMP function calls in clock_was_set()
hrtimer: Avoid unnecessary SMP function calls in clock_was_set()
hrtimer: Add bases argument to clock_was_set()
time/timekeeping: Avoid invoking clock_was_set() twice
timekeeping: Distangle resume and clock-was-set events
timerfd: Provide timerfd_resume()
hrtimer: Force clock_was_set() handling for the HIGHRES=n, NOHZ=y case
hrtimer: Ensure timerfd notification for HIGHRES=n
hrtimer: Consolidate reprogramming code
...
This commit is contained in:
@@ -13,4 +13,23 @@
|
||||
#define OST_CLK_PERCPU_TIMER2 3
|
||||
#define OST_CLK_PERCPU_TIMER3 4
|
||||
|
||||
#define OST_CLK_EVENT_TIMER 1
|
||||
|
||||
#define OST_CLK_EVENT_TIMER0 0
|
||||
#define OST_CLK_EVENT_TIMER1 1
|
||||
#define OST_CLK_EVENT_TIMER2 2
|
||||
#define OST_CLK_EVENT_TIMER3 3
|
||||
#define OST_CLK_EVENT_TIMER4 4
|
||||
#define OST_CLK_EVENT_TIMER5 5
|
||||
#define OST_CLK_EVENT_TIMER6 6
|
||||
#define OST_CLK_EVENT_TIMER7 7
|
||||
#define OST_CLK_EVENT_TIMER8 8
|
||||
#define OST_CLK_EVENT_TIMER9 9
|
||||
#define OST_CLK_EVENT_TIMER10 10
|
||||
#define OST_CLK_EVENT_TIMER11 11
|
||||
#define OST_CLK_EVENT_TIMER12 12
|
||||
#define OST_CLK_EVENT_TIMER13 13
|
||||
#define OST_CLK_EVENT_TIMER14 14
|
||||
#define OST_CLK_EVENT_TIMER15 15
|
||||
|
||||
#endif /* __DT_BINDINGS_CLOCK_INGENIC_OST_H__ */
|
||||
|
||||
Reference in New Issue
Block a user