projects
/
GitHub
/
LineageOS
/
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:
c6b3733
)
KVM: PPC: booke: Support perfmon interrupts
author
Alexander Graf
<agraf@suse.de>
Mon, 20 Feb 2012 21:45:12 +0000
(22:45 +0100)
committer
Avi Kivity
<avi@redhat.com>
Sun, 8 Apr 2012 09:55:24 +0000
(12:55 +0300)
When during guest context we get a performance monitor interrupt, we
currently bail out and oops. Let's route it to its correct handler
instead.
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/kvm/booke.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/kvm/booke.c
b/arch/powerpc/kvm/booke.c
index 7df3f3ae71d9e6d906b108605f09d79be7332e73..ee39c8a80c6343e2105c0d71ac101a4b7df09f49 100644
(file)
--- a/
arch/powerpc/kvm/booke.c
+++ b/
arch/powerpc/kvm/booke.c
@@
-679,6
+679,10
@@
int kvmppc_handle_exit(struct kvm_run *run, struct kvm_vcpu *vcpu,
r = RESUME_GUEST;
break;
+ case BOOKE_INTERRUPT_PERFORMANCE_MONITOR:
+ r = RESUME_GUEST;
+ break;
+
case BOOKE_INTERRUPT_HV_PRIV:
r = emulation_exit(run, vcpu);
break;