mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2026-11-19 18:21:41 +00:00
Add the MPXY MM source driver for forwarding RPMI Management Mode requests through the MPXY request-forwarding bridge. The driver: - Registers the `opensbi,rpmi-mpxy-reqfwd-mm` FDT-compatible source. - Defines MM service metadata for get attributes and communicate services. - Builds request-forwarding responses for MM GET_ATTRIBUTES and COMMUNICATE requests. - Handles MM response completion and copies response payloads back to the source buffer. - Extracts and stores the MM shared-memory address and size from the GET_ATTRIBUTES response. - Registers the MM source with the Management Mode RPMI service group. 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-5-pawandeep.oza@oss.qualcomm.com Signed-off-by: Anup Patel <anup@brainfault.org>
60 lines
1.1 KiB
Plaintext
60 lines
1.1 KiB
Plaintext
# SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
menu "MPXY Device Support"
|
|
|
|
config FDT_MPXY
|
|
bool "FDT based MPXY drivers"
|
|
depends on FDT
|
|
default n
|
|
|
|
config FDT_MPXY_RPMI
|
|
bool "FDT based MPXY RPMI drivers"
|
|
depends on FDT_MAILBOX && FDT_MPXY
|
|
default n
|
|
|
|
if FDT_MPXY_RPMI
|
|
|
|
config FDT_MPXY_RPMI_CLOCK
|
|
bool "MPXY driver for RPMI clock service group"
|
|
default n
|
|
|
|
config FDT_MPXY_RPMI_LOGGING
|
|
bool "MPXY driver for RPMI logging service group"
|
|
default n
|
|
|
|
config FDT_MPXY_RPMI_SYSMSI
|
|
bool "MPXY driver for RPMI system MSI service group"
|
|
default n
|
|
|
|
config FDT_MPXY_RPMI_VOLTAGE
|
|
bool "MPXY driver for RPMI voltage service group"
|
|
default n
|
|
|
|
config FDT_MPXY_RPMI_DEVICE_POWER
|
|
bool "MPXY driver for RPMI device power service group"
|
|
default n
|
|
|
|
config FDT_MPXY_RPMI_PERFORMANCE
|
|
bool "MPXY driver for RPMI performance service group"
|
|
default n
|
|
|
|
config FDT_MPXY_RPMI_MM
|
|
bool "MPXY driver for RPMI MM service group"
|
|
default n
|
|
|
|
config FDT_MPXY_RPMI_BRIDGE
|
|
bool "MPXY bridge driver for interdomain communication"
|
|
default n
|
|
|
|
if FDT_MPXY_RPMI_BRIDGE
|
|
|
|
config FDT_MPXY_RPMI_BRIDGE_MM
|
|
bool "MPXY rpmi bridge mm driver for interdomain communication"
|
|
default n
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
endmenu
|