Re: [net PATCH v2 1/7] octeontx2-af: Secure APR table update with the lock

From: Simon Horman
Date: Sat Apr 08 2023 - 10:33:30 EST


On Fri, Apr 07, 2023 at 05:53:38PM +0530, Sai Krishna wrote:
> From: Geetha sowjanya <gakula@xxxxxxxxxxx>
>
> APR table contains the lmtst base address of PF/VFs.
> These entries are updated by the PF/VF during the
> device probe. Due to race condition while updating the
> entries are getting corrupted. Hence secure the APR
> table update with the lock.

Hi Sai, Geetha,

I think it would be useful to describe what races with
rvu_mbox_handler_lmtst_tbl_setup().

...