From: Frank Li <Frank.li@nxp.com>
To: Miquel Raynal <miquel.raynal@bootlin.com>
Cc: Conor Culhane <conor.culhane@silvaco.com>,
Alexandre Belloni <alexandre.belloni@bootlin.com>,
"moderated list:SILVACO I3C DUAL-ROLE MASTER"
<linux-i3c@lists.infradead.org>,
open list <linux-kernel@vger.kernel.org>,
imx@lists.linux.dev
Subject: Re: [PATCH 1/1] i3c: master: svc: Flush FIFO before sending Dynamic Address Assignment(DAA)
Date: Fri, 31 Jan 2025 11:14:14 -0500 [thread overview]
Message-ID: <Z5z21pk3M6KengFv@lizhi-Precision-Tower-5810> (raw)
In-Reply-To: <87bjvnz7of.fsf@bootlin.com>
On Fri, Jan 31, 2025 at 09:52:48AM +0100, Miquel Raynal wrote:
> On 29/01/2025 at 11:22:50 -05, Frank Li <Frank.Li@nxp.com> wrote:
>
> > Ensure the FIFO is empty before issuing the DAA command to prevent
> > incorrect command data from being sent. Align with other data transfers,
> > such as svc_i3c_master_start_xfer_locked(), which flushes the FIFO before
> > sending a command.
> >
> > Signed-off-by: Frank Li <Frank.Li@nxp.com>
> > ---
> > Hotplug stress test find a wrong byte send out, this patch can resolve
> > this issue although have not identify which operation cause a byte left in
> > FIFO.
>
> That's exactly what I understood from your commit log, I have mixed
> feelings about the patch because it probably hides something bigger. Not
> that I want to break users, but there is likely something else to do to
> avoid it. Is there any chance you can check the content of the FIFO and
> warn before flushing (at least while debugging)?
Yes, it is random data. We find this problem at some month ago. Still not
identify why some data left in FIFO. Because it only one byte in FIFO, it
hard to find pattern to identify where.
Frank
>
> Anyway,
>
> Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
>
> Thanks,
> Miquèl
next prev parent reply other threads:[~2025-01-31 16:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-29 16:22 Frank Li
2025-01-31 8:52 ` Miquel Raynal
2025-01-31 16:14 ` Frank Li [this message]
2025-02-20 22:20 ` Alexandre Belloni
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=Z5z21pk3M6KengFv@lizhi-Precision-Tower-5810 \
--to=frank.li@nxp.com \
--cc=alexandre.belloni@bootlin.com \
--cc=conor.culhane@silvaco.com \
--cc=imx@lists.linux.dev \
--cc=linux-i3c@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=miquel.raynal@bootlin.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®