]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: arm64: Add event support to the nVHE/pKVM hyp and trace remote
authorVincent Donnefort <vdonnefort@google.com>
Mon, 9 Mar 2026 16:25:13 +0000 (16:25 +0000)
committerMarc Zyngier <maz@kernel.org>
Wed, 11 Mar 2026 08:51:17 +0000 (08:51 +0000)
commit0a90fbc8a1709f682e0196c2632027cdedae5e94
tree0fe799d1c97b583d8866e3aa2e87e5fff50379a2
parent2194d317e07d169efc113344c531621ce31afe64
KVM: arm64: Add event support to the nVHE/pKVM hyp and trace remote

Allow the creation of hypervisor and trace remote events with a single
macro HYP_EVENT(). That macro expands in the kernel side to add all
the required declarations (based on REMOTE_EVENT()) as well as in the
hypervisor side to create the trace_<event>() function.

Signed-off-by: Vincent Donnefort <vdonnefort@google.com>
Link: https://patch.msgid.link/20260309162516.2623589-28-vdonnefort@google.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
13 files changed:
arch/arm64/include/asm/kvm_asm.h
arch/arm64/include/asm/kvm_define_hypevents.h [new file with mode: 0644]
arch/arm64/include/asm/kvm_hypevents.h [new file with mode: 0644]
arch/arm64/include/asm/kvm_hyptrace.h
arch/arm64/kernel/image-vars.h
arch/arm64/kernel/vmlinux.lds.S
arch/arm64/kvm/hyp/include/nvhe/define_events.h [new file with mode: 0644]
arch/arm64/kvm/hyp/include/nvhe/trace.h
arch/arm64/kvm/hyp/nvhe/Makefile
arch/arm64/kvm/hyp/nvhe/events.c [new file with mode: 0644]
arch/arm64/kvm/hyp/nvhe/hyp-main.c
arch/arm64/kvm/hyp/nvhe/hyp.lds.S
arch/arm64/kvm/hyp_trace.c