Commit bf3022a4 authored by Anup Patel's avatar Anup Patel Committed by Paul Walmsley
Browse files

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: default avatarJassi Brar <jassisinghbrar@gmail.com>
Co-developed-by: default avatarRahul Pathak <rpathak@ventanamicro.com>
Signed-off-by: default avatarRahul Pathak <rpathak@ventanamicro.com>
Signed-off-by: default avatarAnup Patel <apatel@ventanamicro.com>
Link: https://lore.kernel.org/r/20250818040920.272664-8-apatel@ventanamicro.com


Signed-off-by: default avatarPaul Walmsley <pjw@kernel.org>
parent 6f01c24f
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -369,4 +369,15 @@ config BCM74110_MAILBOX
	  processor and coprocessor that handles various power management task
	  and more.

config RISCV_SBI_MPXY_MBOX
	tristate "RISC-V SBI Message Proxy (MPXY) Mailbox"
	depends on RISCV_SBI
	default RISCV
	help
	  Mailbox driver implementation for RISC-V SBI Message Proxy (MPXY)
	  extension. This mailbox driver is used to send messages to the
	  remote processor through the SBI implementation (M-mode firmware
	  or HS-mode hypervisor). Say Y here if you want to have this support.
	  If unsure say N.

endif
+2 −0
Original line number Diff line number Diff line
@@ -78,3 +78,5 @@ obj-$(CONFIG_THEAD_TH1520_MBOX) += mailbox-th1520.o
obj-$(CONFIG_CIX_MBOX)	+= cix-mailbox.o

obj-$(CONFIG_BCM74110_MAILBOX)	+= bcm74110-mailbox.o

obj-$(CONFIG_RISCV_SBI_MPXY_MBOX)	+= riscv-sbi-mpxy-mbox.o
+994 −0

File added.

Preview size limit exceeded, changes collapsed.