diff options
author | David Brazdil <[email protected]> | 2020-12-02 18:41:06 +0000 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2020-12-04 10:08:32 +0000 |
commit | 63fec24351e827021137a15b307bd1e64772b7fe (patch) | |
tree | 3c49a2bd69ff39470578a615f3b9118befd2c869 /scripts/gdb/linux/utils.py | |
parent | 5be1d6226d35800393579340f35b8b0d7b2a3177 (diff) |
KVM: arm64: Move hyp-init params to a per-CPU struct
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 three
arguments directly because PSCI_CPU_ON only supports one context
argument.
Refactor __do_hyp_init to accept its parameters in a struct. This
prepares the code for KVM booting cores as well as removes any limits on
the number of __do_hyp_init arguments.
Signed-off-by: David Brazdil <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions