1
0
Fork 0
remarkable-linux/arch/s390/kernel/vdso32
Martin Schwidefsky 75c7b6f3f6 s390/time: steer clocksource on STP sync events
On STP sync events the TOD clock will jump in time, either forward or
backward. The TOD clocksource claims to be continuous but in case of
an STP sync with a negative offset it is not.

Subtract the offset injected by the STP sync check from the result of
the TOD clocksource to make it continuous again. Add code to drift the
offset towards zero with a fixed rate, steering 1 second in ~9 hours.

Suggested-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2016-10-28 10:09:02 +02:00
..
.gitignore s390: add various .gitignore files. 2012-05-16 14:42:41 +02:00
Makefile s390: enable UBSAN 2016-09-20 14:26:23 +02:00
clock_getres.S s390/vdso: add vdso support for coarse clocks 2014-09-09 08:53:27 +02:00
clock_gettime.S s390/time: steer clocksource on STP sync events 2016-10-28 10:09:02 +02:00
getcpu.S s390/vdso: optimize getcpu system call 2016-01-11 13:01:24 +01:00
gettimeofday.S s390/time: steer clocksource on STP sync events 2016-10-28 10:09:02 +02:00
note.S [S390] introduce vdso on s390 2008-12-25 13:38:55 +01:00
vdso32.lds.S s390/vdso: optimize getcpu system call 2016-01-11 13:01:24 +01:00
vdso32_wrapper.S Use macros for .data.page_aligned section. 2009-09-21 06:27:08 +02:00