]> 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)
commitc157d5e75067c538f5147b4e1547f0a6d40ef529
tree9e1bfd8078179d043c853f8fd1e7a2850cc77bd9
parentdf512044b8438e09ac8dec9144bc8475c0e4f771
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