summaryrefslogtreecommitdiff
path: root/arch/s390/kvm/kvm-s390.h
diff options
context:
space:
mode:
authorCornelia Huck <cornelia.huck@de.ibm.com>2014-01-08 18:07:54 +0100
committerChristian Borntraeger <borntraeger@de.ibm.com>2014-04-22 13:24:45 +0200
commit2f32d4ea280c35d5f3a43fe7724020cb4824fffa (patch)
tree88e63d59d2c59aa2ebcd1d86d816e3c3f08fe5bc /arch/s390/kvm/kvm-s390.h
parent4799b557c9aa3a7b540121f2bece719f22229a21 (diff)
downloadlwn-2f32d4ea280c35d5f3a43fe7724020cb4824fffa.tar.gz
lwn-2f32d4ea280c35d5f3a43fe7724020cb4824fffa.zip
KVM: s390: reinject io interrupt on tpi failure
The tpi instruction should be suppressed on addressing and protection exceptions, so we need to re-inject the dequeued io interrupt in that case. Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'arch/s390/kvm/kvm-s390.h')
-rw-r--r--arch/s390/kvm/kvm-s390.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/kvm/kvm-s390.h b/arch/s390/kvm/kvm-s390.h
index 11ed0a596b5a..dc506f3782ea 100644
--- a/arch/s390/kvm/kvm-s390.h
+++ b/arch/s390/kvm/kvm-s390.h
@@ -137,6 +137,8 @@ int __must_check kvm_s390_inject_vcpu(struct kvm_vcpu *vcpu,
int __must_check kvm_s390_inject_program_int(struct kvm_vcpu *vcpu, u16 code);
struct kvm_s390_interrupt_info *kvm_s390_get_io_int(struct kvm *kvm,
u64 cr6, u64 schid);
+void kvm_s390_reinject_io_int(struct kvm *kvm,
+ struct kvm_s390_interrupt_info *inti);
int kvm_s390_mask_adapter(struct kvm *kvm, unsigned int id, bool masked);
/* implemented in priv.c */