]> git.baikalelectronics.ru Git - kernel.git/commit
kvm/ppc/e500: g2h_tlb1_map: clear old bit before setting new bit
authorScott Wood <scottwood@freescale.com>
Wed, 13 Feb 2013 19:37:49 +0000 (19:37 +0000)
committerAlexander Graf <agraf@suse.de>
Fri, 22 Mar 2013 00:21:13 +0000 (01:21 +0100)
commit23fe2388a476c4722b10e8c002ea3797dbb53f5e
treef7a2299894cc99fb7b08dfb2d24e28997f2ea0c2
parent8fafe046d3d874c8c052b020ac04aa31afa15069
kvm/ppc/e500: g2h_tlb1_map: clear old bit before setting new bit

It's possible that we're using the same host TLB1 slot to map (a
presumably different portion of) the same guest TLB1 entry.  Clear
the bit in the map before setting it, so that if the esels are the same
the bit will remain set.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/e500_mmu_host.c