KVM: arm64: Remove the creation time's mapping of MMIO regions
mainline inclusion from mainline-v5.14-rc1 commit fd6f17ba category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I5R1MW CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fd6f17bade21 --------------------------------------------------------------------- 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> Signed-off-by:
Heng Zhang <zhangheng191@h-partners.com> Reviewed-by:
Keqian Zhu <zhukeqian1@huawei.com> Link: https://lore.kernel.org/r/20210507110322.23348-2-zhukeqian1@huawei.com Signed-off-by:
Zheng Zengkai <zhengzengkai@huawei.com>
Loading
Please sign in to comment