summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorShannon Nelson <snelson@pensando.io>2021-07-27 20:43:26 +0300
committerDavid S. Miller <davem@davemloft.net>2021-07-27 22:15:21 +0300
commitd2662072c094be6dd7544c7752a36a5dc030076c (patch)
treeba7b3a41268553dbbd39f10471e5f8a3b6fb54a0 /include/linux/debugobjects.h
parentc0b03e8399505a5aafe3a38e287213f523d890af (diff)
downloadlinux-d2662072c094be6dd7544c7752a36a5dc030076c.tar.xz
ionic: monitor fw status generation
The top 4 bits of the fw_status in dev_info_regs is reserved for the status generation. This generation number is an arbitrary value defined when firmware starts up. If the FW is killed/crashed/stopped and then restarted, it will create a different generation number. With this mechanism, the host driver can detect that the FW has crashed and restarted, and the driver can then take steps to re-initialize its connection. Signed-off-by: Shannon Nelson <snelson@pensando.io> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions