diff options
| author | Vincent Donnefort <vdonnefort@google.com> | 2026-10-01 15:28:49 +0100 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2026-10-02 17:06:41 +0100 |
| commit | 35dc2dd00334555eb02428cff2302a1cfe60c15f (patch) | |
| tree | 096d6ceed1d3eb5da9cc94fcb120d60d36744db8 /tools/perf/scripts/python | |
| parent | 086f86286b5e060904bd372ad96edd04c366885a (diff) | |
KVM: arm64: Alloc simple_buffer_page using pKVM hyp allocator
In protected mode, transition the allocation of the simple_ring_buffer
structures from the host to the hypervisor using the new pKVM heap
allocator.
Previously, the host allocated and donated a contiguous backing memory
for these structures. In pKVM the hypervisor can now allocate them
dynamically.
Use the pkvm_call_hyp_req() wrapper in the host to invoke
__tracing_load, which automatically handles any top-up requests if the
hypervisor runs out of heap memory during allocation.
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-19-vdonnefort@google.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
