Parallel message send using SBI MPXY
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest5 patches 0 repliesNew
- v25 patches 7 repliesSuperseded
- v14 patches 4 repliesSuperseded
Changes in v3 from the cover letter
- Rebase on Linux-7.4-rc5
- Added tx_len checks in sbi_mpxy_send_message_with_resp() and sbi_mpxy_send_message_without_resp() for PATCH1
- Dropped last paragraph in Documentation/driver-api/mailbox.rst added by PATCH4 since it was citing a non-existent source file.
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | RISC-V: Move common MPXY helper routines to arch/riscvarch/ arch/ arch/ +1 more | +464 | 0 replies | |
| 2/5 | RISC-V: Prevent interrupt when accessing MPXY shared memoryarch/ | +57 | 0 replies | |
| 3/5 | mailbox: add direct synchronous transmit APIdrivers/ include/ include/ | +184 | 0 replies | |
| 4/5 | mailbox: document direct synchronous transmitDocumentation/ | +325 | 0 replies | |
| 5/5 | mailbox: convert RISC-V SBI MPXY to direct transmitdrivers/ drivers/ drivers/ +2 more | +33 | 0 replies |
Reviews trailers per patch
3 of 5 patches have a Reviewed-by or Acked-by.
| Patch | Rahul Pathak |
|---|---|
| 1/5 | R-b |
| 2/5 | R-b |
| 3/5 | |
| 4/5 | |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/5] Parallel message send using SBI MPXY
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_v3 branch at:
https://github.com/avpatel/linux.git
Changes since v2:
- Rebase on Linux-7.4-rc5
- Added tx_len checks in sbi_mpxy_send_message_with_resp() and sbi_mpxy_send_message_without_resp() for PATCH1
- Dropped last paragraph in Documentation/driver-api/mailbox.rst added by PATCH4 since it was citing a non-existent source file.
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: 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 | 346 ++++++++++++++- arch/riscv/include/asm/sbi.h | 86 +++- arch/riscv/kernel/Makefile | 2 +- arch/riscv/kernel/sbi_mpxy.c | 344 +++++++++++++++ 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
Signature · 1 line
2.43.0