diff options
author | Atish Patra <[email protected]> | 2023-02-04 17:15:06 -0800 |
---|---|---|
committer | Anup Patel <[email protected]> | 2023-02-07 20:35:43 +0530 |
commit | 8cdb8a53857d54fbbabad2593c3c841836e990a9 (patch) | |
tree | 6d174f4ce257c29f7af34928b41821d81a07e493 /tools/perf/scripts/python/stackcollapse.py | |
parent | 026bac4574b5da5aa8715bf60584679fa269eb14 (diff) |
RISC-V: KVM: Return correct code for hsm stop function
According to the SBI specification, the stop function can only
return error code SBI_ERR_FAILED. However, currently it returns
-EINVAL which will be mapped SBI_ERR_INVALID_PARAM.
Return an linux error code that maps to SBI_ERR_FAILED i.e doesn't map
to any other SBI error code. While EACCES is not the best error code
to describe the situation, it is close enough and will be replaced
with SBI error codes directly anyways.
Reviewed-by: Anup Patel <[email protected]>
Reviewed-by: Andrew Jones <[email protected]>
Signed-off-by: Atish Patra <[email protected]>
Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions