KVM: PPC: e500: Track TLB1 entries with a bitmap
authorScott Wood <scottwood@freescale.com>
Tue, 20 Dec 2011 15:34:37 +0000 (15:34 +0000)
committerAvi Kivity <avi@redhat.com>
Sun, 8 Apr 2012 09:51:14 +0000 (12:51 +0300)
commit4f802fe98bd5bd4fe1dd86df3e5c58546e65ad09
treedd13f1ed180c846523a84f54b7bdfe07dce5acd9
parent8fdd21a26876ea6c486c38bfa75fdd18ba299351
KVM: PPC: e500: Track TLB1 entries with a bitmap

Rather than invalidate everything when a TLB1 entry needs to be
taken down, keep track of which host TLB1 entries are used for
a given guest TLB1 entry, and invalidate just those entries.

Based on code from Ashish Kalra <Ashish.Kalra@freescale.com>
and Liu Yu <yu.liu@freescale.com>.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/kvm/e500.h
arch/powerpc/kvm/e500_tlb.c