KVM: s390: clear floating interrupt bitmap and parameters
authorJens Freimann <[email protected]>
Mon, 22 Jun 2015 11:20:12 +0000 (13:20 +0200)
committerPaolo Bonzini <[email protected]>
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: [email protected] # 4.1
Signed-off-by: Jens Freimann <[email protected]>
Signed-off-by: Christian Borntraeger <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
arch/s390/kvm/interrupt.c