[PATCH 0/8] SmePMP bugfixes and improvement

Peter Lin peter.lin at sifive.com
Tue Oct 7 18:30:26 PDT 2025


Hi Anup,

On Mon, Oct 6, 2025 at 1:21 PM Anup Patel <anup at brainfault.org> wrote:
>
> On Thu, Aug 14, 2025 at 7:46 PM Yu-Chien Peter Lin <peter.lin at sifive.com> wrote:
> >
> > This series improves SmePMP related functions and fixes
> > the access fault during domain context switch when SmePMP
> > is enabled.
> >
> > Yu-Chien Peter Lin (8):
> >   lib: sbi_hart: move sbi_hart_get_smepmp_flags() to sbi_domain
> >   lib: sbi_domain: allow specifying inaccessible region
> >   lib: sbi_domain: print unsupported SmePMP permissions
> >   lib: sbi_hart: add error message for insufficient PMP entries
> >   lib: sbi_domain_context: skip the reserved entry during domain context
> >     switch
> >   lib: sbi_domain: add SBI_DOMAIN_MEMREGION_FW memregion flag
> >   lib: sbi_domain: ensure consistent firmware PMP entries
> >   lib: sbi_domain_context: preserve firmware PMP entries during domain
> >     context switch
>
> I totally missed this series because for some strange reason, it is not
> showing up in OpenSBI patchwork
> (https://patchwork.ozlabs.org/project/opensbi/list/).
>
> Can you please rebase and resend this series ?

Yes, I am preparing PATCHv2, thanks.

Regards,
Peter Lin

> Regards,
> Anup
>
> >
> >  include/sbi/sbi_domain.h     | 11 ++++
> >  lib/sbi/sbi_domain.c         | 99 +++++++++++++++++++++++++++++++++++-
> >  lib/sbi/sbi_domain_context.c | 48 +++++++++++++++++
> >  lib/sbi/sbi_hart.c           | 86 +++++--------------------------
> >  4 files changed, 170 insertions(+), 74 deletions(-)
> >
> > --
> > 2.39.3
> >
> >
> > --
> > opensbi mailing list
> > opensbi at lists.infradead.org
> > http://lists.infradead.org/mailman/listinfo/opensbi



More information about the opensbi mailing list