diff options
| author | 2026-03-09 16:25:07 +0000 | |
|---|---|---|
| committer | 2026-03-11 08:51:16 +0000 | |
| commit | 8bbeb4d1698fb0945107c69019c15207bbe605c9 (patch) | |
| tree | 5429c774e9cd5762f108f5ba5777166e61b0aef9 /rust/kernel/num/ssh:/git@git.zx2c4.com | |
| parent | KVM: arm64: Add clock support to nVHE/pKVM hyp (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/num/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
