]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
KVM: ppc: e500: Fix the bug that mas0 update to wrong value when read TLB entry
authorLiu Yu <yu.liu@freescale.com>
Tue, 17 Mar 2009 08:57:45 +0000 (16:57 +0800)
committerAvi Kivity <avi@redhat.com>
Tue, 24 Mar 2009 09:03:14 +0000 (11:03 +0200)
commitbc35cbc85cd78213590761618a13da6a9707652c
tree12f0075b62b53fb40e472f1b42fd3188883daa5d
parent4539b35881ae9664b0e2953438dd83f5ee02c0b4
KVM: ppc: e500: Fix the bug that mas0 update to wrong value when read TLB entry

Should clear and then update the next victim area here.

Guest kernel only read TLB1 when startup kernel,
this bug result in an extra 4K TLB1 mapping in guest from 0x0 to 0x0.

As the problem has no impact to bootup a guest,
we didn't notice it before.

Signed-off-by: Liu Yu <yu.liu@freescale.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/kvm/e500_tlb.c