From: Ard Biesheuvel Date: Mon, 10 Nov 2014 08:33:55 +0000 (+0100) Subject: arm/arm64: kvm: drop inappropriate use of kvm_is_mmio_pfn() X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~68^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb55e9b131d70ab9e30d73ab1342ad4907f9e0de;p=pandora-kernel.git arm/arm64: kvm: drop inappropriate use of kvm_is_mmio_pfn() Instead of using kvm_is_mmio_pfn() to decide whether a host region should be stage 2 mapped with device attributes, add a new static function kvm_is_device_pfn() that disregards RAM pages with the reserved bit set, as those should usually not be mapped as device memory. Signed-off-by: Ard Biesheuvel Signed-off-by: Paolo Bonzini --- Reading git-diff-tree failed