OpenSBI Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Anup Patel <apatel@ventanamicro.com>
To: opensbi@lists.infradead.org
Subject: [PATCH 00/12] More RPMI and MPXY updates
Date: Thu, 16 Jan 2025 21:26:39 +0530	[thread overview]
Message-ID: <20250116155651.103782-1-apatel@ventanamicro.com> (raw)

This series does the following:
1) MPXY driver and framework cleanups
2) Update RPMI drivers as-per latest specification
3) Add MPXY RPMI driver for System MSI service group

These patches can also be found in the rpmi_updates_v1 branch at:
https://github.com/avpatel/opensbi.git

To test these patches, use the dev-upstream branch of the following repos:
* https://github.com/ventanamicro/qemu.git
* https://github.com/ventanamicro/linux.git

To enable QEMU RPMI emulation (using librpmi) for virt machine, use
"virt,rpmi=on,aia=aplic-imsic" as the QEMU machine name.

Anup Patel (12):
  lib: utils: Split the FDT MPXY RPMI mailbox client into two parts
  lib: utils: Constantify mpxy_rpmi_mbox_data in mpxy_rpmi_mbox
  lib: utils: Introduce optional MPXY RPMI service group operations
  lib: sbi: Fix capability bit assignment in MPXY framework
  lib: sbi: Improve local variable declarations in MPXY framework
  lib: utils: Drop notifications from MPXY RPMI mailbox client
  lib: utils: Improve variable declarations in MPXY RPMI mailbox client
  include: sbi_utils: Include mailbox.h in rpmi_mailbox.h header
  lib: utils: Implement get_attribute() for the RPMI shared memory
    mailbox
  lib: utils: Populate MPXY channel attributes from RPMI channel
    attributes
  include: sbi_utils: Update RPMI service group IDs and BASE service
    group
  lib: utils: Add MPXY RPMI mailbox driver for System MSI service group

 include/sbi_utils/mailbox/rpmi_mailbox.h    |   1 +
 include/sbi_utils/mailbox/rpmi_msgprot.h    | 117 +++++++-
 include/sbi_utils/mpxy/fdt_mpxy_rpmi_mbox.h |  84 ++++++
 lib/sbi/sbi_mpxy.c                          |  77 ++---
 lib/utils/mailbox/fdt_mailbox_rpmi_shmem.c  |  39 ++-
 lib/utils/mpxy/Kconfig                      |  16 +-
 lib/utils/mpxy/fdt_mpxy_rpmi_clock.c        |  91 ++++++
 lib/utils/mpxy/fdt_mpxy_rpmi_mbox.c         | 312 +++++++-------------
 lib/utils/mpxy/fdt_mpxy_rpmi_sysmsi.c       | 208 +++++++++++++
 lib/utils/mpxy/objects.mk                   |   7 +-
 platform/generic/configs/defconfig          |   2 +
 11 files changed, 684 insertions(+), 270 deletions(-)
 create mode 100644 include/sbi_utils/mpxy/fdt_mpxy_rpmi_mbox.h
 create mode 100644 lib/utils/mpxy/fdt_mpxy_rpmi_clock.c
 create mode 100644 lib/utils/mpxy/fdt_mpxy_rpmi_sysmsi.c

-- 
2.43.0



             reply	other threads:[~2025-01-16 15:56 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-16 15:56 Anup Patel [this message]
2025-01-16 15:56 ` [PATCH 01/12] lib: utils: Split the FDT MPXY RPMI mailbox client into two parts Anup Patel
2025-01-19 22:52   ` Samuel Holland
2025-01-20  4:49     ` Anup Patel
2025-01-16 15:56 ` [PATCH 02/12] lib: utils: Constantify mpxy_rpmi_mbox_data in mpxy_rpmi_mbox Anup Patel
2025-01-19 22:54   ` Samuel Holland
2025-01-20  5:12     ` Anup Patel
2025-01-16 15:56 ` [PATCH 03/12] lib: utils: Introduce optional MPXY RPMI service group operations Anup Patel
2025-01-19 22:58   ` Samuel Holland
2025-01-20  8:05     ` Anup Patel
2025-01-16 15:56 ` [PATCH 04/12] lib: sbi: Fix capability bit assignment in MPXY framework Anup Patel
2025-01-19 23:00   ` Samuel Holland
2025-01-16 15:56 ` [PATCH 05/12] lib: sbi: Improve local variable declarations " Anup Patel
2025-01-19 23:02   ` Samuel Holland
2025-01-16 15:56 ` [PATCH 06/12] lib: utils: Drop notifications from MPXY RPMI mailbox client Anup Patel
2025-01-19 23:02   ` Samuel Holland
2025-01-16 15:56 ` [PATCH 07/12] lib: utils: Improve variable declarations in " Anup Patel
2025-01-19 23:05   ` Samuel Holland
2025-01-20  8:37     ` Anup Patel
2025-01-16 15:56 ` [PATCH 08/12] include: sbi_utils: Include mailbox.h in rpmi_mailbox.h header Anup Patel
2025-01-19 23:05   ` Samuel Holland
2025-01-16 15:56 ` [PATCH 09/12] lib: utils: Implement get_attribute() for the RPMI shared memory mailbox Anup Patel
2025-01-16 15:56 ` [PATCH 10/12] lib: utils: Populate MPXY channel attributes from RPMI channel attributes Anup Patel
2025-01-16 15:56 ` [PATCH 11/12] include: sbi_utils: Update RPMI service group IDs and BASE service group Anup Patel
2025-01-19 23:07   ` Samuel Holland
2025-01-16 15:56 ` [PATCH 12/12] lib: utils: Add MPXY RPMI mailbox driver for System MSI " Anup Patel
2025-01-19 23:11   ` Samuel Holland
2025-01-20  9:16     ` Anup Patel

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=20250116155651.103782-1-apatel@ventanamicro.com \
    --to=apatel@ventanamicro.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