]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
KVM: s390: take care of clock-comparator sign control
authorDavid Hildenbrand <david@redhat.com>
Wed, 7 Feb 2018 11:46:42 +0000 (12:46 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 20 Feb 2018 20:50:29 +0000 (20:50 +0000)
commit5fe01793dd953ab947fababe8abaf5ed5258c8df
treed03e75f8bebc3f533f56f7808852453ed32bba1d
parentbaabee67f4135e3de87bc874929ac50637aacb0d
KVM: s390: take care of clock-comparator sign control

Missed when enabling the Multiple-epoch facility. If the facility is
installed and the control is set, a sign based comaprison has to be
performed.

Right now we would inject wrong interrupts and ignore interrupt
conditions. Also the sleep time is calculated in a wrong way.

Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20180207114647.6220-2-david@redhat.com>
Fixes: 8fa1696ea781 ("KVM: s390: Multiple Epoch Facility support")
Cc: stable@vger.kernel.org
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/kvm/interrupt.c