[PATCH 13/16] lib: sbi: Add SBI Message Proxy (MPXY) framework

Rahul Pathak rpathak at ventanamicro.com
Fri Oct 11 04:51:04 PDT 2024


On Fri, Oct 11, 2024 at 4:57 PM Yu-Chien Peter Lin
<peterlin at andestech.com> wrote:
>
> Hi Anup,
>
> On Tue, Aug 06, 2024 at 01:03:35PM +0530, Anup Patel wrote:
> > From: Rahul Pathak <rpathak at ventanamicro.com>
> >
> > Introduce SBI Message Proxy (MPXY) framework which allows platform specific
> > code or drivers to register message protocol specific channels.
> >
> > This framework enables the supervisor software to send messages belonging
> > to different message protocols via OpenSBI firmware.
> >
> > Signed-off-by: Rahul Pathak <rpathak at ventanamicro.com>
> > Co-developed-by: Himanshu Chauhan <hchauhan at ventanamicro.com>
> > Signed-off-by: Himanshu Chauhan <hchauhan at ventanamicro.com>
> > Co-developed-by: Anup Patel <apatel at ventanamicro.com>
> > Signed-off-by: Anup Patel <apatel at ventanamicro.com>
> <...>
> > +/** Disable hart shared memory */
> > +static inline void sbi_mpxy_shmem_disable(struct mpxy_state *rs)
> > +{
> > +     rs->shmem.shmem_size = 0;
> > +     rs->shmem.shmem_addr_lo = INVALID_ADDR;
> > +     rs->shmem.shmem_addr_hi = INVALID_ADDR;
>
> nitpicking: if the abbreviation "rs" representing the RPXY state, would it be renamed as "ms"?

It's the remnant of that only. And noted. If another version of the
series happens, I will change it.

>
> Best regards,
> Peter Lin



Thanks
Rahul Pathak



More information about the opensbi mailing list