Skip to content

riscv: Add generic SBI MPXY interface and MPXY command

Rahul Pathak u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3riscv: Add SBI MPXY generic interfacearch/riscv/Kconfig arch/riscv/include/asm/sbi.h arch/riscv/lib/Makefile +1 more+807 -04 replies
2/3cmd: Add mpxy command and add RISC-V RPMI drivercmd/Kconfig cmd/riscv/Makefile cmd/riscv/sbi_mpxy_cmd.c+491 -02 replies
3/3riscv: Enable SBI MPXY core interface and MPXY commandconfigs/qemu-riscv64_spl_defconfig+2 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] riscv: Add generic SBI MPXY interface and MPXY command

This patch series adds a generic SBI MPXY extension implementation which provides an interface to interact with platform via supported message protocol (eg. RPMI)

It also adds a mpxy command which uses the generic SBI MPXY interface and provides cli support to interact with supported message protocol. Currently it supports RISC-V RPMI message protocol.

Rahul Pathak (3):
riscv: Add SBI MPXY generic interface
cmd: Add mpxy command and add RISC-V RPMI driver
riscv: Enable SBI MPXY core interface and MPXY command

 arch/riscv/Kconfig                 |   9 +
 arch/riscv/include/asm/sbi.h       | 268 +++++++++++++++
 arch/riscv/lib/Makefile            |   1 +
 arch/riscv/lib/sbi_mpxy.c          | 529 +++++++++++++++++++++++++++++
 cmd/Kconfig                        |   8 +
 cmd/riscv/Makefile                 |   1 +
 cmd/riscv/sbi_mpxy_cmd.c           | 482 ++++++++++++++++++++++++++
 configs/qemu-riscv64_spl_defconfig |   2 +
 8 files changed, 1300 insertions(+)
 create mode 100644 arch/riscv/lib/sbi_mpxy.c
 create mode 100644 cmd/riscv/sbi_mpxy_cmd.c
Signature · 1 line
2.43.0