Skip to content

Latest commit

 

History

History
69 lines (55 loc) · 2.44 KB

rpmi-mpxy.adoc

File metadata and controls

69 lines (55 loc) · 2.44 KB

Integration with SBI MPXY Extension

A platform with a limited number of RPMI transport instances can share an M-mode RPMI transport instance with the supervisor software using the SBI MPXY extension cite:[SBI]. An M-mode firmware or hypervisor can also virtualize RPMI message communication for the supervisor software using the SBI MPXY extension. As shown in the RPMI and SBI MPXY Integration below, the SBI implementation acts as a RPMI proxy for the supervisor software when sending RPMI messages through an SBI MPXY channel.

350
Figure 1. RPMI and SBI MPXY Integration

The RPMI communication via the SBI MPXY extension must satisfy the following requirements:

  1. The SBI MPXY channel must correspond to a single RPMI service group which is allowed in S-mode except BASE and CPPC service groups. The [table_service_groups] list the RPMI service groups allowed in S-mode.

  2. The message_id parameter passed to the sbi_mpxy_send_message_with_response() and sbi_mpxy_send_message_without_response() must represent the SERVICE_ID of an RPMI service belonging to the RPMI service group bound to the SBI MPXY channel.

  3. The format of the message data passed via the SBI MPXY shared memory to the sbi_mpxy_send_message_with_response() and sbi_mpxy_send_message_without_response() must match the request data format of the RPMI service represented by the message_id parameter.

  4. The format of the response message data returned in the SBI MPXY shared memory by the sbi_mpxy_send_message_with_response() must match the response data format of the RPMI service represented by the message_id parameter.

  5. The format of the protocol-specific data returned in the SBI MPXY shared memory by the sbi_mpxy_get_notification_events() must match the RPMI notifications message data format.

  6. The SBI MPXY channel must support message protocol attributes listed in the RPMI Message Protocol Attributes of an SBI MPXY Channel below.

Table 1. RPMI Message Protocol Attributes of an SBI MPXY Channel
Attribute Name Attribute ID Access Description

SERVICEGROUP_ID

0x80000000

RO

RPMI service group ID

SERVICEGROUP_VERSION

0x80000001

RO

RPMI service group version