[PATCH 1/2] lib: utils/mpxy: mm: Add missing RPMI_MM_SRV_ENABLE_NOTIFICATION entry
Rahul Pathak
rahul.pathak at oss.qualcomm.com
Tue Jul 21 22:49:24 PDT 2026
On Tue, Jul 21, 2026 at 11:45 AM Ranbir Singh
<ranbir.singh at oss.qualcomm.com> wrote:
>
> As RPMI_MM_SRV_ENABLE_NOTIFICATION is a mandatory service for RPMI MM
> service group, it must be added in its MPXY client driver here.
>
> Fixes: 0b041e58c078 ("lib: utils: Add MPXY client driver for RPMI MM
> service group")
>
> Signed-off-by: Ranbir Singh <ranbir.singh at oss.qualcomm.com>
> ---
> lib/utils/mpxy/fdt_mpxy_rpmi_mm.c | 9 ++++++++-
> 1 file changed, 8 insertions(+), 1 deletion(-)
>
> diff --git a/lib/utils/mpxy/fdt_mpxy_rpmi_mm.c b/lib/utils/mpxy/fdt_mpxy_rpmi_mm.c
> index d7176aca..7185f3f3 100644
> --- a/lib/utils/mpxy/fdt_mpxy_rpmi_mm.c
> +++ b/lib/utils/mpxy/fdt_mpxy_rpmi_mm.c
> @@ -15,13 +15,20 @@ static struct rpmi_mm_get_attributes_rsp rsp;
>
> static struct mpxy_rpmi_service_data mm_srvcdata[] = {
> [0] = {
> + .id = RPMI_MM_SRV_ENABLE_NOTIFICATION,
> + .min_tx_len = sizeof(struct rpmi_enable_notification_req),
> + .max_tx_len = sizeof(struct rpmi_enable_notification_req),
> + .min_rx_len = sizeof(struct rpmi_enable_notification_resp),
> + .max_rx_len = sizeof(struct rpmi_enable_notification_resp),
> + },
> + [1] = {
> .id = RPMI_MM_SRV_GET_ATTRIBUTES,
> .min_tx_len = 0,
> .max_tx_len = 0,
> .min_rx_len = sizeof(struct rpmi_mm_get_attributes_rsp),
> .max_rx_len = sizeof(struct rpmi_mm_get_attributes_rsp),
> },
> - [1] = {
> + [2] = {
> .id = RPMI_MM_SRV_COMMUNICATE,
> .min_tx_len = sizeof(struct rpmi_mm_communicate_req),
> .max_tx_len = sizeof(struct rpmi_mm_communicate_req),
> --
> 2.43.0
>
Looks good
Reviewed-by: Rahul Pathak <rahul.pathak at oss.qualcomm.com>
More information about the opensbi
mailing list