public inbox for opensbi@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH 0/2] MPXY MSI availability and RPMI notification updates
@ 2026-04-09 14:57 David E. Garcia Porras
  2026-04-09 14:57 ` [PATCH 1/2] lib: sbi_mpxy: Enable MPXY channel MSI availability determination David E. Garcia Porras
  2026-04-09 14:57 ` [PATCH 2/2] include: mailbox: Update RPMI notification structs and add Performance event definitions David E. Garcia Porras
  0 siblings, 2 replies; 3+ messages in thread
From: David E. Garcia Porras @ 2026-04-09 14:57 UTC (permalink / raw)
  To: opensbi; +Cc: David E. Garcia Porras

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


-- 
opensbi mailing list
opensbi@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/opensbi

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-04-09 14:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-09 14:57 [PATCH 0/2] MPXY MSI availability and RPMI notification updates David E. Garcia Porras
2026-04-09 14:57 ` [PATCH 1/2] lib: sbi_mpxy: Enable MPXY channel MSI availability determination David E. Garcia Porras
2026-04-09 14:57 ` [PATCH 2/2] include: mailbox: Update RPMI notification structs and add Performance event definitions David E. Garcia Porras

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox