]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8fee116c95ac7083c6966937bbc77cdda4f9680a
treebfb0fead1d9175ada0b891f96281bc76b456f580
parent522fa64953e0d3fbb5fa5fd7565121714af2a489
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