]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: arm64: Add trace reset to the nVHE/pKVM hyp
authorVincent Donnefort <vdonnefort@google.com>
Mon, 9 Mar 2026 16:25:12 +0000 (16:25 +0000)
committerMarc Zyngier <maz@kernel.org>
Wed, 11 Mar 2026 08:51:16 +0000 (08:51 +0000)
commit2194d317e07d169efc113344c531621ce31afe64
tree193579ea8073399c6bfd703714b615e1b9f65e78
parentb22888917fa411d100339ef9d418b4eb86aba962
KVM: arm64: Add trace reset to the nVHE/pKVM hyp

Make the hypervisor reset either the whole tracing buffer or a specific
ring-buffer, on remotes/hypervisor/trace or per_cpu/<cpu>/trace write
access.

Signed-off-by: Vincent Donnefort <vdonnefort@google.com>
Link: https://patch.msgid.link/20260309162516.2623589-27-vdonnefort@google.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/include/asm/kvm_asm.h
arch/arm64/kvm/hyp/include/nvhe/trace.h
arch/arm64/kvm/hyp/nvhe/hyp-main.c
arch/arm64/kvm/hyp/nvhe/trace.c
arch/arm64/kvm/hyp_trace.c