]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
atlantic: Increase delay for fw transactions
authorDmitry Bogdanov <dbezrukov@marvell.com>
Mon, 29 Nov 2021 13:28:23 +0000 (05:28 -0800)
committerAndrea Righi <andrea.righi@canonical.com>
Tue, 4 Jan 2022 08:49:10 +0000 (09:49 +0100)
commit77034180bcbf842f3a18689e747c62f9546ce012
treeb134e468fdb3a6c014a6d3c6afab0013284432db
parentecadcb40e613f1f652c038a7a4f7016c303ac46f
atlantic: Increase delay for fw transactions

BugLink: https://bugs.launchpad.net/bugs/1953731
commit aa1dcb5646fdf34a15763facf4bf5e482a2814ca upstream.

The max waiting period (of 1 ms) while reading the data from FW shared
buffer is too small for certain types of data (e.g., stats). There's a
chance that FW could be updating buffer at the same time and driver
would be unsuccessful in reading data. Firmware manual recommends to
have 1 sec timeout to fix this issue.

Fixes: 5cfd54d7dc186 ("net: atlantic: minimal A2 fw_ops")
Signed-off-by: Dmitry Bogdanov <dbezrukov@marvell.com>
Signed-off-by: Sudarsana Reddy Kalluru <skalluru@marvell.com>
Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_utils_fw.c