android_kernel_oneplus_msm8998/arch/s390
Martin Schwidefsky c26190b537 s390/cputime: fix incorrect system time
commit 07a63cbe8bcb6ba72fb989dcab1ec55ec6c36c7e upstream.

git commit c5328901aa "[S390] entry[64].S improvements" removed
the update of the exit_timer lowcore field from the critical section
cleanup of the .Lsysc_restore/.Lsysc_done and .Lio_restore/.Lio_done
blocks. If the PSW is updated by the critical section cleanup to point to
user space again, the interrupt entry code will do a vtime calculation
after the cleanup completed with an exit_timer value which has *not* been
updated. Due to this incorrect system time deltas are calculated.

If an interrupt occured with an old PSW between .Lsysc_restore/.Lsysc_done
or .Lio_restore/.Lio_done update __LC_EXIT_TIMER with the system entry
time of the interrupt.

Tested-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-05-25 14:30:09 +02:00
..
appldata
boot s390/decompressor: fix initrd corruption caused by bss clear 2017-04-12 12:38:34 +02:00
configs s390/defconfig: set SCSI_DH=y 2015-10-01 10:48:36 +02:00
crypto s390/crypto: unlock on error in prng_tdes_read() 2017-01-12 11:22:49 +01:00
hypfs s390/hypfs: Use get_free_page() instead of kmalloc to ensure page alignment 2016-11-18 10:48:34 +01:00
include s390/mm: fix CMMA vs KSM vs others 2017-04-27 09:09:32 +02:00
kernel s390/cputime: fix incorrect system time 2017-05-25 14:30:09 +02:00
kvm KVM: s390: Disable dirty log retrieval for UCONTROL guests 2017-03-15 09:57:11 +08:00
lib s390/bitops: remove 31 bit related comments 2015-10-14 14:32:15 +02:00
mm KVM: s390: Fix guest migration for huge guests resulting in panic 2017-03-18 19:09:58 +08:00
net s390/bpf: reduce maximum program size to 64 KB 2016-06-24 10:18:19 -07:00
numa s390/numa: write kernel message when emu_size has been increased 2015-10-14 14:31:59 +02:00
oprofile s390/oprofile: fix compile error 2015-07-01 09:34:39 +02:00
pci s390/pci: fix use after free in dma_init 2017-03-26 12:13:18 +02:00
defconfig s390: new default configuration 2015-06-25 09:39:25 +02:00
Kbuild s390/numa: add core infrastructure 2015-08-03 18:40:25 +02:00
Kconfig IOMMU Updates for Linux v4.4 2015-11-05 16:12:10 -08:00
Kconfig.debug
Makefile s390/sclp: convert early sclp console code to C 2015-07-29 09:11:39 +02:00