linux/drivers/s390
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
..
block s390/time: LPAR offset handling 2016-06-13 15:58:20 +02:00
char s390/cpuinfo: show dynamic and static cpu mhz 2016-06-13 15:58:17 +02:00
cio s390/time: STP sync clock correction 2016-06-13 15:58:19 +02:00
crypto s390: make couple of variables and functions static 2016-05-10 13:24:50 +02:00
net drivers: fix dev->trans_start removal fallout 2016-05-04 17:07:14 -04:00
scsi zfcp: Revert to original scanning behaviour 2016-04-15 16:53:12 -04:00
virtio virtio/s390: size of SET_IND payload 2016-03-02 18:08:59 +02:00
Makefile virtio/s390: rename drivers/s390/kvm -> drivers/s390/virtio 2015-07-07 14:27:06 +03:00