forked from Mirrors/opensbi
lib: utils/mailbox: Parse P2A doorbell system MSI index from DT
The P2A doorbell system MSI index is expected to be discovered from device tree instead of RPMI system MSI service group attribute. This is based on ARC feedback before RPMI spec was frozen. Let's parse P2A doorbell system MSI index from device tree and also expose it as rpmi channel attribute to RPMI client drivers. Signed-off-by: Anup Patel <apatel@ventanamicro.com> Link: https://lore.kernel.org/r/20250512083827.804151-3-apatel@ventanamicro.com Signed-off-by: Anup Patel <anup@brainfault.org>
This commit is contained in:
@@ -193,6 +193,7 @@ struct rpmi_message_args {
|
||||
enum rpmi_channel_attribute_id {
|
||||
RPMI_CHANNEL_ATTR_PROTOCOL_VERSION = 0,
|
||||
RPMI_CHANNEL_ATTR_MAX_DATA_LEN,
|
||||
RPMI_CHANNEL_ATTR_P2A_DOORBELL_SYSMSI_INDEX,
|
||||
RPMI_CHANNEL_ATTR_TX_TIMEOUT,
|
||||
RPMI_CHANNEL_ATTR_RX_TIMEOUT,
|
||||
RPMI_CHANNEL_ATTR_SERVICEGROUP_ID,
|
||||
|
Reference in New Issue
Block a user