[PATCH v2] RISC-V: Align SBI probe implementation with spec
Palmer Dabbelt
palmer at rivosinc.com
Mon May 1 15:44:36 PDT 2023
On Thu, 27 Apr 2023 18:36:26 +0200, Andrew Jones wrote:
> sbi_probe_extension() is specified with "Returns 0 if the given SBI
> extension ID (EID) is not available, or 1 if it is available unless
> defined as any other non-zero value by the implementation."
> Additionally, sbiret.value is a long. Fix the implementation to
> ensure any nonzero long value is considered a success, rather
> than only positive int values.
>
> [...]
Applied, thanks!
[1/1] RISC-V: Align SBI probe implementation with spec
https://git.kernel.org/palmer/c/41cad8284d5e
Best regards,
--
Palmer Dabbelt <palmer at rivosinc.com>
More information about the kvm-riscv
mailing list