]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: Fix PCI AER error recovery flow
authorVasundhara Volam <vasundhara-v.volam@broadcom.com>
Wed, 26 Aug 2020 05:08:35 +0000 (01:08 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Aug 2020 14:19:03 +0000 (07:19 -0700)
commit49857e107b442482521ed6434daa27b73d18e477
tree0dbd46f4a822b31b75df843abbc044c616f44d51
parent76b551a6c784c16493b90c7119e86c0623aacfe7
bnxt_en: Fix PCI AER error recovery flow

When a PCI error is detected the PCI state could be corrupt, save
the PCI state after initialization and restore it after the slot
reset.

Fixes: a9ff322f7b57 ("bnxt_en: Enable AER support.")
Signed-off-by: Vasundhara Volam <vasundhara-v.volam@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c