]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: arm64: Add trace remote for the nVHE/pKVM hyp
authorVincent Donnefort <vdonnefort@google.com>
Mon, 9 Mar 2026 16:25:10 +0000 (16:25 +0000)
committerMarc Zyngier <maz@kernel.org>
Wed, 11 Mar 2026 08:51:16 +0000 (08:51 +0000)
commit3aed038aac8d897016a2b6e1935f16c7640918d4
treea42cfd8c099ec9af9a198cb639ae2d4e4e53f441
parent680a04c333fa29bf92007efe11431be005e8c4bb
KVM: arm64: Add trace remote for the nVHE/pKVM hyp

In both protected and nVHE mode, the hypervisor is capable of writing
events into tracefs compatible ring-buffers. Create a trace remote so
the kernel can read those buffers.

This currently doesn't provide any event support which will come later.

Signed-off-by: Vincent Donnefort <vdonnefort@google.com>
Link: https://patch.msgid.link/20260309162516.2623589-25-vdonnefort@google.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/Kconfig
arch/arm64/kvm/Makefile
arch/arm64/kvm/arm.c
arch/arm64/kvm/hyp_trace.c [new file with mode: 0644]
arch/arm64/kvm/hyp_trace.h [new file with mode: 0644]