[PATCH 03/11] lib: sbi: Update the name of ISA string printed at boot time

Anup Patel anup at brainfault.org
Fri May 6 21:59:55 PDT 2022


On Wed, May 4, 2022 at 7:26 AM Atish Patra <atishp at atishpatra.org> wrote:
>
> On Fri, Apr 29, 2022 at 8:52 AM Anup Patel <apatel at ventanamicro.com> wrote:
> >
> > The ISA string printed at boot time is not the complete ISA string
> > representing all single letter and multi-letter extensions rather
> > it is base ISA string derived from misa CSR so let us update the
> > boot print accordingly.
> >
> > Signed-off-by: Anup Patel <apatel at ventanamicro.com>
> > ---
> >  lib/sbi/sbi_init.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/lib/sbi/sbi_init.c b/lib/sbi/sbi_init.c
> > index 660b11f..c4def58 100644
> > --- a/lib/sbi/sbi_init.c
> > +++ b/lib/sbi/sbi_init.c
> > @@ -142,7 +142,7 @@ static void sbi_boot_print_hart(struct sbi_scratch *scratch, u32 hartid)
> >         sbi_hart_get_priv_version_str(scratch, str, sizeof(str));
> >         sbi_printf("Boot HART Priv Version    : %s\n", str);
> >         misa_string(xlen, str, sizeof(str));
> > -       sbi_printf("Boot HART ISA             : %s\n", str);
> > +       sbi_printf("Boot HART Base ISA        : %s\n", str);
> >         sbi_hart_get_features_str(scratch, str, sizeof(str));
> >         sbi_printf("Boot HART Features        : %s\n", str);
> >         sbi_printf("Boot HART PMP Count       : %d\n",
> > --
> > 2.34.1
> >
>
> Reviewed-by: Atish Patra <atishp at rivosinc.com>

Applied this patch to the riscv/opensbi repo

Regards,
Anup

>
> --
> Regards,
> Atish



More information about the opensbi mailing list