diff options
| author | Rahul Pathak <[email protected]> | 2025-06-18 11:08:53 +0530 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2025-06-24 08:42:27 +0530 |
| commit | a5fdef45dbd50d40162852a2b7333135fe3439be (patch) | |
| tree | 5e17dc8db7a18802b12070d2f02abfc3caaf2357 /lib/utils/mailbox | |
| parent | 13abda516928a8823e6b7b65b0a29bb338484227 (diff) | |
lib: utils: Add Implementation ID and Version as RPMI MPXY attributes
The latest frozen RPMI spec has added Implementation ID
and Implementation Version as message protocol specific
mpxy attributes. Add support for these.
Signed-off-by: Rahul Pathak <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib/utils/mailbox')
| -rw-r--r-- | lib/utils/mailbox/fdt_mailbox_rpmi_shmem.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/utils/mailbox/fdt_mailbox_rpmi_shmem.c b/lib/utils/mailbox/fdt_mailbox_rpmi_shmem.c index aad68b5a..fdb04915 100644 --- a/lib/utils/mailbox/fdt_mailbox_rpmi_shmem.c +++ b/lib/utils/mailbox/fdt_mailbox_rpmi_shmem.c @@ -523,6 +523,12 @@ static int rpmi_shmem_mbox_get_attribute(struct mbox_chan *chan, case RPMI_CHANNEL_ATTR_SERVICEGROUP_VERSION: *((u32 *)out_value) = srvgrp_chan->servicegroup_version; break; + case RPMI_CHANNEL_ATTR_IMPL_ID: + *((u32 *)out_value) = mctl->impl_id; + break; + case RPMI_CHANNEL_ATTR_IMPL_VERSION: + *((u32 *)out_value) = mctl->impl_version; + break; default: return SBI_ENOTSUPP; } |
