[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251007151828.1527105-1-tanmay.shah@amd.com>
Date: Tue, 7 Oct 2025 08:18:26 -0700
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 v2 0/2] mailbox queue length check
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
Powered by blists - more mailing lists