Re: [PATCH 6/6 v3] kvm: powerpc: use caching attributes as per linux pte

2013-08-09 Thread Scott Wood
On Tue, 2013-08-06 at 17:01 +0530, Bharat Bhushan wrote: @@ -449,7 +446,16 @@ static inline int kvmppc_e500_shadow_map(struct kvmppc_vcpu_e500 *vcpu_e500, gvaddr = ~((tsize_pages PAGE_SHIFT) - 1); } - kvmppc_e500_ref_setup(ref, gtlbe, pfn); + pgdir =

Re: [PATCH 1/2] kvm: powerpc: mark page accessed when mapping a guest page

2013-08-09 Thread Scott Wood
On Wed, 2013-08-07 at 15:33 +0530, Bharat Bhushan wrote: Mark the guest page as accessed so that there is likely less chances of this page getting swap-out. Signed-off-by: Bharat Bhushan bharat.bhus...@freescale.com --- arch/powerpc/kvm/e500_mmu_host.c |3 +++ 1 files changed, 3

Re: [PATCH 2/2] kvm: ppc: booke: check range page invalidation progress on page setup

2013-08-09 Thread Scott Wood
On Wed, 2013-08-07 at 15:33 +0530, Bharat Bhushan wrote: When the MM code is invalidating a range of pages, it calls the KVM kvm_mmu_notifier_invalidate_range_start() notifier function, which calls kvm_unmap_hva_range(), which arranges to flush all the TLBs for guest pages. However, the Linux