]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: fix exit accounting for SPRs, tlbwe, tlbsx
authorScott Wood <scottwood@freescale.com>
Mon, 28 Mar 2011 20:01:24 +0000 (15:01 -0500)
committerAvi Kivity <avi@redhat.com>
Sun, 22 May 2011 12:47:47 +0000 (08:47 -0400)
commitaec762ebe1401d3cee3f81f849b081552cdafbc4
treea141af139f4d7e59765a8cdb2640b81560164b11
parent688ecff572e1468af709b7d0e072fa09c5e90107
KVM: PPC: fix exit accounting for SPRs, tlbwe, tlbsx

The exit type setting for mfspr/mtspr is moved from 44x to toplevel SPR
emulation.  This enables it on e500, and makes sure that all SPRs
are covered.

Exit accounting for tlbwe and tlbsx is added to e500.

Signed-off-by: Stuart Yoder <stuart.yoder@freescale.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/44x_emulate.c
arch/powerpc/kvm/e500_tlb.c
arch/powerpc/kvm/emulate.c