]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: Adjust partial code of hyp stage-1 map and guest stage-2 map
authorYanan Wang <wangyanan55@huawei.com>
Thu, 14 Jan 2021 12:13:48 +0000 (20:13 +0800)
committerMarc Zyngier <maz@kernel.org>
Mon, 25 Jan 2021 16:30:20 +0000 (16:30 +0000)
commit96ce67cbff30040f51406a79b5414e9872b91f53
tree4199cd8220b37f0a477cf3938f572bff5d19948d
parent9fb686b91f85f6106279ccd602ad0555eb2734b1
KVM: arm64: Adjust partial code of hyp stage-1 map and guest stage-2 map

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: Will Deacon <will@kernel.org>
Signed-off-by: Yanan Wang <wangyanan55@huawei.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210114121350.123684-2-wangyanan55@huawei.com
arch/arm64/kvm/hyp/pgtable.c