]> 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)
commita4fb1a6c132d0d28a45e080ca795800453339e2e
tree01aca3b21723345995672898c0dc88294f3338ab
parentaf4307584e78e50031c0f599b91a341a58fd5898
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