]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb8a9e828fd30cb1d9e8c0ab06c1f74cbe2042cc2
treeadc2c214ccfc66dd097ec9c71f2995e65acc565a
parent7311c45ccc555019465d1ff85b0b9889c8ef874a
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