Messages in this thread | | | From | Bin Meng <> | Date | Sun, 5 Apr 2020 22:36:53 +0800 | Subject | Re: [PATCH v11 02/11] RISC-V: Add basic support for SBI v0.2 |
| |
On Wed, Mar 18, 2020 at 9:11 AM Atish Patra <atish.patra@wdc.com> 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@wdc.com> > Reviewed-by: Anup Patel <anup@brainfault.org> > Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com> > --- > 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@gmail.com>
| |