commit | 4bb875632ad0e8b71fa0f0be292793c061a9f43c | [log] [tgz] |
---|---|---|
author | Atish Patra <atish.patra@wdc.com> | Wed Feb 03 21:26:43 2021 -0800 |
committer | Palmer Dabbelt <palmerdabbelt@google.com> | Mon Feb 22 17:51:03 2021 -0800 |
tree | 6aa8d2240ba943af519da20b59d2cebfb42f4973 | |
parent | 65d4b9c5301749d18b5ec1323fdefecefab72687 [diff] |
RISC-V: Add a non-void return for sbi v02 functions SBI v0.2 functions can return an error code from SBI implementation. We are already processing the SBI error code and coverts it to the Linux error code. Propagate to the error code to the caller as well. As of now, kvm is the only user of these error codes. Signed-off-by: Atish Patra <atish.patra@wdc.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>