Linux clock framework development
 help / color / mirror / Atom feed
* [PATCH v2 0/5] Parallel message send using SBI MPXY
@ 2026-11-16  4:00 Anup Patel
  2026-11-16  4:00 ` [PATCH v2 1/5] RISC-V: Move common MPXY helper routines to arch/riscv Anup Patel
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Anup Patel @ 2026-11-16  4:00 UTC (permalink / raw)
  To: Palmer Dabbelt, Paul Walmsley, Rahul Pathak, Stephen Boyd,
	Brian Masney, Jerome Brunet, Thomas Gleixner, Radu Rendec,
	Jassi Brar
  Cc: Sunil V L, Himanshu Chauhan, Atish Patra, Anup Patel,
	Amirreza Zarrabi, linux-riscv, linux-kernel, linux-clk,
	Anup Patel

This series primarily extends mailbox framework and SBI MPXY mailbox
driver to allow sending messages in-parallel from multiple CPUs. It
also serves as perparatory series for the upcoming RISC-V ACPI EINJ
support and RISC-V TEE support.

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

Changes since v1:
 - Rebase on Linux-7.4-rc2
 - Replace PATCH2 to factor-out per-hart MPXY shared-memory acquisition
   with a new patch to Use irqsave to prevent interrupt when accessing
   MPXY shared memory
 - Adopt Jassi's implementation of mbox_send_message_sync() from:
   https://git.kernel.org/pub/scm/linux/kernel/git/jassibrar/mailbox.git/log/?h=jsb/rfc-synch-xfer

Anup Patel (2):
  RISC-V: Move common MPXY helper routines to arch/riscv
  RISC-V: Use irqsave to prevent interrupt when accessing MPXY shared
    memory

Jassi Brar (3):
  mailbox: add direct synchronous transmit API
  mailbox: document direct synchronous transmit
  mailbox: convert RISC-V SBI MPXY to direct transmit

 Documentation/driver-api/mailbox.rst          | 350 ++++++++++++++-
 arch/riscv/include/asm/sbi.h                  |  86 +++-
 arch/riscv/kernel/Makefile                    |   2 +-
 arch/riscv/kernel/sbi_mpxy.c                  | 340 ++++++++++++++
 drivers/clk/clk-rpmi.c                        |   3 -
 drivers/irqchip/irq-riscv-rpmi-sysmsi.c       |   3 -
 drivers/mailbox/mailbox.c                     | 144 +++++-
 drivers/mailbox/riscv-sbi-mpxy-mbox.c         | 415 +++---------------
 .../pmdomain/riscv/riscv-rpmi-device-power.c  |   3 -
 include/linux/mailbox/riscv-rpmi-message.h    |  17 +-
 include/linux/mailbox_client.h                |   9 +-
 include/linux/mailbox_controller.h            |  38 ++
 12 files changed, 1006 insertions(+), 404 deletions(-)
 create mode 100644 arch/riscv/kernel/sbi_mpxy.c

-- 
2.43.0


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

end of thread, other threads:[~2026-11-16  4:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-16  4:00 [PATCH v2 0/5] Parallel message send using SBI MPXY Anup Patel
2026-11-16  4:00 ` [PATCH v2 1/5] RISC-V: Move common MPXY helper routines to arch/riscv Anup Patel
2026-11-16  4:00 ` [PATCH v2 2/5] RISC-V: Use irqsave to prevent interrupt when accessing MPXY shared memory Anup Patel
2026-11-16  4:00 ` [PATCH v2 3/5] mailbox: add direct synchronous transmit API Anup Patel
2026-11-16  4:00 ` [PATCH v2 4/5] mailbox: document direct synchronous transmit Anup Patel
2026-11-16  4:07   ` sashiko-bot
2026-11-16  4:00 ` [PATCH v2 5/5] mailbox: convert RISC-V SBI MPXY to direct transmit Anup Patel

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