[PATCH v4 0/3] MPXY interdomain bridge driver

Pawandeep Oza pawandeep.oza at oss.qualcomm.com
Fri Oct 23 14:21:23 PDT 2026


From: Oza Pawandeep <pawandeep.oza at oss.qualcomm.com>

This series introduces two new capabilities to OpenSBI:

  1. A domain registration notifier mechanism
  2. RPMI REQUEST_FORWARD Service Group definations
  3. An FDT-configured MPXY bridge driver for inter-domain message passing

--- Motivation ---

Modern SBI deployments increasingly require cooperation between multiple
domains sharing the same physical hart — for example a trusted bare-metal
domain and an untrusted domain running on a single
core. While OpenSBI's domain context switching infrastructure provides the
mechanism for hart multiplexing between domains, there was no existing
facility for domains to exchange messages across domain boundaries.

This series addresses that gap by implementing a bridge over the MPXY
(Message Proxy) extension that uses domain context switching as its
transport.

the series also adds source driver where various protocols over RPMI can 
exist. e.g. management mode or tee mode drivers.

the DT bindings are as following. which defines both multiple sources
and single destination.

bridge0: untrusted-to-trusted-bridge {
                compatible = "opensbi,rpmi-mpxy-reqfwd-bridge";
                riscv,domain = <&tdomain>;
                riscv,sbi-mpxy-channel-id = <0x2>;
                source0 {
                    compatible =
                        "opensbi,rpmi-mpxy-reqfwd-mm";
                    riscv,domain = <&udomain>;
                    riscv,sbi-mpxy-channel-id = <0x1>;
                };

                source1 {
                    compatible =
                        "opensbi,rpmi-mpxy-reqfwd-tee";
                    riscv,domain = <&udomain>;
                    riscv,sbi-mpxy-channel-id = <0x3>;
                };
            };

Oza Pawandeep (3):
  sbi_utils: mailbox: add RPMI REQUEST_FORWARD service group definitions
  sbi_utils: mpxy: add FDT-based MPXY bridge driver
  mpxy: Add MM source driver

 include/sbi_utils/mailbox/rpmi_msgprot.h |   21 +
 include/sbi_utils/mpxy/fdt_mpxy_bridge.h |   61 ++
 lib/utils/mpxy/Kconfig                   |    4 +
 lib/utils/mpxy/fdt_mpxy_bridge.c         | 1003 ++++++++++++++++++++++
 lib/utils/mpxy/mpxy_source_mm.c          |  208 +++++
 lib/utils/mpxy/objects.mk                |    3 +
 platform/generic/configs/defconfig       |    2 +
 7 files changed, 1302 insertions(+)
 create mode 100644 include/sbi_utils/mpxy/fdt_mpxy_bridge.h
 create mode 100644 lib/utils/mpxy/fdt_mpxy_bridge.c
 create mode 100644 lib/utils/mpxy/mpxy_source_mm.c

-- 
2.43.0




More information about the opensbi mailing list