[PATCH v5 07/10] Initialize MIPS custom PMA registers

Chao-ying Fu icebergfu at gmail.com
Thu May 22 13:47:12 PDT 2025


On Mon, May 19, 2025 at 10:09 PM Anup Patel <anup at brainfault.org> wrote:
>
> On Tue, May 20, 2025 at 3:29 AM Chao-ying Fu <icebergfu at gmail.com> wrote:
> >
> > Before PMP set up, we need to set up MIPS custom PMA registers
> > to have correct cacheable or uncacheable execution for pmp regions.
> >
> > Signed-off-by: Chao-ying Fu <cfu at mips.com>
>
> This MIPS specific PMA programming has to be under platform/generic/mips/
>
> Regards,
> Anup
Yes, I will move code to MIPS p8700.c and will add a platform pma_set
function to let platforms implement their own versions (if needed).
Thanks a lot!

Regards,
Chao-ying



More information about the opensbi mailing list