diff options
author | Will Deacon <will@kernel.org> | 2021-10-08 14:58:37 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2021-10-11 09:07:29 +0100 |
commit | 2f2e1a5069679491d18cf9021da19b40c56a17f3 (patch) | |
tree | 4995525af2f050b7adab3ef5eddfadd7697fc5d3 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 8579a185bacaa64c65e43e251ceede2f7600f7e2 (diff) |
KVM: arm64: Propagate errors from __pkvm_prot_finalize hypercall
If the __pkvm_prot_finalize hypercall returns an error, we WARN but fail
to propagate the failure code back to kvm_arch_init().
Pass a pointer to a zero-initialised return variable so that failure
to finalise the pKVM protections on a host CPU can be reported back to
KVM.
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-5-will@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions