]> git.kernelconcepts.de Git - karo-tx-linux.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>
Thu, 11 Apr 2013 13:53:38 +0000 (15:53 +0200)
commit66a5fecdccd4f32a22d2d110cf4f002755b520d8
tree41db4b099f1d7a90e2301f8526a24aaa5db0ece1
parent6b2ba1a9129bd98b5268a4efb167c95189b3eabf
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