KVM: s390: clear floating interrupt bitmap and parameters
authorJens Freimann <jfrei@linux.vnet.ibm.com>
Mon, 22 Jun 2015 11:20:12 +0000 (13:20 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 23 Jun 2015 15:02:39 +0000 (17:02 +0200)
commitf2ae45edbca7ba5324eef01719ede0151dc5cead
treebd123ebddaa33ed2a30ce601d725fc49e4369f9d
parent6912ac326d3aab9c0774ebec99f60a73fd04a520
KVM: s390: clear floating interrupt bitmap and parameters

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.

Cc: stable@vger.kernel.org # 4.1
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>
arch/s390/kvm/interrupt.c