diff options
author | Sebastian Ene <[email protected]> | 2024-06-13 13:20:32 +0000 |
---|---|---|
committer | Oliver Upton <[email protected]> | 2024-06-14 20:28:29 +0000 |
commit | c9c012625e12699a4c6c4d4cdd17cbe600e01cd2 (patch) | |
tree | 9ccc6ede86a7ed16faecd434bbb9f2352d3997a9 /tools/perf/util/trace-event-scripting.c | |
parent | 83a7eefedc9b56fe7bfeff13b6c7356688ffa670 (diff) |
KVM: arm64: Trap FFA_VERSION host call in pKVM
The pKVM hypervisor initializes with FF-A version 1.0. The spec requires
that no other FF-A calls to be issued before the version negotiation
phase is complete. Split the hypervisor proxy initialization code in two
parts so that we can move the later one after the host negotiates its
version.
Without trapping the call, the host drivers can negotiate a higher
version number with TEE which can result in a different memory layout
described during the memory sharing calls.
Signed-off-by: Sebastian Ene <[email protected]>
Reviewed-by: Sudeep Holla <[email protected]>
Tested-by: Sudeep Holla <[email protected]>
Acked-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Oliver Upton <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions