On Tue, May 20, 2025 at 01:06:26PM +0200, Karol Kolacinski wrote:
> Sideband queue (SBQ) is a HW queue with very short completion time. All
> SBQ writes were posted by default, which means that the driver did not
> have to wait for completion from the neighbor device, because there was
> none. This introduced unnecessary delays, where only those delays were
> "ensuring" that the command is "completed" and this was a potential race
> condition.
> 
> Add the possibility to perform non-posted writes where it's necessary to
> wait for completion, instead of relying on fake completion from the FW,
> where only the delays are guarding the writes.
> 
> Flush the SBQ by reading address 0 from the PHY 0 before issuing SYNC
> command to ensure that writes to all PHYs were completed and skip SBQ
> message completion if it's posted.
> 
> Reviewed-by: Przemek Kitszel <[email protected]>
> Reviewed-by: Milena Olech <[email protected]>
> Signed-off-by: Karol Kolacinski <[email protected]>

Reviewed-by: Simon Horman <[email protected]>

Reply via email to