riscv: sbi: add new SBI error mappings
authorClément Léger <cleger@rivosinc.com>
Fri, 23 May 2025 10:19:20 +0000 (12:19 +0200)
committerPalmer Dabbelt <palmer@dabbelt.com>
Wed, 4 Jun 2025 22:11:00 +0000 (15:11 -0700)
commit99cf5b7c738733032af9a265a6a5a6bc34b91900
treedea55c81bf8035d2e70d5b3d95d8f6d34488b7db
parenta7cd450f0e06b4118b2ca8b4e1ef707d5c2c4506
riscv: sbi: add new SBI error mappings

A few new errors have been added with SBI V3.0, maps them as close as
possible to errno values.

Signed-off-by: Clément Léger <cleger@rivosinc.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Link: https://lore.kernel.org/r/20250523101932.1594077-4-cleger@rivosinc.com
Signed-off-by: Palmer Dabbelt <palmer@dabbelt.com>
arch/riscv/include/asm/sbi.h