projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6bf3a6
)
KVM: PPC: Book3S PR: Handle hyp doorbell exits
author
Alexander Graf
<agraf@suse.de>
Mon, 16 Jun 2014 14:37:38 +0000
(16:37 +0200)
committer
Alexander Graf
<agraf@suse.de>
Mon, 28 Jul 2014 13:22:12 +0000
(15:22 +0200)
If we're running PR KVM in HV mode, we may get hypervisor doorbell interrupts.
Handle those the same way we treat normal doorbells.
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/book3s_pr.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/kvm/book3s_pr.c
b/arch/powerpc/kvm/book3s_pr.c
index 8ea7da4b56498398a9bde192a884ab9a51830e7f..3b82e8616dfa3c12b611131a45c28c81e1b2f568 100644
(file)
--- a/
arch/powerpc/kvm/book3s_pr.c
+++ b/
arch/powerpc/kvm/book3s_pr.c
@@
-988,6
+988,7
@@
int kvmppc_handle_exit_pr(struct kvm_run *run, struct kvm_vcpu *vcpu,
case BOOK3S_INTERRUPT_DECREMENTER:
case BOOK3S_INTERRUPT_HV_DECREMENTER:
case BOOK3S_INTERRUPT_DOORBELL:
+ case BOOK3S_INTERRUPT_H_DOORBELL:
vcpu->stat.dec_exits++;
r = RESUME_GUEST;
break;