KVM: arm64: Remove the creation time's mapping of MMIO regions
authorKeqian Zhu <zhukeqian1@huawei.com>
Fri, 7 May 2021 11:03:21 +0000 (19:03 +0800)
committerMarc Zyngier <maz@kernel.org>
Tue, 1 Jun 2021 11:01:40 +0000 (12:01 +0100)
commitfd6f17bade2147b31198ad00b22d3acf5a398aec
treebfb0fead1d9175ada0b891f96281bc76b456f580
parent8124c8a6b35386f73523d27eacb71b5364a68c4c
KVM: arm64: Remove the creation time's mapping of MMIO regions

The MMIO regions may be unmapped for many reasons and can be remapped
by stage2 fault path. Map MMIO regions at creation time becomes a
minor optimization and makes these two mapping path hard to sync.

Remove the mapping code while keep the useful sanity check.

Signed-off-by: Keqian Zhu <zhukeqian1@huawei.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210507110322.23348-2-zhukeqian1@huawei.com
arch/arm64/kvm/mmu.c