diff options
author | Will Deacon <[email protected]> | 2021-10-08 14:58:36 +0100 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2021-10-11 09:07:28 +0100 |
commit | 8579a185bacaa64c65e43e251ceede2f7600f7e2 (patch) | |
tree | 0d02175cae043c55de1dfe08e89ef8abeaf0549c /tools/perf/util/trace-event-scripting.c | |
parent | 8f4566f18db5d1257fc2d5442e16274424a529c1 (diff) |
KVM: arm64: Reject stub hypercalls after pKVM has been initialised
The stub hypercalls provide mechanisms to reset and replace the EL2 code,
so uninstall them once pKVM has been initialised in order to ensure the
integrity of the hypervisor code.
To ensure pKVM initialisation remains functional, split cpu_hyp_reinit()
into two helper functions to separate usage of the stub from usage of
pkvm hypercalls either side of __pkvm_init on the boot CPU.
Cc: Marc Zyngier <[email protected]>
Cc: Quentin Perret <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions