Thomas Gleixner
1fabae5c84
lib/vdso: Update coarse timekeeper unconditionally
...
commit 9f24c540f7f8eb3a981528da9a9a636a5bdf5987 upstream.
The low resolution parts of the VDSO, i.e.:
clock_gettime(CLOCK_*_COARSE), clock_getres(), time()
can be used even if there is no VDSO capable clocksource.
But if an architecture opts out of the VDSO data update then this
information becomes stale. This affects ARM when there is no architected
timer available. The lack of update causes userspace to use stale data
forever.
Make the update of the low resolution parts unconditional and only skip
the update of the high resolution parts if the architecture requests it.
Fixes: 44f57d788e ("timekeeping: Provide a generic update_vsyscall() implementation")
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20200114185946.765577901@linutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-03-05 16:43:49 +01:00
..
alarmtimer.c
alarmtimer: Make alarmtimer platform device child of RTC device
2020-02-24 08:36:57 +01:00
clockevents.c
clocksource.c
clocksource: Prevent double add_timer_on() for watchdog_timer
2020-02-11 04:35:54 -08:00
hrtimer.c
hrtimer: Annotate lockless access to timer->state
2020-01-04 19:18:41 +01:00
itimer.c
posix-cpu-timers: Switch thread group sampling to array
2019-08-28 11:50:39 +02:00
jiffies.c
Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2019-05-06 14:50:46 -07:00
Kconfig
treewide: Add SPDX license identifier - Makefile/Kconfig
2019-05-21 10:50:46 +02:00
Makefile
timekeeping: Provide a generic update_vsyscall() implementation
2019-06-22 21:21:06 +02:00
ntp.c
ntp/y2038: Remove incorrect time_t truncation
2019-11-12 08:13:44 +01:00
ntp_internal.h
posix-clock.c
ptp: fix the race between the release of ptp_clock and cdev
2020-01-04 19:18:48 +01:00
posix-cpu-timers.c
posix-cpu-timers: Fix two trivial comments
2019-10-23 14:48:24 +02:00
posix-stubs.c
posix-timers.c
hrtimer: Improve comments on handling priority inversion against softirq kthread
2019-08-20 22:05:46 +02:00
posix-timers.h
posix-timers: Use a callback for cancel synchronization on PREEMPT_RT
2019-08-20 22:05:46 +02:00
sched_clock.c
timers/sched_clock: Include local timekeeping.h for missing declarations
2019-10-23 14:48:23 +02:00
test_udelay.c
tick-broadcast-hrtimer.c
tick: broadcast-hrtimer: Fix a race in bc_set_next
2019-09-27 14:45:55 +02:00
tick-broadcast.c
tick: Fix typos in comments
2019-04-19 19:17:04 +02:00
tick-common.c
Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2019-05-06 14:50:46 -07:00
tick-internal.h
tick-oneshot.c
tick-sched.c
tick/sched: Annotate lockless access to last_jiffies_update
2020-01-23 08:22:55 +01:00
tick-sched.h
time.c
time: Zero the upper 32-bits in __kernel_timespec on 32-bit
2019-12-13 08:42:18 +01:00
timeconst.bc
timeconv.c
timecounter.c
timekeeping.c
timekeeping/vsyscall: Prevent math overflow in BOOTTIME update
2019-08-23 02:12:11 +02:00
timekeeping.h
timers/sched_clock: Prevent generic sched_clock wrap caused by tick_freeze()
2019-04-18 14:34:53 +02:00
timekeeping_debug.c
timekeeping_internal.h
timer.c
timer: Read jiffies once when forwarding base clk
2019-09-19 17:50:11 +02:00
timer_list.c
timer_list: Guard procfs specific code
2019-06-23 00:08:52 +02:00
vsyscall.c
lib/vdso: Update coarse timekeeper unconditionally
2020-03-05 16:43:49 +01:00