Skip to content

Commit bf3022a

Browse files
avpatelPaul Walmsley
authored andcommitted
mailbox: Add RISC-V SBI message proxy (MPXY) based mailbox driver
Add a mailbox controller driver for the new SBI message proxy extension which is part of the SBI v3.0 specification. Acked-by: Jassi Brar <jassisinghbrar@gmail.com> Co-developed-by: Rahul Pathak <rpathak@ventanamicro.com> Signed-off-by: Rahul Pathak <rpathak@ventanamicro.com> Signed-off-by: Anup Patel <apatel@ventanamicro.com> Link: https://lore.kernel.org/r/20250818040920.272664-8-apatel@ventanamicro.com Signed-off-by: Paul Walmsley <pjw@kernel.org>
1 parent 6f01c24 commit bf3022a

File tree

3 files changed

+1007
-0
lines changed

3 files changed

+1007
-0
lines changed

drivers/mailbox/Kconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,4 +369,15 @@ config BCM74110_MAILBOX
369369
processor and coprocessor that handles various power management task
370370
and more.
371371

372+
config RISCV_SBI_MPXY_MBOX
373+
tristate "RISC-V SBI Message Proxy (MPXY) Mailbox"
374+
depends on RISCV_SBI
375+
default RISCV
376+
help
377+
Mailbox driver implementation for RISC-V SBI Message Proxy (MPXY)
378+
extension. This mailbox driver is used to send messages to the
379+
remote processor through the SBI implementation (M-mode firmware
380+
or HS-mode hypervisor). Say Y here if you want to have this support.
381+
If unsure say N.
382+
372383
endif

drivers/mailbox/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,5 @@ obj-$(CONFIG_THEAD_TH1520_MBOX) += mailbox-th1520.o
7878
obj-$(CONFIG_CIX_MBOX) += cix-mailbox.o
7979

8080
obj-$(CONFIG_BCM74110_MAILBOX) += bcm74110-mailbox.o
81+
82+
obj-$(CONFIG_RISCV_SBI_MPXY_MBOX) += riscv-sbi-mpxy-mbox.o

0 commit comments

Comments
 (0)