]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm/arm64: Move ioremap calls to create_hyp_io_mappings
authorMarc Zyngier <marc.zyngier@arm.com>
Mon, 4 Dec 2017 16:26:09 +0000 (16:26 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 19 Mar 2018 13:03:47 +0000 (13:03 +0000)
commita103b4b10b860256929fbc0df4aa21f7045836e5
tree9e1bfd8078179d043c853f8fd1e7a2850cc77bd9
parentebd20dd37e84c4ae97252476e49f3c2630048950
KVM: arm/arm64: Move ioremap calls to create_hyp_io_mappings

Both HYP io mappings call ioremap, followed by create_hyp_io_mappings.
Let's move the ioremap call into create_hyp_io_mappings itself, which
simplifies the code a bit and allows for further refactoring.

Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm/include/asm/kvm_mmu.h
arch/arm64/include/asm/kvm_mmu.h
virt/kvm/arm/mmu.c
virt/kvm/arm/vgic/vgic-v2.c