mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2026-10-24 04:32:05 +01:00
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:
1 parent
8ca08044c2
commit
a79566175c
2 files changed
+13
-4
No files matched your search
@@ -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