KVM: PPC: cache flush for kernel managed pages
authorBharat Bhushan <Bharat.Bhushan@freescale.com>
Thu, 25 Apr 2013 06:33:57 +0000 (06:33 +0000)
committerAlexander Graf <agraf@suse.de>
Fri, 26 Apr 2013 18:27:01 +0000 (20:27 +0200)
commitadccf65ca431b41733483f476e8de9e3cf171c44
tree3421b1773f8c911357e12171966adb1ecaba1da7
parent660696d1d16a71e15549ce1bf74953be1592bcd3
KVM: PPC: cache flush for kernel managed pages

Kernel can only access pages which maps as memory.
So flush only the valid kernel pages.

Signed-off-by: Bharat Bhushan <bharat.bhushan@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/include/asm/kvm_ppc.h