diff options
| author | Vincent Donnefort <vdonnefort@google.com> | 2026-10-01 15:28:48 +0100 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2026-10-02 17:06:41 +0100 |
| commit | 086f86286b5e060904bd372ad96edd04c366885a (patch) | |
| tree | 7e815cd5f573c7915f46cc31122e3524243c8bdf /tools/perf/scripts/python/task-analyzer.py | |
| parent | cf9cf059b8f30ffca78c16e6a51c905c95da47a8 (diff) | |
KVM: arm64: Reject hyp trace descriptors with fewer than 3 pages
A trace descriptor with 0 nr_page_va allocates a 0-size bpages
backing region, which makes the ring buffer appear unloaded. Reject
descriptors with nr_page_va < 3 in hyp_trace_desc_is_valid() as this is
in any case the lower-limit for simple_ring_buffer.
Signed-off-by: Vincent Donnefort <vdonnefort@google.com>
Tested-by: Fuad Tabba <fuad.tabba@linux.dev>
Reviewed-by: Fuad Tabba <fuad.tabba@linux.dev>
Link: https://patch.msgid.link/20261001142849.3367614-18-vdonnefort@google.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
