[PATCH 0/2] MPXY MSI availability and RPMI notification updates
David E. Garcia Porras
david.garcia at aheadcomputing.com
Thu Apr 9 07:57:14 PDT 2026
This series enables proper MSI availability determination for MPXY
channels and updates RPMI notification structures and Performance
service group event definitions.
Patch 1 replaces the hardcoded msi_avail = false in MPXY channel setup
with a runtime check using imsic_get_data() to detect IMSIC presence
per hart. A static inline stub is added for builds without
CONFIG_IRQCHIP_IMSIC.
Patch 2 adds RPMI notification header macros, rpmi_event_notification_state
enum, and missing req_state/current_state fields to the RPMI enable
notification request/response structs for RPMI spec compliance. Also adds
notification event ID enums and data structures for RPMI Performance
service group events (power change, limit change, and level change).
David E. Garcia Porras (2):
lib: sbi_mpxy: Enable MPXY channel MSI availability determination
include: mailbox: Update RPMI notification structs and add Performance
event definitions
include/sbi_utils/irqchip/imsic.h | 2 +
include/sbi_utils/mailbox/rpmi_msgprot.h | 49 ++++++++++++++++++++++++
lib/sbi/sbi_mpxy.c | 8 ++--
3 files changed, 55 insertions(+), 4 deletions(-)
--
2.43.0
More information about the opensbi
mailing list