Re: [PATCH 1/6] i3c: master: svc: fix race condition in ibi work thread

Frank Li
2023-10-17T14:38:12Z

On Tue, Oct 17, 2023 at 04:16:58PM +0200, Miquel Raynal wrote:
> Hi Frank,
>
> Frank.Li@nxp.com wrote on Mon, 16 Oct 2023 11:32:27 -0400:
>
> > The ibi work thread operates asynchronously with other transfers, such as
> > svc_i3c_master_priv_xfers(). Introduces mutex protection to ensure the
>
> Introduce
>
> > completion of the entire i3c/i2c transaction.
>
> Did you experience faulty conditions or was it reported thanks to
> static analysis?

Yes, I met. But it needs my slave part patches, which will be ready sent
out review soon.

Frank

>
> Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
>
> >
> > Fixes: dd3c52846d59 ("i3c: master: svc: Add Silvaco I3C master driver")
> > Cc: stable@vger.kernel.org
> > Signed-off-by: Frank Li <Frank.Li@nxp.com>
> > ---
>
> Thanks,
> Miquèl