kvm: powerpc: use caching attributes as per linux pte
authorBharat Bhushan <r65777@freescale.com>
Mon, 18 Nov 2013 05:48:54 +0000 (11:18 +0530)
committerAlexander Graf <agraf@suse.de>
Thu, 9 Jan 2014 09:15:08 +0000 (10:15 +0100)
commit08c9a188d0d0fc0f0c5e17d89a06bb59c493110f
tree01aca3b21723345995672898c0dc88294f3338ab
parentf5e3fe091f5238459752a81b478398b7cb22e575
kvm: powerpc: use caching attributes as per linux pte

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.bhushan@freescale.com>
Reviewed-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/include/asm/kvm_host.h
arch/powerpc/kvm/booke.c
arch/powerpc/kvm/e500.h
arch/powerpc/kvm/e500_mmu_host.c