Re: [PATCH v11 02/11] RISC-V: Add basic support for SBI v0.2
From: Bin Meng
Date: Sun Apr 05 2020 - 10:37:12 EST
On Wed, Mar 18, 2020 at 9:11 AM Atish Patra <atish.patra@xxxxxxx> wrote:
>
> The SBI v0.2 introduces a base extension which is backward compatible
> with v0.1. Implement all helper functions and minimum required SBI
> calls from v0.2 for now. All other base extension function will be
> added later as per need.
> As v0.2 calling convention is backward compatible with v0.1, remove
> the v0.1 helper functions and just use v0.2 calling convention.
>
> Signed-off-by: Atish Patra <atish.patra@xxxxxxx>
> Reviewed-by: Anup Patel <anup@xxxxxxxxxxxxxx>
> Reviewed-by: Palmer Dabbelt <palmerdabbelt@xxxxxxxxxx>
> ---
> arch/riscv/include/asm/sbi.h | 139 ++++++++++----------
> arch/riscv/kernel/sbi.c | 243 ++++++++++++++++++++++++++++++++++-
> arch/riscv/kernel/setup.c | 5 +
> 3 files changed, 314 insertions(+), 73 deletions(-)
>
Reviewed-by: Bin Meng <bmeng.cn@xxxxxxxxx>