]> Pileus Git - ~andy/linux/commit
KVM: PPC: e500: use hardware hint when loading TLB0 entries
authorScott Wood <scottwood@freescale.com>
Tue, 29 Nov 2011 10:40:23 +0000 (10:40 +0000)
committerAvi Kivity <avi@redhat.com>
Mon, 5 Mar 2012 12:52:34 +0000 (14:52 +0200)
commit570135243a33174a5d74641de693b6c0233d1181
treebf7e4f4c2d708e56896e1bb4a3db4c2a796df023
parent7b11dc993841f1643c0932cf0faf010406502572
KVM: PPC: e500: use hardware hint when loading TLB0 entries

The hardware maintains a per-set next victim hint.  Using this
reduces conflicts, especially on e500v2 where a single guest
TLB entry is mapped to two shadow TLB entries (user and kernel).
We want those two entries to go to different TLB ways.

sesel is now only used for TLB1.

Reported-by: 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/include/asm/mmu-book3e.h
arch/powerpc/kvm/e500_tlb.c