Re: [RFC PATCH v3 5/5] sbi: init: Print supervisor domains at boot
Anup Patel <[email protected]>
| Newsgroups | org.infradead.lists.opensbi |
|---|---|
| Message-ID | <CABBgwmvSAxxQXFP2Rm9+gpxDMhTRMNfVsCHVGWDzF8UeW7Kq2g@mail.gmail.com> |
On Thu, Aug 6, 2026 at 12:09 AM Rahul Pathak <[email protected]> wrote: > > Print the configured supervisor domains alongside the existing domain > details during boot. > > Signed-off-by: Rahul Pathak <[email protected]> > --- > lib/sbi/sbi_init.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/lib/sbi/sbi_init.c b/lib/sbi/sbi_init.c > index acd2f8b6..dc399494 100644 > --- a/lib/sbi/sbi_init.c > +++ b/lib/sbi/sbi_init.c > @@ -35,6 +35,7 @@ > #include <sbi/sbi_tlb.h> > #include <sbi/sbi_version.h> > #include <sbi/sbi_unit_test.h> > +#include <sbi/sbi_mpt.h> > > #define BANNER \ > " ____ _____ ____ _____\n" \ > @@ -160,6 +161,9 @@ static void sbi_boot_print_domains(struct sbi_scratch *scratch) > > /* Domain details */ > sbi_domain_dump_all(" "); > + > + /* Print Supervisor Domains */ > + sbi_mpt_dump(); The sbi_domain_dump_all() already prints domain regions in a way independent of the underlying hart protection mechanism so drop both sbi_mpt_dump() and this patch. Regards, Anup -- opensbi mailing list [email protected] http://lists.infradead.org/mailman/listinfo/opensbi