From: Tanmay Shah <tanmay.shah@amd.com>
To: <jassisinghbrar@gmail.com>, <andersson@kernel.org>,
<mathieu.poirier@linaro.org>
Cc: <linux-kernel@vger.kernel.org>,
<linux-remoteproc@vger.kernel.org>,
Tanmay Shah <tanmay.shah@amd.com>
Subject: [PATCH v2 0/2] mailbox queue length check
Date: Tue, 7 Oct 2025 08:18:26 -0700 [thread overview]
Message-ID: <20251007151828.1527105-1-tanmay.shah@amd.com> (raw)
Provide mechanism to check mailbox queue length before posting new
message to mailbox queue.
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 (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 | 5 +++++
include/linux/mailbox_controller.h | 2 ++
3 files changed, 10 insertions(+)
base-commit: 56d030ea3330ab737fe6c05f89d52f56208b07ac
--
2.34.1
next reply other threads:[~2025-10-07 15:19 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-07 15:18 Tanmay Shah [this message]
2025-10-07 15:18 ` [PATCH v2 1/2] mailbox: check mailbox queue is full or not Tanmay Shah
2025-10-07 19:58 ` Jassi Brar
2025-10-08 15:55 ` Tanmay Shah
2025-10-08 16:49 ` Tanmay Shah
2025-10-15 15:26 ` Tanmay Shah
2025-11-13 21:22 ` Tanmay Shah
2025-11-15 17:38 ` Jassi Brar
2025-11-18 18:51 ` Tanmay Shah
2025-12-04 2:13 ` Jassi Brar
2025-12-15 18:31 ` Tanmay Shah
2025-10-07 15:18 ` [PATCH v2 2/2] remoteproc: xlnx: do not kick if mbox queue is full Tanmay Shah
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251007151828.1527105-1-tanmay.shah@amd.com \
--to=tanmay.shah@amd.com \
--cc=andersson@kernel.org \
--cc=jassisinghbrar@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-remoteproc@vger.kernel.org \
--cc=mathieu.poirier@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox