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

Frank Li Frank.li at nxp.com
Tue Oct 17 07:37:57 PDT 2023


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



More information about the linux-i3c mailing list