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: NKeqian Zhu <zhukeqian1@huawei.com> Signed-off-by: NMarc Zyngier <maz@kernel.org> Signed-off-by: NHeng Zhang <zhangheng191@h-partners.com> Reviewed-by: NKeqian Zhu <zhukeqian1@huawei.com> Link: https://lore.kernel.org/r/20210507110322.23348-2-zhukeqian1@huawei.comSigned-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
Showing
想要评论请 注册 或 登录