[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251217212728.1540043-1-tanmay.shah@amd.com>
Date: Wed, 17 Dec 2025 13:27:26 -0800
From: Tanmay Shah <tanmay.shah@....com>
To: <jassisinghbrar@...il.com>, <andersson@...nel.org>,
<mathieu.poirier@...aro.org>
CC: <linux-kernel@...r.kernel.org>, <linux-remoteproc@...r.kernel.org>,
"Tanmay Shah" <tanmay.shah@....com>
Subject: [PATCH v3 0/2] mailbox queue length check
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
Powered by blists - more mailing lists