summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorVincent Donnefort <vdonnefort@google.com>2026-10-01 15:28:47 +0100
committerMarc Zyngier <maz@kernel.org>2026-10-02 17:06:41 +0100
commitcf9cf059b8f30ffca78c16e6a51c905c95da47a8 (patch)
treea912a583302849bb08a55e69b1c15204a1b66d2a /tools/perf/scripts/python/bin
parent197dac8a9060c17988414086293aa8ed4c82c185 (diff)
KVM: arm64: Reject hyp trace descriptors with fewer CPUs than hyp_nr_cpus
While a trace descriptor with fewer CPUs than hyp_nr_cpus currently causes no functional issue, such a configuration is invalid and would cause the hypervisor to skip ring buffer initialization when allocating backing pages in EL2. Enforce nr_cpus == hyp_nr_cpus during trace descriptor validation to guarantee that every possible CPU has a valid ring buffer descriptor. Signed-off-by: Vincent Donnefort <vdonnefort@google.com> Reviewed-by: Fuad Tabba <fuad.tabba@linux.dev> Tested-by: Fuad Tabba <fuad.tabba@linux.dev> Link: https://patch.msgid.link/20261001142849.3367614-17-vdonnefort@google.com Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions