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

Miquel Raynal miquel.raynal at bootlin.com
Tue Oct 17 07:16:58 PDT 2023


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?

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