[PATCH v2 0/4] MPXY MSI availability and RPMI notification updates

Anup Patel anup at brainfault.org
Wed Jun 10 05:45:20 PDT 2026


On Mon, Jun 8, 2026 at 6:23 PM Anup Patel <anup.patel at oss.qualcomm.com> wrote:
>
> From: David E. Garcia Porras <david.garcia at aheadcomputing.com>
>
> This series enables proper MSI availability determination for MPXY
> channels and updates RPMI notification structures and Performance
> service group event definitions.
>
> Patch1 introduce capabilities in sbi_irqchip_device and adds
> sbi_irqchip_find_device_by_caps() to find irqchip based on
> capabilities.
>
> Patch2 replaces the hardcoded msi_avail = false in MPXY channel
> setup with a runtime check using sbi_irqchip_find_device_by_caps()
> to detect presence of MSI controller.
>
> Patch3 adds 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).
>
> Patch4 adds missing SBI MPXY notification related defines.
>
> Anup Patel (1):
>   lib: sbi_irqchip: Allow irqchip drivers advertise capabilities
>
> David E. Garcia Porras (3):
>   lib: sbi_mpxy: Enable MPXY channel MSI availability determination
>   include: mailbox: Update RPMI notification structs and add performance
>     events
>   include: sbi: Add SBI MPXY notification related defines
>
>  include/sbi/sbi_ecall_interface.h        |  9 ++++++
>  include/sbi/sbi_irqchip.h                | 11 ++++++-
>  include/sbi_utils/mailbox/rpmi_msgprot.h | 41 ++++++++++++++++++++++++
>  lib/sbi/sbi_irqchip.c                    | 20 ++++++++++++
>  lib/sbi/sbi_mpxy.c                       |  8 ++---
>  lib/utils/irqchip/aplic.c                |  1 +
>  lib/utils/irqchip/imsic.c                |  1 +
>  7 files changed, 86 insertions(+), 5 deletions(-)
>
> --
> 2.43.0
>

Apologies for the delay, this series was waiting in my
queue since past 2 months.

Applied this series to the riscv/opensbi repo.

Regards,
Anup



More information about the opensbi mailing list