]>
Commit | Line | Data |
---|---|---|
1cdca915 GKH |
1 | From f346026e55f1efd3949a67ddd1dcea7c1b9a615e Mon Sep 17 00:00:00 2001 |
2 | From: Christian Borntraeger <borntraeger@de.ibm.com> | |
3 | Date: Wed, 3 Sep 2014 16:21:32 +0200 | |
4 | Subject: KVM: s390: unintended fallthrough for external call | |
5 | ||
6 | From: Christian Borntraeger <borntraeger@de.ibm.com> | |
7 | ||
8 | commit f346026e55f1efd3949a67ddd1dcea7c1b9a615e upstream. | |
9 | ||
10 | We must not fallthrough if the conditions for external call are not met. | |
11 | ||
12 | Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> | |
13 | Reviewed-by: Thomas Huth <thuth@linux.vnet.ibm.com> | |
14 | Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> | |
15 | ||
16 | --- | |
17 | arch/s390/kvm/interrupt.c | 1 + | |
18 | 1 file changed, 1 insertion(+) | |
19 | ||
20 | --- a/arch/s390/kvm/interrupt.c | |
21 | +++ b/arch/s390/kvm/interrupt.c | |
22 | @@ -85,6 +85,7 @@ static int __interrupt_is_deliverable(st | |
23 | return 0; | |
24 | if (vcpu->arch.sie_block->gcr[0] & 0x2000ul) | |
25 | return 1; | |
26 | + return 0; | |
27 | case KVM_S390_INT_EMERGENCY: | |
28 | if (psw_extint_disabled(vcpu)) | |
29 | return 0; |