Skip to content

mailbox queue length check

Tanmay Shah linux-remoteproc lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 2 repliesIn review
  2. v32 patches 4 repliesSuperseded
  3. v22 patches 9 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v11 patch12 repliesSuperseded

Changes in v4 from the cover letter

- %s/msg_slot_ro/tx_slots_avail_ro/
- do not use msg_count to calculate tx_slots_avail_ro instead modify it directly
- separate xlnx remoteproc driver patch in to two patches

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mailbox: check mailbox queue is full or notdrivers/mailbox/mailbox.c include/linux/mailbox_client.h+5 -00 replies
2/3remoteproc: xlnx: assign mbox client per mbox channeldrivers/remoteproc/xlnx_r5_remoteproc.c+14 -52 replies
3/3remoteproc: xlnx: do not send new mbox notificationdrivers/remoteproc/xlnx_r5_remoteproc.c+6 -10 replies

Reviews trailers per patch

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

Read the v4 thread

Cover letter [PATCH v4 0/3] mailbox queue length check

Provide mechanism to check mailbox queue length before posting new message to the mailbox queue. Use this mechanims in xlnx r5 remoteproc driver.

Changes in v4:
- %s/msg_slot_ro/tx_slots_avail_ro/
- do not use msg_count to calculate tx_slots_avail_ro instead modify it directly
- separate xlnx remoteproc driver patch in to two patches

Changes in v3:
- move msg_slot_ro to mbox_client instead of mbox_chan
- allocate separate mailbox client to the "tx" mbox channel
- modify rest of the patch to use msg_slot_ro from mbox_client

Changes in v2:
- Split patchset in two patches for two different subsystems.
- Change design and introduce new field per channel to track mbox queue length.
- use this new field in xlnx remoteproc driver to prevent sending new messages if no slots available in the mbox tx channel queue.

Tanmay Shah (3):
mailbox: check mailbox queue is full or not
remoteproc: xlnx: assign mbox client per mbox channel
remoteproc: xlnx: do not send new mbox notification

 drivers/mailbox/mailbox.c               |  3 +++
 drivers/remoteproc/xlnx_r5_remoteproc.c | 26 +++++++++++++++++++------
 include/linux/mailbox_client.h          |  2 ++
 3 files changed, 25 insertions(+), 6 deletions(-)

base-commit: fa3e2d1dc10864887674c484372a9ccc6a01eb18

Signature · 1 line
2.34.1