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

From: Frank Li
Date: Tue Oct 17 2023 - 10:38:12 EST


On Tue, Oct 17, 2023 at 04:16:58PM +0200, Miquel Raynal wrote:
> Hi Frank,
>
> Frank.Li@xxxxxxx 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@xxxxxxxxxxx>
>
> >
> > Fixes: dd3c52846d59 ("i3c: master: svc: Add Silvaco I3C master driver")
> > Cc: stable@xxxxxxxxxxxxxxx
> > Signed-off-by: Frank Li <Frank.Li@xxxxxxx>
> > ---
>
> Thanks,
> Miquèl