diff options
| author | Vincent Donnefort <vdonnefort@google.com> | 2026-03-09 16:25:07 +0000 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2026-03-11 08:51:16 +0000 |
| commit | 8bbeb4d1698fb0945107c69019c15207bbe605c9 (patch) | |
| tree | 5429c774e9cd5762f108f5ba5777166e61b0aef9 /rust/kernel/interop/git@git.tavy.me:linux-stable.git | |
| parent | 405df5b55748d93d44666fd6005c60981094a077 (diff) | |
KVM: arm64: Initialise hyp_nr_cpus for nVHE hyp
Knowing the number of CPUs is necessary for determining the boundaries
of per-cpu variables, which will be used for upcoming hypervisor
tracing. hyp_nr_cpus which stores this value, is only initialised for
the pKVM hypervisor. Make it accessible for the nVHE hypervisor as well.
With the kernel now responsible for initialising hyp_nr_cpus, the
nr_cpus parameter is no longer needed in __pkvm_init.
Signed-off-by: Vincent Donnefort <vdonnefort@google.com>
Link: https://patch.msgid.link/20260309162516.2623589-22-vdonnefort@google.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'rust/kernel/interop/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
