Comments

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>
---
v2:
- avoid duplication of constants in MAS0_ESEL()
- fix comment typo s/it's right set/it's in the right set/
- consistently use u32 for mas0
arch/powerpc/include/asm/mmu-book3e.h | 5 +-
arch/powerpc/kvm/e500_tlb.c | 69 ++++++++++++++++++--------------
2 files changed, 42 insertions(+), 32 deletions(-)