git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03ccd42
)
KVM: s390: unintended fallthrough for external call
author
Christian Borntraeger
<borntraeger@de.ibm.com>
Wed, 3 Sep 2014 14:21:32 +0000
(16:21 +0200)
committer
Ben Hutchings
<ben@decadent.org.uk>
Sun, 14 Dec 2014 16:23:42 +0000
(16:23 +0000)
commit
f346026e55f1efd3949a67ddd1dcea7c1b9a615e
upstream.
We must not fallthrough if the conditions for external call are not met.
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
arch/s390/kvm/interrupt.c
patch
|
blob
|
history
diff --git
a/arch/s390/kvm/interrupt.c
b/arch/s390/kvm/interrupt.c
index
5482d1e
..
4d576a1
100644
(file)
--- a/
arch/s390/kvm/interrupt.c
+++ b/
arch/s390/kvm/interrupt.c
@@
-43,6
+43,7
@@
static int __interrupt_is_deliverable(struct kvm_vcpu *vcpu,
return 0;
if (vcpu->arch.sie_block->gcr[0] & 0x2000ul)
return 1;
+ return 0;
case KVM_S390_INT_EMERGENCY:
if (psw_extint_disabled(vcpu))
return 0;