Re: [RFC PATCH v2 21/26] KVM: arm64: Refactor kvm_arm_setup_stage2()

2021-02-04 Thread Quentin Perret
On Wednesday 03 Feb 2021 at 15:53:54 (+), Will Deacon wrote: > On Fri, Jan 08, 2021 at 12:15:19PM +, Quentin Perret wrote: > > In order to re-use some of the stage 2 setup at EL2, factor parts of > > kvm_arm_setup_stage2() out into static inline functions. > > > > No functional change

Re: [RFC PATCH v2 21/26] KVM: arm64: Refactor kvm_arm_setup_stage2()

2021-02-03 Thread Will Deacon
On Fri, Jan 08, 2021 at 12:15:19PM +, Quentin Perret wrote: > In order to re-use some of the stage 2 setup at EL2, factor parts of > kvm_arm_setup_stage2() out into static inline functions. > > No functional change intended. > > Signed-off-by: Quentin Perret > --- >

[RFC PATCH v2 21/26] KVM: arm64: Refactor kvm_arm_setup_stage2()

2021-01-08 Thread Quentin Perret
In order to re-use some of the stage 2 setup at EL2, factor parts of kvm_arm_setup_stage2() out into static inline functions. No functional change intended. Signed-off-by: Quentin Perret --- arch/arm64/include/asm/kvm_mmu.h | 48 arch/arm64/kvm/reset.c