diff options
author | David Hildenbrand <dahi@linux.vnet.ibm.com> | 2015-05-12 09:49:14 +0200 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2015-10-13 15:50:35 +0200 |
commit | 25ed16759660cdfccd4a3cb7d30cce8a797b542a (patch) | |
tree | 4aafb77404f7fede2ac763509169a0f586b21c9e /arch/unicore32 | |
parent | KVM: s390: switch to get_tod_clock() and fix STP sync races (diff) | |
download | linux-25ed16759660cdfccd4a3cb7d30cce8a797b542a.tar.xz linux-25ed16759660cdfccd4a3cb7d30cce8a797b542a.zip |
KVM: s390: factor out and fix setting of guest TOD clock
Let's move that whole logic into one function. We now always use unsigned
values when calculating the epoch (to avoid over/underflow defined).
Also, we always have to get all VCPUs out of SIE before doing the update
to avoid running differing VCPUs with different TODs.
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'arch/unicore32')
0 files changed, 0 insertions, 0 deletions