Re: [PATCH v1 08/24] kvm: arm64: Move hyp-init params to a per-CPU struct

2020-11-10 Thread Marc Zyngier
On 2020-11-09 11:32, David Brazdil wrote: Once we start initializing KVM on newly booted cores before the rest of the kernel, parameters to __do_hyp_init will need to be provided by EL2 rather than EL1. At that point it will not be possible to pass its four arguments directly because PSCI_CPU_ON

[PATCH v1 08/24] kvm: arm64: Move hyp-init params to a per-CPU struct

2020-11-09 Thread David Brazdil
Once we start initializing KVM on newly booted cores before the rest of the kernel, parameters to __do_hyp_init will need to be provided by EL2 rather than EL1. At that point it will not be possible to pass its four arguments directly because PSCI_CPU_ON only supports one context argument. Refacto