Messages in this thread | | | From | Bin Meng <> | Date | Sun, 5 Apr 2020 22:37:03 +0800 | Subject | Re: [PATCH v11 04/11] RISC-V: Introduce a new config for SBI v0.1 |
| |
On Wed, Mar 18, 2020 at 9:11 AM Atish Patra <atish.patra@wdc.com> wrote: > > We now have SBI v0.2 which is more scalable and extendable to handle > future needs for RISC-V supervisor interfaces. > > Introduce a new config and move all SBI v0.1 code under that config. > This allows to implement the new replacement SBI extensions cleanly > and remove v0.1 extensions easily in future. Currently, the config > is enabled by default. Once all M-mode software, with v0.1, is no > longer in use, this config option and all relevant code can be easily > removed. > > Signed-off-by: Atish Patra <atish.patra@wdc.com> > Reviewed-by: Anup Patel <anup@brainfault.org> > --- > arch/riscv/Kconfig | 7 ++ > arch/riscv/include/asm/sbi.h | 2 + > arch/riscv/kernel/sbi.c | 132 +++++++++++++++++++++++++++++------ > 3 files changed, 118 insertions(+), 23 deletions(-) >
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
| |