Re: [PATCH v3 20/32] KVM: arm64: Refactor kvm_arm_setup_stage2()

2021-03-04 Thread Will Deacon
On Tue, Mar 02, 2021 at 02:59:50PM +, Quentin Perret wrote: > In order to re-use some of the stage 2 setup code at EL2, factor parts > of kvm_arm_setup_stage2() out into separate functions. > > No functional change intended. > > Signed-off-by: Quentin Perret > --- >

[PATCH v3 20/32] KVM: arm64: Refactor kvm_arm_setup_stage2()

2021-03-02 Thread Quentin Perret
In order to re-use some of the stage 2 setup code at EL2, factor parts of kvm_arm_setup_stage2() out into separate functions. No functional change intended. Signed-off-by: Quentin Perret --- arch/arm64/include/asm/kvm_pgtable.h | 26 + arch/arm64/kvm/hyp/pgtable.c | 32