[EXTERNAL]Re: [PATCH] lib: sbi_platform: Add platform specific pmp_set() and pmp_disable()

Chao-ying Fu cfu at mips.com
Mon Jun 16 09:17:30 PDT 2025


Hi Anup,

> Hi Chao-ying Fu,


> On Sat, Jun 14, 2025 at 10:58 PM Anup Patel <apatel at ventanamicro.com> wrote:
> >
> > From: Chao-ying Fu <cfu at wavecomp.com>
> >
> > Allow platforms to implement platform specific PMP setup and
> > PMP disable functions which are called before actual PMP CSRs
> > are configured.
> >
> > Also, implement pmp_set() and pmp_disable() for MIPS P8700.
> >
> > Signed-off-by: Chao-ying Fu <cfu at mips.com>
> > Signed-off-by: Anup Patel <apatel at ventanamicro.com>

> Please try this patch at your end on top of the latest OpenSBI
> and see if this helps on MIPS P8700.

> Regards,
> Anup

  Yes, this patch works functionally the same as what the old version does on FPGA and QEMU.
Note: I added two more patches from Vladimir to deal with MMIO regions on top of this patch.

  Thanks a lot!

Regards,
Chao-ying


More information about the opensbi mailing list