]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit95f5d1ef58220ffc023aafb3b4beeec1c414f781
tree01aca3b21723345995672898c0dc88294f3338ab
parentedbcf82441b63bfc99dc892b48cc5d1d6eca3240
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