Martin Schwidefsky 4027789192 s390/time: LPAR offset handling
It is possible to specify a user offset for the TOD clock, e.g. +2 hours.
The TOD clock will carry this offset even if the clock is synchronized
with STP. This makes the time stamps acquired with get_sync_clock()
useless as another LPAR migth use a different TOD offset.

Use the PTFF instrution to get the TOD epoch difference and subtract
it from the TOD clock value to get a physical timestamp. As the epoch
difference contains the sync check delta as well the LPAR offset value
to the physical clock needs to be refreshed after each clock
synchronization.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2016-06-13 15:58:20 +02:00
..
2016-05-24 15:24:37 -07:00
2016-05-24 11:00:20 -07:00
2016-05-20 17:58:30 -07:00
2016-05-24 15:24:37 -07:00
2016-05-24 15:24:37 -07:00
2016-06-10 12:23:49 -07:00
2016-06-13 15:58:20 +02:00
2016-05-24 15:24:37 -07:00