On Thu, Sep 9, 2021 at 10:14 PM Bin Meng <bmeng...@gmail.com> wrote: > > On Thu, Sep 9, 2021 at 9:11 PM Heinrich Schuchardt > <heinrich.schucha...@canonical.com> wrote: > > > > From: Heinrich Schuchardt <xypron.g...@gmx.de>
nits: this From: line is incorrect as it does not match SoB > > > > Provide sysreset driver using the SBI system reset extension. > > > > Signed-off-by: Heinrich Schuchardt <heinrich.schucha...@canonical.com> > > --- > > v4: > > * remove the UEFI SystemReset() implementation > > * simplify the code using an array to translate reset types > > * remove a superfluos check to determine if the device was probed > > --- > > MAINTAINERS | 1 + > > arch/riscv/cpu/cpu.c | 13 ++++++++- > > arch/riscv/include/asm/sbi.h | 1 + > > arch/riscv/lib/sbi.c | 21 +++++++++++--- > > drivers/sysreset/Kconfig | 12 ++++++++ > > drivers/sysreset/Makefile | 1 + > > drivers/sysreset/sysreset_sbi.c | 51 +++++++++++++++++++++++++++++++++ > > 7 files changed, 95 insertions(+), 5 deletions(-) > > create mode 100644 drivers/sysreset/sysreset_sbi.c > > Regards, Bin