KVM: s390: clear floating interrupt bitmap and parameters
commit534c9f9886c25221d4f4dd396cd78b67214c1796
authorJens Freimann <jfrei@linux.vnet.ibm.com>
Mon, 22 Jun 2015 11:20:12 +0000 (22 13:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Jul 2015 16:49:36 +0000 (10 09:49 -0700)
tree7808cbc83687de64f4004999400e6f4d7be3734d
parent14fe2f14d73609cfdb19b71467d085e5347f7353
KVM: s390: clear floating interrupt bitmap and parameters

commit f2ae45edbca7ba5324eef01719ede0151dc5cead upstream.

commit 6d3da24141 ("KVM: s390: deliver floating interrupts in order
of priority") introduced a regression for the reset handling.

We don't clear the bitmap of pending floating interrupts
and interrupt parameters. This could result in stale interrupts
even after a reset. Let's fix this by clearing the pending bitmap
and the parameters for service and machine check interrupts.

Signed-off-by: Jens Freimann <jfrei@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/s390/kvm/interrupt.c