: Re: [PATCH 6/6 v3] kvm: powerpc: use caching attributes as per linux
pte
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
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 =
KVM uses same WIM tlb attributes as the corresponding qemu pte.
For this we now search the linux pte for the requested page and
get these cache caching/coherency attributes from pte.
Signed-off-by: Bharat Bhushan bharat.bhus...@freescale.com
---
v2-v3
- setting pgdir before