public inbox for opensbi@lists.infradead.org
 help / color / mirror / Atom feed
From: "David E. Garcia Porras" <david.garcia@aheadcomputing.com>
To: opensbi@lists.infradead.org
Cc: "David E. Garcia Porras" <david.garcia@aheadcomputing.com>
Subject: [PATCH 0/2] MPXY MSI availability and RPMI notification updates
Date: Thu,  9 Apr 2026 08:57:14 -0600	[thread overview]
Message-ID: <20260409145716.2611852-1-david.garcia@aheadcomputing.com> (raw)

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

             reply	other threads:[~2026-04-09 14:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-09 14:57 David E. Garcia Porras [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260409145716.2611852-1-david.garcia@aheadcomputing.com \
    --to=david.garcia@aheadcomputing.com \
    --cc=opensbi@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox