Re: [RFC PATCH v2 20/26] KVM: arm64: Set host stage 2 using kvm_nvhe_init_params

From: Will Deacon
Date: Wed Feb 03 2021 - 11:13:50 EST


On Fri, Jan 08, 2021 at 12:15:18PM +0000, Quentin Perret wrote:
> Move the registers relevant to host stage 2 enablement to
> kvm_nvhe_init_params to prepare the ground for enabling it in later
> patches.
>
> Signed-off-by: Quentin Perret <qperret@xxxxxxxxxx>
> ---
> arch/arm64/include/asm/kvm_asm.h | 3 +++
> arch/arm64/kernel/asm-offsets.c | 3 +++
> arch/arm64/kvm/arm.c | 5 +++++
> arch/arm64/kvm/hyp/nvhe/hyp-init.S | 9 +++++++++
> arch/arm64/kvm/hyp/nvhe/switch.c | 5 +----
> 5 files changed, 21 insertions(+), 4 deletions(-)

Acked-by: Will Deacon <will@xxxxxxxxxx>

Will