mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2026-11-19 18:21:41 +00:00
Add message protocol definitions for the RPMI REQUEST_FORWARD service
group (SERVICEGROUP_ID: 0x000D).
The following are introduced:
- enum rpmi_request_forward_service_id: service IDs for the
REQUEST_FORWARD service group:
- REQFWD_ENABLE_NOTIFICATION (0x01)
- REQFWD_RETRIEVE_CURRENT_MESSAGE (0x02)
- REQFWD_COMPLETE_CURRENT_MESSAGE (0x03)
- struct rpmi_request_forward_resp: response structure for
REQFWD_RETRIEVE_CURRENT_MESSAGE (SERVICE_ID 0x02) carrying
status, remaining bytes, returned bytes and a flexible array
member for the inline message data.
- struct rpmi_request_complete_resp: response structure for
REQFWD_COMPLETE_CURRENT_MESSAGE (SERVICE_ID 0x03) carrying
status and the number of pending forwarded messages.
These definitions are used by the MPXY bridge driver to implement
the RPMI REQUEST_FORWARD protocol for inter-domain message passing
over the SBI MPXY extension.
Reviewed-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Oza Pawandeep <pawandeep.oza@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20261118215549.2499040-2-pawandeep.oza@oss.qualcomm.com
Signed-off-by: Anup Patel <anup@brainfault.org>