summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorVincent Donnefort <vdonnefort@google.com>2026-10-01 15:28:37 +0100
committerMarc Zyngier <maz@kernel.org>2026-10-02 17:06:40 +0100
commite868b8c35268a8cb786091c63f538c960b8807e5 (patch)
tree5f950129696a82157b051422a23d2ccb6eac7365 /tools/perf/scripts/python
parent11a59e2959e63546dd75c347d552193c38aeb37e (diff)
KVM: arm64: Add pkvm_hyp_req infrastructure
Introduce a struct pkvm_hyp_req to enable the pKVM hypervisor to request resources from the host. Provide serialisation helpers to transport these requests via SMCCC registers (starting from a2): pkvm_hyp_req_to_smccc() to encode into the SMCCC args. smccc_to_pkvm_hyp_req() to decode them. When the hypervisor raises a request, the host must handle it and retry the HVC. To automate this sequence, introduce the pkvm_call_hyp_req() macro. This intercepts pending requests, invokes the handler and retries the HVC. Additionally, introduce a trace event to track the handling of these requests. Signed-off-by: Vincent Donnefort <vdonnefort@google.com> Reviewed-by: Fuad Tabba <fuad.tabba@linux.dev> Tested-by: Fuad Tabba <fuad.tabba@linux.dev> Link: https://patch.msgid.link/20261001142849.3367614-7-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