diff options
| author | 2026-10-01 15:28:48 +0100 | |
|---|---|---|
| committer | 2026-10-02 17:06:41 +0100 | |
| commit | 086f86286b5e060904bd372ad96edd04c366885a (patch) | |
| tree | 7e815cd5f573c7915f46cc31122e3524243c8bdf /scripts/Makefile.thinlto | |
| parent | KVM: arm64: Reject hyp trace descriptors with fewer CPUs than hyp_nr_cpus (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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
