RISC-V: Implement new SBI v0.2 extensions
authorAtish Patra <atish.patra@wdc.com>
Wed, 18 Mar 2020 01:11:38 +0000 (18:11 -0700)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Tue, 31 Mar 2020 18:25:45 +0000 (11:25 -0700)
commit1ef46c231df4b856559ec0234bfcbb41a1180b97
treebdb2f05e5b0412e732fa27656a1b176f1696a4f9
parentefca13989250c3edebaf8fcaa8ca7c966739c65a
RISC-V: Implement new SBI v0.2 extensions

Few v0.1 SBI calls are being replaced by new SBI calls that follows v0.2
calling convention.

Implement the replacement extensions and few additional new SBI function calls
that makes way for a better SBI interface in future.

Signed-off-by: Atish Patra <atish.patra@wdc.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/include/asm/sbi.h
arch/riscv/include/asm/smp.h
arch/riscv/kernel/sbi.c