[RFC PATCH 1/5] riscv: Add Smsdid and Smmpt hart extensions

Rahul Pathak rahul.pathak at oss.qualcomm.com
Fri Jul 24 08:08:43 PDT 2026


On Fri, Jul 24, 2026 at 10:01 AM Ranbir Singh
<ranbir.singh at oss.qualcomm.com> wrote:
>
> On Wed, Jul 22, 2026 at 9:06 AM Rahul Pathak
> <rahul.pathak at oss.qualcomm.com> wrote:
> >
> > Add hart extension identifiers for the RISC-V Smsdid (supervisor
> > domain ID) and Smmpt (supervisor domain memory protection) extensions.
> >
> > Signed-off-by: Rahul Pathak <rahul.pathak at oss.qualcomm.com>
> > ---
> >  include/sbi/sbi_hart.h | 5 ++++-
> >  lib/sbi/sbi_hart.c     | 2 ++
> >  2 files changed, 6 insertions(+), 1 deletion(-)
> >
> > diff --git a/include/sbi/sbi_hart.h b/include/sbi/sbi_hart.h
> > index 543393bb..38aacd70 100644
> > --- a/include/sbi/sbi_hart.h
> > +++ b/include/sbi/sbi_hart.h
> > @@ -95,8 +95,11 @@ enum sbi_hart_extensions {
> >         SBI_HART_EXT_F,
> >         /** Hart has D extension */
> >         SBI_HART_EXT_D,
> > +       /** Hart has SMMTT - SMSDID extension */
> > +       SBI_HART_EXT_SMSDID,
> > +       /** Hart has SMMTT - SMMPT extension */
> > +       SBI_HART_EXT_SMMPT,
> >
> > -       /** Maximum index of Hart extension */
>
> This seems an undesired removal and should be retained.

Yes, this is an unintentional removal. Will update



More information about the opensbi mailing list