From: Ard Biesheuvel Date: Wed, 17 Sep 2014 21:56:18 +0000 (-0700) Subject: arm/arm64: KVM: add 'writable' parameter to kvm_phys_addr_ioremap X-Git-Tag: omap-for-v3.19/prcm-cleanup~39^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c40f2f8ff833eddc02cb599ef6e5a162223449ba;p=pandora-kernel.git arm/arm64: KVM: add 'writable' parameter to kvm_phys_addr_ioremap Add support for read-only MMIO passthrough mappings by adding a 'writable' parameter to kvm_phys_addr_ioremap. For the moment, mappings will be read-write even if 'writable' is false, but once the definition of PAGE_S2_DEVICE gets changed, those mappings will be created read-only. Acked-by: Marc Zyngier Signed-off-by: Ard Biesheuvel Signed-off-by: Christoffer Dall --- Reading git-diff-tree failed