https://github.com/torvalds/linux
Revision bb55e9b131d70ab9e30d73ab1342ad4907f9e0de authored by Ard Biesheuvel on 10 November 2014, 08:33:55 UTC, committed by Paolo Bonzini on 26 November 2014, 13:40:45 UTC
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 <ard.biesheuvel@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
1 parent 6b50f54
History
Tip revision: bb55e9b131d70ab9e30d73ab1342ad4907f9e0de authored by Ard Biesheuvel on 10 November 2014, 08:33:55 UTC
arm/arm64: kvm: drop inappropriate use of kvm_is_mmio_pfn()
Tip revision: bb55e9b
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.7 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 93.8 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 285.4 KB
Makefile -rw-r--r-- 53.2 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top