From: Ard Biesheuvel Date: Mon, 10 Nov 2014 08:33:55 +0000 (+0000) Subject: arm/arm64: kvm: drop inappropriate use of kvm_is_mmio_pfn() X-Git-Tag: omap-for-v3.20/drop-legacy-3517~40^2~2^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07a9748c78cfc39b54f06125a216b67b9c8f09ed;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: Marc Zyngier --- Reading git-diff-tree failed