diff options
author | Oliver Upton <[email protected]> | 2023-04-04 15:40:48 +0000 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2023-04-05 12:07:42 +0100 |
commit | 37c8e494794786aa8e4acba1f0f5b45f37b11699 (patch) | |
tree | 4e5a129401d33f6eeaf354faf839bcf176a3f62e /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 7e484d2785e2a2e526a6b2679d3e4c1402ffe0ec (diff) |
KVM: arm64: Let errors from SMCCC emulation to reach userspace
Typically a negative return from an exit handler is used to request a
return to userspace with the specified error. KVM's handling of SMCCC
emulation (i.e. both HVCs and SMCs) deviates from the trend and resumes
the guest instead.
Stop handling negative returns this way and instead let the error
percolate to userspace.
Suggested-by: Suzuki K Poulose <[email protected]>
Signed-off-by: Oliver Upton <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions