Commit a1acdc2
bnxt_en: Fix the PCI-AER routines
We do not support two simultaneous recoveries so check for reset
flag, BNXT_STATE_IN_FW_RESET, and do not proceed with AER further.
When the pci channel state is pci_channel_io_frozen, the PCIe link
can not be trusted so we disable the traffic immediately and stop
BAR access by calling bnxt_fw_fatal_close(). BAR access after
AER fatal error can cause an NMI.
Fixes: f75d9a0 ("bnxt_en: Re-write PCI BARs after PCI fatal error.")
Signed-off-by: Vikas Gupta <vikas.gupta@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent 7474b1c commit a1acdc2
1 file changed
Lines changed: 16 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15378 | 15378 | | |
15379 | 15379 | | |
15380 | 15380 | | |
| 15381 | + | |
15381 | 15382 | | |
15382 | 15383 | | |
15383 | 15384 | | |
| |||
15386 | 15387 | | |
15387 | 15388 | | |
15388 | 15389 | | |
15389 | | - | |
| 15390 | + | |
| 15391 | + | |
| 15392 | + | |
| 15393 | + | |
| 15394 | + | |
| 15395 | + | |
15390 | 15396 | | |
15391 | 15397 | | |
15392 | 15398 | | |
15393 | 15399 | | |
15394 | | - | |
| 15400 | + | |
| 15401 | + | |
| 15402 | + | |
| 15403 | + | |
| 15404 | + | |
15395 | 15405 | | |
| 15406 | + | |
| 15407 | + | |
15396 | 15408 | | |
15397 | 15409 | | |
15398 | | - | |
| 15410 | + | |
15399 | 15411 | | |
15400 | 15412 | | |
15401 | 15413 | | |
| |||
15479 | 15491 | | |
15480 | 15492 | | |
15481 | 15493 | | |
| 15494 | + | |
15482 | 15495 | | |
15483 | 15496 | | |
15484 | 15497 | | |
| |||
0 commit comments