Merge branch 'eth-bnxt-handle-invalid-tx-completions-more-gracefully'
authorJakub Kicinski <kuba@kernel.org>
Fri, 21 Jul 2023 03:09:16 +0000 (20:09 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 21 Jul 2023 03:09:16 +0000 (20:09 -0700)
commit022add1d73f14f021e0e0aa91304b83ad7169398
tree97eaeaaedfd419060ec1785752a2dc9e5a004c17
parent59be3baa8dff271d48500e009622318badfc7140
parent2b56b3d9924160d84c37d085628525666e3b1cea
Merge branch 'eth-bnxt-handle-invalid-tx-completions-more-gracefully'

Jakub Kicinski says:

====================
eth: bnxt: handle invalid Tx completions more gracefully

bnxt trusts the events generated by the device which may lead to kernel
crashes. These are extremely rare but they do happen. For a while
I thought crashing may be intentional, because device reporting invalid
completions should never happen, and having a core dump could be useful
if it does. But in practice I haven't found any clues in the core dumps,
and panic_on_warn exists.

Series was tested by forcing the recovery path manually. Because of
how rare the real crashes are I can't confirm it works for the actual
device errors until it's been widely deployed.

v1: https://lore.kernel.org/all/20230710205611.1198878-1-kuba@kernel.org/
====================

Link: https://lore.kernel.org/r/20230720010440.1967136-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>