public inbox for linux-remoteproc@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] mailbox queue length check
@ 2025-12-17 21:27 Tanmay Shah
  2025-12-17 21:27 ` [PATCH v3 1/2] mailbox: check mailbox queue is full or not Tanmay Shah
  2025-12-17 21:27 ` [PATCH v3 2/2] remoteproc: xlnx: do not kick if mbox queue is full Tanmay Shah
  0 siblings, 2 replies; 7+ messages in thread
From: Tanmay Shah @ 2025-12-17 21:27 UTC (permalink / raw)
  To: jassisinghbrar, andersson, mathieu.poirier
  Cc: linux-kernel, linux-remoteproc, Tanmay Shah

Provide mechanism to check mailbox queue length before posting new
message to the mailbox queue.

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.


Note: The patch series is developed on top of latest remoteproc for-next
branch.

Tanmay Shah (2):
  mailbox: check mailbox queue is full or not
  remoteproc: xlnx: do not kick if mbox queue is full

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


base-commit: 6a95c70e60a03d83b31b855ce9af8cf6aeec7f90
-- 
2.34.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-01-30 18:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-17 21:27 [PATCH v3 0/2] mailbox queue length check Tanmay Shah
2025-12-17 21:27 ` [PATCH v3 1/2] mailbox: check mailbox queue is full or not Tanmay Shah
2026-01-18 19:53   ` Jassi Brar
2026-01-30 18:13     ` Shah, Tanmay
2025-12-17 21:27 ` [PATCH v3 2/2] remoteproc: xlnx: do not kick if mbox queue is full Tanmay Shah
2026-01-05 21:21   ` Mathieu Poirier
2026-01-30 18:14     ` Shah, Tanmay

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox