]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Make Performance Counters work
authorAlexander Graf <agraf@suse.de>
Tue, 20 Apr 2010 00:49:47 +0000 (02:49 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:18:57 +0000 (12:18 +0300)
commita7224e9ae695e131a949c5370ea97de6f06d119c
treeaa72586e8eb24d32353c54158a51470e9245122d
parent5282f65f77342f665015e45e76529e1a79efcb83
KVM: PPC: Make Performance Counters work

When we get a performance counter interrupt we need to route it on to the
Linux handler after we got out of the guest context. We also need to tell
our handling code that this particular interrupt doesn't need treatment.

So let's add those two bits in, making perf work while having a KVM guest
running.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/kvm/book3s.c
arch/powerpc/kvm/book3s_interrupts.S