# Re: \[RFC PATCH v2 20/26\] KVM: arm64: Set host stage 2 using kvm\_nvhe\_init\_params

- From: Will Deacon \<will@kernel.org\>
- Date: 2021-02-03 16:13:52 
- List: linux-devicetree
- Page: https://ratatoskr.run/linux-devicetree/2021/02/6257334
- Thread: https://ratatoskr.run/linux-devicetree/2021/01/6227695/t.md

```text
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 <redacted>
> ---
>  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@kernel.org>

Will
```
