[PATCH 0/2] mailbox: ti-msgmgr: Fixes for polled rx and trailing bytes
From: Beleswar Padhi
Date: Tue Sep 29 2026 - 16:02:53 EST
This series fixes two issues in ti_msgmgr_send_data(), found while
refactoring the ti-msgmgr mbox client (TI-SCI).
Patch 1 fixes a duplicate message transmission in polled rx mode.
Patch 2 stops reading past the end of the message buffer when the
message length is not a multiple of 4. This is a preparatory patch for
when the mbox client can send data which is not a multiple of 4.
This series is independent and can be applied directly.
Testing Done:
- Boot tested on TI K3 J784S4 EVM.
- Tested that these patches do not introduce any new warning or error.
Thanks,
Beleswar
Beleswar Padhi (2):
mailbox: ti-msgmgr: Do not report rx poll timeout as a send failure
mailbox: ti-msgmgr: Read exact number of trailing message bytes
drivers/mailbox/ti-msgmgr.c | 34 +++++++++++++++++++++++++++-------
1 file changed, 27 insertions(+), 7 deletions(-)
--
2.34.1