KVM: ppc: fix invalidation of large guest pages
authorHollis Blanchard <hollisb@us.ibm.com>
Fri, 25 Jul 2008 18:54:50 +0000 (13:54 -0500)
committerAvi Kivity <avi@qumranet.com>
Sun, 27 Jul 2008 09:02:05 +0000 (12:02 +0300)
commitcc04454fa81e93b5f1b5133950331639d2f59f85
treeadc2c214ccfc66dd097ec9c71f2995e65acc565a
parent5a00a5e7a3e013b2323f87c1b69ff9557eae5ec9
KVM: ppc: fix invalidation of large guest pages

When guest invalidates a large tlb map, there may be more than one
corresponding shadow tlb maps that need to be invalidated. Use eaddr and eend
to find these shadow tlb maps.

Signed-off-by: Liu Yu <yu.liu@freescale.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/powerpc/kvm/44x_tlb.c
arch/powerpc/kvm/emulate.c
include/asm-powerpc/kvm_ppc.h