KVM: arm64: Adjust partial code of hyp stage-1 map and guest stage-2 map
mainline inclusion from mainline-v5.12-rc1-dontuse commit 8ed80051 category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I4IZOS CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8ed80051c8c3 ---------------------------------------------------------------------- Procedures of hyp stage-1 map and guest stage-2 map are quite different, but they are tied closely by function kvm_set_valid_leaf_pte(). So adjust the relative code for ease of code maintenance in the future. Signed-off-by: NWill Deacon <will@kernel.org> Signed-off-by: NYanan Wang <wangyanan55@huawei.com> Signed-off-by: NMarc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20210114121350.123684-2-wangyanan55@huawei.comReviewed-by: NZenghui Yu <yuzenghui@huawei.com> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
Showing
想要评论请 注册 或 登录