diff options
| author | Will Deacon <[email protected]> | 2021-10-08 13:58:37 +0000 |
|---|---|---|
| committer | Marc Zyngier <[email protected]> | 2021-10-11 08:07:29 +0000 |
| commit | 2f2e1a5069679491d18cf9021da19b40c56a17f3 (patch) | |
| tree | 4995525af2f050b7adab3ef5eddfadd7697fc5d3 /drivers/fpga/fpga-mgr.c | |
| parent | KVM: arm64: Reject stub hypercalls after pKVM has been initialised (diff) | |
| download | kernel-2f2e1a5069679491d18cf9021da19b40c56a17f3.tar.gz kernel-2f2e1a5069679491d18cf9021da19b40c56a17f3.zip | |
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 <[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 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions
