diff options
author | Will Deacon <will@kernel.org> | 2021-10-08 14:58:36 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2021-10-11 09:07:28 +0100 |
commit | 8579a185bacaa64c65e43e251ceede2f7600f7e2 (patch) | |
tree | 0d02175cae043c55de1dfe08e89ef8abeaf0549c /tools/perf/scripts/python/export-to-sqlite.py | |
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 <maz@kernel.org>
Cc: Quentin Perret <qperret@google.com>
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20211008135839.1193-4-will@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions