KVM: Use minimum and maximum address mapped by TLB1
authorBharat Bhushan <r65777@freescale.com>
Thu, 22 Mar 2012 18:39:11 +0000 (18:39 +0000)
committerAlexander Graf <agraf@suse.de>
Sun, 6 May 2012 14:19:07 +0000 (16:19 +0200)
commitcc902ad4f2b7cd3dd2cc268c63f6fb99fb1abf0f
tree52eab903f0cf03337664ac1702e8dc04763fb7ec
parente726b1bd64b0b8945c171d2d4bf749fba9fc0800
KVM: Use minimum and maximum address mapped by TLB1

Keep track of minimum and maximum address mapped by tlb1.
This helps in TLBMISS handling in KVM to quick check whether the address lies in mapped range.
If address does not lies in this range then no need to look in each tlb1 entry of tlb1 array.

Signed-off-by: Bharat Bhushan <bharat.bhushan@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/e500.h
arch/powerpc/kvm/e500_tlb.c