mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Davis <afd@ti.com>
To: Beleswar Padhi <b-padhi@ti.com>, <jassisinghbrar@gmail.com>,
	<nm@ti.com>, <u-kumar1@ti.com>
Cc: <linux-kernel@vger.kernel.org>, <vigneshr@ti.com>
Subject: Re: [PATCH v3 0/2] mailbox: ti-msgmgr: Fixes for polled rx and trailing bytes
Date: Wed, 30 Sep 2026 15:04:44 -0500	[thread overview]
Message-ID: <3f23e00f-c9c4-4554-b963-8cb28328b471@ti.com> (raw)
In-Reply-To: <20260930200158.174118-1-b-padhi@ti.com>

On 9/30/26 3:01 PM, Beleswar Padhi wrote:
> 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.
> 
> v3: Changelog:
> 1. Add Fixes: tag in [PATCH v3 2/2].

Looks good now, for both,

Acked-by: Andrew Davis <afd@ti.com>

> 
> Link to v2:
> https://lore.kernel.org/all/20260930143810.2419010-1-b-padhi@ti.com/
> 
> v2: Changelog:
> 1. Use memcpy() to construct the trailing word to handle host endianness
> (Sashiko bot)
> 
> Link to v1:
> https://lore.kernel.org/all/20260929200159.4033010-1-b-padhi@ti.com/#t
> 
> Testing Done:
>   - Boot tested on all TI K3 SoCs.
>   - Boot tested on keystone K2G EVMs.
>   - Tested that these patches do not introduce any new warning or error.
> 
> Logs:
> https://gist.github.com/3V3RYONE/18d0c3ce912ab208b53b5887435ff09a
> 
> 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 | 32 +++++++++++++++++++++++++-------
>   1 file changed, 25 insertions(+), 7 deletions(-)
> 


      parent reply	other threads:[~2026-09-30 20:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-30 20:01 Beleswar Padhi
2026-09-30 20:01 ` [PATCH v3 1/2] mailbox: ti-msgmgr: Do not report rx poll timeout as a send failure Beleswar Padhi
2026-09-30 20:01 ` [PATCH v3 2/2] mailbox: ti-msgmgr: Read exact number of trailing message bytes Beleswar Padhi
2026-09-30 20:04 ` Andrew Davis [this message]

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=3f23e00f-c9c4-4554-b963-8cb28328b471@ti.com \
    --to=afd@ti.com \
    --cc=b-padhi@ti.com \
    --cc=jassisinghbrar@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nm@ti.com \
    --cc=u-kumar1@ti.com \
    --cc=vigneshr@ti.com \
    /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

all inboxes | Powered by JetHome®