summaryrefslogtreecommitdiffstats
path: root/drivers/base/memory.c
diff options
context:
space:
mode:
authorMichael Chan <michael.chan@broadcom.com>2021-01-25 08:08:10 +0100
committerJakub Kicinski <kuba@kernel.org>2021-01-26 04:20:03 +0100
commitd1cbd1659cac9b192f4677715becf937978b091a (patch)
tree40b6ec0e3628860ec81c96e17c09f3535c5bea1e /drivers/base/memory.c
parentbnxt_en: handle CRASH_NO_MASTER during bnxt_open() (diff)
downloadlinux-d1cbd1659cac9b192f4677715becf937978b091a.tar.xz
linux-d1cbd1659cac9b192f4677715becf937978b091a.zip
bnxt_en: Retry sending the first message to firmware if it is under reset.
The first HWRM_VER_GET message to firmware during probe may timeout if firmware is under reset. This can happen during hot-plug for example. On P5 and newer chips, we can check if firmware is in the boot stage by reading a status register. Retry 5 times if the status register shows that firmware is not ready and not in error state. Reviewed-by: Edwin Peer <edwin.peer@broadcom.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Acked-by: Willem de Bruijn <willemb@google.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/base/memory.c')
0 files changed, 0 insertions, 0 deletions